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

ACMGTP1.m

Go to the documentation of this file.
  1. ACMGTP1 ; IHS/TUCSON/TMJ - LOOKUP AND EDIT OF CMS REGISTER - CONTINUED ; [ 01/14/2009 11:28 AM ]
  1. ;;2.0;ACM CASE MANAGEMENT SYSTEM;*6,8*;JAN 10, 1996
  1. ;PATCH #6 - DISPLAYS REGISTER CREATOR NAME
  1. ;LOOKUP AND EDIT REGISTERS CONTINUED
  1. ;EP;INTERNAL ENTRY POINT: ACMGTP
  1. SECMSG ;EP;ENTRY POINT FROM ACMGTP
  1. ;SECOND LEVEL SECURITY MESSAGE ON REGISTER MODIFICATION
  1. S ACMRDEV=$P($G(^ACM(41.1,ACMRG,4)),U) ;IHS/CMI/TMJ PATCH #6
  1. I ACMRDEV'="" S ACMRDEV=$P($G(^VA(200,ACMRDEV,0)),U)
  1. W !!,$C(7),$C(7),?20,"You are NOT the Creator of this Register",!,?15,"Therefore, you cannot Modify the Register Components!",!
  1. I DUZ'=$P($G(^ACM(41.1,ACMRG,4)),U) W !,"Contact the Register Developer- "_ACMRDEV_" -for more information.",!!
  1. Q
  1. ;
  1. NAMEREX ;EP;ENTRY POINT FROM ACMGTP
  1. ;REINDEX OF CMS REGISTER FILE (NAME OF REGISTER FLD) ON NAME CHANGE
  1. ;
  1. W !!,?8,"You have changed the name of this Register - I will Reindex all Records!",!! H 5
  1. S DIK="^ACM(41,",DIK(1)=".01" D ENALL^DIK
  1. Q