Skip to content

FHIRDatastore

Source: src/AWS/HealthLake/FHIRDatastore.ts

An AWS HealthLake FHIR-enabled data store — a HIPAA-eligible, managed store for FHIR R4 health data with a FHIR REST endpoint plus bulk import/export.

Data stores take roughly 15-30 minutes to provision (CREATINGACTIVE) and are billed while they exist; deletion is also asynchronous (DELETING → gone). Destroy data stores you are not using.

Basic FHIR R4 Data Store

const datastore = yield* FHIRDatastore("Records", {});

Data Store Preloaded with Synthetic Data

const datastore = yield* FHIRDatastore("Sandbox", {
preloadDataType: "SYNTHEA",
});
const key = yield* KMS.Key("RecordsKey", {
description: "healthlake data store key",
});
const datastore = yield* FHIRDatastore("Records", {
kmsKeyId: key.keyArn,
});