Changeset 1642 for ccr/trunk


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

Location:
ccr/trunk/rxnorm/trunk/routines
Files:
3 edited

Legend:

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

    r1630 r1642  
    11C0CRXNAD        ; VEN/SMH - Add a drug to VISTA from RxNorm;2013-04-19  5:39 PM
    2         ;;2.2;RXNORM FOR VISTA;;Nov 14, 2013;Build 8
     2        ;;2.3;RXNORM FOR VISTA;;Jul 22, 2014;Build 10
    33        ; (C) 2013 Sam Habiel
    44        ; Proprietary Code. Don't use if license terms aren't supplied.
  • 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
  • ccr/trunk/rxnorm/trunk/routines/C0CRXNRD.m

    r1630 r1642  
    11C0CRXNRD        ; VEN/SMH - RxNorm Utilities: Routine to Read RxNorm files;2013-11-14  1:23 PM
    2         ;;2.2;RXNORM FOR VISTA;;Nov 14, 2013;Build 8
     2        ;;2.3;RXNORM FOR VISTA;;Jul 22, 2014;Build 10
    33        ; (C) Sam Habiel 2013
    44        ; See license for terms of use.
Note: See TracChangeset for help on using the changeset viewer.