Pipeline to Mapping RxNorm Codes with Corresponding National Drug Codes (NDC)

Description

This pretrained pipeline maps RXNORM codes to NDC codes without using any text data. You’ll just feed white space-delimited RXNORM codes and it will return the corresponding two different types of ndc codes which are called package ndc and product ndc.

Predicted Entities

Copy S3 URI

Available as Private API Endpoint

How to use

from sparknlp.pretrained import PretrainedPipeline

pipeline = PretrainedPipeline("rxnorm_ndc_mapping", "en", "clinical/models")
result = pipeline.fullAnnotate(["1652674", "259934"])
import com.johnsnowlabs.nlp.pretrained.PretrainedPipeline

val pipeline = new PretrainedPipeline("rxnorm_ndc_mapping", "en", "clinical/models")
val result = pipeline.fullAnnotate(["1652674", "259934"])
import nlu
nlu.load("en.map_entity.rxnorm_to_ndc.pipe").predict("""Put your text here.""")

Results

|   | rxnorm_code |   package_ndc | product_ndc |
|--:|------------:|--------------:|------------:|
| 0 |     1652674 | 62135-0625-60 |  46708-0499 |
| 1 |      259934 | 13349-0010-39 |  13349-0010 |

Model Information

Model Name: rxnorm_ndc_mapping
Type: pipeline
Compatibility: Healthcare NLP 4.4.4+
License: Licensed
Edition: Official
Language: en
Size: 4.0 MB

Included Models

  • DocumentAssembler
  • TokenizerModel
  • ChunkMapperModel
  • ChunkMapperModel