Fixed missing medications list when initiated from an encounter/message.