I'm using HAPI FHIR Server (JPA) and I'm trying to search for all QuestionnaireResponse resources that have a _tag with a specific system (
http://myCompany.com/CodeSystem/Questionario) and any value.
According to the FHIR R4 specification for
token search parameters, the syntax [parameter]=[system]| (with a trailing pipe and no value) should match any resource tagged with that system, regardless of the code/value.
My search request looks like this:
However, this query produce the following error:
even though I have
QuestionnaireResponse resources that do carry tags with that system (and various values).
If I specify the full system|value pair explicitly, the search works correctly.
Is the system-only token search syntax (system| with trailing pipe) supported by HAPI FHIR for the _tag parameter?
If not, is this a known limitation or a bug?
Environment:
• HAPI FHIR Server (JPA) — 8.8.0
• FHIR R4
• Client: Firely .NET SDK (Hl7.Fhir.R4)
Thank you
Andrea