VAFHLZTE ;SHRPE/YMG - Create HL7 ZTE segment ;06/17/19
Source file <VAFHLZTE.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| EN(DFN,VAFSTR,VAFCHK,VAFZTE) | ; build HL7 ZTE segments.
 ; These segments contain VA-specific data for OTH (Other Than Honorable) ; patients. ZTE segments will be returned in the array VAFZTE.  | 
|
| GETDATA(DGTYPE,DGOTHSTR) | ; Get information needed to build ZTE segment
 ; Input: ; DGTYPE = request type: "P" = Pending, "D" = Denied, "A" = Approved ; DGOTHSTR = "^" - delimited string containing data from file 33 to use  | 
|
| MAKESEG | ; Create segment using obtained data
 ; Input: Existence of the following variables is assumed ; VAFSETID = Number denoting Xth repetition of the ZTE segment ; VAFMAXL = Maximum length of each node (defaults to 245) ; VAFHLZTE(SeqNum) = Value ; HL7 encoding characters (HLFS, HLECH)  |