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

ATX21FX.m

Go to the documentation of this file.
  1. ATX21FX ; IHS/OHPRD/TMJ - FIX ATXAX GLOBAL MULTIPLE 21 NODE ;
  1. ;;5.1;TAXONOMY;;FEB 04, 1997
  1. ;
  1. ;This Routine fixes the 0 Node of Subscript 21 of the Taxonomy Global
  1. ;The file # in multiple sub-file (on some old Taxonomies) is 9002226.2101
  1. ;The file # should be 9002226.02101A
  1. ;
  1. START ;
  1. D PROCESS
  1. D END
  1. Q
  1. ;
  1. ;
  1. PROCESS ;$O to get IEN of Taxonomy
  1. S ATXTDFN=0
  1. F S ATXTDFN=$O(^ATXAX(ATXTDFN)) Q:'ATXTDFN D
  1. .Q:'$D(^ATXAX(ATXTDFN,0))
  1. .Q:'$D(^ATXAX(ATXTDFN,21,0))
  1. .S $P(^ATXAX(ATXTDFN,21,0),U,2)="9002226.02101A"
  1. .Q
  1. Q
  1. END ;
  1. W !!,?10,"Fix of Taxonomy Global Subscript 21 Now Complete",!
  1. K ATXTDFN
  1. Q