Tools for parsing and printing FHIR JSON.
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.
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.
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for google_fhir-0.7.3-py3-none-any.whl