| DFN |
Input |
Patient IEN.
|
GMRVSTR |
Input |
Types of vitals/measurements desired. Use the
abbreviations found in the GMRV Vital Type file (120.51). For multiple vitals,
use the ; as a delimiter, for example, "T;P;R;BP;".
|
GMRVSTR(0) |
Input |
This variable specifies which vital/measurement data
will be returned. The variable has four pieces, A^B^C^D, where:
A=Start date/time (FM format) of vital/measurment data to be returned.
B=End date/time (FM format) of vital/measurement data to be returned.
C=Number of occurences (numeric) of vital/measurement data to be
returned.
D=Parameter to govern sort order of return array. The value of this
piece can either be 0 or 1. If it is 0, the return data will be sorted
by type, then by date/time entered. If it is 1, the return data will
be sorted by date/time entered, then by type. See output variable
^UTILITY for more information.
|
UTILITY |
Output |
The output array is ^UTILITY($J,"GMRVD").
The subscripts of this array are governed by the 4th piece of the input
variable GMRVSTR(0).
If $P(GMRVSTR(0),"^",4) is true, the return array will be
^UTILITY($J,"GMRVD",RDT,TYP,IEN)=DATA
If $P(GMRVSTR(0),"^",4) is false, the return array will be:
^UTILITY($J,"GMRVD",TYP,RDT,IEN)=DATA
In the above, the following abbreviations translate as follows:
RDT = Reverse date/time vital/measurement was taken in format
9999999-(Date/time taken).
TYP = Abbreviation of vital/measurement type from GMRVSTR variable.
IEN = Entry in GMRV Vital/Measurement (120.5) file of this data.
DATA = Data about this vital/measurement with the following format,
VDT^DFN^ITYP^EDT^LOC^USER^ISITE^RATE^IQUAL^SITE^QUAL^ABN^UNIT^
BMI^LO2^PO2^AQUAL
where:
VDT = Date/time vital/measurement taken (FM format)
DFN = IEN for patient in Patient file.
ITYP = IEN for vital type in GMRV Vital Type file.
EDT = Date/time vital/measurement entered (FM format)
LOC = IEN for patient location in Hospital Location file.
USER = User who entered data; IEN in New Person file.
ISITE = IEN for site in GMRV Vital Site file.
RATE = Rate for this vital/measurement (alphanumeric).
IQUAL = IEN for quality in GMRV Vital Quality file.
SITE = Site of vital/measurement (free text).
QUAL = Quality of vital/measurement (free text).
ABN = Flag indicating whether vital/measurement is abnormal.
* indicates abnormal, null indicates normal.
UNIT = Units of measurement for rate when appropriate, e.g.
Centigrade for temperature, Kg for weight and centimeter
for height.
BMI = Body Mass Index (numeric);value calculated from height;
(Applies only to the vital type WT (Weight))
LO2 = Liters/Minute of supplemental O2 (numeric). (Applies only to the
vital type PO2 (Pulse Oximetry)).
PO2 = % of supplemental O2 (numeric). (Applies only to the vital type
PO2 (Pulse Oximetry)).
AQUAL = All qualifiers (free text); Each qualifier is separated by a ;.
|
GMRVSTR('L') |
Input |
This is an optional variable. It will be set to an ^
delimited list of Hospital Location Types, see Type (2) field of Hospital
Location (44) file for a list of types. The first piece and last piece of the
list must be null, i.e., ^C^M^.
|