Blue Button Model To FHIR Translator
This library translates health data in blue button model to a FHIR Bundle Resource. Currently the following sections are supported
var mtfhir = ;
read in some content that can be parsed by blue-button
var fs = ;var filePath = 'path/to/ccdafile.xml';var content = fs;
translate the content to a FHIR Bundle resource
var bundle = mtfhir;console;
You can also pass a Patient resource to contain patient references. In this case demographics section is ignored
var patientEntry =id: 'Patient/123456789'content:resourceType: Patientname:family:"DOE"given:"JOE";mtfhir;
and all the patient references in the Bundle will be updated. Otherwise the patient references are assigned from the newly created patient resource.
By default Medication and Substance resources are included as internal resources. You can request them as external resources instead
This project is configured by editing the
lib/config.json file. There are two configuration items
logging: See bunyan for configuration options.
ccdaVitalSignPanel: Observation resources that are created for vitals can be put into a Observation panel. This item defines vital panels and which vitals will be in the panels.
Licensed under Apache 2.0.