PatientImage API
- Production
- Preview
https://fhir.netsmartcloud.com/v4/PatientImage
https://fhirtest.netsmartcloud.com/v4/PatientImage
The CareConnect PatientImage API enables an application to retrieve a patient photo from the CareRecord.
Supported CareRecords
The PatientImage API is supported by the following Netsmart CareRecords.
- GEHRIMED
- Homecare
- myAvatar
- myEvolv
- myUnity
- TIER
Parameters
This API supports the following query parameters
| Name | Type | Description |
|---|---|---|
| id | string | REQUIRED The ID of the patient. This is a path parameter preceding the '/' in the PatientImage HTTP request. |
Examples
Request Access Token
- Production
- Preview
Client Credentials Flow with Client Secret
curl -X POST https://oauth.netsmartcloud.com/token \
-H "Accept: application/fhir+json" \
-H "Content-Type: application/x-form-urlencoded" \
-d grant_type=client_credentials \
-d client_id=YOUR_CLIENT_ID \
-d client_secret=YOUR_CLIENT_SECRET \
-d scope=CCD
Client Credentials Flow with Client Secret
curl -X POST https://oauthtest.netsmartcloud.com/token \
-H "Accept: application/json" \
-H "Content-Type: application/x-form-urlencoded" \
-d grant_type=client_credentials \
-d client_id=YOUR_CLIENT_ID \
-d client_secret=YOUR_CLIENT_SECRET \
-d scope=CCD
Request Patient Image
- Production
- Preview
Request PatientImage by Patient Id
curl -X GET 'https://fhir.netsmartcloud.com/123' \
-H "Authorization: {Bearer Token}" \
-H "Accept: */*"
Request PatientImage by Patient Id
curl -X GET 'https://fhirtest.netsmartcloud.com/123' \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json"