Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: DG531167P

DG531167P.m

Go to the documentation of this file.
DG531167P ;ALB/JAM - DG*5.3*1167 POST INSTALL ROUTINE;07/01/2026 15:21pm
 ;;5.3;Registration;**1167**;Feb 23 2021;Build 7
 ;
QUIT ;No direct entry
 ;
 ;---------------------------------------------------------------------------
 ;Patch DG*5.3*1167: Environment, Pre-Install, and Post-Install entry points.
 ;---------------------------------------------------------------------------
 ;
ENV ;Main entry point for Environment check
 Q
 ;
PRE ;Main entry point for Pre-Install items
 Q
 ;
POST ;Main entry point for Post-Install items
 D BMES^XPDUTL(">>> Patch DG*5.3*1167 - Post-install begin.")
 D POST1  ;Recompile all compiled input templates ;
 D BMES^XPDUTL(">>> Patch DG*5.3*1167 - Post-install complete.")
 Q
 ;
POST1 ;Recompile all compiled input templates
 ;Recompile all compiled input templates that contain specific fields.
 ;This is needed because the data dictionary definition of these fields
 ;has changed and they are being exported via KIDS.
 ;
 ; Supported ICR's:
 ;   10141: BMES^XPDUTL
 ;        : MES^XPDUTL
 ;    3352: DIEZ^DIKCUTL3
 ;
 N DGFLD
 ;
 D BMES^XPDUTL(">>> Recompile all compiled input templates that contain the following fields:")
 ;
 D BMES^XPDUTL(" o TEMPORARY ADDRESS START DATE (#.1217) field in the PATIENT (#2) file")
 D MES^XPDUTL(" o TEMPORARY ADDRESS END DATE (#.1218) field in the PATIENT (#2) file")
 ;build array of file and field numbers for top-level file and fields being exported
 ;array format: DGFLD(file#,field)=""
 ;recompile all compiled input templates that contain the fields in the DGLFD array passed by reference 
 S DGFLD(2,.1217)=""
 S DGFLD(2,.1218)=""
 D DIEZ^DIKCUTL3(2,.DGFLD)
 K DGFLD
 ;
 D BMES^XPDUTL(">>> Re-compile completed.")
 ;
 Q