-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathdbt_project.yml
More file actions
103 lines (82 loc) · 3.83 KB
/
dbt_project.yml
File metadata and controls
103 lines (82 loc) · 3.83 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
name: 'integration_tests'
version: '1.0.0'
config-version: 2
profile: default
vars:
## Passthrough Columns Configuration
# Allows custom columns with a prefix to flow through Tuva models to core outputs.
# passthrough:
# prefix: 'x_' # Prefix to identify passthrough columns (default: 'x_')
# strip: false # Whether to strip prefix in final output (default: false)
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: true
## 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: dev_ci_testing
input_schema: input_layer
## 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
semantic_layer_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
# fhir_preprocessing_enabled: true # defaults to false
model-paths: ["models"]
analysis-paths: ["analyses"]
test-paths: ["tests"]
seed-paths: ["seeds"]
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]
clean-targets:
- "target"
- "dbt_packages"
dispatch:
- macro_namespace: 'the_tuva_project'
search_order: ['integration_tests', 'the_tuva_project']
seeds:
integration_tests:
appointment_seed:
# +post-hook: "{{ the_tuva_project.load_seed('tuva-public-resources/versioned_ci_testing_data/0.15.0','appointment.csv',headers=true) }}"
eligibility_seed:
# +post-hook: "{{ the_tuva_project.load_seed('tuva-public-resources/versioned_ci_testing_data/0.16.0','eligibility.csv',headers=true) }}"
immunization_seed:
# +post-hook: "{{ the_tuva_project.load_seed('tuva-public-resources/versioned_ci_testing_data/0.15.0','immunization.csv',headers=true) }}"
lab_result_seed:
# +post-hook: "{{ the_tuva_project.load_seed('tuva-public-resources/versioned_ci_testing_data/0.15.0','lab_result.csv',headers=true) }}"
medical_claim_seed:
+batch_size: 200
# +post-hook: "{{ the_tuva_project.load_seed('tuva-public-resources/versioned_ci_testing_data/0.15.0','medical_claim.csv',headers=true) }}"
observation_seed:
# +post-hook: "{{ the_tuva_project.load_seed('tuva-public-resources/versioned_ci_testing_data/0.15.0','observation.csv',headers=true) }}"
pharmacy_claim_seed:
# +post-hook: "{{ the_tuva_project.load_seed('tuva-public-resources/versioned_ci_testing_data/0.15.0','pharmacy_claim.csv',headers=true) }}"
provider_attribution_seed:
# +post-hook: "{{ the_tuva_project.load_seed('tuva-public-resources/versioned_ci_testing_data/0.15.0','provider_attribution.csv',headers=true) }}"
models:
integration_tests:
+materialized: ephemeral
flags:
require_generic_test_arguments_property: true