question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support token modifiers ':in' and ':not-in'

See original GitHub issue

from 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:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
csandersdevcommented, Mar 15, 2021

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.

0reactions
lmsurprecommented, Apr 1, 2021

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 with http://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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found