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 |  Used in HL7 Interface |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: IVMPREC1

Package: Income Verification Match

Routine: IVMPREC1


Information

IVMPREC1 ;ALB/SEK/BRM - PROCESS INCOMING HL7 (ACK) MESSAGES ; 07/28/2003

Source Information

Source file <IVMPREC1.m>

Entry Points

Name Comments DBIA/ICR reference
ACK ; - Receive ACK Message from IVM Center stored in ^TMP("HLR".
; If 1st segment is BHS then set(s) of MSH, MSA(AE) will follow
; indicating error(s) in transmission received by IVM Center
; If 1st segment is MSH than MSA (AA) indicating batch or individual
; query was received ok. MSA (AE) indicates error in transmission of
; individual query.
;
; - When acknowledgment code = "AA" (application accept)
; Stuff 1 into STATUS field (.03) of ^IVM(301.6 indicating IVM Center
; has received transmission.
ACKQ ;
AE ; - When acknowledgment code = "AE" (application error)
; Stuff 3 into STATUS field(.03), error message into ERROR MESSAGE
; field(.04), and 1 (NEW) into the ERROR PROCESSING STATUS field.
; Stuff 1 into STATUS field(.03) for transmissions (no 'AE' code
; received) received by IVM Center.
OTH ; Generate message for errors other than Full/Initial Transmissions.
Z07CHK(CURSEQ,CURMCI,CUREM) ; Function ;
; INPUT
; CURSEQ : Current Sequence # reviewing in batch
; CURMCI : Current Message Control ID reviewing in batch
; CUREM : Current Error Message reviewing in batch
REBLDPID(ARRAY,SEQ) ; Reconnect the pieces of the PID segment
; ARRAY contains the HL7 message reference to be accessed indirectly
; It should look similar in structure to the HL7 message text in
; file 772
; @ARRAY@(SEQ) should = the first 'PID' segment record text and should
; be 245 characters long
PIDQ

Used in HL7 Interface

HL7 Protocol Name Call Tags
EAS EDB ORU-Z09 SERVER ACK

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^HL(772 - [#772] Classic Fileman Calls
Info |  Source |  Entry Points |  Used in HL7 Interface |  FileMan Files Accessed Via FileMan Db Call