...
The CRUD operations (Create, Read, Update, Delete) for the medication scheme should can be looked at from 2 points of view:
...
Create/update the medication scheme
Create transaction MSE
Create transaction TS
Update transaction MS
Update transaction MSE
...