Skip to content

Latest commit

 

History

History
111 lines (52 loc) · 5.12 KB

README.md

File metadata and controls

111 lines (52 loc) · 5.12 KB

HL7 to FHIR Cohort Population

About the Project

This project gets HL7 Radiology Result messages and checks to see if the patients in those messages exist in the InterSystems FHIR server repository. If the patients exist, then the FHIR IDs of those patients are returned. If the patients don't exist, then new FHIR Patient resources are created based on the demographics information parsed in from the PID segments in the HL7 messages. This process helps to create FHIR cohorts that can be used for analytics, research, and other purposes while expanding the InterSystems FHIR repository.

Built With

InterSystems FHIR Server InterSystems HealthShare InterSystems IRIS for Health InterSystems IRIS Studio

Prerequisites

  1. Install and Configure InterSystems HealthShare or InsterSystems IRIS for Health

  2. Install and Configure InterSystems FHIR Server

  3. Understanding and working knowledge of InterSystems IRIS for Health or InterSysems HealthShare technology, HL7 FHIR Specification, and HL7 Message Structure

Installation

  1. Create an Integration Production in InterSystems IRIS for Health or HealthShare instance that receives HL7 Radiology Results messages (Message Type - ORU_R01)

image

image

  1. Create a Business Process Logic (BPL) in the InterSystems FHIR Namespace to parse in the HL7 Messages and create FHIR calls to search and create patients in the FHIR repository. Please refer to the BPLCode.cls file for complete code.

image

  1. Route the radiology result messages from HealthShare to the Service in the FHIR Server Production, process the messages through the BPL, and get information back in the Operation

image

image

Usage

Scenario 1: If Patient exists in the FHIR Repository

Incoming HL7 Radiology Result Message

image

Parse in the patient demographics data from the HL7 Message and search for the patient in the FHIR repository

image

InterSystems FHIR server returns response after querying the repository with the Patient resource details

image

image

Scenario 2: If Patient doesn’t exist in the FHIR Repository

Incoming HL7 Radiology Result Message

image

Parse in the patient demographics data from the HL7 Message and search for the patient in the FHIR repository

image

InterSystems FHIR server returns response after querying for the patient in the repository

image

FHIR POST call sends a request to create the Patient resource in the FHIR repository

image

InterSystems FHIR server returns response with 'HTTP/1.1 201 Created' after creating the Patient resource successfully

image

Run SQL queries on the FHIR repository to get the details on the cohort that was created from the steps above

image

Authors and Acknowledgements

@Momeena.Ali, @Marvin.Asercion, @Katie Bourbeau, @Darren.Marks, @Scott.Nathanson