I\'ve read this question and understood the referenced foreign keys to be unique, but somehow the table designs are not making senses:
CREATE TABLE medication (