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
Print Page as PDF
Routine: IVMUFNC

Package: Income Verification Match

Routine: IVMUFNC


Information

IVMUFNC ;ALB/MLI/PHH/SCK,TDM - IVM GENERIC FUNCTIONS ; 6/30/08 4:11pm

Source Information

Source file <IVMUFNC.m>

Entry Points

Name Comments DBIA/ICR reference
INIT(EID,HL,INT) ; initialize variables for 1.6 HL7/IVM
CLEAN ; clean-up variables for HL7/IVM (as defined by call to INIT)
BATCH ; put BHS and BTS segments into TMP global
IVM(DFN,IVMDT) ; extrinsic function - should this pt be transmitted to IVM?
IVMQ
INS(DFN,IVMDT) ; extrinsic function to see if pt has active insurance
MAIL(IVMGRP) ; Transmit to members of Mail Group. Before D MAIL^IVMUFNC()
; set XMSUB = to subject and set IVMTEXT array to message.
LTD(DFN,IVMQUERY) ; Find Last Treatment Date
; Input: DFN -- pointer to the patient in file #2
; IVMQUERY("LTD") -- # of the QUERY that is currently open or
; undefined, zero, or null if no QUERY opened for
; last treatment date
; Output: LTD -- Last Treatment Date (really last date seen at
; the facility)
LTDQ ;
APPT(SDOE0) ;Determine if appt associated with encounter is in a valid state
; Quit when Outpatient Encounter STATUS is CHECKED OUT
OUTTR(IVMINT,IVMPAR,IVMST) ; - Transform IVMINT to a displayable value
; Input: IVMINT -- internal value of demographic element
; received from IVM
; IVMPAR -- Zeroth node of the entry in file #301.92
; for the demographic element IVMINT
; IVMST -- [optional] pointer to the STATE (#5) file
; Required to transform the county code
; Output: IVMOUT -- Displayable value for IVMINT
OUTTRQ
EXPAND(FILE,FIELD,VALUE) ; - returns internal data in an output format
EXPQ
GETPAT(DFN,IVMPAT) ;
; Description: Used to obtain identifying information for a patient
; in the PATIENT file and place it in the IVMPAT() array.
LOOKUP(SSN,DOB,SEX,ERROR) ;
MATCH(DFN,ICN,DOB,SEX,CFLG,ERROR) ;
PARSPID3(PID3,PID3ARY) ;
Info |  Source |  Entry Points