HealthElementApi class

Constructors

HealthElementApi(String _sdkId)

Properties

encrypted EncryptedHealthElementApi
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 TryAndRecoverHealthElementApi
final

Methods

createDelegationDeAnonymizationMetadata(HealthElement entity, Set<String> delegates) Future<void>
createHealthElement(DecryptedHealthElement entity) Future<DecryptedHealthElement>
createHealthElements(List<DecryptedHealthElement> entities) Future<List<DecryptedHealthElement>>
decrypt(EncryptedHealthElement healthElement) Future<DecryptedHealthElement>
decryptPatientIdOf(HealthElement healthElement) Future<Set<String>>
deleteHealthElement(HealthElement healthElement) Future<DocIdentifier>
deleteHealthElementById(String entityId, String? rev) Future<DocIdentifier>
deleteHealthElements(List<HealthElement> healthElements) Future<List<DocIdentifier>>
deleteHealthElementsByIds(List<IdWithMandatoryRev> entityIds) Future<List<DocIdentifier>>
filterHealthElementsBy(FilterOptions<HealthElement> filter) Future<PaginatedListIterator<DecryptedHealthElement>>
filterHealthElementsBySorted(SortableFilterOptions<HealthElement> filter) Future<PaginatedListIterator<DecryptedHealthElement>>
getEncryptionKeysOf(HealthElement healthElement) Future<Set<HexString>>
getHealthElement(String entityId) Future<DecryptedHealthElement>
getHealthElements(List<String> entityIds) Future<List<DecryptedHealthElement>>
hasWriteAccess(HealthElement healthElement) Future<bool>
matchHealthElementsBy(FilterOptions<HealthElement> filter) Future<List<String>>
matchHealthElementsBySorted(SortableFilterOptions<HealthElement> filter) Future<List<String>>
modifyHealthElement(DecryptedHealthElement entity) Future<DecryptedHealthElement>
modifyHealthElements(List<DecryptedHealthElement> entities) Future<List<DecryptedHealthElement>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgeHealthElement(HealthElement healthElement) Future<void>
purgeHealthElementById(String id, String rev) Future<void>
shareWith(String delegateId, DecryptedHealthElement healthElement, {HealthElementShareOptions? options}) Future<DecryptedHealthElement>
shareWithMany(DecryptedHealthElement healthElement, Map<String, HealthElementShareOptions> delegates) Future<DecryptedHealthElement>
subscribeToEvents(Set<SubscriptionEventType> events, FilterOptions<HealthElement> filter, {EntitySubscriptionConfiguration? subscriptionConfig}) Future<EntitySubscription<EncryptedHealthElement>>
toString() String
A string representation of this object.
inherited
tryDecrypt(EncryptedHealthElement healthElement) Future<HealthElement>
undeleteHealthElement(HealthElement healthElement) Future<DecryptedHealthElement>
undeleteHealthElementById(String id, String rev) Future<DecryptedHealthElement>
withEncryptionMetadata(DecryptedHealthElement? base, Patient patient, {User? user, Map<String, AccessLevel> delegates = const {}, SecretIdUseOption secretId = SecretIdUseOption.UseAnySharedWithParent}) Future<DecryptedHealthElement>

Operators

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