SDHL7CON ;MS/TG/MS/PB/GN - TMP HL7 Routine;Jul 22, 2024
Source file <SDHL7CON.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| PARSEQ13 | ;Process QBP^Q13 messages from the "TMP VISTA" Subscriber protocol
 | 
|
| VALIDMSG(MSGROOT,QRY,XMT,ERR) | ||
| LOADXMT(HL,XMT) | ;Set HL dependent XMT values
 | 
|
| LIST(SDY,SDPT,SDSDT,SDEDT,SDSERV,SDSTATUS) | ; return patient's consult requests between start date and stop date for the service and status indicated:
 | 
|
| RTCLIST(SDY,SDPT,SDSDT,SDEDT) | ; return patient's "Return to Clinic" appointment requests
 | 
|
| PARSESEG(SEG,DATA,HL) | ;Generic segment parser
 | 
|
| LOADMSG(MSGROOT) | ; Load HL7 message into temporary global for processing
 | 
|
| PARSEMSG(MSGROOT,HL) | ; Message Parser
 ; Does not handle segments that span nodes ; Does not handle extremely long segments (uses a local) ; Does not handle long fields (segment parser doesn't)  | 
|
| SENDERR(ERR) | 
| HL7 Protocol Name | Call Tags | 
|---|---|
| TMP QBP-Q13 Subscriber | PARSEQ13 | 
| FileNo | Call Tags | 
|---|---|
| ^ORD(101 - [#101] | FIND1^DIC | 
| ^SC - [#44] | GET1^DIQ |