Class DicomIO

java.lang.Object
org.apache.beam.sdk.io.gcp.healthcare.DicomIO

public class DicomIO extends Object
The DicomIO connectors allows Beam pipelines to make calls to the Dicom API of the Google Cloud Healthcare API (https://cloud.google.com/healthcare/docs/how-tos#dicom-guide).

Reading Study-Level Metadata

The study-level metadata for a dicom instance can be read with DicomIO.ReadStudyMetadata. Retrieve the metadata of a dicom instance given its store path as a string. This will return a DicomIO.ReadStudyMetadata.Result. You can fetch the successful calls using getReadResponse(), and any failed reads using getFailedReads().

Example

Pipeline p = ... String webPath = ... DicomIO.ReadStudyMetadata.Result readMetadataResult = p .apply(Create.of(webPath)) PCollection<String> goodRead = readMetadataResult.getReadResponse() PCollection<String> failRead = readMetadataResult.getFailedReads()
  • Constructor Details

    • DicomIO

      public DicomIO()
  • Method Details