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

Add capability to choose which resources are included in the bundle based on include list #77

Open
wdebeau1 opened this Issue Jan 6, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@wdebeau1
Copy link
Collaborator

wdebeau1 commented Jan 6, 2015

http://jamesagnew.github.io/hapi-fhir/doc_resource_references.html describes how to control whether a referenced resource is included in a bundle (if you construct the ResourceReference by passing in a resource with its id set, it'll be included).
It would be nice if there was a way to control which of the ResourceReferences created this way were actually added to the bundle based on the list of Includes in the request. That way, Resources could be generated the same way regardless, and the bundling step could decide which resources to include and which to omit.

@wdebeau1 wdebeau1 added the enhancement label Jan 6, 2015

wdebeau1 pushed a commit to wdebeau1/hapi-fhir that referenced this issue Mar 4, 2015

b.debeaubien
jamesagnew#77 bundle factories now do resource inclusion based on a B…
…undleInclusionRule (either by the resource being fully populated - the old way or based on the include parameter - the new way). Can be configured by RestfulServer.setBundleInclusionRule. Old tests set to use the old behavior, at least for now.

wdebeau1 pushed a commit to wdebeau1/hapi-fhir that referenced this issue Mar 4, 2015

b.debeaubien
jamesagnew#77 bundle factories now do resource inclusion based on a B…
…undleInclusionRule (either by the resource being fully populated - the old way or based on the include parameter - the new way). Can be configured by RestfulServer.setBundleInclusionRule. Old tests set to use the old behavior, at least for now.

wdebeau1 pushed a commit to wdebeau1/hapi-fhir that referenced this issue Mar 5, 2015

b.debeaubien
jamesagnew#77 bundle factories now do resource inclusion based on a B…
…undleInclusionRule (either by the resource being fully populated - the old way or based on the include parameter - the new way). Can be configured by RestfulServer.setBundleInclusionRule. Old tests set to use the old behavior, at least for now.

wdebeau1 pushed a commit to wdebeau1/hapi-fhir that referenced this issue Mar 5, 2015

b.debeaubien
jamesagnew#77 bundle factories now do resource inclusion based on a B…
…undleInclusionRule (either by the resource being fully populated - the old way or based on the include parameter - the new way). Can be configured by RestfulServer.setBundleInclusionRule. Old tests set to use the old behavior, at least for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.