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

RA64PST.m

Go to the documentation of this file.
  1. RA64PST ;Hines OI/GJC - Post-init Driver, patch 64 ;01/05/06 06:32
  1. VERSION ;;5.0;Radiology/Nuclear Medicine;**64**;Mar 16, 1998;Build 5
  1. ;
  1. EN ; entry point for the post-install logic
  1. N RACHK
  1. S RACHK=$$NEWCP^XPDUTL("POST1","EN1^RA64PST")
  1. ; Add the correct calendar year scaling factors to the correct
  1. ; imaging type records in the IMAGING TYPE (#79.2) file.
  1. Q
  1. ;
  1. EN1 ; Add the scaling facors to the correct IMAGING TYPE file records.
  1. N RAI,RAX K RAMSG
  1. F RAI=1:1 S RAX=$T(FACTORS+RAI) Q:RAX="" D
  1. .S RAIEN=+$O(^RA(79.2,"B",$P(RAX,";",3),0))
  1. .I 'RAIEN D Q
  1. ..S RATXT(1)="'"_$P(RAX,";",3)_"' not found as an imaging type record,"
  1. ..S RATXT(2)="wRVU scaling factors not filed."
  1. ..D BMES^XPDUTL(.RATXT) K RATXT
  1. ..Q
  1. .I '$D(^RA(79.2,"C",$P(RAX,";",4),RAIEN))#2 D Q
  1. ..S RATXT(1)="'"_$P(RAX,";",4)_"' not found as the abbreviation for imaging type record:"
  1. ..S RATXT(2)="'"_$P(RAX,";",3)_"'."
  1. ..S RATXT(3)="wRVU scaling factors not filed."
  1. ..D BMES^XPDUTL(.RATXT) K RATXT
  1. ..Q
  1. .Q:$D(^RA(79.2,RAIEN,"CY","B",$P(RAX,";",5)))\10 ;been there, done that
  1. .S RAFDA(79.22,"+812,"_RAIEN_",",.01)=$P(RAX,";",5)
  1. .S RAFDA(79.22,"+812,"_RAIEN_",",2)=$P(RAX,";",6)
  1. .S RATXT(1)="Filing scaling wRVU factors for: '"_$P(RAX,";",3)_"'"
  1. .D UPDATE^DIE("E","RAFDA","","RAMSG(1)") K RAFDA
  1. .S RATXT(2)="The filing of data was "_$S($D(RAMSG(1,"DIERR"))#2:"un",1:"")_"successful."
  1. .S RATXT(3)=" " D BMES^XPDUTL(.RATXT) K RAMSG,RATXT
  1. .Q
  1. XIT ;clean up symbol table; exit
  1. K RAIEN
  1. Q
  1. ;
  1. FACTORS ;I-type name;I-type abbreviation;calendar year;scaled wRVU value
  1. ;;ANGIO/NEURO/INTERVENTIONAL;ANI;2006;0.61
  1. ;;CT SCAN;CT;2006;0.70
  1. ;;GENERAL RADIOLOGY;RAD;2006;1.21
  1. ;;MAGNETIC RESONANCE IMAGING;MRI;2006;0.70
  1. ;;NUCLEAR MEDICINE;NM;2006;1.57