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

medplum / medplum / 24863617986
92%

Build:
DEFAULT BRANCH: main
Ran 23 Apr 2026 11:20PM UTC
Jobs 1
Files 769
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

23 Apr 2026 11:08PM UTC coverage: 91.834% (-0.02%) from 91.85%
24863617986

push

github

web-flow
Use explicit HealthcareService references in Scheduling (#8927)

* Remove extraneous SchedulePage->FindPane tests

These are a remnant of an earlier implementation when these were more
tightly coupled.

In #8857 SchedulePage started delegating more of the rendering concerns
down to FindPane, so we don't need to test it in this file as richly.

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

* Use MockClient.searchResources in FindPane tests

Mea culpa: I asked Claude to write the first iteration of these tests,
and I glossed over this detail when reviewing. It claimed that the
MemoryRepository didn't have this search parameter indexed, but I think
that this was a bit of a hallucination as it was trying to explain why
the tests were not working.

Let's clean it up: we amend our `medplum.get` mock to only intercept
`$find` requests (which the MemoryRepository truly doesn't support), and
let other requests such as a FHIR search go through normally. Then we
create the HealthcareService resources normally and our tests are more
consistent.

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

* $find requires Schedule list available service types

This was listed in the documentation in some places, but not
consistently represented.

This allows use cases where practitioners should only be scheduled for
certain service types.

The Provider UI now only offers menu options from HealthcareServices
matching an entry in the `serviceType` attribute of the viewed schedule.

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

* ProviderUI: Focus on HealthcareService as Scheduling primitive

Based on the original API spec, I had been treating a "CodeableConcept"
as the fundamental unit for scheduling when originally implementing
this, which led to some slightly gnarly outcomes:

- Lots of comparisons of Codings / Codes

- Needed to assign stable keys to the concepts

- Confusing behavior when a code is on multiple schedulable items

We're adjusting to move towards using a Healthc... (continued)

18419 of 20982 branches covered (87.78%)

Branch coverage included in aggregate %.

70 of 76 new or added lines in 4 files covered. (92.11%)

33326 of 35364 relevant lines covered (94.24%)

13506.39 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
87.58
-3.2% packages/server/src/fhir/operations/book.ts
2
79.41
-3.35% packages/server/src/fhir/operations/find.ts
1
93.92
-1.51% packages/server/src/fhir/operations/utils/scheduling-parameters.ts
Jobs
ID Job ID Ran Files Coverage
1 24863617986.1 23 Apr 2026 11:20PM UTC 769
91.83
GitHub Action Run
Source Files on build 24863617986
  • Tree
  • List 769
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ad4e4350 on github
  • Prev Build on gh-readonly-queue/main/pr-9006-b7516b68e159154909897c6e50882cb02e805f9b (#24851676217)
  • Next Build on main (#24863909226)
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