Skip to main content
POST
/
api
/
2.0
/
patients
/
{id}
/
profile_image
Create Patients Profile Image
curl --request POST \
  --url https://sandbox.elationemr.com/api/2.0/patients/{id}/profile_image/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "base_64": "<string>",
  "original_filename": "<string>",
  "patient": 123,
  "practice": 123
}
'
{
  "original_filename": "<string>",
  "patient": 123,
  "practice": 123,
  "content_type": "<string>",
  "created_date": "2023-11-07T05:31:56Z",
  "file": "<string>",
  "file_size": 123,
  "height": 123,
  "id": 123,
  "last_updated": "2023-11-07T05:31:56Z",
  "width": 123
}

Documentation Index

Fetch the complete documentation index at: https://help.elationhealth.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
integer<int64>
required

Body

application/json
base_64
string
required
write-only
original_filename
string
required
patient
integer<int64>
required
practice
integer<int64>
required

Response

200 - application/json
original_filename
string
required
patient
integer<int64>
required
practice
integer<int64>
required
content_type
string
read-only
created_date
string<date-time> | null
read-only
file
string
read-only

Patient profile image URL generation method Args: obj: PatientPhoto object

Returns: The URL where you can get the image

file_size
integer
read-only
height
integer
read-only
id
integer
read-only
last_updated
string<date-time>
read-only
width
integer
read-only