How to use component-code-value-concept And What does the Key-Value Pair Syntax Look Like

54 views
Skip to first unread message

Ryck Birch

unread,
May 17, 2023, 4:47:55 PM5/17/23
to HAPI FHIR
Hey folks:

Am trying to use component-code-value-concept search with Observation. I cannot find the correct syntax nor example to use with a HTTP GET call to express the key-value pair.

Can anyone suggest a quick answer or reference example? Ideally I would like to AND the two terms for tupling rather than OR-ing the two terms.

Thanks for any help in advance!!

Ryck

James Agnew

unread,
May 17, 2023, 6:04:54 PM5/17/23
to Ryck Birch, HAPI FHIR
Look at "composite search parameters" here for an example: http://hl7.org/fhir/search.html#composite

Be warned though that this is one feature that is not perfect in HAPI FHIR - This search parameter will work, but it can yield false positives (e.g. resources where the wanted code is in one component and the wanted value is in the other - the intent of this SP is only to find resources where both the code and value are in the same component).

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 on the web visit https://groups.google.com/d/msgid/hapi-fhir/bff3ca89-fda3-4825-b7e2-3dd1136f95a8n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages