Move medication category section to new program.

Since "medcat" section wasn't working, write new program from scratch.