First to run python manage.py historical data
Model:BedDetailed
python manage.py bedshistory
you can get detailed beds history of any hospital by year (in the code it contained 2018 for each month otherwise too much data to load, you can change the param int(match.group(2)) > 2017), month, department
36
39
41 can be acheived by searching for hospital = xxx, year = xxx, month = xxx, department =xxx, beds isn't null (this can be done in frontend)
First to run python manage.py historical data Model:BedDetailed python manage.py bedshistory you can get detailed beds history of any hospital by year (in the code it contained 2018 for each month otherwise too much data to load, you can change the param int(match.group(2)) > 2017), month, department
36
39
41 can be acheived by searching for hospital = xxx, year = xxx, month = xxx, department =xxx, beds isn't null (this can be done in frontend)