IVMCMC ;ALB/SEK,BRM,GN,TDM,JAM,HM - CHECK INCOME TEST TRANSMISSION SEGMENTS;1/6/20 8:25am
Source file <IVMCMC.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ; Check segment structure of Income Test (Z10) transmission.
; Variable input: ; IVMDA -- pointer to an incoming message line in file #772 ; IVMORF -- [optional]: set to 1 if Z10 is an ORF message ; IVMSEG -- the MSH segment string ; ; plus the usual HL7 variables: HLDA, HLFS, HLQ, HLECH ; ; Variable output: ; DFN -- pointer to the patient in file #2 ; DGLY -- Income Year ; IVMFLGC -- Number of Dependent Children ; IVMMCI -- HL7 message control id of query sent to IVM Center ; ; and the global array ^TMP($J,"IVMCM" which holds the message. |
|
ENQ | ||
GET(SEG,NUM) | ; Get the next HL7 segment.
; Formal input: ; SEG -- String with which to build ^TMP($J,"IVMCM" ; NUM -- Number to index child dependent strings [optional] ; Required variable input: ; HLDA -- Pointer to the incoming message in file #772 ; IVMDA -- Pointer to the next message line within file #772 |
|
GETQ | ||
PROB(ERR) | ; Process encountered errors.
; Input: ERR -- Error text |
|
ADDL | ; Perform additional segment checks for ORF messages.
|
|
ADDLQ |