Closed jeffeastman closed 4 years ago
There's a glitch in the ICU_Oxygen reason which refers to "Select Condition/Enter Attribute".
Thanks, fixed. I'll commit that in a short while.
Another glitch in Intubation reason which refers to "Respiratory Failure" when patient is in Septic Shock but Mild Respiratory Distress. Probably should refer to "Ventilator Reason" instead.
Thanks, fixed. I'll commit that in a short while.
Did you change the mortality rates? Because we're seeing much higher death rates (far too high), which I'm actually working on at the moment.
No recent changes in your mortality risks. The percentages are fixed in determine_risk to be 80/20 survival/mortality. Not sure why your modules don't show higher mortality when I run in my framework. Could be a defect in my delayed death implementation. I'll look into that.
My model uses transition tables that factor age & comorbidity risk into the mortality decision. That where you're heading?
I saw a death rate of like 34% of the infected synthetic population, in one analysis of the synthetic data. Which is too high. Above you are showing 1.1% of the infected.
Something's amiss indeed. I thought it was in my Death state but that's not the issue. AFAICT admission module only transitions to "Death" from two states: "Compassionate Care" & "Determine Discharge". I'm looking deeper to see if one of them could be doing something wrong.
Ah ha, your "Death" state doesn't have a condition_onset or referenced_by_attribute so I have no Code for death reason and my framework is looking for that. I'll work around that and update your numbers.
How's this compare with your results?
Testing Rate = 87.1% (Total Tested / Total Infected)
Total Deaths = 2937
Age[0-9] = 27.6% of 1166 tested
Age[10-19] = 27.2% of 1164 tested
Age[20-29] = 28.7% of 1352 tested
Age[30-39] = 26.4% of 1282 tested
Age[40-49] = 29.4% of 1270 tested
Age[50-59] = 36.7% of 1298 tested
Age[60-69] = 38.1% of 914 tested
Age[70-79] = 40.0% of 565 tested
Age[80-89] = 34.2% of 307 tested
Age[90-99] = 43.0% of 93 tested
Age[100-109] = 42.9% of 7 tested
Observed Mortality Rate = 31.2% of tested
Actual Mortality Rate = 27.2% of infected
Digging a little deeper to see why I got any mortality at all, it turns out that the Infection module's Death state does have a condition_onset reference and it's Code is the one I was detecting, so mild cases sent home can die too and that was the source of my low mortality %. (I can only imagine what your brain must be like keeping this all straight ;-)
PriorStates [Death, Wait for Death, End Encounter and Discharge Home, Self Isolation At Home, Diagnosed COVID, Administer COVID-19 Test Positive, End Exposure, End Plan, Wait for Test, Isolation, Severity Assessment, Respiratory Virus Panel Not Detected, Child or Immunocompromised, Apply Face Mask to Patient, Suspected COVID, Acetaminophen, Take Temperature, Terminal, Fever Onset, Fever, Determine Fever, Determine Chills, Joint Pain Onset, Joint Pain, Muscle Pain Onset, Muscle Pain, Determine Myalgia or Arthralgia, Determine Diarrhea, Determine Nausea or Vomiting, Shortness of Breath Onset, Shortness of Breath, Determine Shortness of Breath, Determine Hemoptysis, Determine Fatigue, Sputum Production Onset, Sputum Production, Determine Sputum Production, Determine Sore Throat, Cough Onset, Cough, Determine Cough, Determine Headache, Determine Nasal Congestion, Determine Conjunctival Congestion, Initial, Catalog Symptoms, Encounter for Test, Terminal, Survival: Non-Survivor, Determine Survival, Mild Severity, Determine Severity, Set_High_Risk, Assess_Comorbidities, Initial, Determine Risk, Initial, ]
And finally, when I added "condition_onset": "Diagnosed COVID" to the infection module's Death state I can remove my workaround and get the same results as above. (Whew!)
Should be addressed in covid19
with https://github.com/synthetichealth/synthea/commit/3eb972e39941ad9f120835485f13c028619b22b3
Also, I found a bug in our exporter that was dropping cause of death from being exported a vast majority of the time...
There's a glitch in the Admission module's ICU_Oxygen reason which refers to "Select Condition/Enter Attribute". Looks like this is just an incomplete builder field but it throws an error in PatientGen. I'm removing it for now but there likely is a reason for this Procedure that could be filled in.
Another glitch in Intubation reason which refers to "Respiratory Failure" when patient is in Septic Shock but Mild Respiratory Distress. Probably should refer to "Ventilator Reason" instead.
With these fixes in place, I get the following results: