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

DG696PRE.m

Go to the documentation of this file.
  1. DG696PRE ;BAY/JAT;
  1. ;;5.3;Registration;**69,1015**;Aug 13,1993;Build 21
  1. ;
  1. ; This is a pre-init routine for DG*5.3*696
  1. ;
  1. EN ;
  1. ; replace Y/N set with 1/0
  1. D BMES^XPDUTL("Updating field #.08 of file #46.1")
  1. S ^DD(46.1,.08,0)="COMBAT VET^S^1:YES;0:NO;^0;8^Q"
  1. S ^DD(46.1,.08,"DT")=3060519
  1. ; replace $N with $O
  1. D BMES^XPDUTL("Updating field #7.4 of file #45")
  1. S ^DD(45,7.4,0)="TRANSMISSION DATE^DCJ8,0X^^ ; ^S X=$S($D(^DGP(45.83,""C"",D0)):$O(^DGP(45.83,""C"",D0,0)),1:""""),X=$S($D(^DGP(45.83,+X,""P"",D0,0)):$P(^(0),U,2),1:"""")"
  1. S ^DD(45,7.4,"DT")=3060519
  1. S ^DD(45,7.4,9.1)="S X=$S($D(^DGP(45.83,""C"",D0)):$O(^DGP(45.83,""C"",D0,0)),1:""""),X=$S($D(^DGP(45.83,+X,""P"",D0,0)):$P(^(0),U,2),1:"""")"
  1. Q