;* Return the version per findings in 408.21 record
; Input: IAI - Individual Annual Income entry IEN
; Returned value:
; 0 - Record contains data defined for version 0 (pre Feb, 2005)
; Form (pce's 9-13, 15, 16)
; 1 - Record contains data defined for version 1 (Feb, 2005) Form
VER(DGINC)
;* Return the version of Individual Annual Income records (0 or 1)
; Input: DGINC Individual Annual Income IEN Array
; Output: 1 - version 1 1010EZ form Feb, 2005
; 0 - version 0 1010EZ form pre Feb, 2005
; -1 - Annual Means Test record is associated and it is not a
; Means/Co-Pay test
MTRECVER(IAI,VER211,CONVRT)
;* Return the version indicated in 408.31 Means Test Version field (2.11)
; Input: IAI - Individual Annual Income entry IEN