| DESCRIPTION |
This protocol will notify subscribing packages when a document is
^TMP("TIUDOCAT",$J,"PATIENT")=DFN
DFN: internal entry number of the document's patient in the PATIENT
file (#2)
^TMP("TIUDOCAT",$J,"VISIT")=VISIT
VISIT: internal entry number of the document's visit in the VISIT file
(#9000010)
^TMP("TIUDOCAT",$J,"DOCUMENT")=DOC IEN^DOC NAME
DOC IEN: internal entry number of the document in the TIU DOCUMENT file
(#8925)
DOC NAME: name of the document in the TIU DOCUMENT DEFINITION file
deleted, retracted or reassigned.
(#8925.1)
When ACT is "REASSIGN",
^TMP("TIUDOCAT",$J,"PATIENT","OLD")=DFN
DFN: internal entry number of the document's patient in the PATIENT
file (#2) before reassignment
^TMP("TIUDOCAT",$J,"PATIENT","NEW")=DFN
DFN: internal entry number of the document's patient in the PATIENT
file (#2) after reassignment
^TMP("TIUDOCAT",$J,"VISIT","OLD")=VISIT
VISIT: internal entry number of the document's visit in the VISIT file
(#9000010) before reassignment
^TMP("TIUDOCAT",$J,"VISIT","NEW")=VISIT
VISIT: internal entry number of the document's visit in the VISIT file
(#9000010) after reassignment
^TMP("TIUDOCAT",$J,"DOCUMENT","OLD")=DOC IEN^DOC NAME
DOC IEN: internal entry number of the retracted document in the TIU
DOCUMENT file (#8925)
DOC NAME: name of the retracted document in the TIU DOCUMENT DEFINITION
file (#8925.1)
The following data is available to subscribers:
^TMP("TIUDOCAT",$J,"DOCUMENT","NEW")=DOC IEN^DOC NAME
DOC IEN: internal entry number of the reassigned document in the TIU
DOCUMENT file (#8925)
DOC NAME: name of the reassigned document in the TIU DOCUMENT
DEFINITION file (#8925.1)
^TMP("TIUDOCAT",$J,"ACTION")=ACT
ACT: the action taken on the document; possible values are "DELETE",
"RETRACT", and "REASSIGN"
When ACT is "DELETE" or "RETRACT",
|