Print Page as PDF
GMVUTL ICR (5046)

GMVUTL    ICR (5046)

Name Value
NUMBER 5046
IA # 5046
DATE CREATED 2007/11/14
CUSTODIAL PACKAGE GEN. MED. REC. - VITALS
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE GMVUTL
NAME GMVUTL
GENERAL DESCRIPTION
The CLIO, F1250 and GETREC entry points return a
patient vitals record in an array.
STATUS Active
DURATION Till Otherwise Agreed
ID GMVUTL
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
CLIO(ARRAY,GUID)
This entry point looks for the patient record in the
Clinical Observations package.

Output format:
ARRAY(0)=A^B^C^D^E^F^G^H^I^J
ARRAY(2)=K^L^M
ARRAY(5)=N1^N2^N3^N4
where:
A=Date/time of the reading, internal FileMan format (Field .01)
B=DFN, pointer to FILE 2 (Field .02)
C=Vital type pointer to FILE 120.51 (Field .03)
D=Date/time the record was created, internal FileMan format (Field .04)
E=Hospital location pointer to File 44 (Field .05)
F=DUZ of person who created the record, pointer to FILE 200 (Field .06)
G=always null
H=reading (number or text) (Field 1.2)
I=always null
J=Supplemental Oxygen (text) (Field 1.4)
K=1 means record is marked as an error and null means not an error
(Field 2)
L=DUZ of person who marked the record as an error, pointer to FILE 200
(Field 3)
M=Set of codes to indicate reason for error. If more than one reason,
the values are delimited by a tilde (~). (Field 4)
N1-N4=Qualifier pointer values delimited by up-arrow (^), pointer to
FILE 120.52. (Field 5)

Example:
>D CLIO^GMVUTL(.ARRAY,"{A0E99B2C-9FF6-47DA-8CD2-DDB0E8756DC5}")
>ZW ARRAY
>ARRAY(0)="3071101.14^1^22^3071101.155936^125^222222311^^1"
>ARRAY(2)="^^"
>ARRAY(5)=""
VARIABLES TYPE VARIABLES DESCRIPTION
ARRAY Both
This is the name of the array to return the record
in. It is passed by reference. (Required)
GUID Input
This is the Global Unique ID (aka GUID) that
identifies a record in the Clinical Observations package. (Required)
F1205(ARRAY,IEN,ERRORS)
This entry point looks for the patient record in the
Vitals package (FILE 120.5).

Output format:
ARRAY(0)=A^B^C^D^E^F^G^H^I^J
ARRAY(2)=K^L^M
ARRAY(5)=N1^N2^N3^N4
where:
A=Date/time of the reading, internal FileMan format (Field .01)
B=DFN, pointer to FILE 2 (Field .02)
C=Vital type pointer to FILE 120.51 (Field .03)
D=Date/time the record was created, internal FileMan format (Field .04)
E=Hospital location pointer to File 44 (Field .05)
F=DUZ of person who created the record, pointer to FILE 200 (Field .06)
G=always null
H=reading (number or text) (Field 1.2)
I=always null
J=Supplemental Oxygen (text) (Field 1.4)
K=1 means record is marked as an error and null means not an error
(Field 2)
L=DUZ of person who marked the record as an error, pointer to FILE 200
(Field 3)
M=Set of codes to indicate reason for error. If more than one reason,
the values are delimited by a tilde (~). (Field 4)
N1-N4=Qualifier pointer values delimited by up-arrow (^), pointer to
FILE 120.52. (Field 5)


Example:
>D F1205^GMVUTL(.ARRAY,12089,0)
>ZW ARRAY
>ARRAY(0)="3071108.162622^398^3^3071108.162708^4^547^^6^^"
>ARRAY(2)="^^"
>ARRAY(5)="47^50"
VARIABLES TYPE VARIABLES DESCRIPTION
ARRAY Both
This is the name of the array to return the record
in. It is passed by reference. (Required)
IEN Input
This is the FILE 120.5 internal entry number for the
desired record. (Required)
ERRORS Input
This is a flag to specify whether records that are
marked as errors should be returned. If this value is 0 (zero), the record
will not be returned if it is marked as an error. If this value is 1 (one) the
record will be returned even if it is marked as an error. The default is 0.
(Optional)
GETREC(GMVARRAY,GMVID,GMVERR)
This entry point checks the Vitals (File 120.5) and
Clinical Observation databases for the specified record ID. The internal
values of the record are returned.

Output format:
GMVARRAY(0)=A^B^C^D^E^F^G^H^I^J
GMVARRAY(2)=K^L^M
GMVARRAY(5)=N1^N2^N3^N4

where:
A=Date/time of the reading, internal FileMan format (Field .01)
B=DFN, pointer to FILE 2 (Field .02)
C=Vital type pointer to FILE 120.51 (Field .03)
D=Date/time the record was created, internal FileMan format (Field .04)
E=Hospital location pointer to File 44 (Field .05)
F=DUZ of person who created the record, pointer to FILE 200 (Field .06)
G=always null
H=reading (number or text) (Field 1.2)
I=always null
J=Supplemental Oxygen (text) (Field 1.4)
K=1 means record is marked as an error and null means not an error
(Field 2)
L=DUZ of person who marked the record as an error, pointer to FILE 200
(Field 3)
M=Set of codes to indicate reason for error. If more than one reason,
the values are delimited by a tilde (~). (Field 4)
N1-N4=Qualifier pointer values delimited by up-arrow (^), pointer to
FILE 120.52. (Field 5)

Example:
>D GETREC^GMVUTL(.GMVARRAY,12089,0)
>ZW GMVARRAY
>GMVARRAY(0)="3071108.162622^398^3^3071108.162708^4^547^^6^^"
>GMVARRAY(2)="^^"
>GMVARRAY(5)="47^50"
VARIABLES TYPE VARIABLES DESCRIPTION
GMVARRAY Both
This is the name of the array to return the values
in. Passed by reference. (required)
GMVID Input
This is the ID of the record to lookup. It is either
a File 120.5 internal entry number (.001) or a Global Unique ID (aka GUID) for
the Clinical Observations database (File 704.117, Field .01). (required)
GMVERR Input
This is a flag to determine if records marked as
errors should be returned. 0 means ignore the record and 1 means get the
record data. The default is 0. (optional)
DATE ACTIVATED 2008/03/19