I am developing a pyspark framework related to cohort selection and readmission detection. This will be used to reproduce the Surgeon Scorecard developed by Pro Publica. It will be an open source app that I want to publish to OHDSI.
I have a set of icd9 codes that indicate a diagnosis and a set of icd9 codes that indicate redadmittance for that diagnosis. I find these codes in the condition_occurrence table though I am not sure if that is the only table I need to look at? I am wondering how the procedure_occurrence table relates to these?
Are there are published codes or pseudo code for readmission detection on the medicare or OMOP data format? Or are all these proprietary?