Skip to content

Commit 58d9672

Browse files
Update Missing Model from the HCC Suspecting Models Documentation (tuva-health#1215)
updating yml docs Co-authored-by: Andreas Martinson <amartinson193@gmail.com>
1 parent 4166e8c commit 58d9672

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

models/hcc_suspecting/hcc_suspecting_models.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ models:
1111
materialized: table
1212
description: >
1313
This final model displays the list of suspecting conditions per patient, data_source, hcc, and diagnosis code with the reason and contributing factors.
14+
It is filtered by current_year_billed.
1415
columns:
1516
- name: person_id
1617
description: Unique ID for the patient.
@@ -37,6 +38,48 @@ models:
3738
- name: tuva_last_run
3839
description: The date the model was run.
3940

41+
- name: hcc_suspecting__list_all
42+
config:
43+
schema: |
44+
{%- if var('tuva_schema_prefix',None) != None -%}{{var('tuva_schema_prefix')}}_hcc_suspecting{% else %}hcc_suspecting{%- endif -%}
45+
alias: list_all
46+
tags: hcc_suspecting
47+
materialized: table
48+
description: >
49+
This final model displays the list of suspecting conditions per patient, data_source, hcc, and diagnosis code with the reason and contributing factors.
50+
columns:
51+
- name: person_id
52+
description: Unique ID for the patient.
53+
- name: payer
54+
description: Name of the payer.
55+
- name: data_source
56+
description: >
57+
User-configured field that indicates the data source (e.g. typically named after the payer and state "BCBS Tennessee").
58+
- name: model_version
59+
description: The CMS model version of the HCC code.
60+
- name: hcc_code
61+
description: >
62+
HCC code from the latest CMS HCC model available in the mart.
63+
config:
64+
meta:
65+
terminology: https://thetuvaproject.com/value-sets/hcc-suspecting#hcc_descriptions
66+
- name: hcc_description
67+
description: >
68+
HCC description from the latest CMS HCC model available in the mart.
69+
- name: reason
70+
description: Standardized reason for the suspecting condition.
71+
- name: contributing_factor
72+
description: >
73+
Description of the contributing factor(s) for the suspecting condition.
74+
- name: suspect_date
75+
description: >
76+
Date when the suspecting condition, observation, result, etc. was recorded or billed.
77+
- name: current_year_billed
78+
description: >
79+
Flag indicating that the HCC has been billed during the payment year.
80+
- name: tuva_last_run
81+
description: The date the model was run.
82+
4083
- name: hcc_suspecting__list_rollup
4184
config:
4285
schema: |

0 commit comments

Comments
 (0)