Fixed saving of assignedMedicament