| RESULT |
Both |
The name of the array to return data in (Required).
The return array is:
Array(0)=OK or ERROR
Array(n)=piece1^piece2^piece3^piece4^piece5^piece6^piece7^piece8^piece9
^piece10^piece11^piece12
where:
n and piece 1 = the internal entry number of the FILE 120.5 entry.
piece2 = Date/time of the reading (FileMan internal format).
piece3 = Patient DFN (FILE 2).
piece4 = Vital Type (FILE 120.51) value. Can be IEN or Abbreviation or
Full Name.
piece5 = Date/time the entry was created (FileMan internal format).
piece6 = Hospital Location internal entry number (FILE 44).
piece7 = FILE 200 value (i.e., DUZ) of the person who created the entry.
piece8 = Value of the reading. Can be numberic or alphanumeric.
piece9 = Entered-In-Error indicator. 1 (Yes) or null.
piece10 = FILE 200 value (i.e., DUZ) of the person who marked the record
as Entered-In-Error.
piece11 = Qualifier (FILE 120.52) values separated by a semi-colon (;).
Can be IEN or Abbreviation or Full Name of the qualifier.
piece12 = Entered-In-Error reasons separated by a semi-colon (;). Can
be IEN or Full Name of the reason.
The input parameters are in the following order:
D EN1(RESULT,GMVDFN,GMVFMT,GMVABR,GMVALL,GMVBEG,GMVEND,GMVMSYS,GMVEER)
Example of a successful return of data:
S RESULT="TEST"
D EN1^GMVDCEXT(RESULT,49,3,"^BP^PN^P^R^T^",1,3030901,"NOW","C",1)
ZW TEST
TEST(0)=OK
TEST(7317)=7317^3030918.111503^49^BLOOD PRESSURE^3030918.111653
^87^547^130/70^^^L ARM;CUFF;SITTING;ADULT^^
TEST(7319)=7319^3030918.111503^49^PAIN^3030918.111653^87^547^0^^^^^
TEST(7320)=7320^3030918.111503^49^PULSE^3030918.111653^87^547^20^^^^^
TEST(7321)=7321^3030918.111503^49^RESPIRATION^3030918.111653^87^547^50^^^
^^
TEST(7322)=7322^3030918.111503^49^TEMPERATURE^3030918.111653^87^547^98.7^
^^^^
TEST(7324)=7324^3030917.09^49^PAIN^3030918.111846^87^547^4^1^547^^
INCORRECT READING^
TEST(7325)=7325^3030915.08^49^BLOOD PRESSURE^3030918.115509
^87^547^120/82^^^L ARM;CUFF;SITTING;ADULT^^
TEST(7326)=7326^3030915.08^49^PAIN^3030918.115509^87^547^1^^^^^
TEST(7327)=7327^3030915.08^49^PULSE^3030918.115509^87^547^25^^^SITTING;
LEFT^^
TEST(7328)=7328^3030915.08^49^RESPIRATION^3030918.115509^87^547^35^^^
SPONTANEOUS;SITTING^^
TEST(7329)=7329^3030915.08^49^TEMPERATURE^3030918.115509^87^547^99^^^^^
Example of failed return of data:
S RESULT="TEST"
D EN1^GMVDCEXT(RESULT,"FT",3,"^BP^PN^P^R^T^",1,3030901,"NOW","C",1)
ZW TEST
TEST(0)=ERROR
TEST(1)=ERROR: Missing or invalid Patient parameter
|
GMVDFN |
Input |
The patient's internal entry number (i.e., DFN) in
FILE 2 (Required).
|
GMVFMT |
Input |
A code to indicate how the data should be formatted
for Vital Type, Qualifiers and Entered-In-Error Reasons (Optional).
1 means return internal entry number (IEN) of data (default).
2 means return abrreviation of data.
3 means return full name of data.
|
GMVABR |
Input |
The abbreviations of the vital types to return
separated by up-arrows (Optional).
For example, "^T^P^R^" will return Temperature, Pulse and Respiration.
If no value is entered, then all Vital Types are returned (i.e.,
"^T^P^R^PO2^BP^HT^WT^CVP^CG^PN^").
Also, "~ALL~" will return all Vital Types (i.e.,
"^T^P^R^PO2^BP^HT^WT^CVP^CG^PN^").
|
GMVALL |
Input |
A code to indicate how much data is returned
(Optional).
0 means return the most recent entry (Default).
1 means return all data in the date range specified.
|
GMVBEG |
Input |
The date/time, in FileMan internal format, to begin
the search. FileMan date/time values (e.g., NOW, T, T-7) can be used.
If GMVALL is 0, then this value is ignored.
|
GMVEND |
Input |
The date/time, in FileMan internal format, to end the
search. FileMan date/time values (e.g., NOW, T, T-7) can be used.
If GMVALL is 0, then this value is ignored.
|
GMVMSYS |
Input |
A code to indicate what measurement system to use for
the return values (Optional).
M means Metric.
C means US Customary (Default).
|
GMVEER |
Input |
A code to indicate if entered-in-error values should
be returned (Optional).
0 means No (Default).
1 means Yes.
|