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

EC2P168A.m

Go to the documentation of this file.
  1. EC2P168A ;MNT/JB - EC National Procedure Update; April 19, 2024@15:50
  1. ;;2.0;EVENT CAPTURE;**168**;May 8, 1996;Build 8
  1. ;
  1. ; This routine is used as a post-init in a KIDS build to
  1. ; update the EC National Procedure file (#725) for FY25.
  1. ;
  1. ; Reference to ^%ZTLOAD supported by ICR# 10063
  1. ; Reference to BMES^XPDUTL supported by ICR# 10141
  1. ; Reference to MES^XPDUTL supported by ICR# 10141
  1. ;
  1. Q
  1. ;
  1. POST ;Entry point
  1. ;
  1. D MES^XPDUTL(" ")
  1. D MES^XPDUTL("Updating the EC NATIONAL PROCEDURE File (#725)...")
  1. D MES^XPDUTL(" ")
  1. ;
  1. ; File Backup prior to Install
  1. N EC168FILES
  1. S EC168FILE=""
  1. S EC168FILES="725"
  1. S ECCNT=0
  1. F ECCNT=1:1:$L(EC168FILES,"^") D
  1. . S EC168FILE=$P(EC168FILES,"^",ECCNT)
  1. . D GLBBKUP
  1. . Q
  1. ;* add new/edit national procedures
  1. ;D ADDPROC^EC2P168B ;add new procedures - No FY25 Request
  1. D NAMECHG^EC2P168B ;change description
  1. D REACT^EC2P168C ;reactivate code
  1. D CPTCHG^EC2P168C ;change CPT code
  1. D INACT^EC2P168C ;inactivate code
  1. ;
  1. ;create task to inspect event code screens
  1. D BMES^XPDUTL("Queuing the inspection of the EC Event Code Screens file (#720.3)")
  1. D MES^XPDUTL("for 10/2/2024 at 1:00 AM. If this patch is installed after that")
  1. D MES^XPDUTL("time, the inspection will queue immediately.")
  1. D MES^XPDUTL(" ")
  1. ;
  1. N ZTRTN,ZTDTH,ZTDESC,ZTIO,ZTSK
  1. S ZTRTN="INACTSCR^ECUTL3(1)",ZTDTH=3241002.0100
  1. S ZTDESC="Inspecting EC Event Code Screens file",ZTIO="" D ^%ZTLOAD
  1. ;
  1. D MES^XPDUTL("Done. Task: "_$G(ZTSK)_" has been created for this job. You")
  1. D MES^XPDUTL("will receive a MailMan message with the results on 10/2/2024.")
  1. D MES^XPDUTL(" ")
  1. ;
  1. D MES^XPDUTL("Update of EC NATIONAL PROCEDURE file (#725) completed.")
  1. D MES^XPDUTL(" ")
  1. Q
  1. ;
  1. GLBBKUP ; XTMP Backup of file(s)
  1. S ECBKUPNDE="EC*2*168-EC NATIONAL CODE UPDATES FOR FY25 - FILE BACKUP"
  1. S ^XTMP("EC2P168",0)=$$FMADD^XLFDT(DT,120)_"^"_DT_"^"_ECBKUPNDE
  1. M ^XTMP("EC2P168",EC168FILE,$H)=^EC(EC168FILE)
  1. Q