YSCLHLMA ;DSS/PO;19 May 2020 14:13:48;28 Nov 2019 18:02:34
Source file <YSCLHLMA.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Mental Health | 2 | YSCLHLFN YSCLHLOP |
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 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^XTMP("YSCLHL7" | SAVEDATA+6*, XMITALL+13, XMITALL+15, XMITALL+16, XMITALL+18, XMITALL+19, XMITALL+22* |
Name | Line Occurrences |
---|---|
XMI1PT | XMITALL+21 |
>> | 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 |