Medications can't be removed from old formulary

Description

To reproduce:

1) Be a user on multiple trips
2) Try to remove a medication from a trip that is not the most recent

This seems to fail ~75% of the time. If the exact same medication is in the newest trip AND an older trip, deleting the old medication will remove the medication from the newest trip.

Environment

None

Status

Assignee

Unassigned

Reporter

Kevin Zurek

Labels

Priority

High
Configure