Topic: Hello (i need some help)
Hello,
I`m new in programing, and I`m trying to make a project (program).
To start up, I will try to explain my best way how it will be, and with hope I will get some help to make it.
Data I have:
client - (first name, last name, date_start, date_end)
medical - procedure_1, procedure_2 ... procedure_9)
now every procedure haves a time ( example: procedure_1 = 10 minute + 2 minute = 12 minute )
time between procedures must have a brake of 30 min (example: after procedure_1, pause 30 min then make procedure_2)
My question can i make it to automatically set for 1 patient the hours for every procedures and not overlapping with another patient.
Example:
patient_1 starts treatment 10.09.2017 ends at 19.09.2017
- procedure_1 = 10.09.2017 at 10:00 ends 10.09.2017 at 10:12
- procedure_3 = 10.09.2017 at 10:52 ends 10.09.2017 at 11:04
.....
- procedure_1 = 19.09.2017 at 10:00 ends 19.09.2017 at 10:12
- procedure_3 = 19.09.2017 at 10:52 ends 19.09.2017 at 11:04
patient_2 starts treatment 11.09.2017 ends at 18.09.2017
- procedure_1 = 11.09.2017 at 10:12 ends 11.09.2017 at 10:24
- procedure_3 = 11.09.2017 at 11:04 ends 11.09.2017 at 11:16
.....
- procedure_1 = 18.09.2017 at 10:12 ends 18.09.2017 at 10:24
- procedure_3 = 18.09.2017 at 11:04 ends 18.09.2017 at 11:16
To mentions some procedures haves 6 appliances so i can add up to 6 patients at the same hour, some have only one.
Now can some one help me .. i try to make it, but I'm stuck, i read most of the guides.. but cant find something similar. if u can help me with guide or something similar.
Thanks in advance.