coderxio / sagerx

Open drug data pipelines curated by pharmacists.
https://coderx.io/sagerx
Other
45 stars 12 forks source link

New Marts: 1) All NDC descriptions, and 2) ATC codes to RxNorm products #254

Closed jrlegrand closed 7 months ago

jrlegrand commented 7 months ago

Explanation

Created two new marts

  1. A list of all unique NDCs across 5 sources (RxNorm, RxNorm Historical, FDA NDC, FDA Excluded, and FDA Unfinished), matching product-level RXCUI if found, and description (RxNorm description preferred over FDA description)
  2. A list of ATC 1-4 mapped to product-level RXCUI. The ATC 4 -> RXCUI mapping is done by FDA, but putting a flat file together with this information and combining it with ATC1-3 was the part we added

NDC preference:

RxNorm Historical strategy:

Other stuff:

Rationale

Makes it easy to find NDC descriptions and classify NDCs.

Tests

  1. What testing did you do? Ran DAG to completion and did tests and reviewed documentation.