[OE-4000] Move medication js to separate file.
[OE-4000] Make reason for stopping clearer.
wip