HealthElementApi class

Constructors

HealthElementApi.new(String _sdkId, Object _dartSdk)

Properties

encrypted HealthElementEncryptedApi
final
hashCode int
The hash code for this object.
no setterinherited
inGroup HealthElementInGroupApi
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tryAndRecover HealthElementTryAndRecoverApi
final

Methods

createDelegationDeAnonymizationMetadata(HealthElement entity, Set<String> delegates) Future<void>
createHealthElement(DecryptedHealthElement entity) Future<DecryptedHealthElement>
createHealthElements(List<DecryptedHealthElement> entities) Future<List<DecryptedHealthElement>>
decrypt(List<EncryptedHealthElement> healthElements) Future<List<DecryptedHealthElement>>
decryptPatientIdOf(HealthElement healthElement) Future<Set<EntityReferenceInGroup>>
deleteHealthElement(HealthElement healthElement) Future<StoredDocumentIdentifier>
deleteHealthElementById(String entityId, String rev) Future<StoredDocumentIdentifier>
deleteHealthElements(List<HealthElement> healthElements) Future<List<StoredDocumentIdentifier>>
deleteHealthElementsByIds(List<StoredDocumentIdentifier> entityIds) Future<List<StoredDocumentIdentifier>>
encryptOrValidate(List<HealthElement> healthElements) Future<List<EncryptedHealthElement>>
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(List<EncryptedHealthElement> healthElements) Future<List<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