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

PRC51158.m

Go to the documentation of this file.
  1. PRC51158 ;SSOI&TFO/LKG - POST-INIT PRC*5.1*158 ;6/30/11 16:00
  1. V ;;5.1;IFCAP;**158**;Oct 20, 2000;Build 1
  1. ;;Per VHA Directive 2004-038, this routine should not be modified.
  1. Q
  1. POST ;Beginning of post-init logic
  1. ;Renaming PAT TYPE entry with IEN of 21 from 'MISC. OBLIGATION (1358)'
  1. ; to '1358 OBLIGATION'.
  1. N PRCARR,PRCERR,PRCMSG,PRCI
  1. S PRCARR(442.5,"21,",.01)="1358 OBLIGATION"
  1. D FILE^DIE("EK","PRCARR","PRCERR")
  1. I $D(PRCERR("DIERR")) D
  1. . D BMES^XPDUTL("PAT TYPE entry with IEN 21 was not renamed to '1358 OBLIGATION'.")
  1. . S PRCI=0
  1. . F S PRCI=$O(PRCERR("DIERR",1,"TEXT",PRCI)) Q:PRCI'>0 S PRCMSG(PRCI)=PRCERR("DIERR",1,"TEXT",PRCI)
  1. . D:$D(PRCMSG) MES^XPDUTL(.PRCMSG)
  1. Q