Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

How to

Using a valid Patient scoped access token, the partner application pulls the patient’s details. There are a few options, two of which are outlined below, and the best option depends on what the partner use case is.

{
    "resourceType": "Parameters",
    "parameter": [
        {
            "name": "purview",
            "valueReference": {
                "reference": "Patient/1d4a8b2d-f885-499f-ba51-50600312f316"
            }
        }
    ]
}

  • Demographic details, including any identifiers (national/local) in the PKB record, using PKB’s REST API. Example response is here (/users/self). Example request below.

curl --location 'https://sandbox.patientsknowbest.com/json/users/self' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer LtftuUgRkYTl3QC9-DpQ3rDvZN09i3s0'

  • No labels