GetDICOMImportJob
Source:
src/AWS/MedicalImaging/GetDICOMImportJob.ts
Runtime binding for the GetDICOMImportJob operation (IAM action
medical-imaging:GetDICOMImportJob), scoped to one Datastore.
Reads the properties of a DICOM import job started with
StartDICOMImportJob — poll jobProperties.jobStatus until
COMPLETED (or FAILED), then review the output manifests at
outputS3Uri for per-object results. Provide the implementation with
Effect.provide(AWS.MedicalImaging.GetDICOMImportJobHttp).
Importing DICOM Data
Section titled “Importing DICOM Data”const getImportJob = yield* MedicalImaging.GetDICOMImportJob(datastore);
const job = yield* getImportJob({ jobId }).pipe( Effect.map((r) => r.jobProperties), Effect.repeat({ schedule: Schedule.spaced("10 seconds"), until: (j) => j.jobStatus !== "SUBMITTED" && j.jobStatus !== "IN_PROGRESS", times: 30, }),);