Changeset 310 for ccr/trunk


Ignore:
Timestamp:
Dec 26, 2008, 5:58:42 PM (16 years ago)
Author:
Sam Habiel
Message:

good copy of C0CRXNRD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccr/trunk/p/C0CRXNRD.m

    r283 r310  
    33 W "No entry from top" Q
    44 ;
    5 READCON ; Open and read concepts file: RXNCONSO.RRF
    6  N PATH S PATH="/home/sakura/Desktop/RxNorm/rrf/"
     5READCON(PATH) ; Open and read concepts file: RXNCONSO.RRF
     6 I PATH="" QUIT
    77 N FILENAME S FILENAME="RXNCONSO.RRF"
    88 D OPEN^%ZISH("FILE",PATH,FILENAME,"R")
     
    2828 . ; Now, construct the FDA array
    2929 . N RXNFDA
    30  . S RXNFDA(11310000.01,"+"_I_",",.01)=RXCUI
    31  . S RXNFDA(11310000.01,"+"_I_",",1)=RXAUI
    32  . S RXNFDA(11310000.01,"+"_I_",",2)=SAB
    33  . S RXNFDA(11310000.01,"+"_I_",",3)=TTY
    34  . S RXNFDA(11310000.01,"+"_I_",",4)=CODE
     30 . S RXNFDA(176.001,"+"_I_",",.01)=RXCUI
     31 . S RXNFDA(176.001,"+"_I_",",1)=RXAUI
     32 . S RXNFDA(176.001,"+"_I_",",2)=SAB
     33 . S RXNFDA(176.001,"+"_I_",",3)=TTY
     34 . S RXNFDA(176.001,"+"_I_",",4)=CODE
    3535 . D UPDATE^DIE("","RXNFDA")
    3636 . I $D(^TMP("DIERR",$J)) U $P BREAK
    3737 . ; Now, file WP field STR
    38  . D WP^DIE(11310000.01,I_",",5,,$NA(STR))
     38 . D WP^DIE(176.001,I_",",5,,$NA(STR))
    3939 D CLOSE^%ZISH("FILE")
    4040 Q
Note: See TracChangeset for help on using the changeset viewer.