DGRUADT2 ;ALB/GRR - Logic for editing admit, discharge, or transfer; 7-8-99
Source file <DGRUADT2.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EDITADT | ; Entry point for generating HL7 ADT messages to the COTS system
; whenever an existing patient movement is edited. Multiple messages ; may be created and sent to the vendor. ; Input: ; DGPMP - 0 node of the primary movement BEFORE the ADT action ; DGPMA - 0 node of the primary movement AFTER the ADT action ; DFN - Ien of the patient in the PATIENT File (#2) ; DGPMDA - Ien of the movement ; DGPPMDA - Ien of prior movement ; DGQUIET - Flag to suppress read/writes if set ; DGADT - Data array for processing ADT events ; DGTRACE - Debugging parameter ; DGPDIV - Division for prior Ward ; DGCDIV - Division for current Ward ; DGINTEG - Integration Database flag ; 0 - Not Integrated Site ; 1 - Integrated, Single Database ; 2 - Integrated, Multiple Databases ; DGLMT - Last Movement flag ; 1 - Created multiple HL7 transactions ; DGCTRAN - 1 - Changing Transfer data, must move ; prior location to current location |
|
EXIT |
FileNo | Call Tags |
---|---|
^DG(43 - [#43] | GET1^DIQ |