Print Page as PDF
DBIA3035-A ICR (3035)

DBIA3035-A    ICR (3035)

Name Value
NUMBER 3035
IA # 3035
DATE CREATED 2003/05/29
CUSTODIAL PACKAGE PCE PATIENT CARE ENCOUNTER
CUSTODIAL ISC Albany
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PXAAVCPT
NAME DBIA3035-A
ORIGINAL NUMBER 3035
GENERAL DESCRIPTION
The following is a description of the available APIs
for the V CPT (#9000010.18) file.  The V CPT (#9000010.18) file is used to
store CPT related services performed during a visit.
STATUS Active
KEYWORDS PXAA
DURATION Next Version
ID PXAAVCPT
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$GETIENS(VSITIEN,ARRAY)
Use this API to retrieve all Internal Entry Numbers
(IEN) from the V CPT (#9000010.18) file associated with the given visit IEN,
VSITIEN.
VARIABLES TYPE VARIABLES DESCRIPTION
VSITIEN Input
(required) This number represents the Internal Entry
Number for a given patient visit.
ARRAY Input
(required) This array variable is populated by the
API with the Internal Entry Numbers of records found to be associated in the V
CPT (#9000010.18) file with the patient visit IEN.
$$GETIENS Output
If the value returned is equal to 0, no record was
found in the V CPT (#9000010.18) file for the given visit IEN.  If the value
returned is equal to 1, one or more records were found in the V CPT
(#9000010.18).
$$LOADFLDS(IEN,ARRAY)
This API loads all the field values for a given
record IEN in the V CPT (#9000010.18) file.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
ARRAY Input
(required) All the field values of the V CPT
(#9000010.18) file for the given record IEN such as; Patient Name, Diagnosis
Field, Narrative Field, etc are loaded into this array variable.
$$LOADFLDS Output
If the value returned is equal to 0, no record was
found in the V CPT (#9000010.18) file for the given IEN.  Returns 1 if the API
has successfully loaded all the field values into the ARRAY variable.
$$CPT(IEN)
This API returns field (#.01) - CPT, of the V CPT
(#900018.10) file.  The CPT code that most closely represents the clinical
procedure performed on the patient during the encounter.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$CPT Output
Returns the CPT code that most closely represents the
clinical procedure performed on the patient during the encounter.
$$PATINAME(IEN)
This API returns field (#.02) - PATIENT NAME, of the
V CPT (#9000010.18) file.  A pointer to the Patient Name to whom the procedure
was performed.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$PATINAME Output
A pointer to the PATIENT/IHS (#9000001) file.
$$VISIT(IEN)
This API returns field (#.03) - VISIT, of the V CPT
(#9000010.18) file.  A pointer to the VISIT (#9000010) file.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$VISIT Output
A pointer to the Visit (#9000010) file.
$$PROVNARR(IEN)
This API returns field (#.04) - PROVIDER NARRATIVE,
of the V CPT (#9000010.18) file.  A pointer to the Provider Narrative
(#9999999.27) file.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$PROVNARR Output
A pointer to the Provider Narrative (#9999999.27)
file.
$$DIAGNOSI(IEN)
This API returns field (#.05) - DIAGNOSIS, of the V
CPT (#9000010.18) file.  A pointer to the ICD Diagnosis (#80) file.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$DIAGNOSI Output
A pointer to the ICD Diagnosis (#80) file.
$$PRINPROC(IEN)
This API returns field (#.07) - PRINCIPAL PROCEDURE,
of the V CPT (#9000010.18) file.  A flag identifying whether this procedure
was the principal procedure performed on the patient during the encounter.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$PRINPROC Output
Returns 'Y' if this procedure has been identified as
the principal procedure done to the patient during the encounter.
$$QUANTITY(IEN)
This API returns field (#.16) - QUANTITY, of the V
CPT (#9000010.18) file.  A number between 1 and 99 indicating how many times
this procedure was performed.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$QUANTITY Output
The number of times this procedure was performed for
the given visit.
$$CPTMODIF(IEN)
This API returns field (#1) - CPT MODIFIER, of the V
CPT (#9000010.18) file.  A pointer to the CPT Modifier (#81.3) file.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$CPTMODIF Output
A pointer to the CPT Modifier (#81.3) file.
$$EVENTDT(IEN)
This API returns field (#1201) - EVENT DATE & TIME of
the V CPT (#9000010.18) file, the date and time the procedure was performed.
Note : This date and time may be different from the visit date and time.  For
example, for clinic appointment visits, the visit date and time is the date
and time of the appointment, not the time the provider performed the clinical
event.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$EVENTDT Output
The Date and Time that the procedure took place.
$$ORDEPROV(IEN)
This API returns field (#1202) - ORDERING PROVIDER of
the V CPT (#9000010.18) file.  Indicates identification of the provider who
ordered the procedure.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$ORDEPROV Output
A value identifying the provider who ordered the
procedure.
$$ENCOPROV(IEN)
This API returns field (#1204) - ENCOUNTER PROVIDER,
of the V CPT (#9000010.18) file.  Indicates the identification of the provider
who performed the procedure.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$ENCOPROV Output
A value identifying the provider who performed the
procedure.
$$EDITFLAG(IEN)
This API returns field (#80101) - EDITED FLAG, of the
V CPT (#9000010.18) file.  A value indicating if PCE detects that any original
procedure data as being edited.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$EDITFLAG Output
A value indicating if PCE detects that any original
data as being edited.
$$AUDITRAI(IEN)
This API returns field (#80102) - AUDIT TRAIL, of the
V CPT (#9000010.18) file.  This field is populated automatically by the PCE
filing logic. The format of the field is as follows:  Pointer to PCE data
source file_"-"_A for Add or E for Edit_" "_DUZ of the person who entered the
data_";".
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$AUDITRAI Output
A Free Text value in the format; Pointer to PCE data
source file_"-"_A for Add or E for Edit_" "_DUZ of the person who entered the
data_";"
$$PRONARCA(IEN)
This API returns field (#80201) PROVIDER NARRATIVE
CATEGORY of the V CPT (#9000010.18) file.  A pointer to the Provider Narrative
(#9999999.27) file which is the heading or category used to represent the
provider narrative on the scanner form.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$PRONARCA Output
Returns a pointer to the Provider Narrative
(#9999999.27) file which indicates the heading or category used to represent
the provider narrative on the scanner form.
$$COMMENTS(IEN)
This API returns field (#81101) - COMMENTS, of the V
CPT (#9000010.18) file.  Any comments related to the procedure performed.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$COMMENTS Output
A Free Text value indicating any comments related to
the procedure performed and entered manually.
$$VERIFIED(IEN)
This API returns field (#81201) - VERIFIED, of the V
CPT (#9000010.18) file.  A flag indicating whether the record was
Electronically Signed or Verified by the Package.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$VERIFIED Output
Returns '1' to indicate the record was Electronically
Signed.  Returns '0' to indicate that the record was Verified by the Package.
$$PACKAGE(IEN)
This API returns field (#81202) - PACKAGE, of the V
CPT (#9000010.18) file.  A pointer to the Package (#9.4) file.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$PACKAGE Output
Pointer to the Package (#9.4) file.
$$DATASRC(IEN)
This API returns field (#81203) - DATA SOURCE, of the
V CPT (#9000010.18) file.  A pointer to the PCE Data Source (#839.7) file.
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$DATASRC Output
Pointer to the PCE Data Source (#839.7) file.
$$DIAGNOS2(IEN)
This API returns field (#.09) - DIAGNOSIS 2, of the V
CPT (#9000010.18) file. A pointer to the ICD Diagnosis (#80) file.
VARIABLES TYPE VARIABLES DESCRIPTION
$$DIAGNOS2 Output
A pointer to the ICD Diagnosis (#80) file.
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$DIAGNOS3(IEN)
This API returns field (#.1) - DIAGNOSIS 3, of the V
CPT (#9000010.18) file. A pointer to the ICD Diagnosis (#80) file.
VARIABLES TYPE VARIABLES DESCRIPTION
$$DIAGNOS3 Output
Pointer to the ICD Diagnosis File (#80)
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$DIAGNOS4(IEN)
This API returns field (#.11) - DIAGNOSIS 4, of the V
CPT (#9000010.18) file. A pointer to the ICD Diagnosis (#80) file.
VARIABLES TYPE VARIABLES DESCRIPTION
$$DIAGNOS4 Output
Pointer to the ICD Diagnosis File (#80)
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$SERVCONN(IEN)
This API returns the Service Connected indicator,
field (#80001), for this procedure.
VARIABLES TYPE VARIABLES DESCRIPTION
$$SERVCONN Output
If this CPT code is treating a service connected
problem
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$AGENORAN(IEN)
This API returns the AGENT ORANGE EXPOSURE indicator,
field (#80002), for this procedure
VARIABLES TYPE VARIABLES DESCRIPTION
$$AGENORAN Output
If this CPT code is treating an agent orange problem
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$IONIRADI(IEN)
This API returns the IONIZING RADIATION EXPOSURE
indicator, field (#80003), for this procedure
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$IONIRADI Output
If this CPT code is treating a problem related to an
Ionizing  Radiation Exposure
$$ENVICONT(IEN)
This API returns the ENVIRONMENTAL CONTAMINANTS
indicator, field (#80004), for this procedure
VARIABLES TYPE VARIABLES DESCRIPTION
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$ENVICONT Output
If this CPT code is treating a problem related to
Environmental Contaminants
$$MILSXTRA(IEN)
This API returns the MILITARY SEXUAL TRAUMA
indicator, field (#80005), for this procedure
VARIABLES TYPE VARIABLES DESCRIPTION
$$MILSXTRA Output
If this CPT code is treating a problem related to
Military Sexual Trauma
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.
$$CANCERHN(IEN)
This API returns the HEAD AND/OR NECK CANCER
indicator, field (#80006), for this procedure
VARIABLES TYPE VARIABLES DESCRIPTION
$$CANCERHN Output
If this CPT code is treating a problem related to
Head/Neck Cancer
IEN Input
(required) This number represents the Internal Entry
Number for a record in the V CPT (#9000010.18) file.

GOOD ONLY FOR VERSION 2