semvec/pypi-packages huggingface dataset:
fhir-tools 0.1.4
Toolbox for working with FHIR Resources and Types
License: MIT
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*
Keywords: medical,fhir,tools

# fhir_tools

Simple set of tools for working with FHIR resources and complex types.

Basic usage:

```python
from fhir_tools import readers
from fhir_tools import resources

definitions = readers.defs_from_generated()
resources = resources.Resources(definitions)

name = resources.HumanName(family='Doe', given=['John'], text='John Doe')
patient = resource.Patient(name=[name], id='example')

print(patient.name[0].text)
```