| GMVDFN |
Input |
The patient identification number (aka DFN) from the
PATIENT (#2) file. (Required)
|
GMVSTART |
Input |
The date to begin the search. It must be in FileMan
internal format (e.g., 3050818). The date is optional. Time may be entered,
but is optional. If time is entered, it must be in FileMan internal format
(e.g., 3050818.08), too. If no date/time is entered, the date/time of the very
first record for the patient is used.
|
GMVEND |
Input |
The date to end the search. It must be in FileMan
internal format (e.g., 3050818). This value is optional. Time may be entered,
but is optional. If time is entered, it must be in FileMan internal format
(e.g., 3050818.08), too. If a date is entered, but not a time, then '235959'
is used for the time. The default is the current date/time.
|
TMP($J,'GMVMHV') |
Output |
Returns patient record data from the GMRV VITAL
MEASUREMENT (#120.5) file.
Output: ^TMP($J,"GMVMHV",0)=piece1^piece2
where piece 1 = the number of records returned or "-1" if an error was
found
piece 2 = an error message if piece 1 is "-1"
^TMP($J,"GMVMHV",n)=piece1^piece2^piece3^piece4^piece5^piece6^
piece7^piece8^piece9
where n = is the internal entry number of the FILE 120.5 entry
piece 1 = DATE/TIME VITALS TAKEN (.01)
2 = VITAL TYPE (.03)
3 = DATE/TIME VITALS ENTERED (.04)
4 = HOSPITAL LOCATION (.05)
5 = RATE (1.2)
6 = SUPPLEMENTAL O2 (1.4)
7 = ENTERED IN ERROR (2)
8 = REASON ENTERED IN ERROR (4) (multiple values separated by
tilde)
9 = QUALIFIER (5) (multiple values separated by tilde)
pieces 1 and 3 are internal values. pieces 2,4-9 are external values
Example:
> S GMVDFN=134,GMVSTART=3051201,GMVEND=3060101,GMVVT="WT^HT",GMVERR=1
> D EN^GMVMHV(GMVDFN,GMVSTART,GMVEND,GMVVT,GMVERR)
> D ^%G
> Global ^TMP($J,"GMVMHV"
> ^TMP(539290429,"GMVMHV",0)=2
9538)=3051219.1709^WEIGHT^3051219.170941^
2-ASM^135^^^^ACTUAL~STANDING
9539)=3051219.1709^HEIGHT^3051219.170941^
2-ASM^67.5^^^^ACTUAL
|
GMVVT |
Input |
This is a list of vital type abbreviations from FILE
120.51, Field 1) separated by an uparrow (e.g., HT^WT).
The default is "P^T^R^P^HT^WT^CVP^CG^PO2^PN".
|
GMVERR |
Input |
This value indicates if the user wants records that
were marked as entered-in-error. (Optional). '1' means "Yes" and '0' (zero)
means "No" (i.e., don't return entered-in-error records). '0' is the default.
|