It might be for some folk but I struggled to make it dynamic
Many thanks for the detailed example!
I was amazed at the complexity of your excellent solution. It is remarkably detailed and does everything I want. The output medication chart, saving to a database table and some sort of user login is still required and should be straight forward.
I have uploaded a menu of links to the web pages which can be seen here