Support token modifiers ':in' and ':not-in'
See original GitHub issuefrom https://www.hl7.org/fhir/R4/search.html#token
The search parameter is a URI (relative or absolute) that identifies a value set, and the search parameter tests whether the coding is in the specified value set. The reference may be literal (to an address where the value set can be found) or logical (a reference to ValueSet.url). If the server can treat the reference as a literal URL, it does, else it tries to match known logical ValueSet.url values.
example:
Search for any condition in the SNOMED CT value set “http://snomed.info/sct?fhir_vs=isa/126851005” that includes all descendants of “Neoplasm of liver”
GET [base]/Condition?code:in=http%3A%2F%2Fsnomed.info%2Fsct%3Ffhir_vs%3Disa%2F126851005
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Semantic token modifier for reference parameters #839 - GitHub
Create a new token for the whole expression to house the modifier; or: Try to deconstruct the expression and only apply the modifier...
Read more >Search - FHIR v5.0.0-snapshot3
The not-in modifier is used to filter based on a value exclusion test for codes of Value Sets. The not-in modifier is only...
Read more >Rule-based matching · spaCy Usage Documentation
Find phrases and tokens, and match entities. ... The supported attributes for rule-based matching are: ... Why are not all token attributes supported?...
Read more >Modifiers - Hearts of Iron 4 Wiki - Paradox Wikis
Global modifiers - These are entirely hard-coded on when they apply, such as those used for stability and war support bonuses. However, these...
Read more >function () public payable modifier can trigger actions when ...
function () public payable modifier can trigger actions when sending tokens or only works when sending ether? · solidity · contract-design · tokens...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

For the CQL Engine evaluation, we are assuming that ValueSet resources will be defined as extensional resources. We believe that support for the :in operator could greatly improve the overall performance of the system because we wouldn’t have to move as much data over the wire and would be happy with a first cut that only supports extensional ValueSets.
I uploaded two condition resources to my local server. One with a code of
http://snomed.info/sct|30832001(Rupture of patellar tendon) and one withhttp://snomed.info/sct|10509002(Acute bronchitis).Then I configured the fhir-term-graph with SNOMED CT, which supports implicit valuesets.
Next I issued the following two queries:
As expected, the former returned just the Acute bronchitis diagnosis and the latter returned just the patellar tendon rupture one.
Next I’d like to check the performance in a more sizable environment, but so far its looking good.