| DESCRIPTION |
This protocol will notify subscribing packages when an International
^TMP("DG PTF ICD NOTIFIER",$J,"DFN")=DFN
DFN: internal entry number of the patient in the PATIENT file (#2).
^TMP("DG PTF ICD NOTIFIER",$J,TYPE,"IENS")=IENS
TYPE: The activity type; possible values are "DISCHARGE", "MOVEMENT",
"SERVICE" and "SERVICE46". "DISCHARGE" codes are from the PRINCIPAL
DIAGNOSIS field and the SECONDARY DIAGNOSIS series of fields in the
PTF file (#45). "MOVEMENT" codes are from the ICD series of fields
in the 501 sub-file (#45.02) in the PTF file (#45). "SERVICE" code
is from the PRIMARY DIAGNOSIS field in the CPT RECORD DATE/TIME
Classification of Diseases (ICD) diagnosis code is added, modified or
sub-file (#45.06) in the PTF file (#45). "SERVICE46" codes are from
the PRIMARY DIAGNOSIS field and the SECONDARY DIAGNOSIS series of
fields in the INPATIENT CPT CODE file (#46).
IENS: The internal entry number string identifying the record in which
the associated codes are stored.
^TMP("DG PTF ICD NOTIFIER",$J,TYPE,FIELD,"OLD")=ICDP
This is how the field appeared in the file before the change was made.
FIELD: This is an abbreviation denoting which field the code came from.
The following table should assist in determining which field a
removed for entries within the PTF file (#45).
code came from:
TYPE FIELD Field Name
-----------------------------------------------------
DISCHARGE PDX PRINCIPAL DIAGNOSIS
DISCHARGE SDXnn SECONDARY DIAGNOSIS nn (nn is a whole number)
DISCHARGE PDX-P1986 PRINCIPAL DIAGNOSIS pre 1986
MOVEMENT DXnn ICD nn (nn is a whole number)
SERVICE PDX PRIMARY DIAGNOSIS
SERVICE46 PDX PRIMARY DIAGNOSIS
SERVICE46 SDX0n SECONDARY DIAGNOSIS n (n is a whole number)
ICDP: Internal entry number of the diagnosis code in the ICD DIAGNOSIS
file (#80).
^TMP("DG PTF ICD NOTIFIER",$J,TYPE,FIELD,"NEW")=ICDP
This is how the field appeared in the file after the change was made.
When a code is added, the "OLD" value will be blank and the "NEW" value
will not be. When a code is deleted, the "OLD" value will not be blank and
the "NEW" value will be. When a code is changed, both the "OLD" and "NEW"
values will not be blank.
The following data is available to subscribers:
^TMP("DG PTF ICD NOTIFIER",$J,"DATE")=DATE
DATE: FileMan date/time (internal format) of when the activity occurred.
|