| ENCOVER(DFN) |
This procedure receives the parameter DFN (pointer to
PATIENT FILE (#2)), and returns the local variable MSG along with the
^TMP("TIUPPCV",$J) array.
The MSG variable is returned as follows:
Patient has postings on file:
MSG=0^Patient Postings on file
Patient DOES NOT have postings on file:
MSG=-1^No Patient Postings on file
while the ^TMP("TIUPPCV",$J) array looks like this:
Patient has postings on file:
^TMP("TIUPPCV",$J,n)=IEN^INDICATOR^PRINT NAME^SUBJECT^DATE/TIME^ADDENDUM
where IEN = Internal Entry of the posting in the TIU DOCUMENT FILE (#8925)
INDICATOR = C for CRISIS NOTE
W for CLINICAL WARNING
A for ALLERGY/ADR NOTE
D for ADVANCED DIRECTIVE
PRINT NAME = the PRINT NAME (#.03) field in file 8925
SUBJECT = the optional Free text subject of the note.
DATE/TIME = the Date/time of the note
ADDENDUM = indicator of last addendum w/date and time.
Patient DOES NOT have postings on file:
^TMP("TIUPPCV",$J) is UNDEFINED.
^TMP("TIUPPCV",$J) may be killed before and after use.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DFN |
Input |
This is the pointer to the PATIENT FILE (#2).
|
|