Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: YSCLHLMA

Package: Mental Health

Routine: YSCLHLMA


Information

YSCLHLMA ;DSS/PO;19 May 2020 14:13:48;28 Nov 2019 18:02:34

Source Information

Source file <YSCLHLMA.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Mental Health 4 $$ADTA28^YSCLHLAD  GET^YSCLHLGT  XTMPZRO^YSCLHLOP  $$RDEO11^YSCLHLRD  
Kernel 1 ($$FMADD,$$NOW)^XLFDT  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Mental Health 2 YSCLHLFN  YSCLHLOP  

Entry Points

Name Comments DBIA/ICR reference
SAVEDATA(DFN,PSGORD,PSORXIEN) ; Get and save the data needed to Build and send registration and clinical/dispense messages
; input: DFN patient file IEN
; PSGORD pharmacy patient file UnitDose ien e.g. 167 or 167U
; PSORXIEN prescription ien of prescription file
XMITALL(REXMIT,FROMDT,TODT) ; re-transmit or transmit HL7 messages,
; input: inputs are optional
; REXMIT re-transmit flag if 1, it will retransmit the message for given date range
; whether or not the HL7 messages transmit
; FROMDT start date to start re-transmission
; TODT end date for re-transmission
; if no input paramters, only HL7 messages that are not transferred will be transferred, up to yesterday
XMI1PT(YSCLARR,XMITRES,YSILENT) ; Transmit the HL7 message(s) from YSCLARR for one Patient.
; input: YSCLARR ; data to build the HL7 message(s) from
; input/Output: XMITRES ; call by reference - transmission Status.
; YSILENT optional, if 1 no message is written

External References

Name Field # of Occurrence
$$FMADD^XLFDT XMITALL+10
$$NOW^XLFDT SAVEDATA+6
$$ADTA28^YSCLHLAD XMI1PT+5
GET^YSCLHLGT SAVEDATA+5
XTMPZRO^YSCLHLOP SAVEDATA+7
$$RDEO11^YSCLHLRD XMI1PT+8, XMI1PT+14

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^XTMP("YSCLHL7" SAVEDATA+6*, XMITALL+13, XMITALL+15, XMITALL+16, XMITALL+18, XMITALL+19, XMITALL+22*

Label References

Name Line Occurrences
XMI1PT XMITALL+21

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DFN SAVEDATA~, SAVEDATA+5, SAVEDATA+6
DT XMITALL+10, XMITALL+11, XMI1PT+5, XMI1PT+8, XMI1PT+14
FROMDT XMITALL~, XMITALL+10
I XMITALL+8~, XMITALL+20*, XMI1PT+4~, XMI1PT+11*, XMI1PT+12*, XMI1PT+13, XMI1PT+14, XMI1PT+16*
NODE XMITALL+8~, XMITALL+14*, XMITALL+15*, XMITALL+16, XMITALL+18, XMITALL+19, XMITALL+22, XMI1PT+4~, XMI1PT+13*
PSGORD SAVEDATA~, SAVEDATA+5, SAVEDATA+6
PSORXIEN SAVEDATA~, SAVEDATA+5, SAVEDATA+6
REXMIT XMITALL~, XMITALL+9*, XMITALL+16, XMITALL+20
TODT XMITALL~, XMITALL+11*, XMITALL+13
U SAVEDATA+6, XMI1PT+5, XMI1PT+8, XMI1PT+14
XMITRES XMITALL+8~, XMITALL+17!, XMITALL+19*, XMITALL+21, XMITALL+22, XMI1PT~
XMITRES( XMITALL+20*, XMI1PT+14*, XMI1PT+16
XMITRES("ALL" XMI1PT+16*
XMITRES(1 XMI1PT+5*
XMITRES(2 XMI1PT+8*
YSCLARR SAVEDATA+5, SAVEDATA+6, XMITALL+8~, XMITALL+17!, XMITALL+18*, XMITALL+21, XMI1PT~, XMI1PT+5, XMI1PT+8, XMI1PT+14
YSCLARR( XMI1PT+13*
YSCLARR("*PSGORD" XMI1PT+10
YSCLARR("*PSORXIEN" XMI1PT+7
YSCLARR("*RPT" XMI1PT+12, XMI1PT+13
YSDT XMITALL+8~, XMITALL+10*, XMITALL+13*, XMITALL+15, XMITALL+16, XMITALL+18, XMITALL+19, XMITALL+22
YSILENT XMI1PT~, XMI1PT+5, XMI1PT+8
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All