Skip to main content
GET
/
v1
/
fhir
/
{resourceType}
/
{id}
Retrieve a FHIR resource by identifier
curl --request GET \
  --url https://cds.marmar.life/v1/fhir/{resourceType}/{id} \
  --header 'X-API-Key: <api-key>' \
  --header 'X-Tenant-Code: <api-key>'
{
  "resourceType": "Patient",
  "id": "<string>",
  "identifier": [
    {
      "value": "<string>",
      "system": "<string>"
    }
  ],
  "name": [
    {
      "family": "<string>",
      "given": [
        "<string>"
      ],
      "text": "<string>"
    }
  ],
  "gender": "<string>",
  "birthDate": "<string>"
}

Authorizations

X-Tenant-Code
string
header
required

Tenant slug returned during registration.

X-API-Key
string
header
required

Tenant API key. The server also accepts the lowercase x-api-key header for convenience.

Path Parameters

resourceType
enum<string>
required

FHIR resource type.

Available options:
Patient,
MedicationStatement,
MedicationRequest,
Condition,
AllergyIntolerance,
Observation,
Encounter
id
string
required

Resource identifier.

Response

FHIR resource payload

  • Option 1
  • Option 2
  • Option 3
  • Option 4
  • Option 5
  • Option 6
  • Option 7
resourceType
enum<string>
required
Available options:
Patient
id
string
identifier
object[]
name
object[]
gender
string
birthDate
string