$$EN(DFN,VAFSTR,VAFNUM) |
This function call has been left for backwards
compatability and is superceeded by EN1^VAFHLZEL. This function call is
designed to build the HL7 ZEL segment. This segment contains VA-specific
patient eligibility data. Because a patient can have more than eligibility,
the ZEL segment for the patient's primary eligibility will be the output of
the function call and all other eligibilities will be returned in the array
VAFZEL. Because this call was not designed to accomodate a segment length
greater than 245, sequence numbers 1 to 24 are the only fields supported.
Notes: All fields will be returned with the primary eligibility
: Eligibility Code, Long ID, and Short ID will be the only
fields returned for other eligibilities
: VAFZEL is initialized (KILLed) on entry
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DFN |
Input |
Pointer to PATIENT file (#2)
|
VAFSTR |
Input |
String of fields requested separated by commas
(Defaults to all fields)
|
VAFNUM |
Input |
Eligibility number to determine type of data returned
1 = primary eligibility only
2 = all eligibilities
|
HL7 variables |
Input |
Call assumes that all HL7 variables returned from
INIT^HLFNC2 are defined.
|
VAFMSTDT |
Input |
Date to use when getting MST status (optional)
|
$$EN |
Output |
String of data forming the ZEL segment for the
patient's primary eligibility.
|
VAFZEL(n) |
Output |
If all eligibilities are chosen, an array of
string(s) forming the ZEL segments for the patient's other entitled
eligibilities
|
|
EN1(DFN,VAFSTR,FAFNUM,.VAFZEL) |
This procedure call is designed to build the HL7 ZEL
segment. This segment contains VA-specific patient eligibility data. Because
a patient can have more than one eligibility, the ZEL segment(s) will be
returned in the array VAFZEL. This call superceeds $$EN^VAFHLZEL because it
accomodates a segment length greater than 245.
Notes: VAFZEL(1) will be the primary eligibility
: VAFZEL(2..n) will be other eligibilities
: All fields will be returned with the primary eligibility
: Eligibility Code, Long ID, and Short ID will be the only
fields returned for other eligibilities
: Fields will not be split across nodes in VAFZEL()
: VAFZEL is initialized (KILLed) on entry
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DFN |
Input |
Pointer to PATIENT file (#2)
|
VAFSTR |
Input |
String of fields requested separated by commas
(Defaults to all fields)
|
VAFNUM |
Input |
Eligibility number to determine type of data teturned
1 = primary eligibility only
2 = all eligibilities
|
VAFZEL |
Both |
Array to return segment(s) in
VAFZEL(X) = ZEL segment (first 245 characters)
VAFZEL(X,Y) = Remaining portion of ZEL segment in chunks of 245 chars.
|
HL7 variables |
Input |
Call assumes that all HL7 variables returned from
INIT^HLFNC2 are defined
|
VAFMSTDT |
Input |
Date to use when getting MST status (optional)
|
|