Closed BSVogler closed 1 year ago
I want to send this query.
/Patient/83ed7f8c-8a80-47d6-bd70-3923baa5c076?_elements=address
I tried this
client.reference('Patient', id=user_id).elements("address").to_resource()
but this throws an AttributeError that elements is not found.
This works instead but is building internally a different query
client.resources('Patient').search(_id=user_id).elements("address").get()
I don't remember that FHIR spec describes _elements for the particular resource, it's more list operation.
_elements
True. It is supported on HAPI FHIR though.
I want to send this query.
/Patient/83ed7f8c-8a80-47d6-bd70-3923baa5c076?_elements=address
I tried this
but this throws an AttributeError that elements is not found.
This works instead but is building internally a different query