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

medplum / medplum / 26904952871
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: cody/unified-outbount-url-validation
DEFAULT BRANCH: main
Ran 03 Jun 2026 06:43PM UTC
Jobs 1
Files 808
Run time 3min
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

03 Jun 2026 06:30PM UTC coverage: 92.158% (+0.001%) from 92.157%
26904952871

push

github

web-flow
Constrain scheduling operations with `Schedule.planningHorizon` (#9388)

* Teach $find to respect `Schedule.planningHorizon`

If this value is specified, we should not generate results outside of
it.

We can use this feature (when present) to reduce our search range early
in the $find process to filter down the generated results.

Resolves: https://github.com/medplum/medplum/issues/8432
Signed-off-by: Noah Silas <noah@medplum.com>

* Teach $book/$hold to respect `Schedule.planningHorizon`

If trying to create an appointment or slots outside of the planning
horizon of the `Schedule` resource, we emit an error instead of
proceeding.

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

* Provider: Improve empty `$find` result display

While testing planningHorizon edge cases I noticed that this component
doesn't do a good job informing viewers when the `$find` results have
come back empty. Let's clear this up.

Also clear the appointments state if the $find request errors (such as
when it is outside of the schedule's planningHorizon).

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

* Cover `planningHorizon.start` scenario

Sonar noticed that I didn't test this condition. Oops, let's do so.

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

* Apply PR Feedback

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

---------

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

22878 of 25652 branches covered (89.19%)

Branch coverage included in aggregate %.

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

1 existing line in 1 file now uncovered.

36085 of 38328 relevant lines covered (94.15%)

23594.93 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
93.33
1.25% packages/server/src/fhir/operations/find.ts
Jobs
ID Job ID Ran Files Coverage
1 26904952871.1 03 Jun 2026 06:43PM UTC 1032
92.59
GitHub Action Run
Source Files on build 26904952871
  • Tree
  • List 808
  • Changed 164
  • Source Changed 3
  • Coverage Changed 164
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26904952871
  • 237d0241 on github
  • Prev Build on gh-readonly-queue/main/pr-9391-1852c880f1d1dfacf4df6f37e019b084dbf3784c (#26903160195)
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