Copy consent in referral form registration wizard
In the referral form registration wizard there is a function that allows the operator to copy consent information from a previously registered case or blood item. This functionality is only active when registering a new case and since there can only be two cases connected to the same patient the existing case with a consent must have a different SCANB-ID. When checking for a blood item, we only search for an item with the same SCANB-ID, so if there is a consent we should prefer to copy that instead of the consent on the case item.
The "Copy consent" function was first developed in #349 and assumed that only a single consent was submitted for bi-lateral cases, but now it seems like there can be one consent for each side.