[ https://issues.apache.org/jira/browse/BEAM-9468?focusedWorklogId=403101&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-403101 ]
ASF GitHub Bot logged work on BEAM-9468: ---------------------------------------- Author: ASF GitHub Bot Created on: 13/Mar/20 19:17 Start Date: 13/Mar/20 19:17 Worklog Time Spent: 10m Work Description: lastomato commented on pull request #11107: [BEAM-9468] [WIP] add HL7v2IO and FhirIO URL: https://github.com/apache/beam/pull/11107#discussion_r392422555 ########## File path: sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/healthcare/FhirIO.java ########## @@ -0,0 +1,187 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.beam.sdk.io.gcp.healthcare; + +import com.google.api.services.healthcare.v1alpha2.model.HttpBody; +import com.google.auto.value.AutoValue; +import java.io.IOException; +import org.apache.beam.sdk.transforms.DoFn; +import org.apache.beam.sdk.transforms.PTransform; +import org.apache.beam.sdk.transforms.ParDo; +import org.apache.beam.sdk.values.PCollection; +import org.apache.beam.sdk.values.PDone; + +/** + * {@link FhirIO} provides an API for writing resources to <a + * href="https://cloud.google.com/healthcare/docs/concepts/fhir">Google Cloud Healthcare Fhir API. + * </a> + */ +public class FhirIO { Review comment: We can read from FHIR stores with the export API: https://cloud.google.com/healthcare/docs/reference/rest/v1beta1/projects.locations.datasets.fhirStores/export. Similarly, we should also support writing to FHIR store with the import API. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 403101) Time Spent: 40m (was: 0.5h) > Add Google Cloud Healthcare API IO Connectors > --------------------------------------------- > > Key: BEAM-9468 > URL: https://issues.apache.org/jira/browse/BEAM-9468 > Project: Beam > Issue Type: New Feature > Components: io-java-gcp > Reporter: Jacob Ferriero > Priority: Minor > Time Spent: 40m > Remaining Estimate: 0h > > Add IO Transforms for the HL7v2, FHIR and DICOM stores in the [Google Cloud > Healthcare API|https://cloud.google.com/healthcare/docs/] > HL7v2IO > FHIRIO > DICOMĀ -- This message was sent by Atlassian Jira (v8.3.4#803005)