ClassificationApi class

Constructors

ClassificationApi(String _sdkId)

Properties

encrypted EncryptedClassificationApi
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tryAndRecover TryAndRecoverClassificationApi
final

Methods

createClassification(DecryptedClassification entity) Future<DecryptedClassification>
createDelegationDeAnonymizationMetadata(Classification entity, Set<String> delegates) Future<void>
decrypt(EncryptedClassification classification) Future<DecryptedClassification>
decryptPatientIdOf(Classification classification) Future<Set<String>>
deleteClassification(String entityId) Future<DocIdentifier>
deleteClassifications(List<String> entityIds) Future<List<DocIdentifier>>
filterClassificationsBy(FilterOptions<Classification> filter) Future<PaginatedListIterator<DecryptedClassification>>
filterClassificationsBySorted(SortableFilterOptions<Classification> filter) Future<PaginatedListIterator<DecryptedClassification>>
getClassification(String entityId) Future<DecryptedClassification>
getClassifications(List<String> entityIds) Future<List<DecryptedClassification>>
getEncryptionKeysOf(Classification classification) Future<Set<HexString>>
hasWriteAccess(Classification classification) Future<bool>
matchClassificationsBy(FilterOptions<Classification> filter) Future<List<String>>
matchClassificationsBySorted(SortableFilterOptions<Classification> filter) Future<List<String>>
modifyClassification(DecryptedClassification entity) Future<DecryptedClassification>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shareWith(String delegateId, DecryptedClassification classification, {ClassificationShareOptions? options}) Future<DecryptedClassification>
shareWithMany(DecryptedClassification classification, Map<String, ClassificationShareOptions> delegates) Future<DecryptedClassification>
toString() String
A string representation of this object.
inherited
tryDecrypt(EncryptedClassification classification) Future<Classification>
withEncryptionMetadata(DecryptedClassification? base, Patient patient, {User? user, Map<String, AccessLevel> delegates = const {}, SecretIdUseOption secretId = SecretIdUseOption.UseAnySharedWithParent}) Future<DecryptedClassification>

Operators

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