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

medplum / medplum / 25872147208
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: dep-upgrades-2026-06-01
DEFAULT BRANCH: main
Ran 14 May 2026 04:39PM UTC
Jobs 1
Files 776
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

14 May 2026 04:32PM UTC coverage: 92.017% (+0.001%) from 92.016%
25872147208

push

github

web-flow
FooMedical: Use Appointment/$find + Appointment/$hold (#9177)

* React: Add `<CalendarDateInput>` component

This is like `CalendarInput`, but doesn't specifically accept `Slot`
resources as input. This lets us more easily use it in conjunction with
APIs like `Appointment/$find`.

As a nice side-effect, the existing component probably becomes slightly
more efficient, as the conversion of Slot.start from `string` to `Date`
happens once inside a memoized function. This is not a big deal for 30
days rendered client-side, but still a nice little win.

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

* Simplify Scheduler Slot fetching function

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

* FooMedical: Use Appointment/$find + Appointment/$hold

Previously this was implemented with `Schedule/:id/$find` ->
`Appointment/$book` as an example of using the planned single-calendar
workflow.

We always planned on moving this to `$hold` over `$book`, as that
creates a tentative appointment awaiting approval from the practitioner
being scheduled. We have now added that endpoint, so we should start
using it.

Implementation Notes:
---------------------

- The $hold implementation accepts Appointment resources coming from
  `Appointment/$find`. This required re-wiring some of the underlying
  react components that were focused on Slot usage.

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

* PR Feedback

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

* Apply Sonar-flagged fixes

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

---------

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

21072 of 23766 branches covered (88.66%)

Branch coverage included in aggregate %.

92 of 95 new or added lines in 3 files covered. (96.84%)

34706 of 36851 relevant lines covered (94.18%)

23868.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
94.17
-0.67% packages/react/src/Scheduler/Scheduler.tsx
Jobs
ID Job ID Ran Files Coverage
1 25872147208.1 14 May 2026 04:39PM UTC 902
92.25
GitHub Action Run
Source Files on build 25872147208
  • Tree
  • List 776
  • Changed 86
  • Source Changed 2
  • Coverage Changed 86
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25872147208
  • 78c6b056 on github
  • Prev Build on gh-readonly-queue/main/pr-9202-0f44d21fd7fd2ef6856e8ea7d35dbabffe7da005 (#25869234988)
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