Post Patient Photo

For requests or help with our API
Post Reply
PBECKER
Posts: 125
Joined: Mon Jan 03, 2022 11:54 am

Post Patient Photo

Post by PBECKER » Mon May 15, 2023 10:58 am

How can we do a post for Patient photo. We dont see any api methods to post a photo of the patient for their patient profile.

We would prefer not to have to use mysql

Thank you.

SLeon
Posts: 476
Joined: Mon Mar 01, 2021 10:00 am

Re: Post Patient Photo

Post by SLeon » Mon May 15, 2023 11:29 am

Images are stored in the documents table, so you can use an existing Documents POST method to do this:

First, determine what the definition.DefNum is for "Patient Pictures" by using Definitions GET for Category=18 (/definitions?Category=18).

Then, use Documents POST Upload or UploadSftp to upload the picture. Be sure to specify the DefNum from above for the "DocCategory" value.

Post Reply