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

RAIPS119.m

Go to the documentation of this file.
  1. RAIPS119 ;HIOFO/GJC - Post-init one of one ;
  1. VERSION ;;5.0;Radiology/Nuclear Medicine;**119**;Mar 16, 1998;Build 7
  1. ;
  1. ;IA - #6203 w/VA FileMan to delete the "RDE" xref & data
  1. ;
  1. EN ;entry point
  1. D RDE
  1. Q
  1. ;
  1. RDE ; delete the MUMPS "RDE" cross reference on the RADIATION ABSORBED
  1. ;DOSE field (70.03 ; node one ;field #: 1.1). Delete all cross
  1. ;referenced data in "RDE".
  1. ;
  1. ;parameters:
  1. ; 70 - the file number with the "RDE" index (file-wide)
  1. ; "RDE" - the name of the index to be deleted
  1. ;
  1. N DIERR K ^TMP("DIERR",$J)
  1. D DELIXN^DDMOD(70,"RDE") ;
  1. K ^RADPT("RDE") ; Whole Kill
  1. I $D(DIERR)#2 D
  1. .S RATXT=$G(^TMP("DIERR",$J,1,"TEXT",1))
  1. .D:$L(RATXT) MES^XPDUTL(RATXT)
  1. .K RATXT
  1. .Q
  1. K ^TMP("DIERR",$J)
  1. Q
  1. ;