This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "Using rxNorm with FHIR"

From HL7Wiki
Jump to navigation Jump to search
Line 8: Line 8:
  
 
* Namespace is http://www.nlm.nih.gov/research/umls/rxnorm
 
* Namespace is http://www.nlm.nih.gov/research/umls/rxnorm
* both CUI and AUI are valid in this namespace  
+
* CUIs are valid in this namespace  
 +
** should AUIs be valid too?
 +
 
 
* The display name is  
 
* The display name is  
  
  select Str from rxnconso where RXAUI = :code or (RXCUI = :code and SAB = 'RXNORM')
+
  select Str from rxnconso where (RXCUI = :code and SAB = 'RXNORM')
 +
 
 +
** or maybe select Str from rxnconso where RXAUI = :code or (RXCUI = :code and SAB = 'RXNORM')
  
 
= Filter properties =
 
= Filter properties =

Revision as of 16:44, 6 July 2014

Introduction

On this page, all the rules & semantics for using RxNorm with FHIR are defined.

All of these are defined in terms of the default RxNorm database created (after fixes!) by the scripts provided with RxNorm

Basics

  • The display name is
select Str from rxnconso where (RXCUI = :code and SAB = 'RXNORM')
    • or maybe select Str from rxnconso where RXAUI = :code or (RXCUI = :code and SAB = 'RXNORM')

Filter properties

Description Property Name Property Operators Value Comments
Identifier Type Type = AUI restrict to only one type -- or should all filters only return CUIs?
Semantic Type STY in/= [COL:]Value default column is TUI
Source SAB in/= Value value comes from (select RSAB from rxnsab) (e.g. source = RXNORM)
Term Type TTY in/= Value value of TTY column in rxnconso

RxNorm Relationships

RxNormRel.png