Users reporting errors when looking up a patient on Medical or Pharmacy. To reproduce:
1) Create a Trip
2) Assign your user account to that trip
3) Add some inventory to that trip
4) Create a patient encounter and see the patient in Medical. Prescribe the patient a medication from the inventory and DO NOT assign an amount in the prescription. Click Submit
5) Try to view the patient in Medical or Pharmacy
This was tested on encounters for a patient that are not the patient's first encounter.