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

DG53754B.m

Go to the documentation of this file.
  1. DG53754B ;ALB/TDM - POST-INSTALL DG*5.3*754 ; 12/16/10 9:53am
  1. ;;5.3;Registration;**754**;Aug 13, 1993;Build 46
  1. Q
  1. EN ;Post-install entry point
  1. N X,Y,DMAX,ZTMP
  1. S DMAX=$$ROUSIZE^DILF
  1. D BMES^XPDUTL("Re-compiling input templates")
  1. D ADDPTID
  1. D RECOMP("DG LOAD EDIT SCREEN 7","DGRPX7")
  1. Q
  1. ;
  1. RECOMP(ZTMP,X) ;Recompile Input Templates
  1. Q:((ZTMP="")!(X=""))
  1. S Y=$$FIND1^DIC(.402,"","MX",ZTMP)
  1. I Y<0 D BMES^XPDUTL("Error re-compiling '"_ZTMP_"' input template") Q
  1. D EN^DIEZ
  1. D BMES^XPDUTL("' "_ZTMP_"' input template has been re-compiled.")
  1. Q
  1. ;
  1. ADDPTID ; DBIA #4139 - This is a one-time agreement to allow Registration to
  1. ; set the IDENTIFIER node as follows for the PATIENT (#2) file:
  1. ; ^DD(2,0,"ID",.03)="D EN^DDIOL($TR($$DOB^DPTLK1(Y,1),""/"",""-""),,""?$X+2"")"
  1. ;
  1. ; This api will add the IDENTIFIER parameter back to the PATIENT
  1. ; file (#2). It was an unknown fact that the IDENTIFIER parameter
  1. ; would be removed when the DG*5.3*754 pre-init routine (DG53754P)
  1. ; initialized the field definition for the DATE OF BIRTH field (#.03)
  1. ; from the PATIENT file (#2).
  1. ;
  1. S ^DD(2,0,"ID",.03)="D EN^DDIOL($TR($$DOB^DPTLK1(Y,1),"_"""/"""_","_"""-"""_"),,"_"""?$X+2"""_")"
  1. Q