Print Page as PDF
VAFCQRY APIs ICR (3630)

VAFCQRY APIs    ICR (3630)

Name Value
NUMBER 3630
IA # 3630
DATE CREATED 2002/07/30
CUSTODIAL PACKAGE REGISTRATION
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE VAFCQRY
NAME VAFCQRY APIs
GENERAL DESCRIPTION
MPIF and RG would like to call the generic segment
builders for version 2.4 messages for the PID, EVN and PD1 segments.
STATUS Active
ID VAFCQRY
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
BLDEVN
The entry point builds the EVN segment via version
2.4 including the Treating Facility last treatment date and event reason.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
DFN - Internal Entry Number of the patient in the
Patient (#2) file.
SEQ Input
SEQ - variable consisting of sequence numbers
delimited by commas that will be used to build the message.
EVN Input
EVN (passed by reference) - array location to place
EVN segment result, the array can have existing values when passed.
HL Input
HL - array that contains the necessary HL variables
(init^hlsub)
EVR Input
EVR - event reason that triggered this message.
ERR Input
ERR - array that is used to return an error.
BLDPD1
This entry point will build the version 2.4 PD1
segment.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
DFN - internal entry number of the patient in the
PATIENT (#2) file.
SEQ Input
SEQ - variable consisting of sequence numbers
delimited by commas that will be used to build the message.
PD1 Input
PD1 (passed by reference) - array location to place
PD1 segment result, the array can have existing values when passed.
HL Input
HL - array that contains the necessary HL variables
(init^hlsub)
ERR Input
ERR - array that is used to return an error.
BLDPID
This entry point will build the version 2.4 PID
segment.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
DFN - internal entry number of the patient in the
PATIENT (#2) file.
CNT Input
CNT - value to be place in PID seq#1 (SET ID)
SEQ Input
SEQ - variable consisting of sequence numbers
delimited by commas that will be used to build the message.

"ALL" can be passed to get all available fields in the PID segment that are
available.  This is the default.
PID Input
PID (passed by reference) - array location to place
PID segment result, the array can have existing values when passed.
HL Input
HL - array that contains the necessary HL variables
(init^hlsub)
ERR Input
ERR - array that is used to return an error.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
MASTER PATIENT INDEX VISTA
CLINICAL INFO RESOURCE NETWORK
OUTPATIENT PHARMACY
CLINICAL PROCEDURES
PHARMACY BENEFITS MANAGEMENT
RADIOLOGY/NUCLEAR MEDICINE
GEN. MED. REC. - VITALS
ADVERSE REACTION TRACKING
LAB SERVICE
CLINICAL CASE REGISTRIES
SCHEDULING
ADDED 3/19/09
CONSULT/REQUEST TRACKING
DENTAL
ADVANCED PROSTHETICS ACQUISITION TOOL
Added 9/12/22, effective with DSSO*2.0*5 to call
Registration routine BLDPID^VAFCQRY to create a PID segment during the Record
of Pros Appliance/Repair (#660) extract process which is used in determining
whether a patient has received duplicate Prosthetic HCPCS's.