GET
/
health
/
api
/
v1
/
fhir
/
retrieve
curl --request GET \
  --url https://api.eka.care/health/api/v1/fhir/retrieve \
  --header 'Authorization: Bearer <token>'
{
  "resourceType": "Bundle",
  "type": "document",
  "link": [
    {
      "url": "<string>",
      "relation": "<string>"
    }
  ],
  "entry": [
    {
      "resource": {
        "author": [
          {
            "reference": "<string>"
          }
        ],
        "date": "2023-11-07T05:31:56Z",
        "extension": [
          {
            "url": "<string>",
            "valueString": "<string>"
          }
        ],
        "id": "<string>",
        "identifier": {
          "system": "<string>",
          "value": "<string>"
        },
        "meta": {
          "lastUpdated": "2023-11-07T05:31:56Z"
        },
        "resourceType": "<string>",
        "section": [
          {
            "entry": [
              {
                "reference": "<string>"
              }
            ],
            "title": "<string>"
          }
        ],
        "status": "<string>",
        "subject": {
          "reference": "<string>"
        },
        "title": "<string>",
        "type": {
          "text": "<string>"
        }
      }
    }
  ],
  "id": "<string>",
  "meta": {
    "versionId": "<string>",
    "lastUpdated": "2023-11-07T05:31:56Z",
    "profile": [
      "<string>"
    ],
    "security": [
      {
        "code": "<string>",
        "display": "<string>",
        "system": "<string>"
      }
    ]
  },
  "identifier": {
    "system": "<string>",
    "value": "<string>"
  },
  "timestamp": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

identifier
string
required

The unique identifier for the health record is care_context_id.

hip_id
string
required

The HIP (Health Information Provider) ID.

health_id
string
required

The health ID associated with the record.

Response

200
application/json
Successful retrieval of health records.
resourceType
string
type
string
entry
object[]
id
string
meta
object
identifier
object
timestamp
string