Comments (48)
When will 4.0.0 available in pip?
from client-py.
Excellent news -- grant just came through. Let's set up a session to figure out how best to get this running!
from client-py.
@hsolbrig I understand changes are underway architecturally however a release of 4.0 to pip in the interim would build valuable to many organizations developing Python FHIR applications in the immediate time frame. If this is not an option is there anything community members can help with to provide assistance?
from client-py.
much easier: pip install -e git+https://github.com/smart-on-fhir/client-py#egg=fhirclient
from client-py.
Any update on this (pip install)?
If not, how could we manually install this to support R4?
Thanks.
from client-py.
Any update on this (pip install)?
If not, how could we manually install this to support R4?
Thanks.
You can just do this to install fhirclient 4.0.0 manually (reference: https://github.com/smart-on-fhir/client-py#building-distribution):
git clone https://github.com/smart-on-fhir/client-py.git
cd client-py
pip install -r requirements.txt
python setup.py sdist
python setup.py bdist_wheel
cd dist
pip install fhirclient-4.0.0-py2.py3-none-any.whl
Now type pip list | grep fhirclient
and you should see fhirclient 4.0.0
from client-py.
Another alternative: pip install fhirclientr4==4.0.0
from client-py.
Will catch it next week.
from client-py.
It seems that it's back on PyPI again π
pip install fhirclient==4.1.0
https://github.com/smart-on-fhir/client-py/releases/tag/v4.1.0
https://pypi.org/project/fhirclient/
from client-py.
We're hoping to resolve this in the next couple of weeks. I am wanting to propose that we separate the current client.py into three modules:
- The FHIR python generator software -- takes any version/release of FHIR and generates the set of classes that represent it.
- The generated software -- the result of applying the software to DSTU3, R4, selected R5 checkpoints. Each of these would be distributed as a PIP release.
- The Smart Client tools -- the SMART API that uses the generated software to act as an actual client.
Does this make sense to everyone? If so, we can move fairly quickly to make it so.
from client-py.
@hsolbrig @Culby Any updates on this? It would be really good to get a 4.0 release out, even if it's just a snapshot of the current master.
from client-py.
@hsolbrig Any news with that?
The current version on PyPI (3.2.0) is incompatible with the FHIR v4.
Please update about status,
Thanks
from client-py.
It's not dead yet! We worked on a fork about a year back and ran out of resources and funding. See: https://github.com/hsolbrig/client-py . Funding just arrived ...
How's that going @hsolbrig? Is there any known timelines for a 4.0.0 release?
from client-py.
In case anyone needs fhirclient as a setuptools requirement, fhirclient@git+https://github.com/smart-on-fhir/client-py
worked for me
from client-py.
@hsolbrig If contributors are needed to get this project back up and running let me know. Happy to contribute and get others involved and I am sure all the commenters above might even be happy to contribute.
from client-py.
This is a major issue. Finding out that I've worked with an older client has made me pause SMARTonFHIR integration. Do we know when it will be resolved?
from client-py.
I think it does since there's been talk on Google groups about getting that support. With that said, I would also think about trying to update the now outdated tutorial.
from client-py.
Can you point me at the tutorial you are referencing?
from client-py.
Can you point me at the tutorial you are referencing?
Yep, here which I don't think is a full tutorial but at least a getting started page.
from client-py.
After four months, this is still not resolved?
from client-py.
'ang on -- we're getting there
from client-py.
Is the proposed architecture change actually a blocker to publishing the already tagged version 4.0.0 on PyPI?
Internally we are moving ahead with using the 4.0.0 version as tagged here on GH. Maybe other people already do so as well given the age of the tag so a scenario where the current 4.0.0 tag is yanked and updated to a newer commit sounds like unexpected downstream breakage.
from client-py.
@hsolbrig Can we push the new version 4.0 to pypi. As @eldruin pointed out it would be great to release the 4.0 version to pypi and do the re-architecture as you mentioned.
from client-py.
Please consider updating the version in pip asap. I just lost 2 hours not realizing that I try using version of 3.2 of fhirclient with an HAPI server using R4 instead of DSTU3.
from client-py.
We're hoping to resolve this in the next couple of weeks. I am wanting to propose that we separate the current client.py into three modules:
- The FHIR python generator software -- takes any version/release of FHIR and generates the set of classes that represent it.
- The generated software -- the result of applying the software to DSTU3, R4, selected R5 checkpoints. Each of these would be distributed as a PIP release.
- The Smart Client tools -- the SMART API that uses the generated software to act as an actual client.
Does this make sense to everyone? If so, we can move fairly quickly to make it so.
I agree, this would be consistent with the hapi-fhir project. Any ETA?
from client-py.
Will catch it next week.
Any status update on updating to version R4 in Pypi?
from client-py.
@BrianKolowitz @hsolbrig +1, it would be really handy to have version 4.0 in pip
from client-py.
Guys come on, just upload the new version.
Our production stuck because of that version issue.
from client-py.
@danielcoam @emil45 this required a bunch of work but we refactored to leverage fhir.resources instead.
from client-py.
@sbwhitney Thanks for the reply.
Can you explain?
Do you mean to use the server (for example with post_json) but to build the model with the fhir.resources package?
from client-py.
@sbwhitney Thanks for the reply.
Can you explain?
Do you mean to use the server (for example with post_json) but to build the model with the fhir.resources package?
We donβt use the server component but another option would be to package up the python wheel file and host it internally using an internal repository like jfrog artifactory.
from client-py.
I've just got the last and the most important question, if I install it in an alternative way, jfrog/git-tag,
Is the version ready for production? Can I use it safely?
from client-py.
I've just got the last and the most important question, if I install it in an alternative way, jfrog/git-tag,
Is the version ready for production? Can I use it safely?
Frankly, I'm glad that we no longer use it altogether as it appears all support has been ceased.
from client-py.
Hi everyone, is there any news about this?
from client-py.
Is this still dead? It would be handy to not have to re-implement an existing library.
from client-py.
It's not dead yet! We worked on a fork about a year back and ran out of resources and funding. See: https://github.com/hsolbrig/client-py . Funding just arrived ...
from client-py.
from client-py.
Any update on this (pip install)?
If not, how could we manually install this to support R4?
Thanks.
from client-py.
Not yet -- it is amazing how much time can elapse between the award paperwork and the actual award. Apologies --
from client-py.
requirements.txt
Any update on this (pip install)?
If not, how could we manually install this to support R4?
Thanks.You can just do this to install fhirclient 4.0.0 manually (reference: https://github.com/smart-on-fhir/client-py#building-distribution):
git clone https://github.com/smart-on-fhir/client-py.git
cd client-py
pip install -r requirements.txt
python setup.py sdist
cd dist
pip install fhirclient-4.0.0-py2.py3-none-any.whl
Now type
pip list
and you should see fhirclient 4.0.0
pip install fhirclient-4.0.0-py2.py3-none-any.whl This line doesn't work for me. I don't have .whl file. Any suggestion?
from client-py.
requirements.txt
Any update on this (pip install)?
If not, how could we manually install this to support R4?
Thanks.You can just do this to install fhirclient 4.0.0 manually (reference: https://github.com/smart-on-fhir/client-py#building-distribution):
git clone https://github.com/smart-on-fhir/client-py.git
cd client-py
pip install -r requirements.txt
python setup.py sdist
cd dist
pip install fhirclient-4.0.0-py2.py3-none-any.whl
Now typepip list
and you should see fhirclient 4.0.0pip install fhirclient-4.0.0-py2.py3-none-any.whl This line doesn't work for me. I don't have .whl file. Any suggestion?
I'm sorry. I forgot to add one command (python setup.py bdist_wheel)
It should work now.
from client-py.
@hsolbrig This is great (o: please count me in
from client-py.
We could use this as well. Thank you!
from client-py.
Any update ?
from client-py.
would love to help add 4.0.0 to pip!
from client-py.
from client-py.
@hsolbrig Any updates on this thread? it has been over more than a year since this was last addressed.
from client-py.
As a workaround until the package is updated on PyPI, the following worked for me to get, at the time of writing this, the 4.0.0 version:
pip install git+https://github.com/smart-on-fhir/client-py.git
from client-py.
Related Issues (20)
- Unrecognized bulkdata Conformance elements
- Pagination support HOT 6
- Cannot have a package named 'models' in project HOT 5
- Incorrect Mime-Type causes HTTP 406 errors from providers HOT 1
- Reauthorization does not work beyond the first attempt HOT 4
- Search Patient by Identifier (MRN or else) HOT 1
- Cannot bypass https certificate verification in development HOT 2
- Parse and Handle Incorrectly Labeled Responses from DSTU 2 API Endpoints
- auth.py - call to token endpoint still seems to use the deprecated implicit grant flow HOT 2
- server.py:request data always produces 'NoneType' object is not iterable
- Provider Portal Launch Support? HOT 1
- description is not a required field for Conformance HOT 3
- How to make use of meta.lastUpdated to get a list of patients that were updated after a certain timestamp ? HOT 1
- What if elementProperties returns dictionary but not list? HOT 2
- fhirsearch _include reference_field where search parameter is renamed HOT 1
- Bundles are not being posted to the base API path HOT 1
- Question - Any thoughts on using pydantic for models? HOT 2
- 404 Errors when using searching for resources
- error fetching HAPI open FHIR R4 server?
- Is this project dead? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from client-py.