DataSampleApi class abstract

Implementers

Constructors

DataSampleApi([ApiClient? apiClient])

Properties

apiClient ApiClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createOrModifyDataSampleFor(String patientId, DataSample dataSample) Future<DataSample?>
Create or update a DataSample for a patient
createOrModifyDataSamplesFor(String patientId, List<DataSample> dataSample) Future<List<DataSample>?>
Create or update a batch of DataSample for a patient
deleteAttachment(String dataSampleId, String documentId) Future<String?>
Delete an attachment of a DataSample
deleteDataSample(String dataSampleId) Future<String?>
Delete a DataSample by its id
deleteDataSamples(List<String> requestBody) Future<List<String>?>
Delete a batch of Data Samples
filterDataSample(Filter<DataSample> filter, {String? nextDataSampleId, int? limit}) Future<PaginatedListDataSample?>
Find data samples using the provided filter.
getDataSample(String dataSampleId) Future<DataSample?>
Get a DataSample by its id
getDataSampleAttachmentContent(String dataSampleId, String documentId, String attachmentId) Future<MultipartFile?>
Get attachment content of a DataSample
getDataSampleAttachmentDocument(String dataSampleId, String documentId) Future<Document?>
Get document metadata of a DataSample attachment
giveAccessTo(DataSample dataSample, String delegatedTo) Future<DataSample>
Give access to another dataOwner to the DataSample
matchDataSample(Filter filter) Future<List<String>?>
Find data samples ids using the provided Filter.
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
toString() String
A string representation of this object.
inherited

Operators

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