FHIR Chat · client-py R4 in PyPi · python

Stream: python

Topic: client-py R4 in PyPi


view this post on Zulip Henry Moseley (May 13 2020 at 21:13):

Hey everyone, interested to understand how this is coming along. Sounds like the consensus is to have separate packages for each release: https://github.com/smart-on-fhir/client-py/issues/70..

Amazing client, really enjoy how easy.

view this post on Zulip May Terry (Jun 09 2020 at 01:39):

Hi there - I'm trying out client-py and running into the following error when requesting a procedure instance: FHIRValidationError: {root}: meta: Superfluous entry "source" in data for <fhirclient.models.meta.Meta object at 0x10fddbf28>.
My instance does have meta.source which seems to be auto-populated by the HAPI FHIR server when there is a version update that came from a different source. Regardless, a value for this attribute should be accepted.
Is this a bug?
Here's the code snippet:
import fhirclient.models.procedure as proc procedure = proc.Procedure.read('SMART-Procedure-2', smart.server)
...and the following is a snippet of what's in the FHIR instance I'm trying to read...
"meta": { "versionId": "2", "lastUpdated": "2020-06-09T01:32:45.000+00:00", "source": "#xJ1vrEIvhALyICHv" }

view this post on Zulip May Terry (Jun 09 2020 at 01:56):

nvm. guess I should have read https://github.com/smart-on-fhir/client-py/issues/70. :-(


Last updated: Apr 12 2022 at 19:14 UTC