Stream: implementers
Topic: Collection of QestResp
Emiliano Fernandez (Feb 19 2021 at 18:06):
Hello, I would like to know how to implement a collection of questionnaireResponse.
Thanks!!
Lloyd McKenzie (Feb 19 2021 at 18:08):
A collection for what purpose? What do you want to happen to it? What causes them to be grouped in a collection?
Emiliano Fernandez (Feb 19 2021 at 18:25):
I would like all the QuestRespon of a certain encounter.
Lloyd McKenzie (Feb 19 2021 at 18:36):
Are you wanting to do a search?
Lloyd McKenzie (Feb 19 2021 at 18:36):
Or is this collection being pushed somewhere for some reason?
Emiliano Fernandez (Feb 19 2021 at 18:39):
I just need the collection. No search at all.
From the EHR ill be passing an encounter and from that encounter i need the fhir server to return all the questResp that that encounter has.
Lloyd McKenzie (Feb 19 2021 at 18:45):
If you're passing an encounter and getting back a collection of QuestionnaireResponses, that sounds like doing a RESTful search. That's the "standard" way to do what you're asking for using FHIR.
Lloyd McKenzie (Feb 19 2021 at 18:46):
You'd execute a search against the QuestionnaireResponse endpoint, filtering by encounter and would get back a search-set Bundle of QuestionnaireResponses.
Emiliano Fernandez (Feb 19 2021 at 18:46):
So there is no resource that can send like a collection of QuestResp??
Gino Canessa (Feb 19 2021 at 18:50):
When you perform a search, the resource you get back is a Bundle
, which includes the other resources. In this case, each Bundle.entry.resource
would be a matching QuestionnaireResponse
.
Eric Haas (Feb 19 2021 at 22:19):
@Emiliano Fernandez for an introduction to FHIR search read this: http://hl7.org/fhir/search.html
hopefully that will make our responses to your query clearer.
Lin Zhang (Feb 21 2021 at 04:16):
Wanna make a collection of such resources as a standalone and persisted entity?
Last updated: Apr 12 2022 at 19:14 UTC