We (@Vojtech_Huser) are producing an ETL to consume Medicaid data and produce a CDM. We are looking for the most recent version of code to produce era tables from clinical tables.
Thoughts?
I have several versions to consider:
https://github.com/OHDSI/CommonDataModel/blob/master/CodeExcerpts/DerivedTables/GenerateEra.sql#L228