Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Combo SearchParameter question

16 views
Skip to first unread message

Pete

unread,
May 1, 2025, 10:36:13 PMMay 1
to HAPI FHIR
I have made a combo search parameter (shown below). I added it successfully, but when reindexing I keep seeing the error "CompositeExtractor - skipping unsupported search parameter observation-search". Any idea what I'm doing wrong?

{
"resourceType": "SearchParameter",
"id": "observation-search",
"status": "active",
"name": "ObservationSearch",
"extension": [
{
"valueBoolean": false
}
],
"code": "observation-search",
"base": [
"Observation"
],
"type": "composite",
"expression": "Observation",
"component": [
{
"definition": "SearchParameter/Observation-based-on",
"expression": "Observation"
},
{
"definition": "SearchParameter/Observation-combo-code",
"expression": "Observation"
},
{
"definition": "SearchParameter/Observation-value-concept",
"expression": "Observation"
},
{
"definition": "SearchParameter/Observation-component-code-value-concept",
"expression": "Observation"
},
{
"definition": "SearchParameter/Observation-component-code",
"expression": "Observation"
}
]
}

James Agnew

unread,
May 2, 2025, 5:34:21 AMMay 2
to Pete, HAPI FHIR
Probably this is an issue with one of the component search parameters. Currently the rules for them are:

- They can't be of type "composite" themselves
- They must have an expression defined
- That expression can not contain the "%resource" variable (I don't remember the reason for this rule for the life of me - but it's in there)

Cheers,
James

--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hapi-fhir/e5a52a8a-92aa-4f43-b721-531a1e3a782dn%40googlegroups.com.

Pete

unread,
May 2, 2025, 9:19:44 AMMay 2
to HAPI FHIR
Thanks! One of the composites is itself a composite. If I wanted to include this, would I just need to add the fields from that composite in my original "new" index?

James Agnew

unread,
May 2, 2025, 9:20:44 AMMay 2
to Pete, HAPI FHIR

Pete

unread,
May 2, 2025, 10:22:16 AMMay 2
to HAPI FHIR
That's done the trick, thanks!
Reply all
Reply to author
Forward
0 new messages