$$CVEDT(DFN,DGDT) |
This API will take the DFN as an input parameter. If
eligibility is to be determined for a date other than the current date it may
be entered as an optional input parameter. Output is whether or not the
veteran has CV status and if so, the end date of the eligibility.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DFN |
Input |
Patient file IEN
|
DGDT |
Input |
(optional) The date for which eligiblity is to be
determined.
|
$$CVEDT |
Output |
This variable is a "^" delimited.
The first piece is -1/0/1
-1 if the determination cannot be made due to a non-valid DFN
0 if never given combat veteran eligibility.
1 if the veteran was ever given combat veteran eligibility.
The second piece is the Combat Vet End Date (if ever given eligibility).
The third piece is 1/0
1 if still eligible on the specified date (either passed in to the
API or TODAY by default), 0 if not. This piece will be populated only if the
1st piece is equal to 1.
|
|