opal
opal copied to clipboard
Remove the pass by reference logic to updating patient subrecords in patient detail views
At the moment patient.js copies over all properties of the first episode onto the patient (apart from id).
The panel logic them makes sure that all patient subrecords are looking/using the first episode.
This is incredibly confusing.
Potential solutions could include changing item to save with a patient. Others may also exist.