FHIR support
JSON is a lightweight data-interchange format leveraged by the FHIR (Fast Healthcare Interoperability Resources) standard. Support for JSON provides robust support for FHIR and enhances the range of systems that can be integrated using Cloverleaf Integration Services.
This support provides:
- The ability to define and edit JSON layouts, similar to HL7 variant builder.
- Bidirectional translation between JSON and other Cloverleaf supported message formats.
- GRM support.
- Testing Tool support for parse, translate, and route.
Cloverleaf provides pre-defined FHIR JSON schemas that are applied to the Translation Configurator, Testing Tool, and others.
FHIR requires the JSON data elements to follow the order set in the XML schema. The JSON data elements are still optional, but they are in an expected order.
Using JSON/XML RESTful, the Cloverleaf FHIR box contains working examples and documentation to connect with a FHIR server. Then, you can successfully exchange patient demographics as defined in the HL7 FHIR Connectathon Track 1.
See http://wiki.hl7.org/index.php?title=FHIR_Connectathon_7.
XML support for FHIR is also provided. The pre-compiled xsd files for FHIR are located in $HCIROOT/formats/xml/FHIR_1.0.2-xsd.
The FHIR JSON (DSTU2) definition files are under $HCIROOT/formats/json/fhir_1.0.2.
There is a BOX located at $HCIROOT/CAA/ws/samples/FHIR_example.box that demonstrates how FHIR JSON can work in Cloverleaf.
This includes examples of:
- Re-using the standard FHIR definition from the root level and customizing the variant in the site level.
- Using a translation to convert a HL7 message to a JSON message.
- Using CAA-WS to send the FHIR JSON request to a FHIR server.