Skip to main content

Add your description here

Project description

Fhan

Fhan is a small FHIR query client with a focus on usability.

from fhan.client import Client

client = Client("http://hapi.fhir.org/baseR4/")
patients = client.get("Patient", count=1)
print(patients)

Installation

Import the package

pip install fhan

Usage

Import and instantiate the client Class:

from fhan.client import Client

client = Client("https://hapi.fhir.org/baseR4/")

Get a Resource by id:

client.get("Condition", "1")

Search for resources:

client.get("Observation", search_params={"code":"8310-5"}, count=20)

Other Tools

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

fhan-0.1.7-py3-none-any.whl (541.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page