| $$GETIENS(VSITIEN,ARRAY) | 
Use this API to retrieve all Internal Entry Numbers
(IEN) from the V MEASUREMENT (#9000010.01) 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
MEASUREMENT (#9000010.01) file with the patient visit IEN.
 
 | 
$$GETIENS | 
Output | 
Returns 0 if no record was found in the V MEASUREMENT
(#9000010.01) file for the given visit IEN.  Returns 1 if one or more records
were found in the V MEASUREMENT (#9000010.01) file for the given visit IEN.
 
 | 
 
 | 
$$LOADFLDS(IEN,ARRAY) | 
This API loads all the field values for a given
record IEN in the V MEASUREMENT (#9000010.01) file.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
IEN | 
Input | 
(required) This number represents the Internal Entry
Number for a record in the V MEASUREMENT (#9000010.01) file.
 
 | 
ARRAY | 
Input | 
(required) All the field values of the V MEASUREMENT
(#9000010.01) file for the given record IEN such as; weight, height, blood
pressure, etc
 
 | 
$$LOADFLDS | 
Output | 
Returns 0 if no record was found in the V MEASUREMENT
(#9000010.01) file for the given IEN.  Returns 1 if the API has successfully
loaded all the field values into the ARRAY variable.
 
 | 
 
 | 
$$TYPE(IEN) | 
This API returns field (#.01) - TYPE, of the V
MEASUREMENT (#9000010.01) file.  A pointer to the MEASUREMENT TYPE
(#9999999.07) file which indicates the type of measurement taken on the
patient.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
IEN | 
Input | 
(required) This number represents the Internal Entry
Number for a record in the V MEASUREMENT (#9000010.01) file.
 
 | 
$$TYPE | 
Output | 
A pointer to the MEASUREMENT TYPE (#9999999.07) file.
 
 | 
 
 | 
$$PATINAME(IEN) | 
This API returns field (#.02) - PATIENT NAME, of the
V MEASUREMENT (#9000010.01) file.  A pointer to the PATIENT/IHS (#9000001)
file.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
IEN | 
Input | 
(required) This number represents the Internal Entry
Number for a record in the V MEASUREMENT (#9000010.01) file.
 
 | 
$$PATINAME | 
Output | 
A pointer to the PATIENT/IHS (#9000001) file.
 
 | 
 
 | 
$$VISIT(IEN) | 
This API returns field (#.03) - VISIT, of the V
MEASUREMENT (#9000010.01) 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 MEASUREMENT (#9000010.01) file.
 
 | 
$$VISIT | 
Output | 
A pointer to the Visit (#9000010) file indicating the
date and time the immunization was given.
 
 | 
 
 | 
$$VALUE(IEN) | 
This API returns field (#.04) - VALUE, of the V
MEASUREMENT (#9000010.01) file.  This field specifies the value of the
measurement taken on the patient.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
$$VALUE | 
Output | 
The value of the measurement taken on the patient.
 
 | 
IEN | 
Input | 
(required) This number represents the Internal Entry
Number for a record in the V MEASUREMENT (#9000010.01) file.
 
 | 
 
 | 
$$EVENTDT(IEN) | 
This API returns field (#1201) - EVTN DATE & TIME, of
the V MEASUREMENT (#9000010.01) file.  The date and time the measurement was
taken by the provider.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
IEN | 
Input | 
(required) This number represents the Internal Entry
Number for a record in the V MEASUREMENT (#9000010.01) file.
 
 | 
$$EVENTDT | 
Output | 
The date and time the measurement was taken by the
provider.
 
 | 
 
 | 
$$ORDEPROV(IEN) | 
This API returns field (#1202) - ORDERING PROVIDER,
of the V MEASUREMENT (#9000010.01) file.  A pointer to the NEW PERSON (#200)
file identifying the provider who ordered the measurement.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
IEN | 
Input | 
(required) This number represents the Internal Entry
Number for a record in the V MEASUREMENT (#9000010.01) file.
 
 | 
$$ORDEPROV | 
Output | 
A pointer to the NEW PERSON (#200) file identifying
the provider who ordered the measurement to be taken.
 
 | 
 
 | 
$$ENCOPROV(IEN) | 
This API returns field (#1204) - ENCOUNTER PROVIDER,
of the V MEASUREMENT (#9000010.01) file.  A pointer to the NEW PERSON (#200)
file identifying the provider who took the measurement.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
IEN | 
Input | 
(required) This number represents the Internal Entry
Number for a record in the V MEASUREMENT (#9000010.01) file.
 
 | 
$$ENCOPROV | 
Output | 
A pointer to the NEW PERSON (#200) file identifying
the provider who took the measurement.
 
 | 
 
 | 
$$EDITFLAG(IEN) | 
This API returns field (#80101) - EDITED FLAG, of the
V MEASUREMENT (#9000010.01) file.  This field indicates if PCE detects that
any original measurement data is being edited.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
IEN | 
Input | 
(required) This number represents the Internal Entry
Number for a record in the V MEASUREMENT (#9000010.01) file.
 
 | 
$$EDITFLAG | 
Output | 
Returns 1 if PCE detects that any original
measurement data is being edited.
 
 | 
 
 | 
$$DATASRC(IEN) | 
This API returns field (#80102) - DATA SOURCE, of the
V MEASUREMENT (#9000010.01) 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 MEASUREMENT (#9000010.01) file.
 
 | 
$$DATASRC | 
Output | 
Pointer to the PCE Data Source (#839.7) file.
 
 | 
 
 | 
$$COMMENTS(IEN) | 
This API returns field (#81101) - COMMENTS, of the V
HEALTH FACTORS (#9000010.23) file.  Any comments related to the measurements
taken during the encounter.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
IEN | 
Input | 
(required) This number represents the Internal Entry
Number for a record in the V MEASUREMENT (#9000010.01) file.
 
 | 
$$COMMENTS | 
Output | 
A Free Text value indicating any comments related to
the Measurements taken during the encounter.
 
 | 
 
 |