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

medplum / medplum / 31204588194
92%

Build:
DEFAULT BRANCH: main
Ran 07 Aug 2026 06:01PM UTC
Jobs 1
Files 869
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

07 Aug 2026 05:43PM UTC coverage: 92.143% (+0.04%) from 92.106%
31204588194

push

github

web-flow
[Scheduling] `AvailableTime` edit component for service & actor (#9987)

* feat(core): add getExtensions for extensions that repeat

getExtension stops at the first match, which silently reads only one value from
an extension defined with a cardinality above one. getExtensions returns every
match instead, at every level of a nested URL path.

The server already needed this and has its own copy in util/extension.ts, which
additionally decorates results with WithPath so validation errors can cite the
source path. That copy stays where it is; this one is the plain form, for callers
that only want the extensions.

Signed-off-by: Philip Knott <filupnot@proton.me>

* refactor(core): add scheduling availability helpers

Share the availability read/write helpers and timezone resolution through Core,
so the React editor, the Provider app, and any bot work against one
implementation of the availability extension rather than reimplementing it.

Availability round-trips through HealthcareServiceAvailableTime rather than a
bespoke weekly shape, so callers can pass HealthcareService.availableTime
straight into components. getSchedulingTimezone resolves the zone in the same
order the scheduling operations do: Schedule parameters, then service
parameters, then the actor's timezone extension.

getServiceSchedulingParameters returns every matching extension in anticipation
of wildcard service matching, and applyAvailability clears the override from all
of them so a second matching extension cannot retain a stale one.

Signed-off-by: Philip Knott <filupnot@proton.me>

* feat(react): add ScheduleAvailabilityEditor for per-service weekly hours

Edits weekly availability for one visit service type, either as a Schedule's
override of the service hours or, with the schedule prop omitted, as the
service's own default hours that every calendar without an override inherits.

Times are picked from quarter-hour options bounded by the neighbouring blocks,
so only hours still free ... (continued)

23542 of 26671 branches covered (88.27%)

Branch coverage included in aggregate %.

318 of 322 new or added lines in 6 files covered. (98.76%)

3 existing lines in 1 file now uncovered.

41654 of 44084 relevant lines covered (94.49%)

11965.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
89.53
2.87% packages/core/src/scheduling.ts
1
97.54
packages/react-scheduling/src/ScheduleAvailabilityEditor/ScheduleAvailabilityEditor.tsx
1
98.33
packages/react-scheduling/src/ScheduleAvailabilityEditor/ScheduleAvailabilityEditor.utils.ts
1
98.85
packages/react-scheduling/src/ScheduleAvailabilityEditor/TimeSelect.tsx

Coverage Regressions

Lines Coverage ∆ File
3
90.31
-0.75% packages/agent/src/hl7.ts
Jobs
ID Job ID Ran Files Coverage
1 31204588194.1 07 Aug 2026 06:01PM UTC 869
92.14
GitHub Action Run
Source Files on build 31204588194
  • Tree
  • List 869
  • Changed 6
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31204588194
  • ae7571d4 on github
  • Prev Build on gh-readonly-queue/main/pr-10123-53d57431f910b38bba0f5f52bcd12903c3082da7 (#31201609190)
  • Next Build on main (#31207899210)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc