-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Questionnaire response - search criteria questionnaire missing? #1873
Comments
We have the following use case:
We hoped to achieve this by using the search parameter for questionnaire. I just noticed that the link to questionnaire is a canonical and not a reference as we thought. Do you know why reference is not used in this case? Normally other FHIR resources are linked to by using references. |
Hi @brendankowitz , any update on this? We are facing the same issue |
@giacomodeliberali We still don't have an ETA for when we would support this in the FHIR server. Is your scenario the same around questionnaire response? |
Yes same scenario |
Hi, |
@holpit this isn't prioritized on our backlog now. |
Please rethink this priority. |
I've implemented this in my own fork of the fhir server by adding a Basically looks like this: public class CanonicalToReferenceSearchValueConverter : FhirTypedElementToSearchValueConverter<ReferenceSearchValue>
{
} |
Any news on that? |
@Maciejszuchta this is still on our backlog but no update on the ETA for support. |
Hi, How do you guess to find a QuestionnaireResponse without the possibilty to search by this reference?
|
Is there any update as to an ETA on support for the "questionnaire" Search Parameter for /QuestionnaireResponse? |
The closest workaround until this is done would be to use a custom search parameter with a different name and typed as Uri, e.g.
This will allow you to search: |
Thanks for the work-around. I was able to get that operational and was extremely helpful. I wanted to ask if there was any possible way to remove the search parameter occupying the "questionnaire" key on /QuestionnaireResponse, so that "questionnaire" could be used as the key with the above work-around? (I have tried to DELETE the parameter with ID QuestionnaireResponse-questionnaire and key "questionnaire", I have also tried to send PUT request to adjust it, but to no avail currently) Thanks for your time and greatly appreciate your guidance so far. Have a great day. |
I think its been a while and this bug is rather important for SDA, linking questionnaire to questionnaire response shouldn't require a workaround, can we prioritize this higher? Its in the spec but not implemented. |
It's been about 4 years since this ticket was opened. This is a pretty big deal. Without being able to link QuestionnaireResponses to the Questionnaire they came from both Questionnaires AND QuestionnaireResponses are near useless. At least post the steps to let us hack it all in ourselves like @brendankowitz has shown us part of. The problem with his solution is that the Azrue FHIR Server/Service doesn't respect the version number of the questionnaire when searching with that SearchParameter. Also _include and _revinclude don't work with it so I'm having to make several calls when really a basic include/revinclude on a canonical should be all it takes. Please at least post the workaround steps here to get the database working with includes/revincludes and searches that all take the versionId of the Questionnaire into account. |
We are using questionnaire and questionnaireResponse and are linking them based on the field questionnaire on the questionnaireResponce document. We would like to use questionnaire as search parameter as defined in FHIR in order to find all responses linked to a given questionnaire, but cannot find it as a search parameter in the capability statement.
Do you have any plans to add questionnaire as search parameter for questionnaireResponse?
The text was updated successfully, but these errors were encountered: