Skip to main content

Tools for parsing and printing FHIR JSON.

Project description

Google FhirProto

Introduction

This is the Python3 distribution for Google FhirProto.

FhirProto is Google's implementation of the FHIR Standard for Health Care data using Protocol Buffers. By leveraging Google’s core data storage format, FhirProto provides a type-safe, strongly validated FHIR format with cross-language support at a fraction of the size on disk, making it a great data model to develop your Health Care application on. Structured Codes and Extensions guarantee that your data will be in the correct format. Support for generating and validating against custom Implementation Guides allow you to customize FhirProto to your dataset and requirements. Parsing and Printing libraries make it easy to go back and forth between FhirProto format and JSON.

Getting Started

Installation

You can install the Python3 distribution of FhirProto with for use with Python interpreters >=3.6, <3.9 using the pip package manager. We strongly recommend installing into a Python3 virtual environment, such as venv:

python3 -m venv fhir
source fhir/bin/activate

pip install --upgrade setuptools
pip install google-fhir

Examples and Documentation

We think the best way to get an idea of how FhirProto works is to get in and start playing with it. To that end, we provide https://github.com/google/fhir-examples. This repo contains a script for using Synthea to create a synthetic FHIR JSON dataset, and then shows some examples of parsing, printing, validating, profiling and querying. The repo also contains a walkthrough of many of the examples.

A Reference User Guide with in-depth descriptions of different concepts can be found here.

Trademark

FHIR® is the registered trademark of HL7 and is used with the permission of HL7. Use of the FHIR trademark does not constitute endorsement of this product by HL7.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google-fhir-0.7.3.tar.gz (3.3 MB view hashes)

Uploaded source

Built Distribution

google_fhir-0.7.3-py3-none-any.whl (3.6 MB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page