FHIR example maps
The FHIR example provides maps to enable transformation between HL7 ORU messages in EDI format and a FHIR Observation resource in JSON, or XML format.
The observation_json map performs transformations based upon whether the input is in EDI or JSON format, and produces the corresponding output. Similarly, the observation_xml map performs transformations based upon whether the input is in EDI, or XML format.
There is an additional input file, codsystem_lookup.txt, that is used to transform the URLs used for code systems in FHIR, to the CODE name that would be used in HL7 EDI. This lookup file is provided as an example on how transformation can be enriched with additional resources if needed.