| GENERAL DESCRIPTION |
NAME: GMV EXTRACT REC
TAG: GETVM
ROUTINE: GMVGETD
RETURN VALUE TYPE: GLOBAL ARRAY
AVAILABILITY: SUBSCRIPTION
INACTIVE: ACTIVE
WORD WRAP ON: TRUE
DESCRIPTION:
This remote procedure call retrieves vital records from the GMRV Vital
Measurement (#120.5) file for a selected patient within a given date
span.
This remote procedure call is documented in Integration Agreement 4416.
INPUT PARAMETER: GMRVDATA
PARAMETER TYPE: LITERAL
MAXIMUM DATA LENGTH: 30
REQUIRED: YES
SEQUENCE NUMBER: 1
DESCRIPTION:
GMRVDATA consists of 4 pieces of information:
piece1^piece2^piece3^piece4
where piece1 = Patient (#2) file pointer (i.e., DFN)
piece2 = End date of search (FileMan internal format)
piece3 = single vital type abbreviation (File 120.51, Field 1)
[optional] If not defined, the default is
"T;P;R;BP;HT;WT;PN;PO2;CG;CVP"
piece4 = Start date of search (FileMan internal format)
RETURN PARAMETER DESCRIPTION:
Returns the name of the global array (i.e., ^TMP($J,"GRPC")) containing a
list of vital records for the selected patient within the defined date
range.
The TMP global contains:
^TMP($J,"GRPC",n)=piece1^piece2
where piece1 = File 120.5 IEN
piece2 = a string of text in the following format:
Date/time taken (external) Vital Type Abbreviation:
Rate U.S. units (Metric value) (Qualifiers)
n = sequential number starting at 1.
Example:
> S GMRVDATA="134^3051028^BP^3051001"
> D GETVM^GMVGETD(.RESULT,GMRVDATA) ZW RESULT
> RESULT="^TMP(538999278,"GRPC")"
> D ^%G
> Global ^TMP($J,"GRPC"
> ^TMP(538999278,"GRPC",1)=8858^10/11/05@16:35 B/P: 120/80* (L
ARM,
SITTING, CAROTID, CALF) _VITPROVIDER,ONE
> 2)=8961^10/20/05@14:47 B/P: 128/81* (L ARM,
SITTING, PALPATED) _VITPROVIDER,TWO
If there is no data, then the following is returned:
^TMP($J,"GRPC",1)=0^NO VITALS/MEASUREMENTS ENTERED WITHIN THIS PERIOD
|