PatientPlatformApi class

Constructors

PatientPlatformApi(MethodChannel _methodChannel)

Properties

encrypted EncryptedPatientPlatformApi
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tryAndRecover TryAndRecoverPatientPlatformApi
getter/setter pair

Methods

createDelegationDeAnonymizationMetadata(String sdkId, Patient entity, Set<String> delegates) Future<void>
createPatient(String sdkId, DecryptedPatient patient) Future<DecryptedPatient>
createPatients(String sdkId, List<DecryptedPatient> patientDtos) Future<List<IdWithRev>>
decrypt(String sdkId, EncryptedPatient patient) Future<DecryptedPatient>
deletePatient(String sdkId, Patient patient) Future<DocIdentifier>
deletePatientById(String sdkId, String entityId, String rev) Future<DocIdentifier>
deletePatients(String sdkId, List<Patient> patients) Future<List<DocIdentifier>>
deletePatientsByIds(String sdkId, List<IdWithMandatoryRev> entityIds) Future<List<DocIdentifier>>
ensureEncryptionMetadataForSelfIsInitialized(String sdkId, Map<String, AccessLevel> sharingWith) Future<EncryptedPatient>
filterPatientsBy(String sdkId, FilterOptions<Patient> filter) Future<PaginatedListIterator<DecryptedPatient>>
filterPatientsBySorted(String sdkId, SortableFilterOptions<Patient> filter) Future<PaginatedListIterator<DecryptedPatient>>
forceInitializeExchangeDataToNewlyInvitedPatient(String sdkId, String patientId) Future<bool>
getConfidentialSecretIdsOf(String sdkId, Patient patient) Future<Set<String>>
getDataOwnersWithAccessTo(String sdkId, Patient patient) Future<EntityAccessInformation>
getEncryptionKeysOf(String sdkId, Patient patient) Future<Set<HexString>>
getPatient(String sdkId, String entityId) Future<DecryptedPatient>
getPatientResolvingMerges(String sdkId, String patientId, int? maxMergeDepth) Future<DecryptedPatient>
getPatients(String sdkId, List<String> patientIds) Future<List<DecryptedPatient>>
getSecretIdsOf(String sdkId, Patient patient) Future<Set<String>>
hasWriteAccess(String sdkId, Patient patient) Future<bool>
initializeConfidentialSecretId(String sdkId, DecryptedPatient patient) Future<DecryptedPatient>
matchPatientsBy(String sdkId, FilterOptions<Patient> filter) Future<List<String>>
matchPatientsBySorted(String sdkId, SortableFilterOptions<Patient> filter) Future<List<String>>
mergePatients(String sdkId, Patient from, DecryptedPatient mergedInto) Future<DecryptedPatient>
modifyPatient(String sdkId, DecryptedPatient entity) Future<DecryptedPatient>
modifyPatients(String sdkId, List<EncryptedPatient> patientDtos) Future<List<IdWithRev>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgePatient(String sdkId, Patient patient) Future<void>
purgePatientById(String sdkId, String id, String rev) Future<void>
shareAllDataOfPatient(String sdkId, String patientId, Map<String, Set<ShareAllPatientDataOptionsTag>> delegatesWithShareType) Future<ShareAllPatientDataOptionsResult>
shareWith(String sdkId, String delegateId, DecryptedPatient patient, PatientShareOptions? options) Future<DecryptedPatient>
shareWithMany(String sdkId, DecryptedPatient patient, Map<String, PatientShareOptions> delegates) Future<DecryptedPatient>
subscribeToEvents(String sdkId, Set<SubscriptionEventType> events, FilterOptions<Patient> filter, EntitySubscriptionConfiguration? subscriptionConfig) Future<EntitySubscription<EncryptedPatient>>
toString() String
A string representation of this object.
inherited
tryDecrypt(String sdkId, EncryptedPatient patient) Future<Patient>
undeletePatient(String sdkId, Patient patient) Future<Patient>
undeletePatientById(String sdkId, String id, String rev) Future<DecryptedPatient>
undeletePatients(String sdkId, List<IdWithMandatoryRev> ids) Future<List<DecryptedPatient>>
withEncryptionMetadata(String sdkId, DecryptedPatient? base, User? user, Map<String, AccessLevel> delegates) Future<DecryptedPatient>

Operators

operator ==(Object other) bool
The equality operator.
inherited