Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate dbt test failure #50

Closed
katy-sadowski opened this issue Aug 6, 2024 · 2 comments · Fixed by #56
Closed

Investigate dbt test failure #50

katy-sadowski opened this issue Aug 6, 2024 · 2 comments · Fixed by #56
Assignees

Comments

@katy-sadowski
Copy link
Collaborator

We have 1 failing test on the seed dataset:

23:51:46 Completed with 1 error and 0 warnings:
23:51:46
23:51:46 Failure in test relationships_stg_synthea__claims_transactions_patient_insurance_id__member_id__ref_stg_synthea__payer_transitions_ (models/staging/synthea/_synthea__models.yml)
23:51:46 Got 4598 results, configured to fail if != 0

The issue seems to be a data issue in Synthea (I had marked member_id as an FK due to the note here: https://github.com/synthetichealth/synthea/wiki/CSV-File-Data-Dictionary#claims-transactions). We should investigate further.

@lawrenceadams
Copy link
Collaborator

Doing some digging, it looks like the table ClaimTransition.memberId is defined here, which in term returns the id here.

Following the trail leads us here - the documentation is very vague / plain incorrect, the CSV will yield the patient ID if they have a membership from here

@lawrenceadams
Copy link
Collaborator

synthetichealth/synthea#1508 issue raised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants