Skip to content

SearchImageSets

Source: src/AWS/MedicalImaging/SearchImageSets.ts

Runtime binding for the SearchImageSets operation (IAM action medical-imaging:SearchImageSets), scoped to one Datastore.

Searches the data store’s image sets by DICOM attributes (patient id, accession number, study/series instance UID, study date/time) or by created/updated timestamps. Omit searchCriteria to page through every image set. Provide the implementation with Effect.provide(AWS.MedicalImaging.SearchImageSetsHttp).

Search by Patient Id

const searchImageSets = yield* MedicalImaging.SearchImageSets(datastore);
const results = yield* searchImageSets({
searchCriteria: {
filters: [{ operator: "EQUAL", values: [{ DICOMPatientId: patientId }] }],
},
});
// results.imageSetsMetadataSummaries[i].imageSetId

List Every Image Set

const results = yield* searchImageSets();