Elmobram22
Registered User.
- Local time
- Today, 13:22
- Joined
- Jul 12, 2013
- Messages
- 165
Hi all,
I am wondering of a way to create a calculator for adding up how much medication someone has at any given time.
For example.
If Bill collects 28 days supply of medication on a monday morning consisting of...
Paracetamol 500mg x 224 (two to be taken at breakfast, dinner, teatime and bedtime)
Ibuprofen 200mg x 56 (one to be taken breakfast and bedtime)
Vitamin D tablet x 28 (one to be taken at bedtime)
I want a calculation so if i go to spot check his medication on the 12th day of the 28 day cycle at 6pm it can calculate exactly how many of each medication he should have left. As for that day, at 6pm he would have already taken 6 paracetamols and 1 ibuprofen although if I had checked at 10am then he would have taken two paracetamol and one ibuprofen. I know this is feesable to do but could do with a starting block as to the best way to go about this.
I currently have all the data within a database but no real links to times or dates.
Cheers,
Paul
I am wondering of a way to create a calculator for adding up how much medication someone has at any given time.
For example.
If Bill collects 28 days supply of medication on a monday morning consisting of...
Paracetamol 500mg x 224 (two to be taken at breakfast, dinner, teatime and bedtime)
Ibuprofen 200mg x 56 (one to be taken breakfast and bedtime)
Vitamin D tablet x 28 (one to be taken at bedtime)
I want a calculation so if i go to spot check his medication on the 12th day of the 28 day cycle at 6pm it can calculate exactly how many of each medication he should have left. As for that day, at 6pm he would have already taken 6 paracetamols and 1 ibuprofen although if I had checked at 10am then he would have taken two paracetamol and one ibuprofen. I know this is feesable to do but could do with a starting block as to the best way to go about this.
I currently have all the data within a database but no real links to times or dates.
Cheers,
Paul