-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathdbt_project.yml
90 lines (70 loc) · 3.14 KB
/
dbt_project.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: 'integration_tests'
version: '1.0.0'
config-version: 2
profile: default
vars:
error_empty_seeds: true
## Use this variable to run the project with synthetic data loaded as seeds
# otherwise set to false and set the input vars below
use_synthetic_data: false
## Update these vars to use your own data as input, do not comment out
# enabled logic has been added to the sources config
input_database: tuva
input_schema: input_layer
tuva_last_run: '{{ run_started_at.astimezone(modules.pytz.timezone("UTC")) }}'
## The Tuva Project can support claims and clinical data.
# By default, all models are disabled.
# Use the vars below to enabled or disable sections of The Tuva Project.
## The vars directly below enable all models related to the type of healthcare data being used
clinical_enabled: true
claims_enabled: true
provider_attribution_enabled: true
## CMS HCC data mart vars
# The payment_year variable has a default of the current year, this can be
# changed by adding the numeric value of a year (ex: cms_hcc_payment_year: 2019)
# cms_hcc_payment_year: 2018
## Quality Measures period var
# to run quality measueres for a period other than current year, add the below variable uncommented to your project
# quality_measures_period_end: "2018-12-31"
## The vars directly below enable a single data mart. See the Quickstart
# guide for instructions.
# ccsr_enabled: false
# cms_chronic_conditions_enabled: false
# tuva_chronic_conditions_enabled: false
# claims_preprocessing_enabled: false
# cms_hcc_enabled: false
# ed_classification_enabled: false
# financial_pmpm_enabled: false
# insights_enabled: false
# quality_measures_enabled: false
# readmissions_enabled: true
model-paths: ["models"]
analysis-paths: ["analyses"]
test-paths: ["tests"]
seed-paths: ["seeds"]
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]
target-path: "target"
clean-targets:
- "target"
- "dbt_packages"
dispatch:
- macro_namespace: 'the_tuva_project'
search_order: ['integration_tests','the_tuva_project']
seeds:
integration_tests:
eligibility_seed:
+post-hook: "{{ the_tuva_project.load_seed('tuva-public-resources/versioned_tuva_synthetic_data/0.13.0','eligibility.csv',headers=true) }}"
lab_result_seed:
+post-hook: "{{ the_tuva_project.load_seed('tuva-public-resources/versioned_tuva_synthetic_data/0.13.0','lab_result.csv',headers=true) }}"
medical_claim_seed:
+post-hook: "{{ the_tuva_project.load_seed('tuva-public-resources/versioned_tuva_synthetic_data/0.13.0','medical_claim.csv',headers=true) }}"
observation_seed:
+post-hook: "{{ the_tuva_project.load_seed('tuva-public-resources/versioned_tuva_synthetic_data/0.13.0','observation.csv',headers=true) }}"
pharmacy_claim_seed:
+post-hook: "{{ the_tuva_project.load_seed('tuva-public-resources/versioned_tuva_synthetic_data/0.13.0','pharmacy_claim.csv',headers=true) }}"
provider_attribution_seed:
+post-hook: "{{ the_tuva_project.load_seed('tuva-public-resources/versioned_tuva_synthetic_data/0.13.0','provider_attribution.csv',headers=true) }}"
models:
integration_tests:
+materialized: ephemeral