Name | Value | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NUMBER | 2911 | |||||||||||||||||||||||||||||||||||
IA # | 2911 | |||||||||||||||||||||||||||||||||||
FILE NUMBER | 391.91 | |||||||||||||||||||||||||||||||||||
GLOBAL ROOT | DGCN(391.91, | |||||||||||||||||||||||||||||||||||
DATE CREATED | 2000/01/13 | |||||||||||||||||||||||||||||||||||
CUSTODIAL PACKAGE | REGISTRATION | |||||||||||||||||||||||||||||||||||
CUSTODIAL ISC | Albany | |||||||||||||||||||||||||||||||||||
USAGE | Private | |||||||||||||||||||||||||||||||||||
TYPE | File | |||||||||||||||||||||||||||||||||||
DBIC APPROVAL STATUS | APPROVED | |||||||||||||||||||||||||||||||||||
NAME | TREATING FACILITY LIST (#391.91): relationship with CIRN PD | |||||||||||||||||||||||||||||||||||
GENERAL DESCRIPTION | The CIRN PD package would like to use the TREATING FACILITY (#391.91) file for the following functions: 1) Loop through "B" cross- reference in the TREATING FACILITY (#391.91) file getting the INSTITUTION (#4) file IEN or the (#.02) INSTITUTION [2P] field. 2) Take each IEN and translate into a HL LOGICAL LINK (#870) file entry 3) Using the known SUBSCRIPTION CONTROL IEN, call GET^HLSUB, to get the DESTINATIONS for that IEN. 4) Compare the logical links identified by the entries in the TREATING FACILITY to the links returned by GET^HLSUB. If there is not a one-to-one relationship add an entry to the SUBSCRIPTION CONTROL (#774) file for the missing entry. The missing entry is added using $$ACT^HLSUB and UPD^HLSUB. 5) Utilize the "APAT" cross-reference to determine the internal entry number (ien) of the TREATING FACILITY LIST (TFL) record. If an ien does not exist, we add to the TFL file. 6) Utilize the "AINST" cross-reference to check for patients within a given facility. 7) A direct global read for the DATE LAST TREATED field (#.03 ; node: 0 ; piece: 3) to determine if the data on file is valid. 8) Write access with FileMan for the following fields: DATE LAST TREATED and ADT/HL7 EVENT REASON (field: .07 ; node: 0 ; piece: 7). ADT/HL7 EVENT REASON is a pointer data type pointing to the ADT/HL7 EVENT REASON (#391.72) file. At this time we are only concerned about missing subscriptions and not missing treating facilities. |
|||||||||||||||||||||||||||||||||||
GLOBAL REFERENCE |
|
|||||||||||||||||||||||||||||||||||
STATUS | Active | |||||||||||||||||||||||||||||||||||
DURATION | Till Otherwise Agreed | |||||||||||||||||||||||||||||||||||
ID | DGCN(391.91, | |||||||||||||||||||||||||||||||||||
SUBSCRIBING PACKAGE |
|