Adding existing medication to formulary causes quantity to be deleted

Description

Steps to reproduce:

1) Add existing medication to formulary
2) Change quantity to a number other than 0
3) Re-add the existing medication to formulary (without deleting it)
4) The quantities are reset to 0

I think the ideal behavior here is that medications don't show up to be re-added if they already exist

Environment

None

Status

Assignee

Unassigned

Reporter

Kevin Zurek

Priority

Medium