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

GMRGCLAS.m

Go to the documentation of this file.
  1. GMRGCLAS ;HIRMFO/RM-TERM CLASSIFICATION FILE EDIT ;1/23/96
  1. ;;3.0;Text Generator;;Jan 24, 1996
  1. EN1 ; ENTRY TO ADD DATA TO AGGREGATE TERM FILE IF PACKAGE IS KNOWN
  1. ; PACKAGE IN VARIABLE GMRGPK.
  1. Q:'$D(GMRGPK)
  1. S DIC("S")="I $P(^(0),U,2)=GMRGPK",DIC("A")="Select Classification to be modified: ",DIC="^GMRD(124.25,",DIC(0)="AEQML",DLAYGO=124.25
  1. S DIC("DR")="1///^S X=GMRGPK"
  1. W ! D ^DIC K DIC Q:+Y'>0 S DA=+Y,DIE="^GMRD(124.25,",DR=".01;2;S:DUZ(0)'=""@"" Y=""@1"";7;8;9;10;@1" D ^DIE
  1. G EN1
  1. EN2 ; SELECT PACKAGE FOR WHICH ADDING TERMS
  1. W !!,"PACKAGE REFERENCE: " R X:DTIME G Q3:"^^"[X!'$T
  1. I $L(X)<2!($L(X)>5)!(X?1P.E) W !?5,$C(7),"This is a reference for which to identify which package an aggregate",!?5,"term entry belongs. Answer must be 2-5 characters in length.",!!?5,"References already used include: " D LP G EN2
  1. S GMRGPK=X D EN1
  1. Q3 K GMRGLP,GMRGPK
  1. Q
  1. LP ;
  1. S X="" F GMRGLP=0:0 S X=$O(^GMRD(124.2,"AA",X)) Q:X="" W !?18,X
  1. Q