Ignore:
Timestamp:
Jul 22, 2014, 5:03:51 PM (10 years ago)
Author:
Sam Habiel
Message:

Fixed a tiny bug so that invalid vuids can't try to get a GCN

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccr/trunk/rxnorm/trunk/routines/C0CRXNLK.m

    r1630 r1642  
    1 C0CRXNLK        ; VEN/SMH - RxNorm Lookup Utilities ;2013-11-14  2:43 PM
    2         ;;2.2;RXNORM FOR VISTA;;Nov 14, 2013;Build 8
     1C0CRXNLK        ; VEN/SMH - RxNorm Lookup Utilities ;2014-07-22  2:27 PM
     2        ;;2.3;RXNORM FOR VISTA;;Jul 22, 2014;Build 10
    33        ;(c) Sam Habiel 2013
    44        ; See accompanying license. Don't use otherwise.
     
    237237        ; TODO: Unit Test
    238238        N RXNS S RXNS=$$VUI2RXN(VUID)
     239        Q:RXNS="" ""  ; VUID not a drug or ingredient (can be food)
    239240        N GCNS S GCNS=""
    240241        N I F I=1:1:$L(RXNS,U) S GCNS=GCNS_$$RXN2GCN($P(RXNS,U,I))_U
Note: See TracChangeset for help on using the changeset viewer.