划分句子成分可以帮助解决你的问题:
【Takenaccordingtotheinstruction过去分词短语,作状语,表示条件】,【themedicine主语】【willhave谓语】【apostiveeffect宾语】
关键:
固定短语——喝药takemedicine
使用过去分词短语,表明句子主语themedicine与该过去分词所表示的动作是【被动关系】,即【药被喝/服用】.
变换为状语从句更好理
Ifitistakenaccordingtotheinstruction,themedcine.
祝你开心如意!