OHDSI / dbt-synthea

[Under development] A dbt ETL project to convert a Synthea synthetic data set into the OMOP CDM
https://ohdsi.github.io/dbt-synthea/
Apache License 2.0
16 stars 6 forks source link

Add additional stg models #32

Closed burrowse closed 5 months ago

burrowse commented 5 months ago

@katy-sadowski I thought it would be easier to get some additional stage models into your branch (incorporating your macro and pre commit requirements) as opposed to a PR directly into main (with those files copied in anyway).

katy-sadowski commented 5 months ago

btw I checked the test failures - i was able to fix 3 of them by updating the provider ID datatype in one of the seeds, and NULLing out some 0s they had put in the payer ID foreign key column. the member ID failure seems to be a data issue (i had marked it as an FK due to the note here: https://github.com/synthetichealth/synthea/wiki/CSV-File-Data-Dictionary#claims-transactions). i'll keep looking into this, and if there's no clear solution we can probably just remove the test.