Skip to content

big bug hunt #2 - various issues per Josh's report - #335

Merged
grahamegrieve merged 2 commits into
mainfrom
2026-11-gg-big-bug-hunt2
Nov 3, 2026
Merged

grahamegrieve merged 2 commits into
mainfrom
2026-11-gg-big-bug-hunt2

Conversation

@grahamegrieve

Copy link
Copy Markdown
Contributor

No description provided.

@grahamegrieve
grahamegrieve merged commit 27deb1f into main Nov 3, 2026
9 checks passed
@grahamegrieve
grahamegrieve deleted the 2026-11-gg-big-bug-hunt2 branch November 3, 2026 11:29
jmandel added a commit to jmandel/FHIRsmith that referenced this pull request Nov 3, 2026
HealthIntersections#335 anchors regex filters as ^(?:pattern)$ in cs-cs.js and cs-country.js,
which is what 03944f2 did: main's version is kept, so that commit's code
change is now redundant (its country test stays).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jmandel added a commit to jmandel/FHIRsmith that referenced this pull request Nov 3, 2026
expand.js: both the prefetchCodes hint and HealthIntersections#335's text-filter search language
on an exclude's concept list. A compose handed to processSelection now reports
per-code properties through HealthIntersections#335's conceptProperties (only the names asked
for), and a compose with a filter on a supplement-defined property is not
handed over: the usual path evaluates it from the supplement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jmandel added a commit to jmandel/FHIRsmith that referenced this pull request Nov 3, 2026
…very word

HealthIntersections#335 adds the codes whose supplement designations match a text filter to
LOINC's and SNOMED CT's own matches (CodeSystemProvider._supplementSearchCodes).
It tested each designation with SearchFilterText.passes, which is true when
any one word of the filter matches, while the code system's own search needs
every word. So with the Uzbek LOINC supplement loaded (language en),
$expand of http://loinc.org/vs with filter "serum glucose" listed codes
whose supplement text had either word: of the first 1,000, only 47 had
"glucose" in their display. Before HealthIntersections#335 it listed none.

SearchFilterText.passesAll matches each word as passes does (by stem), but
needs all of them, and the supplement search uses it. Which supplements
take part is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant