Class FhirIO.Import

All Implemented Interfaces:
Serializable, HasDisplayData
Enclosing class:
FhirIO

public static class FhirIO.Import extends FhirIO.Write
Writes each bundle of elements to a new-line delimited JSON file on GCS and issues a fhirStores.import Request for that file. This is intended for batch use only to facilitate large backfills to empty FHIR stores and should not be used with unbounded PCollections. If your use case is streaming checkout using FhirIO.ExecuteBundles to more safely execute bundles as transactions which is safer practice for a use on a "live" FHIR store.
See Also:
  • Method Details

    • expand

      public FhirIO.Write.Result expand(PCollection<String> input)
      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).

      Overrides:
      expand in class FhirIO.Write