Patient Identifier; numeric; standard VistA variable
VAR1 is required.
PFSS Account Reference; numeric; pointer to PFSS
ACCOUNT file (#375).
VAR2 is required.
Charge Type; identifies the charge as being either a
debit (i.e., charge) ("CG") or a credit ("CD") to the account.
VAR3 is required.
The Unique Charge ID associated with the service
event. The IBB function $$GETCHGID^IBBAPI should be used to obtain the Unique
Charge ID prior to the initial $$CHARGE^IBBAPI. The Unique Charge ID is then
stored in the application s database in association with the CPT code, HCPCS
code, or prescription fill/refill.
VAR4 is required.
Array of data elements for HL7 Segment FT1 as
follows: ARR1(4) = Transaction Date (required) ARR1(7) = Transaction Code
Pharmacy only; required; 6-digit Service Code
for prescribed product. ARR1(10) = Transaction Quantity (required)
PCE - number of occurrences for the CPT code in ARR2(3).
Prosthetics - number of occurrences for the HCPCS code in
OP Pharmacy - number of dispense units prescribed. ARR1(13) =
Department Code (required)
Prosthetics - 423
OP Pharmacy - 160
PCE - as provided to PCE; otherwise, Primary Stop Code
associated with visit. ARR1(16) = Assigned Patient Location
Pointer to file #44. ARR1(18) = Patient Copay Status(optional)
1 - Rx Copay Exempt
0 - Not Exempt
Pharmacy only. ARR1(20) = Performed By Code (optional)
Pointer to file #200. ARR1(21) = Ordered By Code (optional)
Pointer to file #200. ARR1(22) = Unit Cost (optional)
Pharmacy and Prosthetics only; numeric; 2 decimal digits
allowed. ARR1(29) = NDC_"; _Generic Name (optional)
Pharmacy only; free text. ARR1(31) = Copay Transaction Type
1 - PSO NSC RX COPAY
2 - PSO SC RX COPAY
Array ARR1 is required, although some elements are optional.
Array of data elements for HL7 Segment PR1 as
follows: ARR2(3) = Procedure Code (required)
Pointer to file #81.
Note: The number of times the CPT procedure was performed,
or the number of HCPCS items that were delivered, must be
specified in ARR1(10). ARR2(4) = Procedure Description (optional)
Free text upto 200 characters; may be used to modify or
enhance the data provided in ARR2(3). ARR2(5) = Procedure Date/Time
FileMan date/time; time optional. ARR2(6) = Procedure Functional
Prosthetics - "O" (Home Oxygen), "P" (Purchasing),
"I" (Stock Issue).
Radiology - Imaging Type (file #79.2) abbreviation. ARR2(11,1) =
For Surgery procedures only; pointer to file #200. ARR2(11,2) =
Attending Surgeon (optional)
For Surgery procedures only; pointer to file #200. ARR2(16) =
Procedure Code Modifier(s) (optional)
Free text; one or more pointers to file #81.3
delimited by ";".
Array ARR2 is required from all applications except Pharmacy.
Array of data elements for HL7 Segment DG1 as
follows: ARR3(n,3) = Diagnosis Code (required)
Pointer to file #80. ARR3(n,6) = Diagnosis Type (required)
"A" (admitting), "W" (working), "D" (discharging),
Since there may be more than one diagnosis, ARR3 will have two subscripts.
The first subscript is a sequential integer that pertains to a given diagnosis
The second subscript refers to the corresponding Sequence number within the
DG1 Segment. Diagnoses must be placed in the array in priority order; i.e.,
primary diagnosis must be first, followed in descending priority order by
additional diagnoses (if any).
Array ARR3 is optional.
Array of data elements for HL7 Segment ZCL as
follows: ARR4(n,2) = Type (required)
1 - AO (Agent Orange)
2 - IR (Ionizing Radiation)
3 - SC (Service Connected)
4 - EC (Environmental Contaminants)
5 - MST (Military Sexual Trauma)
6 - HNC (Head and/or Neck Cancer)
7 - CV (Combat Veteran) ARR4(n,3) = Value (required)
1 - Yes
2 - No
Each ARR4(n) represents one of the possible SC/EI classifications.
Array ARR4 is optional.
The input array is used only by Pharmacy. Array of
data elements for HL7 Segment RXE as follows: ARR5(1) = Quantity_";; _Days
Free text; numerics separated by ";;" ARR5(17) = Refills Dispensed
Integer. ARR5(18) = Date of Most Recent Fill (required)
FileMan date/time; date only. ARR5(31) = DEA, Special Handling
Free text; max. 5 characters.
Array ARR5 is required for Pharmacy only.
Pointer to the ORDER file (#100) in OE/RR. Provider
orders entered in CPRS are maintained in file #100 and forwarded to the
service applications such as Radiology and Laboratory. These applications
retain the ORDER pointer in their files and it is passed to PCE as service
requests are completed/resulted. PCE will always pass the ORDER file pointer
to IBB, if it exists.
VAR5 is optional.
Array of data elements for Prosthetics only as
follows: ARR6(1) = Vendor (required)
Pointer to file #440. ARR6(2) = OBL# (required)
Free text; max. 30 characters.
Array ARR6 is required for Prosthetics only.
1, if a new record in file #373 is successfully
created; 0, if unsucessful.