The Electronic Medical Record (EMR) workflow is an IBM(R) WebSphere(R) MQ Workflow process designed to illustrate the interaction of IBM WebSphere MQ Workflow, IBM WebSphere Interchange Server collaborations, various IBM WebSphere Business Integration adapters, and various HL7- and HIPAA-enabled applications. The example illustrated by the EMR workflow includes database interaction, seamless integration with a HIPAA-enabled payer and an instance of a sample patient electronic medical record.
The following diagram shows the process model for the Electronic Medical Record workflow:
The EMR workflow contains the following activities:
This activity sends an alert message containing the name of the drug being prescribed and the medical condition that it is used to treat..
Property | Value |
---|---|
Control to | Send Pharmacy Order |
Data from | Source Mappings:
|
Referenced programs | Alert_for_Drug_Usage |
Referenced Program Execution Server | CWLDSVR.FMCSYS.FMCGRP |
Input data structure | OMP_Alert |
Output data structure | OMP_Alert |
This activity sends a pharmacy order message, containing both doctor and patient identification, along with prescribed medication information.
Property | Value |
---|---|
Control from | Alert for Drug Use |
Control to |
Send_Email when ReturnCode <> "0" Update_EMR when ReturnCode = "0" |
Data from | Source Mappings:
|
Referenced programs | Send_Pharmacy_Order |
Referenced Program Execution Server | CWLDSVR.FMCSYS.FMCGRP |
Input data structure | OMP_O09 |
Output data structure | ORP_O10 |
This activity sends an e-mail to notify the ordering doctor of the dispensed medication prescribed to a patient, or to an interested party if any exception has occurred.
Property | Value |
---|---|
Control from |
Send Pharmacy Order when ReturnCode <> "0"
Update_EMR |
Data from |
|
Referenced programs | Send_Email |
Referenced Program Execution Server | CWLDSVR.FMCSYS.FMCGRP |
Input data structure | OMP_Email |
Output data structure | Default Data Structure |
This activity updates the electronic medical record.
Property | Value |
---|---|
Control from | Send Pharmacy Order when ReturnCode = "0" |
Control to | Send_Email |
Data from | Source Mappings:
|
Data to |
Send_Email Mappings:
|
Referenced programs | Update_EMR |
Referenced Program Execution Server | CWLDSVR.FMCSYS.FMCGRP |
Input data structure | OMP_UpdateEMR |
Output data structure | UpdateEMR |
The information returned by an HL7 response message when an error is detected.
Member name | Member type |
---|---|
ErrorIdentifier | STRING |
ErrorText | STRING |
CodingSystem | STRING |
AlternateIdentifier | STRING |
AlternateText | STRING |
AlternateCodingSystem | STRING |
SegmentID | STRING |
Sequence | FLOAT |
FieldPosition | FLOAT |
Input data to the workflow.
Member name | Member type |
---|---|
Member name | Member type |
DBKey | STRING |
DR_Last_Name | STRING |
DR_First_Name | STRING |
DR_Email_Address | STRING |
Order_Prescription_Code | STRING |
Order_Prescription_Quantity | STRING |
Order_Prescription_Dosage_Amount | STRING |
Order_Prescription_Dosage_Unit | STRING |
Order_Prescription_Dosage_Form | STRING |
Order_Prescription_Frequency | STRING |
Order_Prescription_Description | STRING |
Order_Prescription_Indication | STRING |
Patient_ID | STRING |
Patient_Last_Name | STRING |
Patient_First_Name | STRING |
Patient_Middle_Name | STRING |
Input data for pharmacy.
Member name | Member type |
---|---|
DrLName | STRING |
DrFName | STRING |
EmailAddresses | STRING |
OrderMedCode | STRING |
OrderMedQty | STRING |
OrderMedDsgForm | STRING |
OrderMedDsgAmt | STRING |
OrderMedDsgUnits | STRING |
OrderMedFrq | STRING |
OrderMedDesc | STRING |
OrderMedInd | STRING |
PatientID | STRING |
PatientLName | STRING |
PatientFName | STRING |
PatientMName | STRING |
Pharmacy return information.
Member name | Member type |
---|---|
ReturnCode | STRING |
AckCode | STRING |
Errors | Array(10) of STRUCTURE Errors |
Data for medication alert.
Member name | Member type |
---|---|
OrderMedCode | STRING |
OrderMedDesc | STRING |
OrderMedInd | STRING |
ReturnCode | STRING |
PatientID | STRING |
Email specific data.
Member name | Member type |
---|---|
DrLName | STRING |
DrFName | STRING |
EmailAddresses | STRING |
PatientLName | STRING |
PatientFName | STRING |
PatientID | STRING |
OrderMedDesc | STRING |
ReturnCode | STRING |
ErrorDesc | STRING |
Response from the EMR database update operation.
Member name | Member type |
---|---|
ReturnCode | STRING |
AckCode | STRING |
EMR database update input.
Member name | Member type |
---|---|
OrderMedCode | STRING |
OrderMedDsgAmt | STRING |
OrderMedDsgUnits | STRING |
OrderMedDsgForm | STRING |
OrderMedFrq | STRING |
OrderMedDesc | STRING |
PatientID | STRING |