beda-software / fhir-py

FHIR Client for python
MIT License
168 stars 31 forks source link

searchset.py not in 1.0.0? #46

Closed kylejbrk closed 4 years ago

kylejbrk commented 4 years ago

The documentation mentions you can use Raw Parameters using the following:

from fhirpy.base.searchset import Raw

patients = client.resources('Patient')
patients.search(Raw('general-practitioner.name=Hospital'))
# /Patient?general-practitioner.name=Hospital

However, after downloading the source code for 1.0.0 it appears that searchset.py was not included in the release. Is this a mistake?

ruscoder commented 4 years ago

Hello! The documentation is about the latest version 1.1.0.

kylejbrk commented 4 years ago

@ruscoder Ah thank you. Is this version not available on pip yet? I also didn't see it in the releases.

Thank you for pointing this out.

mkizesov commented 4 years ago

Hello @kylejbrk , fhirpy v. 1.1.0 is available in PyPi https://pypi.org/project/fhirpy/ You can try pip install fhirpy==1.1.0 or pip install fhirpy -U

kylejbrk commented 4 years ago

Thank you both. Much appreciated.