GENERAL DESCRIPTION |
This is the event invoked by the Master File Server
(MFS) mechanism. Actions from any application area that are dependent on this
event may be added to this event upon approval of the DBIC.
MFS provides an event point that protocols of domain developers may subscribe.
The following data is provided by MFS that documents changes to records of the
files related to the domain updated:
UPDATE
^TMP("XUMF EVENT",$J,IFN,"NEW",IEN) -- this is a new record ^TMP("XUMF
EVENT",$J,IFN,"AFTER",IEN) -- updated record (internal format) ^TMP("XUMF
EVENT",$J,IFN,"BEFORE",IEN) -- before image (internal format)
STATUS
^TMP("XUMF EVENT",$J,IFN,"STATUS",IEN) = Term Status Before ^ Effective
Date/Time Before ^ Term Status After ^ Effective Date/Time After
REPLACED BY VHA STANDARD TERM (#99.97)
^TMP("XUMF EVENT",$J,IFN,"BEFORE",IEN,"REPLACED BY")=internal value ^TMP("XUMF
EVENT",$J,IFN,"BEFORE",IEN,"INHERITS FROM")=$$RPLCMNT^XTIDTRM ^TMP("XUMF
EVENT",$J,IFN,"AFTER",IEN,"REPLACED BY")=internal value ^TMP("XUMF
EVENT",$J,IFN,"AFTER",IEN,"INHERITS FROM")=$$RPLCMNT^XTIDTRM
ERROR
^TMP("XUMF EVENT",$J,"ERROR") = Error message ^TMP("XUMF EVENT",$J,"ERROR",1)
= IFN ^ IEN
Note:
A record updated with same values (overwrite existing values with identical
values) does not create a TMP record.
New Record
^TMP("XUMF EVENT",$J,"NEW",IFN,IEN) is set equal to NULL The BEFORE and AFTER
nodes are not set.
Update
The pre-update state of the record is merged into ^TMP("XUMF
EVENT",$J,"BEFORE",IFN,IEN)
The post-update state of the record is merged into ^TMP("XUMF
EVENT",$J,"AFTER",IFN,IEN)
The NEW node is not set.
Examples:
GMRV VITAL TYPE (#120.51)
NAME: WEIGHT ABBREVIATION: WT
RATE: YES RATE HELP: GMRV-WEIGHT RATE HELP
PCE ABBREVIATION: WT
RATE INPUT TRANSFORM: I '("UNAVAILABLEPASSREFUSED"...
Internal
^GMRD(120.51,9,0)=WEIGHT^WT^^1^^GMRV-WEIGHT RATE HELP^WT ^GMRD(120.51,9,1)=I
'("UNAVAILABLEPASSREFUSED"...
NEW RECORD
^TMP("XUMF EVENT",$J,120.51,"NEW",9)=
UPDATED RECORD
NAME: WEIGHT ABBREVIATION: WT
RATE: YES RATE HELP: GMRV-WEIGHT RATE HELP
PCE ABBREVIATION: WT
RATE INPUT TRANSFORM: I '("UNAVAILABLEPASSREFUSED"... EFFECTIVE DATE/TIME:
JUN 07, 2007@12:01:23
STATUS: ACTIVE
VUID: 4500639 MASTER ENTRY FOR VUID: YES
^TMP("XUMF EVENT",$J,120.51,"AFTER ,9,0)=WEIGHT^WT^^1^^GMRV-WEIGHT RATE
HELP^WT^ ^TMP("XUMF EVENT",$J,120.51,"AFTER ,9,1)=I
'("UNAVAILABLEPASSREFUSED"... ^TMP("XUMF EVENT",$J,120.51,"AFTER
,9,"TERMSTATUS",0)=^120.5199DA^1^1 ^TMP("XUMF EVENT",$J,120.51,"AFTER E
,9,"TERMSTATUS",1,0)=3070607.120123^1 ^TMP("XUMF EVENT",$J,120.51,"AFTER
,9,"TERMSTATUS","B",3070607.120123,1)= ^TMP("XUMF EVENT",$J,120.51,"AFTER
,9,"VUID")=4500639^1 ^TMP("XUMF EVENT",$J,120.51,"BEFORE
,9,0)=WEIGHT^WT^^1^^GMRV-WEIGHT RATE HELP^WT ^TMP("XUMF
EVENT",$J,120.51,"BEFORE ,9,1)=I '("UNAVAILABLEPASSREFUSED"...
|