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

medplum / medplum / 23217534358 / 1
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 17 Mar 2026 09:48PM UTC
Files 753
Run time 22s
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

17 Mar 2026 09:36PM UTC coverage: 92.212%. Remained the same
23217534358.1

push

github

web-flow
Provider: add "visit" set up after $book (#8585)

* Provider: add "visit" set up after $book

After using $book to create an Appointment and Slot resources, we end up
in a situation where we want to configure the appointment in the same
way as the older "visit" set up style. This entails selecting an
"encounter class" and a PlanDefinition, and creating a variety of
resources.

To this end, we split `createEncounter` into `createAppointment` and
`createEncounter` - the older `<CreateVisit>` code path now calls both
of these in sequence, while the newer `<AppointmentDetails>` component
that has an Appointment from a `$book` operation can call
`createEncounter` only.

This will support both the current medplum-provider $find/$book
scheduling workflow, and a future workflow where a Patient-centered app
will allow a logged in patient to create an appointment via $find/$hold.

The SchedulePage has been updated to reveal the newly created
Appointment in the Details pane after creation, allowing the provider to
immediately apply a template and create the related encounter when
appropriate.

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

* PR Feedback: Error handling adjustment

Thanks @techdavidy!

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

* Tighten flaky test

I think that this was sometimes finding the "Homer Simpson" entry in
both the `<Calendar>` and the `<FindPane>` components. We're explicitly
trying to test that the calendar entry is visible, so let's scope the
query to that component.

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

* PR Feedback: add test case for failed encounter creation

Thanks for the suggestion Claude!

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

---------

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

17896 of 20323 branches covered (88.06%)

Branch coverage included in aggregate %.

32521 of 34352 relevant lines covered (94.67%)

14567.47 hits per line

Source Files on job 23217534358.1
  • Tree
  • List 753
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 23217534358
  • b0aa196c on github
  • Prev Job for on main (#23214252190.1)
  • Next Job for on main (#23218188449.1)
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