GENERAL DESCRIPTION |
The DG SA FILE ENTRY NOTIFIER protocol will notify
subscribers when an entry in the SCHEDULED ADMISSION (#41.1) file is created,
modified, or deleted. The protocol is fired by a FileMan cross-reference on
the SCHEDULED ADMISSION file. End-user options that ultimately invoke this
protocol include:
DG SCHED ADMIT CANCEL
DG SCHED ADMIT ENTRY
DG SCHED ADMIT PURGE
The following data is available to subscribers:
^TMP("DG SA FILE ENTRY NOTIFIER",$J","ACTION")=ACTION
ACTION: The action that was taken on the entry. Possible values are
"CREATED", "MODIFIED" and "DELETED".
^TMP("DG SA FILE ENTRY NOTIFIER",$J,"DATE")=DATE
DATE: FileMan date/time (internal format) of when the activity occurred.
^TMP("DG SA FILE ENTRY NOTIFIER",$J,"DFN","CURRENT")=DFN
DFN: Internal Entry Number (IEN) of the patient in the PATIENT file
(#2). This is the patient the entry points to after the change.
^TMP("DG SA FILE ENTRY NOTIFIER",$J,"DFN","OLD")=DFN
DFN: Internal Entry Number (IEN) of the patient in the PATIENT file
(#2). This is the patient the entry pointed to before the change.
^TMP("DG SA FILE ENTRY NOTIFIER",$J,"FIELDS",NAME)=""
NAME: When the ACTION is "MODIFIED", the "FIELDS" subscript is
created. Nodes descendant from the "FIELDS" subscript are the
field number of the field(s) that were edited.
^TMP("DG SA FILE ENTRY NOTIFIER",$J,"IEN")=IEN
IEN: Internal Entry Number (IEN) of the affected entry.
|