| RESULT |
Input |
The subscript in the ^TMP global under which to
return data or error messages. This value is required.
|
WVDFN |
Input |
Internal entry number (IEN) of the patient in the WV
PATIENT file (#790). This value is required.
|
WVVISIT |
Input |
The visit associated with the data to return. This is
either the IEN of the entry in the VISIT file (#9000010) or the Text
Integration Utilities (TIU) visit string. This value is required.
The TIU visit string is a semi-colon delimited string of data from the VISIT
file formatted as:
H;D;E
H: internal value of the HOSPITAL LOCATION
field (#22)
D: internal value of the VISIT/ADMIT DATE&TIME
field (#.01)
E: internal value of the ENCOUNTER TYPE
field (#15003)
|
TMP(RESULT,$J) |
Output |
The global node in which data is returned.
Format:
^TMP(RESULT,$J)=Caret-delimited string
RESULT - the value in the RESULT input variable
Caret-delimited string - status of the call to
GETFINDS
PIECE VALUE
=======================
1 -1 to denote an error occurred
>-1 to denote the number of entries
returned
2 ERROR MESSAGE if an error occurred
"" if no error occurred
For fields that are not multiples: ^TMP(RESULT,$J,PACKAGE,"FILE NUMBER",
"FIELD NUMBER")=VALUE
RESULT - the value in the RESULT input variable
PACKAGE - IEN of the Women's Health entry in the
PACKAGE file (#9.4)
"FILE NUMBER" - the file number from which the
data comes
"FIELD NUMBER" - the field number in which the
data resides
VALUE - the data in external format
For fields that are multiples: ^TMP(RESULT,$J,PACKAGE,"FILE NUMBER",
"FIELD NUMBER","RECORD NUMBER")=VALUE
RESULT - the value in the RESULT input variable
PACKAGE - IEN of the Women's Health entry in the
PACKAGE file (#9.4)
"FILE NUMBER" - the file number from which the
data comes
"FIELD NUMBER" - the field number in which the
data resides
"RECORD NUMBER" - IEN of the entry from which
the data comes
VALUE - the data in external format
|