modifyPotentiallyEncryptedPatient abstract method

Future<PotentiallyEncryptedPatient?> modifyPotentiallyEncryptedPatient(
  1. PotentiallyEncryptedPatient modifiedPatient
)

Modifies a potentially encrypted patient, ensuring that if the patient could not be decrypted there was no change to data which should be encrypted according to the current api configuration. Similarly to getPatientAndTryDecrypt this method is useful when a patient needs to update is own data before an hcp gave him access to his own encrypted data.

Implementation

Future<PotentiallyEncryptedPatient?> modifyPotentiallyEncryptedPatient(PotentiallyEncryptedPatient modifiedPatient,);