GMRCHL7 ;SLC/DCM,JFR - CONSULTS-->CPRS HL7 MESSAGING ;May 15, 2020@11:01:07
Source file <GMRCHL7.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| INIT | ||
| MSH(X) | ;Format MSH segment of HL-7 message.
 | 
|
| PID(GMRCIEN) | ;Format the HL-7 PID segment
 | 
|
| PV1(GMRCIEN,RMBED,VISIT) | ;Format the HL-7 PV1 segment
 | 
|
| NTE(NTE,ND) | ;Format the HL-7 NTE segment
 | 
|
| EN(PATID,GMRCIEN,GMRCRTYP,RMBED,ORCTRL,GMRCPLCR,VISIT,GMRCOM,GRPUPD,ACTDT) | ;;Main entry point
 | 
|
| BLD(MSH,PID,PV1,ORC,OBR,ZSV,OBX,NTE,CTRLCD) | ;Build the HL-7 message global to pass to OR
 | 
|
| HL7DT(DATE) | ;Convert Fileman Date to HL-7 Date
 | 
|
| FMDATE(DATE) | ;Convert HL-7 formatted date to a Fileman formatted date
 | 
|
| ORC(GMRCIEN,GMRCTRL,ORCPLCR,MAINT,GMRCDT) | ;Build ORC segment of HL-7 msg
 | 
|
| ZSV(GMRCO) | ;build ZSV segment for at least forward
 |