Documentation ¶
Overview ¶
Package fhirio provides an API for reading and writing resources to Google Cloud Healthcare Fhir stores. Experimental.
Package fhirio provides an API for reading and writing resources to Google Cloud Healthcare Fhir stores. Experimental.
Index ¶
Constants ¶
const (
UserAgent = "apache-beam-io-google-cloud-platform-healthcare/" + core.SdkVersion
)
Variables ¶
This section is empty.
Functions ¶
func Read ¶
func Read(s beam.Scope, resourcePaths beam.PCollection) (beam.PCollection, beam.PCollection)
Read fetches resources from Google Cloud Healthcare FHIR stores based on the resource path. It consumes a PCollection<string> of notifications from the FHIR store of resource paths, and fetches the actual resource object on the path in the notification. It outputs two PCollection<string>. The first contains the fetched object as a JSON-encoded string, and the second is a dead-letter with an error message, in case the object failed to be fetched. See: https://cloud.google.com/healthcare-api/docs/how-tos/fhir-resources#getting_a_fhir_resource.
Types ¶
This section is empty.