Changeset 311
- Timestamp:
- Dec 26, 2008, 7:35:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CRXNRD.m
r310 r311 40 40 Q 41 41 ; 42 READNDC ; Open and read NDC/RxNorm/VANDF relationship file: RXNSAT.RRF43 N PATH S PATH="/home/sakura/Desktop/RxNorm/rrf/"44 N FILENAME S FILENAME="RXNSA B.RRF"42 READNDC(PATH) ; Open and read NDC/RxNorm/VANDF relationship file: RXNSAT.RRF 43 I PATH="" QUIT 44 N FILENAME S FILENAME="RXNSAT.RRF" 45 45 D OPEN^%ZISH("FILE",PATH,FILENAME,"R") 46 46 IF POP W "Error reading file..., Please check...",! BREAK 47 47 F I=1:1 Q:$$STATUS^%ZISH D 48 . U IO 48 49 . N LINE R LINE 49 50 . IF $$STATUS^%ZISH QUIT … … 59 60 . N DIC,X,DA,DR 60 61 . K DO 61 . S DIC="^C0CRXN( ""RXN"",""NDC"",",DIC(0)="F",X=RXCUI62 . S DIC="^C0CRXN(176.002,",DIC(0)="F",X=RXCUI 62 63 . D FILE^DICN 63 64 . I Y<1 U $P W !,"THERE IS TROUBLE IN RIVER CITY",! BREAK … … 66 67 . D ^DIE 67 68 D CLOSE^%ZISH("FILE") 69 U $P ; reset back to principle device 68 70 69 71
Note:
See TracChangeset
for help on using the changeset viewer.