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

PX10164P.m

Go to the documentation of this file.
  1. PX10164P ;HERN/BDB - Post-init routine for PX*1.0*164 ;11/10/2005
  1. ;;1.0;PCE PATIENT CARE ENCOUNTER;**164**;Aug 12, 1996
  1. ;
  1. Q
  1. EN ;This patch will update the Visit Tracking Parameters File for
  1. ;the Order Entry/Results Reporting Package
  1. ;
  1. N DIC,X,Y
  1. D BMES^XPDUTL(">>> Updating Order Entry/Results Reporting entry")
  1. D MES^XPDUTL(" in the Visit Tracking Parameters file.")
  1. S DIC="^DIC(150.9,1,3,",DA(1)=1,DIC(0)="L",X="ORDER ENTRY/RESULTS REPORTING"
  1. D ^DIC
  1. I +Y'>0 G ERROR
  1. N DIE,DA
  1. S DIE="^DIC(150.9,1,3,",DA(1)=1,DA=+Y,DR="4////1"
  1. D ^DIE
  1. D BMES^XPDUTL(" Order Entry/Results Reporting package updated")
  1. D MES^XPDUTL(" in Visit Tracking Parameters file.")
  1. Q
  1. ERROR ;
  1. D BMES^XPDUTL(">>> Order Entry/Result Reporting failed to be added to the")
  1. D MES^XPDUTL(" Visit Tracking Parameters file. Please contact IRM.")
  1. Q
  1. VTFQ ;
  1. D BMES^XPDUTL(">>> Done")
  1. Q