Reading a resource with GET
This example shows you how to read a patient FHIR resource using a GET
request.
Example Reading a specific Patient
resource using a GET
request.
To create a HealthLake data store GET
request, use your data store's endpoint. To find a data store's endpoint, look in the HealthLake console under Data Stores or by using the DescribeFHIRDatastore operation in the AWS HealthLake API Reference.
You also must include the resource type, Patient
and a valid identifier, 2de04858-ba65-44c1-8af1-f2fe69a977d9
.
GET https://healthlake.
your-region
.amazonaws.com/datastore/your-datastore-id
/r4/Patient/2de04858-ba65-44c1-8af1-f2fe69a977d9
JSON Response
When successful, you will receive a 200
HTTP status code and the following JSON response.
{ "resourceType": "Patient", "active": true, "name": [ { "use": "official", "family": "Doe", "given": [ "Jane" ] }, { "use": "usual", "given": [ "Jane" ] } ], "gender": "female", "birthDate": "1966-09-01", "meta": { "lastUpdated": "2020-11-23T06:24:13.202Z" }, "id": "2de04858-ba65-44c1-8af1-f2fe69a977d9" }