Skip to content

Commit

Permalink
feat: few models addition and relevant docs
Browse files Browse the repository at this point in the history
  • Loading branch information
utsavpaudel committed Dec 13, 2024
1 parent cd973e8 commit 266bc3c
Show file tree
Hide file tree
Showing 5 changed files with 293 additions and 83 deletions.
20 changes: 20 additions & 0 deletions models/data_quality/acute_inpatient/_acute_inpatient_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,26 @@ models:
- data_quality_aip
materialized: table

- name: data_quality__pk_at_input_layer_summary
config:
schema: |
{%- if var('tuva_schema_prefix', None) != None -%}{{ var('tuva_schema_prefix') }}_data_quality
{% else %}data_quality{%- endif -%}
alias: pk_at_input_layer_summary
tags:
- data_quality_aip
materialized: table

- name: data_quality__pk_at_input_layer
config:
schema: |
{%- if var('tuva_schema_prefix', None) != None -%}{{ var('tuva_schema_prefix') }}_data_quality
{% else %}data_quality{%- endif -%}
alias: pk_at_input_layer
tags:
- data_quality_aip
materialized: table

- name: data_quality__pos_all
config:
schema: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ with all_aip_inst_claims as (
select
claim_id
from {{ ref('data_quality__aip_venn_diagram') }}
where rb_drg_bill = 1
where (drg = 1 or bill = 1)

)

Expand Down Expand Up @@ -115,4 +115,4 @@ select
, usable_facility_npi
, usable_rendering_npi
, '{{ var('tuva_last_run')}}' as tuva_last_run
from add_dq_problem_and_dq_insight_flags
from add_dq_problem_and_dq_insight_flags
Loading

0 comments on commit 266bc3c

Please sign in to comment.