| DFN |
Input |
Patient (#2) file internal entry number. (Required)
|
GMRVSTR |
Input |
The types of vital/measurments desired. Use the
abbreviation found in the Vital Type (#120.51) file. For multiple vitals, use
the semi-colon (;) as a delimiter (e.g., "T;P;R;BP"). (Required)
|
GMRVSTR(0) |
Input |
GMRVSTR(0) = is a 4 part value. (REQUIRED)
GMRVSTDT^GMRVENDT^GMRVOCC^GMRVSORD
where GMRVSTDT = The start date/time that the utility will use in
obtaining patient data. (Required)
GMRVENDT = The end date/time that the utility will use to stop the
search. (Required)
GMRVOCC = The number of occurrences of the data that is desired by
the search. (Required)
GMRVSORD = The sort order desired in the output. O will sort the
data by vital type, then by date/time entered. 1 will
sort the data by date/time entered, then vital type.
(Required)
|
GMRVSTR('LT') |
Input |
GMRVSTR("LT") = ^TYP1^[TYP2^...] (OPTIONAL)
This variable is a caret (^) delimited list of hospital location types to
extract measurement data for. For example, "^C^" will extract data for only
those measurements taken in clinics.
|
UTILITY($J,'GMRVD', |
Output |
This is a global array.
The array structure will be as follows if '$P(GMRVSTR,"^",4):
^UTILITY($J,"GMRVD",GMRVTYP,GMRVRDT,GMRVIEN)=GMRVDATA or if $P(GMRVSTR,"^",4)
then the following will be returned:
^UTILITY($J,"GMRVD",GMRVRDT,GMRVTYP,GMRVIEN)=GMRVDATA
where GMRVRDT = Reverse FileMan date/time.
9999999-Date/time vital/measurement was taken.
GMRVTYP = The abbreviation used in the GMRVSTR string for the type
of vital/measurment taken.
GMRVIEN = Entry number in file Vital/Measurement (#120.5) file.
$P(GMRVDATA,"^",1) = date/time of the reading (FileMan internal)
$P(GMRVDATA,"^",2) = Patient (#2) number (i.e., DFN)
$P(GMRVDATA,"^",3) = vital type ien (File 120.51)
$P(GMRVDATA,"^",4) = date/time of data entry (FileMan internal)
$P(GMRVDATA,"^",5) = hospital location ien (File 44)
$P(GMRVDATA,"^",6) = user ien (File 200)
$P(GMRVDATA,"^",7) = always null
$P(GMRVDATA,"^",8) = reading (e.g., 98.6, Unavailable)
$P(GMRVDATA,"^",9) = always null
$P(GMRVDATA,"^",10) = first qualifier
$P(GMRVDATA,"^",11) = second qualifier
$P(GMRVDATA,"^",12)= "*" for abnormal measurement, otherwise =
"" (i.e., null)
$P(GMRVDATA,"^",13)= values in centigrade for T; kilos for WT;
centimeters for HT and Circumference/Girth;
and mmHg for CVP
$P(GMRVDATA,"^",14)= Body Mass Index value
$P(GMRVDATA,"^",15)= L/Min of supplemental O2
$P(GMRVDATA,"^",16)= % of supplemental O2
$P(GMRVDATA,"^",17)= all qualifiers delimited by semi-colons
Example:
> S DFN=134,GMRVSTR="T;P;R;BP;PN"
> S GMRVSTR(0)="3051001^3051031^10^0"
> D EN1^GMVHS
> D ^%G
> Global ^UTILITY($J,"GMRVD"
^UTILITY(539013315,"GMRVD","BP",6948978.855248,8961)=3051020.144752^134^1
^3051020.145023^87^547^^128/81^^L ARM^SITTING^*^^^^^L ARM;SITTING
^UTILITY(539013315,"GMRVD","P",6948978.855248,8965)=3051020.144752^134^5^
3051020.145023^87^547^^44^^CAROTID^SITTING^^^^^^CAROTID;SITTING;PALPATED
^UTILITY(539013315,"GMRVD","PN",6948978.855248,8964)=3051020.144752^134^22
^3051020.145023^87^547^^0^^^^^^^^^
^UTILITY(539013315,"GMRVD","R",6948978.855248,8967)=3051020.144752^134^3^
3051020.145023^87^547^^60^^SPONTANEOUS^SITTING^*^^^^^SPONTANEOUS;SITTING
^UTILITY(539013315,"GMRVD","T",6948978.855248,8968)=3051020.144752^134^2^
3051020.145023^87^547^^98.6^^ORAL^^^37.0^^^^ORAL
|