FHIR Chat · FHIR Primitive extensions using the python FHIRclient model · python

Stream: python

Topic: FHIR Primitive extensions using the python FHIRclient model


view this post on Zulip Eric Haas (Sep 25 2019 at 17:28):

I need to add extensions to fhir primitives. So a quick workaround is to switch to dict using as_json() method and then add them in. I'd really like to roundtrip and create a model instance after that, but it complains:

WARNING:root:_searchRevInclude:
  name 'self' is not defined

and strips it out. Is there a temporary solution to adding in "_[primitive-element]" and still use the model. I use the class and dot notation after this step and don't want to have to rewrite it all as dict.


Last updated: Apr 12 2022 at 19:14 UTC