SDTMPHLC ;TMP/DRF - TMP HL7 Routine;May 29, 2018
Source file <SDTMPHLC.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(CLINID,NCDATE,NCSTOP,FUNCTION,COMMENT) | ;Entry to the routine to build an HL7 message
|
|
PID(DFN,SEQ,SEG) | ;
|
|
PD1 | ||
PV1(DFN,SEQ,SEG) | ;
|
|
SCH(DFN,SEQ,SEG,ANODE,SNODE) | ||
PV2 | ||
OBX1 | ||
OBX2 | ||
OBX3 | ||
OBX4 | ||
RGS1(FLAG,SEQ,SEG) | ; At least one RGS segment is required
|
|
AIS1(FLAG,SEQ,SEG) | ;
|
|
NTE(SEQ,SEG) | ;
|
|
AIL1(CLINID,SEQ,SEG) | ;
|
|
TMCONV(X,INST) | ;Uses division/institution to determine tz instead of mailman files / 773
|
|
INST(CLNC) | ;Derives the institution value for the clinic
|
|
CHKCLIN(X) | ; check to see if this is a primary or secondary stop code for a tele health clinic
|
|
CHKINST(INST) | ;Derives the parent institution if the passed-in institution does not have a time zone
|
|
STATUS(X) | ; a $Select to convert code to text too many characters in a single line. returns the text version of the appointment code
|
|
SEND(SC,DATE,PATTERN) | ;Send a transaction from SDBUILD - SD*5.3*806
|
FileNo | Call Tags |
---|---|
^DIC(40.7 - [#40.7] | GET1^DIQ |