Reference patterns

This page provides links to sample code and technical reference guides for common Cloud Healthcare API use cases. Use these resources to learn, identify best practices, and leverage sample code to build the features that you need.

The reference patterns listed here are code-oriented and meant to get you quickly to implementation. To see a broader range of Cloud Healthcare API solutions, review the list of Cloud Healthcare API technical reference guides.

Interoperability

Solution Description Links
Convert HL7v2 messages to FHIR resources

Learn how to ingest an HL7v2 message from an electronic health record (EHR) and transform it to a FHIR resource using the Cloud Healthcare API, Dataflow, and Whistle.

Blog post: Advancing healthcare with the Healthcare Interoperability Readiness Program

Sample code: Healthcare data harmonization HL7v2 to FHIR configurations

Sample data: Simulated Hospital

Convert FHIR resources to OMOP

Learn how to convert a FHIR resource to the Observational Medical Outcomes Partnership (OMOP) data model using the Cloud Healthcare API, Whistle, and BigQuery.

Blog post: Powering open source healthcare research on Google Cloud

Sample code: FHIR to OMOP CDM: mapping guide

Public dataset: Synthetic patient data in OMOP