frappe / changemakers

Beneficiary Management Platform, built on Frappe Framework.
https://frappe.io/products/changemakers
GNU Affero General Public License v3.0
74 stars 31 forks source link

feat: care centre #137

Closed hraza01 closed 11 months ago

hraza01 commented 12 months ago

Added care centre capability according to the following issues:

Care Centre form: 2023-10-28 at 11 37 27@2x

Care Centre Admission form: 2023-10-28 at 11 35 09

I've added logic for the following scenarios:

Care Centre document has a virtual DocField that calculates vacant beds on the fly. I've also added 2 shortcuts to the changemakers workspace that lead to Care Centre and Care Centre Admission DocTypes.

I haven't run any unit tests yet, but will work on it after I get a response.

Please let me know if something can be improved further.

Thanks

NagariaHussain commented 11 months ago

@hraza01 can you please add screenshots of the forms to the PR description?

hraza01 commented 11 months ago

@NagariaHussain Added screenshots now

NagariaHussain commented 11 months ago

@Nikhil-Jorge Can you please take a look at the forms?

Nikhil-Jorge commented 11 months ago

@hraza01 @NagariaHussain Looks Good. But I cant find it in staging - for testing.

Only 1 Addition - there need to be 3 Status : as Admitted, Hospitalised and Discharged.

'Hospitalised' is actually like admitted only. for 2 days or so - some beneficiaries might be in hospital but the but will be reserved. Rest looks fine. Let me know how can I see this in staging. Lets aim at deploying it on 7th in Bangalore instance.

hraza01 commented 11 months ago

@Nikhil-Jorge @NagariaHussain I've added the "Hospitalised" status in Care Centre Admission form now. It will also count towards bed capacity being reserved in a care centre.

2023-11-05 at 14 46 00@2x