Hi, so i want to make an application that can count drag dose. In this screen there are several checkboxes that contain patient’s diseases. I want to make, if the user is checked the box, so the app can count the dose with this formula:
dose x patient’s weight
and show the result in the next screen. Can anyone show me how the block is?
So as example for better understanding… what is the dose for each of those diseases? Where do you store these data? What happens, if more than one checkbox is checked?
Taifun
so if the checkbox is checked, in the next screen will appear the dosage result. for example i checked the chough checkbox then in the next screen will appear:
Cough: Ambroxol 15 mg
we can get the dosage from multiplying the dose/kg with the patient weight (the user will input patient weight manually in this screen). The user can checked multiple checkboxes.
what is the dose/kg for each of the diseases (cough, cold, fever, checken pox, ulcer, helminthiasis)?
are those 7 diseases all possible disesases of this app or are there more?
where do you store those dose/kg values?
the medicament always is Ambroxol for those 7 diseases?
for others there are other medicaments to be used? can there be a mix of different medicaments for one disease?
so let’s assume, for cough we have 0.2 doses/kg of Ambroxol and for fever we have 0.1 doses/kg of Ambroxol, both checkboxes have been checked and the patient does weigh 60kg, so we have 0.3 doses/kg x 60 = 18 doses
why not displaying it in the same screen?
see tip 1
so each diseases have their own medicaments with different dose.
No, so if we have 0.2 doses/kg of Ambroxol and for fever we have 0.1 doses/kg of Ambroxol, both checkboxes have been checked and the patient does weigh 60kg, so it will appear
Cough
Ambroxol 12 mg
fever
Ibuprofen 6 mg
i dont put it in the same screen because in the next screen there will be like patient’s record for the patient (like the name of the patient, address, age, etc.)