- Timestamp:
- Dec 26, 2008, 5:58:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CRXNRD.m
r283 r310 3 3 W "No entry from top" Q 4 4 ; 5 READCON ; Open and read concepts file: RXNCONSO.RRF6 N PATH S PATH="/home/sakura/Desktop/RxNorm/rrf/"5 READCON(PATH) ; Open and read concepts file: RXNCONSO.RRF 6 I PATH="" QUIT 7 7 N FILENAME S FILENAME="RXNCONSO.RRF" 8 8 D OPEN^%ZISH("FILE",PATH,FILENAME,"R") … … 28 28 . ; Now, construct the FDA array 29 29 . N RXNFDA 30 . S RXNFDA(1 1310000.01,"+"_I_",",.01)=RXCUI31 . S RXNFDA(1 1310000.01,"+"_I_",",1)=RXAUI32 . S RXNFDA(1 1310000.01,"+"_I_",",2)=SAB33 . S RXNFDA(1 1310000.01,"+"_I_",",3)=TTY34 . S RXNFDA(1 1310000.01,"+"_I_",",4)=CODE30 . 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 35 35 . D UPDATE^DIE("","RXNFDA") 36 36 . I $D(^TMP("DIERR",$J)) U $P BREAK 37 37 . ; Now, file WP field STR 38 . D WP^DIE(1 1310000.01,I_",",5,,$NA(STR))38 . D WP^DIE(176.001,I_",",5,,$NA(STR)) 39 39 D CLOSE^%ZISH("FILE") 40 40 Q
Note:
See TracChangeset
for help on using the changeset viewer.