Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new fields to provider terminology seeds #689

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,15 @@ seeds:
terminology__nitos:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.12.6','nitos.csv',compression=true,null_marker=true) }}"
terminology__other_provider_taxonomy:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_provider_data/0.12.6','other_provider_taxonomy.csv',compression=true,null_marker=true) }}"
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_provider_data/0.13.0','other_provider_taxonomy.csv',compression=true,null_marker=true) }}"
terminology__payer_type:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.12.6','payer_type.csv',compression=true,null_marker=true) }}"
terminology__place_of_service:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.12.6','place_of_service.csv',compression=true,null_marker=true) }}"
terminology__present_on_admission:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.12.6','present_on_admission.csv',compression=true,null_marker=true) }}"
terminology__provider:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_provider_data/0.12.6','provider.csv',compression=true,null_marker=true) }}"
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_provider_data/0.13.0','provider.csv',compression=true,null_marker=true) }}"
terminology__race:
+post-hook: "{{ load_seed(var('custom_bucket_name','tuva-public-resources') ~ '/versioned_terminology/0.12.6','race.csv',compression=true,null_marker=true) }}"
terminology__revenue_center:
Expand Down
2 changes: 1 addition & 1 deletion seeds/terminology/terminology__provider.csv
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npi,entity_type_code,entity_type_description,primary_taxonomy_code,primary_specialty_description,provider_first_name,provider_last_name,provider_organization_name,parent_organization_name,practice_address_line_1,practice_address_line_2,practice_city,practice_state,practice_zip_code,last_updated,deactivation_date,deactivation_flag
npi,entity_type_code,entity_type_description,primary_taxonomy_code,primary_specialty_description,provider_first_name,provider_last_name,provider_credential,provider_organization_name,parent_organization_name,practice_address_line_1,practice_address_line_2,practice_city,practice_state,practice_zip_code,mailing_telephone_number,location_telephone_number,official_telephone_number,last_updated,deactivation_date,deactivation_flag
8 changes: 8 additions & 0 deletions seeds/terminology/terminology_seeds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,8 @@ seeds:
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(95) {%- endif -%}
provider_last_name: |
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(95) {%- endif -%}
provider_credential: |
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(95) {%- endif -%}
provider_organization_name: |
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(95) {%- endif -%}
parent_organization_name: |
Expand All @@ -835,6 +837,12 @@ seeds:
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(65) {%- endif -%}
practice_zip_code: |
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(42) {%- endif -%}
mailing_telephone_number: |
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(42) {%- endif -%}
location_telephone_number: |
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(42) {%- endif -%}
official_telephone_number: |
{%- if target.type in ("bigquery", "databricks") -%} string {%- else -%} varchar(42) {%- endif -%}
last_updated: date
deactivation_date: date
deactivation_flag: |
Expand Down
Loading