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

medplum / medplum / 26463876301
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: ml-priority-based-fair-queueing
DEFAULT BRANCH: main
Ran 26 May 2026 05:26PM UTC
Jobs 1
Files 786
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

26 May 2026 05:20PM UTC coverage: 92.035% (+0.003%) from 92.032%
26463876301

push

github

web-flow
Add $book support for proposed appointment input (#9179)

* Add $book support for proposed appointment input

In [#8793](https://github.com/medplum/medplum/pull/8793) we added a
`$find` endpoint for multi-schedule searching that returns proposed
Appointment resources. Here we teach `$book` to accept an `appointment`
parameter; by passing an individual result from `$find` in that
parameter, we can atomically create all the appropriate Slot and
Appointment resources.

This is almost identical to the `$hold` endpoint, so we extract most of
the logic into a shared helper. It has a callback that allows each
endpoint to customize the resources it is about to save just before it
creates them. This makes the difference between the two extremely clear
to discern.

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

* Update $book docs for new Appointment input parameter

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

* PR Feedback

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>

21438 of 24158 branches covered (88.74%)

Branch coverage included in aggregate %.

26 of 26 new or added lines in 3 files covered. (100.0%)

35224 of 37408 relevant lines covered (94.16%)

23569.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26463876301.1 26 May 2026 05:26PM UTC 916
92.28
GitHub Action Run
Source Files on build 26463876301
  • Tree
  • List 786
  • Changed 88
  • Source Changed 3
  • Coverage Changed 88
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26463876301
  • 69452c56 on github
  • Prev Build on main (#26417773788)
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