-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
65 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
version: 2 | ||
|
||
models: | ||
- name: products | ||
description: | | ||
Product information including name, RXCUI, brand vs generic, ingredient, and dose form. | ||
Data generally comes from RxNorm. | ||
columns: | ||
- name: brand_vs_generic | ||
description: | | ||
Simple (not comprehensive) brand vs generic flag. | ||
If TTY = SBD or BPCK, this will be brand. | ||
If TTY = SCD or GPCK, this will be generic. | ||
- name: brand_products_with_related_ndcs | ||
description: | | ||
Brand Product RXCUI → Related Clinical Product RXCUI → NDCs related to that Clinical Product RXCUI → FDA Start Marketing Dates | ||
columns: | ||
- name: product_tty | ||
description: Will always be SBD or BPCK since we are starting with brand products only. | ||
- name: product_name | ||
description: The name of the brand product we are starting from. | ||
- name: ndc_product_tty | ||
description: | | ||
Could be SCD, SBD, GPCK, BPCK, or null. | ||
A product related to the original brand product based on a clinical product identifier. | ||
Example: starting with a product TTY / RXCUI of SBD 1000000, you could have a related ndc_product | ||
of SBD 1000000 because that brand product relates to itself, as well as a related ndc_product of | ||
SCD 999996 which is the generic version of the same product. | ||
Can have duplicate RXCUIs if there are multiple NDCs related to that RXCUI. | ||
- name: ndc | ||
description: The NDC that relates to the ndc_product_rxcui. | ||
- name: product_startmarketingdate | ||
description: The start marketing date of the **product**. Can be different from that of the package. | ||
- name: package_startmarketingdate | ||
description: The start marketing date of the **package**. Can be different from that of the product. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters