< Previous Challenge - Home - Next Challenge>
In this challenge, you will use the $convert-data operation, which is a service integrated into the FHIR service within Azure Health Data platform, to convert HL7v2 message and C-CDA XML legacy formats for persistance in FHIR. The $convert-data endpoint in FHIR service uses the Liquid template engine and default templates from the FHIR Converter OSS project to perform data mapping between these legacy formats to FHIR.
FHIR Converter is an open source project that transforms health data sources from legacy formats to FHIR bundles that are persisted to a FHIR server. Microsoft FHIR Converter with Liquid engine supports HL7v2, C-CDA, JSON and FHIR STU3 to FHIR R4 conversions. It uses default Liquid templates to define data mapping between these legacy data formats to FHIR, and the template can be customized to meet your specific conversion requirements.
$convert-data operation is the custom API endpoint in the FHIR service meant to convert data from different data types to FHIR.
Prepare API Request to convert legacy health data into FHIR
- Setup API request using the $convert-data endpoint in the FHIR service and configure Parameter Resource in the request body.
Convert data using the $convert-data endpoint
- Test send sample HL7v2 and sample C-CDA requests in the request body payload and make the appropriate $convert-data API calls to receive FHIR Bundle response.
- You have created new HL7 and C-CDA request operations in Postman.
- You have tested sending sample HL7v2 message and received a FHIR "resourceType": "Bundle" response after calling $convert-data with a HL7v2 payload.
- You have tested sending sample C-CDA XML data and received a FHIR "resourceType": "Bundle" response after calling $convert-data with a C-CDA payload.