Skip to content

Commit

Permalink
added new columns for rxnorm brand generic (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuvaforrest authored Feb 18, 2025
1 parent 1a5b7b0 commit c279fb7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
8 changes: 4 additions & 4 deletions dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ seeds:
terminology__ms_drg:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.13.2','ms_drg.csv',compression=true,null_marker=true) }}"
terminology__ndc:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.13.2','ndc.csv',compression=true,null_marker=true) }}"
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.14.0','ndc.csv',compression=true,null_marker=true) }}"
terminology__nitos:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.13.2','nitos.csv',compression=true,null_marker=true) }}"
terminology__other_provider_taxonomy:
Expand All @@ -144,9 +144,9 @@ seeds:
terminology__revenue_center:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.13.2','revenue_center.csv',compression=true,null_marker=true) }}"
terminology__rxnorm_to_atc:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.13.2','rxnorm_to_atc.csv',compression=true,null_marker=true) }}"
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.14.0','rxnorm_to_atc.csv',compression=true,null_marker=true) }}"
terminology__rxnorm_brand_generic:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.13.2','rxnorm_brand_generic.csv',compression=true,null_marker=true) }}"
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.14.0','rxnorm_brand_generic.csv',compression=true,null_marker=true) }}"
terminology__snomed_ct:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.13.2','snomed_ct.csv',compression=true,null_marker=true) }}"
terminology__snomed_ct_transitive_closures:
Expand Down Expand Up @@ -217,7 +217,7 @@ seeds:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_value_sets/0.13.2','hcc_suspecting_icd_10_cm_mappings.csv',compression=true,null_marker=true) }}"
pharmacy:
pharmacy__rxnorm_generic_available:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_value_sets/0.13.2','rxnorm_generic_available.csv',compression=true,null_marker=true) }}"
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_value_sets/0.14.0','rxnorm_generic_available.csv',compression=true,null_marker=true) }}"
quality_measures:
quality_measures__concepts:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_value_sets/0.13.2','quality_measures_concepts.csv',compression=true,null_marker=true) }}"
Expand Down
2 changes: 1 addition & 1 deletion seeds/terminology/terminology__rxnorm_brand_generic.csv
Original file line number Diff line number Diff line change
@@ -1 +1 @@
product_rxcui,product_name,product_tty,brand_vs_generic,brand_name,clinical_product_rxcui,clinical_product_name,clinical_product_tty,ingredient_name,dose_form_name
product_rxcui,product_name,product_tty,prescribable_name,brand_vs_generic,brand_name,clinical_product_rxcui,clinical_product_name,clinical_product_tty,ingredient_name,dose_form_name,active,prescribable
6 changes: 6 additions & 0 deletions seeds/terminology/terminology_seeds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,8 @@ seeds:
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(3000) {%- endif -%}
product_tty: |
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(256) {%- endif -%}
prescribable_name: |
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(3000) {%- endif -%}
brand_vs_generic: |
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(256) {%- endif -%}
brand_name: |
Expand All @@ -1138,6 +1140,10 @@ seeds:
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(3000) {%- endif -%}
dose_form_name: |
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(3000) {%- endif -%}
active: |
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(10) {%- endif -%}
prescribable: |
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(10) {%- endif -%}
- name: terminology__ccs_services_procedures
config:
Expand Down

0 comments on commit c279fb7

Please sign in to comment.