DataSampleApiImpl class

Inheritance

Constructors

DataSampleApiImpl(MedTechApi api)

Properties

api MedTechApi
final
apiClient ApiClient
finalinherited
contactsLinkedToDataSamplesCache CachedMap<String, DecryptedContactDto>
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
uuid → Uuid
final

Methods

createDelegationBasedOn(Crypto localCrypto, String dataOwnerId, String delegatedTo, String objectId, String encKey) Future<DelegationDto>
createOrModifyDataSampleFor(String patientId, DataSample dataSample) Future<DataSample?>
Create or update a DataSample for a patient
override
createOrModifyDataSamplesFor(String patientId, List<DataSample> dataSample) Future<List<DataSample>?>
Create or update a batch of DataSample for a patient
override
deleteAttachment(String dataSampleId, String documentId) Future<String?>
Delete an attachment of a DataSample
override
deleteDataSample(String dataSampleId) Future<String?>
Delete a DataSample by its id
override
deleteDataSamples(List<String> requestBody) Future<List<String>?>
Delete a batch of Data Samples
override
filterDataSample(Filter<DataSample> filter, {String? nextDataSampleId, int? limit}) Future<PaginatedListDataSample?>
Find data samples using the provided filter.
override
getDataSample(String dataSampleId) Future<DataSample?>
Get a DataSample by its id
override
getDataSampleAttachmentContent(String dataSampleId, String documentId, String attachmentId) Future<MultipartFile?>
Get attachment content of a DataSample
override
getDataSampleAttachmentDocument(String dataSampleId, String documentId) Future<Document?>
Get document metadata of a DataSample attachment
override
giveAccessTo(DataSample dataSample, String delegatedTo) Future<DataSample>
Give access to another dataOwner to the DataSample
override
matchDataSample(Filter filter) Future<List<String>?>
Find data samples ids using the provided Filter.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDataSampleAttachment(String dataSampleId, ByteStream body, {String? documentName, String? documentVersion, String? documentExternalUuid, String? documentLanguage}) Future<Document?>
Add or update the attachment of a DataSample
override
toString() String
A string representation of this object.
inherited

Operators

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