I'm Trying to filter the GCP healthcare Fhir QuestionnaireResponse by specific linkId. I have tried following queries in GCP FHIR Viewer.
QuestionnaireResponse?subject=17feb145-2a59-12d6-12fd-193b04406402&_has:QuestionnaireResponse.item.linkId=3428208260818QuestionnaireResponse?subject=17feb145-2a59-12d6-12fd-193b04406402&QuestionnaireResponse.item.linkId=3428208260818QuestionnaireResponse?subject=17feb145-2a59-12d6-12fd-193b04406402&item.linkId=3428208260818
It's trying to filter the QuestionnaireResponse of specific patient and by the linkIds.
There is no standard search parameter defined to search by linkId. To perform that search, you'd have to define a custom SearchParameter and get the server in question to support it. Also, if searching by linkId, you should always also search by Questionnaire.url because the same linkId value can have completely different meanings in different Questionnaires.
In general, QuestionnaireResponse isn't designed to be searched based on the answers provided. The expectation is that data will be extracted into other resources (e.g. Observation) and will be searched that way. (Questionnaires are too non-standard and the meaning of answers is too dependent on other answers to safely search against answers in QuestionnaireResponse.)