< Previous Challenge - Home - Next Challenge>
In this challenge, you will implement the FHIR Server Samples reference architecture to ingest and load patient data in FHIR. You will generate synthetic FHIR patient data for bulk load into FHIR Server. To generate synthetic patient data, you will use SyntheaTM Patient Generator open source Java tool to simulate patient records in FHIR format.
In this scenario, you will deploy a storage account with a BLOB container called fhirimport
. Synthea generated FHIR patient data files (JSON) are copied into this storage container, and automatically ingested into FHIR Server. This bulk ingestion is performed by a BLOB triggered function app as depicted below:
You will implement the FHIR Bulk Load scenario in Microsoft Health Architecture as follows:
NOTE: The connection to Azure AD can be made using a different tenant domain than the one tied to your Azure subscription. If you don’t have privileges to create app registrations, users, grant admin consent, etc. in your Azure AD tenant, you can create a new secondary tenant, which will just be used for demo identities, etc.
Post deployment, save your admin tenant user credential to be used in later challenges for web app sign-in.
{ENVIRONMENTNAME}
and {ENVIRONMENTNAME}-sof
Resource GroupsApp Registration
in secondary AAD tenant that all three different client application types are registered for Azure API for FHIRGenerate simulated patient data in FHIR format using SyntheaTM Patient Generator.
exporter.baseDirectory = ./output/fhir
exporter.fhir.export = true
generate.default_population = 1000
exporter.baseDirectory = ./output/fhir
...
exporter.ccda.export = false
exporter.fhir.export = true
...
# the number of patients to generate, by default
# this can be overridden by passing a different value to the Generator constructor
generate.default_population = 1000
Note: The default properties file values can be found at src/main/resources/synthea.properties. By default, synthea does not generate CCDA, CPCDA, CSV, or Bulk FHIR (ndjson). You’ll need to adjust this file to activate these features. See the wiki for more details.
./output/fhir
folder to fhirimport
BLOB container.
FHIR API
collection to retreive FHIR patient data loaded.