tapios / risk-networks

Code for risk networks: a blend of compartmental models, graphs, data assimilation and semi-supervised learning
Other
2 stars 2 forks source link

HealthService to handle patient movements due to hospitalization #52

Closed odunbar closed 4 years ago

odunbar commented 4 years ago

Implements a HealthService class with method discharge_and_obtain_patients

Given a set of statuses this implements the old methods of KineticModel : vacate_hospital_bed and populate_hospital_bed , independently from the KineticModel simulator. Implemented in example simulate_kinetic_model.py

Addresses (2.) in #50

glwagner commented 4 years ago

I think this will conflict with #51 . Which should we merge first?

odunbar commented 4 years ago

I think #51 first, then this. I only remove a few arguments from constructors etc so will be an easy fix either way