• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

medplum / medplum / 23208692891
92%

Build:
DEFAULT BRANCH: main
Ran 17 Mar 2026 06:18PM UTC
Jobs 1
Files 753
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Mar 2026 05:08PM UTC coverage: 92.211% (+0.001%) from 92.21%
23208692891

push

github

web-flow
Improve $find service type matching (#8683)

The initial implementation here worked for exact matching of both
"system" and "code" elements of the search, but we want to support
some more cases. The most common one is coding values with no system
component; for example, in our defining-availability documentation we
use samples like this:
```
  "url": "serviceType",
  "valueCodeableConcept": {
    "coding": [
      { "code": "office-visit" }
    ]
  }
```

We expect that a query like `$find?service-type=office-visit` would
match this, but our earlier attempt wouldn't work for this.

We had been concatenating the system and code components, and so we were
comparing the input string "office-visit" with a computed value from
that coding of "|office-visit" (with the leading delimiter).

I've added utilities that implement the token matching properties
described in the FHIR search documentation (https://build.fhir.org/search.html#token),
and updated $find to use them.

Signed-off-by: Noah Silas <noah@medplum.com>

17896 of 20323 branches covered (88.06%)

Branch coverage included in aggregate %.

10 of 10 new or added lines in 2 files covered. (100.0%)

32514 of 34345 relevant lines covered (94.67%)

14570.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23208692891.1 17 Mar 2026 06:18PM UTC 753
92.21
GitHub Action Run
Source Files on build 23208692891
  • Tree
  • List 753
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 841edee3 on github
  • Prev Build on gh-readonly-queue/main/pr-8669-6fa7e6ebc1b605078ecd20586bb3d09ba001d2ab (#23205959530)
  • Next Build on main (#23210274603)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc