working on medication view new to replace legacy view