At any time the admin may decide that a certain medication is no longer depleting a nutrient, or a product is no longer helping with a depletion etc etc
but the intial report that was given to the visitor must be available..
So if the admin decides that viagra no longer depletes vita B, he will make the necessary to the other tables,but the table that stored the assessment
must still show that depletion, so if the client was taking viagr ,basically we will not tamper with the information that we initially presented to the visitor..
Hi, IMHO you should use the following tables:
'medication_assessment' table:
Code:
patient_id (PK) (FK)
medication_id (PK) (FK)
nutrient_id (PK) (FK)
describes what Medication was given to the Patient to deplete what Nutrients
'nutrient_assessment' table:
Code:
patient_id (PK) (FK)
nutrient_id (PK) (FK)
product_id (PK) (FK)
describes what Nutrient was given to the Patient in what Products
Bookmarks