YSCLHLMA ;DSS/PO;19 May 2020 14:13:48;28 Nov 2019 18:02:34
Source file <YSCLHLMA.m>
| 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  |