Skip to main content
GET
/
v1
/
fhir
/
{resourceType}
Search FHIR resources
curl --request GET \
  --url https://cds.marmar.life/v1/fhir/{resourceType} \
  --header 'Authorization: Bearer <token>'
{
  "resourceType": "Bundle",
  "type": "searchset",
  "total": 1,
  "entry": [
    {
      "resource": {
        "resourceType": "Patient",
        "id": "<string>",
        "identifier": [
          {
            "value": "<string>",
            "system": "<string>"
          }
        ],
        "name": [
          {
            "family": "<string>",
            "given": [
              "<string>"
            ],
            "text": "<string>"
          }
        ],
        "gender": "<string>",
        "birthDate": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

API key obtained from the Tenant Dashboard. Use as Authorization: Bearer YOUR_API_KEY

Path Parameters

resourceType
enum<string>
required

FHIR resource type.

Available options:
Patient,
MedicationStatement,
MedicationRequest,
Condition,
AllergyIntolerance,
Observation,
Encounter

Query Parameters

patient
string

Filter results by patient identifier.

identifier
string

Filter patient resources by external identifier.

status
string

Filter resources by clinical status (where applicable).

category
string

Filter Observation resources by category code.

code
string

Filter Observation resources by observation code.

Response

Search bundle

resourceType
enum<string>
required
Available options:
Bundle
type
enum<string>
required
Available options:
searchset
total
integer
required
Required range: x >= 0
entry
object[]