{"id":15454797,"url":"https://github.com/google/fhir-py","last_synced_at":"2025-04-12T20:47:23.552Z","repository":{"id":58734550,"uuid":"530754295","full_name":"google/fhir-py","owner":"google","description":"Python utilities for working with FHIR, including libraries to build simple, flat FHIR views in BigQuery.","archived":false,"fork":false,"pushed_at":"2024-12-03T16:41:52.000Z","size":2251,"stargazers_count":84,"open_issues_count":6,"forks_count":14,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-12T20:47:08.699Z","etag":null,"topics":["bigquery","fhir","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-30T17:10:28.000Z","updated_at":"2025-03-07T05:07:15.000Z","dependencies_parsed_at":"2023-09-25T12:25:52.744Z","dependency_job_id":"539d143d-2bd4-4683-bbe2-cf0383652ebf","html_url":"https://github.com/google/fhir-py","commit_stats":{"total_commits":340,"total_committers":20,"mean_commits":17.0,"dds":0.6852941176470588,"last_synced_commit":"6e3693920fdd8a65673e1344978593674b6cfa0f"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Ffhir-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Ffhir-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Ffhir-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Ffhir-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/fhir-py/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631718,"owners_count":21136559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bigquery","fhir","python"],"created_at":"2024-10-01T22:05:53.194Z","updated_at":"2025-04-12T20:47:23.529Z","avatar_url":"https://github.com/google.png","language":"Python","readme":"\nGoogle's tools for working with FHIR data in Python. This includes:\n\n* Support for converting FHIR data to and from an efficient Protocol Buffer-based format.\n* Support for creating and analyzing views over large FHIR datasets. See the [Google FHIR Views](google-fhir-views/README.md) documentation and [notebook examples](examples) for details.\n\nThis is not an officially supported Google product.\n\n# Installation\n\n__Note: Requires Python \u003e= `3.8`.__\n\nThese libraries are installed via pip.\n\n## From PyPi\n\nUsers interested in FHIR Views and the underlying libraries can simply run the\nfollowing to install the views library, BigQuery, Spark and FHIR R4 dependencies:\n\n```\npip install google-fhir-views[r4,bigquery,spark]\n```\n\nUsers who only need the BigQuery or Spark runners can run:\n\n```\npip install google-fhir-views[r4,bigquery]\n```\n\nor\n\n```\npip install google-fhir-views[r4,spark]\n```\nrespectively, to reduce the installation size.\n\nNote: If installing for use in a Jupyter notebook, it's best `pip install ...` _before_ starting the notebook kernel to avoid dependency version issues.\n\nUsers looking for only the underlying FHIR Protocol Buffer support can\nrun `pip install google-fhir-r4` to retrieve only that and its dependencies.\n\n## From source code\nThis can be installed locally, directly from source by running the following\ncommands in this directory. As always, doing so within a Python virtual\nenvironment is recommended.\n\n### protoc installation prerequisite\nThis library generates Protocol Buffers for FHIR resources, so the protoc\nexecutable must be available. This can be done on Linux by running:\n\n```\napt install protobuf-compiler\nprotoc --version # Ensure version 3+\n```\n\nOr on MacOS with Homebrew:\n\n```\nbrew install protobuf\nprotoc --version # Ensure version 3+\n```\n\nWindows users can download protoc releases [here](https://github.com/protocolbuffers/protobuf/releases).\n\n### pip installation\nOnce protoc is available, the fhir-py libraries can be installed from source by\nrunning the following in the fhir-py directory:\n\n```\npip install ./google-fhir-core[bigquery,spark]\npip install ./google-fhir-r4\npip install ./google-fhir-views[r4,bigquery,spark]\n```\n\nSee the [Google FHIR Views](google-fhir-views/README.md) documentation for\ndetails on use.\n\n# Contributors\n\nDue to the nature of the initial commit squashing internal contributor history,\nwe would like to recognize some of those who contributed to the initial\ncommit work:\nRyan Brush ([@rbrush](https://github.com/rbrush)),\nCameron Tew ([@cam2337](https://github.com/cam2337)),\nOse Umolu ([@luid101](https://github.com/luid101)),\nWalt Askew ([@waltaskew](https://github.com/waltaskew)),\nNick George ([@nickgeorge](https://github.com/nickgeorge)),\nWilson Sun ([@wilsonssun](https://github.com/wilsonssun))\nLisa Yin ([@lisayin](https://github.com/lisayin)),\nSuyash Kumar ([@suyashkumar](https://github.com/suyashkumar)), and other Googlers.\n\nIn addition, contributors who committed after the initial squash commit can be\nfound in the\n[GitHub contributors tab](https://github.com/google/fhir-py/graphs/contributors).\n\nThank you to all contributors!\n\n# Trademark\n\nFHIR® 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.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Ffhir-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle%2Ffhir-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Ffhir-py/lists"}