Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Method resolved() on reference type data #108

Open
jyotiamage opened this issue Jul 21, 2022 · 2 comments
Open

Question: Method resolved() on reference type data #108

jyotiamage opened this issue Jul 21, 2022 · 2 comments

Comments

@jyotiamage
Copy link

  • fhir.resources version:6.4.0
  • Python version:3.8
  • Operating System:Linux

Description

With fhir.resources 5.1.1 version we had method named resolved() on reference type data to follow through the references but I don't see same with fhir.resources 6.4.0.
am I missing anything or is there any alternative for the same?

What I Did

v5.1.1
device= report.subject.resolved(Device)
device.manufacturer

v6.4.0
device= report.subject.resolved(Device)
device.manufacturer

**ERROR:AttributeError: 'Reference' object has no attribute 'resolved'**
@jyotiamage jyotiamage changed the title Method resolved() on reference type data Question: Method resolved() on reference type data Jul 21, 2022
@nazrulworld
Copy link
Owner

@jyotiamage from v6.x.x this library is no longer part of the client of SMART on FHIR server (or any open FHIR server), instead focused on standalone pure FHIR implementation. That is the reason "resolved()" is missing, which required server connection implementation.

@binbrain
Copy link

That makes sense. What about navigating references locally contained in the same FHIR document though? Is there an easy alternative method/technique to use in place of resolved()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants