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

ECX3P152.m

Go to the documentation of this file.
ECX3P152 ;ALB/DE - ECX*3.0*152 Post-Init RTN;9/22/14
 ;;3.0;DSS EXTRACTS;**152**;Dec 22, 1997;Build 3
 ;
 ;Post-init routine updating current entries in
 ;the NATIONAL CLINIC (#728.441) file
 ;
 Q
 ;
EN ;routine entry point
 D UPDATE     ;change name to existing Clinic codes
 Q
 ;
UPDATE ;changing short description of existing clinic
 N ECXCODE,ECXDESC,ECXIEN,DIE,DA,DR,ECXI,ECXREC
 D BMES^XPDUTL(">>>Updating entry in the NATIONAL CLINIC (728.441) file..")
 F ECXI=1:1 S ECXREC=$P($T(UPDCLIN+ECXI),";;",2) Q:ECXREC="QUIT"  D
  .S ECXCODE=$P(ECXREC,"^"),ECXDESC=$P(ECXREC,"^",2)
  .S ECXIEN=$$FIND1^DIC(728.441,"","X",ECXCODE,"","","ERR")
  .I 'ECXIEN D  Q
  ..D BMES^XPDUTL(">>>...Unable to update "_ECXCODE_" - "_$P(ECXREC,U,2)_".")
  ..D BMES^XPDUTL(">>>...Contact support for assistance")
  .N FDA
  .S FDA(728.441,ECXIEN_",",1)=ECXDESC
  .D FILE^DIE(,"FDA","ECXERR")
  .D BMES^XPDUTL(">>>..."_ECXCODE_" - "_$P(ECXREC,U,2)_" updated")
 I '$D(ECXERR) D BMES^XPDUTL("Update complete") Q  ;quit here if update was successful
 D BMES^XPDUTL("***Errors occurred during install. Please check ECXERR(""DIERR"") for errors***")
 Q  ;quit here if errors occurred during update
 ;
UPDCLIN ;Contains the NATIONAL CLINIC entry description to be updated
 ;;NASL^ALS Regional Facility
 ;;RHTC^Rehab PT (non Home Telehealth)
 ;;VITL^VITAL Initiative Program
 ;;WCNC^CHAR4 COUNCIL
 ;;WCQC^Women's Telehealth Program
 ;;CDBC^CHAR4 COUNCIL
 ;;CDDC^CHAR4 COUN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