1/ Tuva's encounter grouper only groups claims. Your ADT encounters? Stacked next to them in core.encounter. Not matched. Not deduped. Same hospital stay in both feeds = 2 rows. 🧵
1
30
4/ Two flags, claims_enabled and clinical_enabled, gate each lane. When both are on, core.encounter is a plain union.
Filter on encounter_source_type every time, or you double-count every stay.
1
4
5/ Need one row per real visit? Build it downstream. Match on person + facility + overlapping dates. Dates are the hard part.
Full post with SQL:
blog.geeklogbook.com/posts/t…
// data engineering
>GLB_ #dbt #healthcaredata
13
Extension columns in Tuva propagate from an Input Layer Model to the same-named Core table. No error, no warning — just absent.
Not a bug. By design: blog.geeklogbook.com/posts/t…
#tuva
26
"Full risk" and "risk adjustment" share a word — not a mechanism.
One is who bears the cost risk. The other is how much gets paid (RAF/HCCs). They only touch at one point: a higher RAF just raises the number a full-risk org is exposed to.
blog.geeklogbook.com/posts/f…
#tuva
17
blog.geeklogbook.com/posts/w…
A dbt model can return 0 rows for a real error — and look completely fine. cms_hcc had two models disagreeing on what a member's payer was. Members who switched payers mid-year silently lost their entire risk score. No error. No null. >GLB_ #dbt #tuva
29
Built a healthcare data quality dashboard on top of the Tuva Project framework.
DuckDB + dbt + Streamlit. Deployed in one afternoon.
→ tuva-data-quality-6viesjjgpq…
// data engineering · healthcare
>GLB_ #dbt #healthcaredata
91
Trying to create a simple path where I can find where to add the gaps I would to check again I notice that I would be interesting to build in public this tracker for geek logbook: geeklogbook.com/materials/
27
Are NoSQL Databases Really Schema-less? - geeklogbook.com/are-nosql-da…
57
Geek Logbook retweeted
Get ready, because PyData Global 2025 will be returning to the virtual stage from Dec. 9-11! 🌐💚 hubs.la/Q03sGqgm0
The global PyData network promotes discussion of best practices, new approaches, and emerging technologies for data management, processing, analytics, and visualization. If you’d like to hear from a WORLD of data enthusiasts and share your computing stories right back, now’s your chance! Our CFP closes on July 28, submit now and let your voice be heard! hubs.la/Q03sGBNy0
Fixing Spark Ivy Error in Docker: “basedir must be absolute” - geeklogbook.com/title-fixing…
36
From HDFS to S3: The Evolution of Data Lakes in the Cloud - geeklogbook.com/from-hdfs-to…
26
geeklogbook.com/the-history-… - The History and Evolution of Amazon S3: Was It Ever Based on HDFS?
19
MapReduce: A Framework for Processing Unstructured Data - geeklogbook.com/mapreduce-a-…
17
geeklogbook.com/understandin… - Understanding .master() in Apache Spark
23
Running PySpark on Google Colab: Do You Still Need findspark? - geeklogbook.com/running-pysp…
21
Generating a Calendar Table in Power Query (M Language) - geeklogbook.com/generating-a…
18



