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

DG53665P.m

Go to the documentation of this file.
  1. DG53665P ;ALB/RMM - TRIGGER DT/TM CROSS REFERENCES [PATIENT] ; 05/23/2004
  1. ;;5.3;Registration;**665**;Aug 13, 1993
  1. ;
  1. ;
  1. EN ; This is the post-install routine for patch DG*5.3*665.
  1. ; Queue job to run in the background.
  1. N ZTRTN,ZTDESC,ZTSAVE,ZTSK,ZTDTH,ZTQUEUED,ZTIO
  1. D BMES^XPDUTL(" This post-install process for patch DG*5.3*665 will add")
  1. D MES^XPDUTL(" seven cross-reference triggers to the PATIENT File #2 to")
  1. D MES^XPDUTL(" populate the new date/time fields added by this patch.")
  1. D MES^XPDUTL(" ")
  1. S ZTRTN="EN1^DG53665P",ZTIO="",ZTDTH=$$NOW^XLFDT()
  1. S ZTDESC="DG*5.3*665 POST-INSTALL PROCESS"
  1. D ^%ZTLOAD,HOME^%ZIS
  1. I '$G(ZTSK) D BMES^XPDUTL("Post-install process was not tasked.") Q
  1. D BMES^XPDUTL("Post-install process has been tasked as Task #"_ZTSK)
  1. Q
  1. EN1 ; This routine contains the code to add new style cross-reference record
  1. ; triggers for the PATIENT File #2.
  1. ;
  1. ; The routine ^DIKCBLD was used to build routines to create the
  1. ; following routines to modify the Data Dictionary:
  1. ;
  1. TEMP ; PATIENT File #2 Record Index: ADTTM1
  1. I '$D(^DD("IX","BB",2,"ADTTM1")) D ^DGADTTM1
  1. ;
  1. CONF ; PATIENT File #2 Record Index: ADTTM2
  1. I '$D(^DD("IX","BB",2,"ADTTM2")) D ^DGADTTM2
  1. ;
  1. PNOK ; PATIENT File #2 Record Index: ADTTM3
  1. I '$D(^DD("IX","BB",2,"ADTTM3")) D ^DGADTTM3
  1. ;
  1. SNOK ; PATIENT File #2 Record Index: ADTTM4
  1. I '$D(^DD("IX","BB",2,"ADTTM4")) D ^DGADTTM4
  1. ;
  1. ECON ; PATIENT File #2 Record Index: ADTTM5
  1. I '$D(^DD("IX","BB",2,"ADTTM5")) D ^DGADTTM5
  1. ;
  1. ECON2 ; PATIENT File #2 Record Index: ADTTM6
  1. I '$D(^DD("IX","BB",2,"ADTTM6")) D ^DGADTTM6
  1. ;
  1. DESIG ; PATIENT File #2 Record Index: ADTTM7
  1. I '$D(^DD("IX","BB",2,"ADTTM7")) D ^DGADTTM7
  1. Q