;
; Will delete any primary test for patient (DFN) for same income
; year as MTDATE for test of type = TYPE
DELETE(MTIEN,DFN,DGDOT)
;delete a copay or MT
ENQ
SETUPAR
; Create data array DGMAR1() where
; 1 - Subscript is MT Changes Type (#408.42) file node where type
; of change = Name, DOB, SSN, Sex, Relationship.
; 2 - 1st piece is #408.12 or #408.13 file.
; 3 - 2nd piece is #408.12 or #408.13 file field number.
EN(MTIEN)
;
; This line tage will process an income test deletion request from
; the post-installation portion of patch DG*5.3*426.
TYPECH
; Type of dependent change (#408.41/#408.42) file
; 1st piece - 408.42 table file node
; 2nd piece - file (#408.12 or 408.13)
; 3rd piece - 408.12 or 408.13 field
EN1
; Get zeroth node of file 408.31 entry.
DEL22
; Delete veteran, spouse, & dependent entries from the Income Relation
; (#408.22) file:
;
; - Veteran #408.22 record IEN
DEL21
; Delete veteran, spouse, & dependent children entries from the
; Individual Annual Income (#408.21) file: