Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: SDTMPHLA

Package: Scheduling

Routine: SDTMPHLA


Information

SDTMPHLA ;MS/PB - TMP HL7 Routine;May 29, 2018

Source Information

Source file <SDTMPHLA.m>

Entry Points

Name Comments DBIA/ICR reference
EN(DFN,APTTM) ; Entry to the routine to build an HL7 message
PID(DFN,SEQ,SEG) ;
PD1
PV1(DFN,SEQ,SEG) ;
SCH(DFN,SEQ,SEG,ANODE,SNODE)
SCHCAN(DFN,SEQ,SEG,ANODE,SNODE,CNODE)
PV2
OBX1
OBX2
OBX3
OBX4
RGS1(FLAG,SEQ,SEG) ; At least one RGS segment is required
AIS1
NTE(SEQ,SEG) ;
AIL1(ANODE,SEQ,SEG) ;
TMCONV(X,INST) ;Uses division/institution to determine tz instead of mailman files / 773
CHKCLIN(X) ; check to see if this is a primary or secondary stop code for a tele health clinic
STATUS(X) ; a $Select to convert code to text too many characters in a single line. returns the text version of the appointment code
INST(CLNC) ;Derives the institution value for the clinic
CHKINST(INST) ;Derives the parent institution if the passed-in institution does not have a time zone
STATION(CLNC) ;Derives the station number from the clinic - 780

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(123 - [#123] GET1^DIQ
2.98 GET1^DIQ
^DIC(40.7 - [#40.7] GET1^DIQ
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call