Implementation Details and FAQs
How are the separate Health Information Types packaged?
It is packaged as one single Bundle. An FHIR Bundle is one common operation performed with resources to gather a collection of resources into a single instance containing context.
What is present in a Bundle?
Each Bundle contains information about the Patient, Practitioner, Composition, Organization, the various instances of the Health Information Types ("Prescription", "Diagnostic Report", "Discharge Summary", "OP Consultation", which may contain resources like "Observation", "Condition", "MedicationRequest", "DocumentReference", "DiagnosticReport", "Procedure" and also other reference entities like "Medication", "Practitioner", "Patient", "Organization", etc.).
Implementation/Generation of the Bundle
We've built a wrapper class around SMARTonFHIR (in python3) and deployed it using a Flask Server. This Flask server helps in converting the raw data to FHIR compliant Bundles. For example, if we wanted to convert Prescription Record data, we send all raw information stored in our record class to the /FHIRprescriptionrecord API implemented by us on Flask. Flask server internally will take this data and use the different classes in our library to construct objects of various resources. The objects derive from SMARTonFHIR, which has a "tojson" method that is useful in converting the resource to JSON. Flask then bundles the various resources into the Bundle class and sends the JSON-ified version of the Bundle object back to the Express server.
Last updated