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

XU8P789.m

Go to the documentation of this file.
  1. XU8P789 ;VISS/BT - Post-Install for XU*8*789 ; Oct 17, 2023@04:58:13
  1. ;;8.0;KERNEL;**789**;Jul 10, 1995;Build 15
  1. ;Per VA Directive 6402, this routine should not be modified.
  1. Q
  1. ;
  1. POST ; Build new cross-reference in the COMPONENT file (#20)
  1. N XUXR,XURES,XUOUT
  1. S XUXR("FILE")=20
  1. S XUXR("NAME")="ASIG"
  1. S XUXR("TYPE")="MU"
  1. S XUXR("USE")="A"
  1. S XUXR("EXECUTION")="R"
  1. s XUXR("ACTIVITY")="IR"
  1. S XUXR("SHORT DESCR")="Update the SIGNATURE BLOCK PRINTED NAME in the New Person file, if necessary."
  1. S XUXR("DESCR",1)="If this entry in the Name Components file corresponds to an "
  1. S XUXR("DESCR",2)="entry in the New Person file, this MUMPS cross-reference "
  1. S XUXR("DESCR",3)="updates the SIGNATURE BLOCK PRINTED NAME field (#20.2) in "
  1. S XUXR("DESCR",4)="the New Person file when the Family Name, Given Name, "
  1. S XUXR("DESCR",5)="Middle Name, and/or Suffix are changed."
  1. S XUXR("SET")="I '$G(XUNOSIGT),X(1)=200,X(2)=.01 N COMP,DIERR,FDA,MSG,SIG,XUNOSIGT"
  1. S XUXR("SET")=XUXR("SET")_" S XUNOSIGT=1,COMP(""FAMILY"")=X(4),COMP(""GIVEN"")=X(5),COMP(""MIDDLE"")=X(6),"
  1. S XUXR("SET")=XUXR("SET")_"COMP(""SUFFIX"")=X(7),FDA(200,X(3),20.2)=$$NAMEFMT^XLFNAME(.COMP,""G"") D FILE^DIE("""",""FDA"",""MSG"")"
  1. S XUXR("KILL")="Q"
  1. S XUXR("VAL",1)=.01
  1. S XUXR("VAL",1,"COLLATION")="F"
  1. S XUXR("VAL",2)=.02
  1. S XUXR("VAL",2,"COLLATION")="F"
  1. S XUXR("VAL",3)=.03
  1. S XUXR("VAL",3,"COLLATION")="F"
  1. S XUXR("VAL",4)=1
  1. S XUXR("VAL",4,"COLLATION")="F"
  1. S XUXR("VAL",5)=2
  1. S XUXR("VAL",5,"COLLATION")="F"
  1. S XUXR("VAL",6)=3
  1. S XUXR("VAL",6,"COLLATION")="F"
  1. S XUXR("VAL",7)=5
  1. S XUXR("VAL",7,"COLLATION")="F"
  1. D CREIXN^DDMOD(.XUXR,"k",.XURES,"XUOUT")
  1. Q