Reading a FHIR resource
The FHIR read
interaction reads the current state of a resource in a HealthLake
data store. For additional information, see read
To read a FHIR resource
-
Collect HealthLake
region
anddatastoreId
values. For more information, see Getting data store properties. -
Determine the type of FHIR
Resource
to read and collect the associatedid
value. For more information, see Resource types. -
Construct a URL for the request using the collected values for HealthLake
region
anddatastoreId
. Also include the FHIRResource
type and its associatedid
. To view the entire URL path in the following example, scroll over the Copy button.GET https://healthlake.
region
.amazonaws.com/datastore/datastoreId
/r4/Resource
/id
-
Send the request. The FHIR
read
interaction uses aGET
request with either AWS Signature Version 4 or SMART on FHIR authorization. The followingcurl
example reads the current state of a FHIRPatient
resource in HealthLake. To view the entire example, scroll over the Copy button.