#
Locations
GET
/api/v1/connections/{connection_id}/fhir/Location
Access
End-user access token
Parameters
| Name |
In |
Type |
Details |
connection_id
required
|
path |
string (uuid) |
|
patient
|
query |
string |
|
_count
|
query |
integer |
|
_page_token
|
query |
string |
Opaque cursor taken from Bundle.link[relation=next] |
Responses
-
200
FHIR R4 Bundle
application/fhir+json
-
Fields FhirBundle · 7
| Field |
Type |
Details |
entry
|
array of object |
|
resource
|
object |
|
link
|
array of object |
|
relation
|
string |
|
url
|
string |
|
resourceType
|
constant |
always Bundle
|
total
|
integer |
|
Example response placeholder values
{
"entry": [
{
"resource": {}
}
],
"link": [
{
"relation": "string",
"url": "string"
}
],
"resourceType": "Bundle",
"total": 1
}
-
default
Error (neutral code)
application/json
-
Fields Error · 5
| Field |
Type |
Details |
error
required
|
string |
Stable machine code. Known values: `unauthorized`, `forbidden`, `not_found`, `bad_request`, `conflict`, `rate_limited`, `mfa_required`, `mfa_invalid`, `mfa_enrollment_required`, `openemr_link_required`, `openemr_relink_required`, `upstream_error`, `internal`. New codes may be added within v1: treat unknown values like the HTTP status.
|
connection_id
|
string |
EHR connection that needs (re)linking (on `openemr_link_required` / `openemr_relink_required`)
|
link
|
string |
How to link the connection (on `openemr_link_required` / `openemr_relink_required`)
|
message
|
string |
Human-readable detail (do not branch on it; on 409 the text before the first `:` is a sub-code)
|
retry_after
|
integer |
Seconds to wait (on `rate_limited`; also sent as `Retry-After`)
|
Example call
curl "https://sandbox-api.suncharts.app/api/v1/connections/{connection_id}/fhir/Location" -H "Authorization: Bearer $TOKEN"
#
Facility/organization directory
GET
/api/v1/connections/{connection_id}/fhir/Organization
Access
End-user access token
Parameters
| Name |
In |
Type |
Details |
connection_id
required
|
path |
string (uuid) |
|
patient
|
query |
string |
|
_count
|
query |
integer |
|
_page_token
|
query |
string |
Opaque cursor taken from Bundle.link[relation=next] |
Responses
-
200
FHIR R4 Bundle
application/fhir+json
-
Fields FhirBundle · 7
| Field |
Type |
Details |
entry
|
array of object |
|
resource
|
object |
|
link
|
array of object |
|
relation
|
string |
|
url
|
string |
|
resourceType
|
constant |
always Bundle
|
total
|
integer |
|
Example response placeholder values
{
"entry": [
{
"resource": {}
}
],
"link": [
{
"relation": "string",
"url": "string"
}
],
"resourceType": "Bundle",
"total": 1
}
-
default
Error (neutral code)
application/json
-
Fields Error · 5
| Field |
Type |
Details |
error
required
|
string |
Stable machine code. Known values: `unauthorized`, `forbidden`, `not_found`, `bad_request`, `conflict`, `rate_limited`, `mfa_required`, `mfa_invalid`, `mfa_enrollment_required`, `openemr_link_required`, `openemr_relink_required`, `upstream_error`, `internal`. New codes may be added within v1: treat unknown values like the HTTP status.
|
connection_id
|
string |
EHR connection that needs (re)linking (on `openemr_link_required` / `openemr_relink_required`)
|
link
|
string |
How to link the connection (on `openemr_link_required` / `openemr_relink_required`)
|
message
|
string |
Human-readable detail (do not branch on it; on 409 the text before the first `:` is a sub-code)
|
retry_after
|
integer |
Seconds to wait (on `rate_limited`; also sent as `Retry-After`)
|
Example call
curl "https://sandbox-api.suncharts.app/api/v1/connections/{connection_id}/fhir/Organization" -H "Authorization: Bearer $TOKEN"
#
Provider directory
GET
/api/v1/connections/{connection_id}/fhir/Practitioner
Access
End-user access token
Parameters
| Name |
In |
Type |
Details |
connection_id
required
|
path |
string (uuid) |
|
patient
|
query |
string |
|
_count
|
query |
integer |
|
_page_token
|
query |
string |
Opaque cursor taken from Bundle.link[relation=next] |
Responses
-
200
FHIR R4 Bundle
application/fhir+json
-
Fields FhirBundle · 7
| Field |
Type |
Details |
entry
|
array of object |
|
resource
|
object |
|
link
|
array of object |
|
relation
|
string |
|
url
|
string |
|
resourceType
|
constant |
always Bundle
|
total
|
integer |
|
Example response placeholder values
{
"entry": [
{
"resource": {}
}
],
"link": [
{
"relation": "string",
"url": "string"
}
],
"resourceType": "Bundle",
"total": 1
}
-
default
Error (neutral code)
application/json
-
Fields Error · 5
| Field |
Type |
Details |
error
required
|
string |
Stable machine code. Known values: `unauthorized`, `forbidden`, `not_found`, `bad_request`, `conflict`, `rate_limited`, `mfa_required`, `mfa_invalid`, `mfa_enrollment_required`, `openemr_link_required`, `openemr_relink_required`, `upstream_error`, `internal`. New codes may be added within v1: treat unknown values like the HTTP status.
|
connection_id
|
string |
EHR connection that needs (re)linking (on `openemr_link_required` / `openemr_relink_required`)
|
link
|
string |
How to link the connection (on `openemr_link_required` / `openemr_relink_required`)
|
message
|
string |
Human-readable detail (do not branch on it; on 409 the text before the first `:` is a sub-code)
|
retry_after
|
integer |
Seconds to wait (on `rate_limited`; also sent as `Retry-After`)
|
Example call
curl "https://sandbox-api.suncharts.app/api/v1/connections/{connection_id}/fhir/Practitioner" -H "Authorization: Bearer $TOKEN"
No endpoint matches that filter.