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

PSB3P42.m

Go to the documentation of this file.
  1. PSB3P42 ;BIRMINGHAM/GN - POST INSTALL FOR P242 ;7/8/10 12:48pm
  1. ;;3.0;BAR CODE MED ADMIN;**42**;Mar 2004;Build 23
  1. ;
  1. ; Update XPAR System parameter PSB PATIENT ID LABEL
  1. ;
  1. ; If AGENCY CODE = "I" & SYS variable = Null then set to "HRN".
  1. ; If AGENCY CODE '="I" then set to "SSN".
  1. ;
  1. BEGIN ;
  1. D INITSYS("PSB PATIENT ID LABEL")
  1. Q
  1. ;
  1. INITSYS(NAM) ; Initialize SYS value if not already populated
  1. I $G(DUZ("AG"))="I" D Q
  1. . Q:$$GET^XPAR("SYS",NAM)'=""
  1. . D EN^XPAR("SYS",NAM,1,"HRN")
  1. D EN^XPAR("SYS",NAM,1,"SSN")
  1. Q