Class DicomIO.ReadStudyMetadata

java.lang.Object
org.apache.beam.sdk.transforms.PTransform<PCollection<String>,DicomIO.ReadStudyMetadata.Result>
org.apache.beam.sdk.io.gcp.healthcare.DicomIO.ReadStudyMetadata
All Implemented Interfaces:
Serializable, HasDisplayData
Enclosing class:
DicomIO

public static class DicomIO.ReadStudyMetadata extends PTransform<PCollection<String>,DicomIO.ReadStudyMetadata.Result>
This class makes a call to the retrieve metadata endpoint (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_metadata). It defines a function that can be used to process a Pubsub message from a DICOM store, read the DICOM study path and get the metadata of the specified study. You can learn how to configure PubSub messages to be published when an instance is stored by following: https://cloud.google.com/healthcare/docs/how-tos/pubsub. The connector will output a DicomIO.ReadStudyMetadata.Result which will contain metadata of the study encoded as a json array.
See Also:
  • Field Details

    • METADATA

      public static final TupleTag<String> METADATA
      TupleTag for the main output.
    • ERROR_MESSAGE

      public static final TupleTag<String> ERROR_MESSAGE
      TupleTag for any error response.
  • Method Details

    • expand

      Description copied from class: PTransform
      Override this method to specify how this PTransform should be expanded on the given InputT.

      NOTE: This method should not be called directly. Instead apply the PTransform should be applied to the InputT using the apply method.

      Composite transforms, which are defined in terms of other transforms, should return the output of one of the composed transforms. Non-composite transforms, which do not apply any transforms internally, should return a new unbound output and register evaluators (via backend-specific registration methods).

      Specified by:
      expand in class PTransform<PCollection<String>,DicomIO.ReadStudyMetadata.Result>