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

medplum / medplum / 24091779630
92%

Build:
DEFAULT BRANCH: main
Ran 07 Apr 2026 04:34PM UTC
Jobs 1
Files 762
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 Apr 2026 03:49PM UTC coverage: 91.935% (+0.002%) from 91.933%
24091779630

push

github

web-flow
Clean up Scheduling service-type param usage and docs (#8889)

During the original $find implementation, it seemed like the
`service-type` parameter could take zero, one, or many values, so we set
its cardinality to `0..*`.

- In commit b98f2b055 we made `service-type` a required parameter,
  changing the lower bound of the cardinality from 0 to 1. I neglected
  to update the documentation to reflect this, so we do that now.

- I had thought that `service-type` could take multiple values, but
  we're implementing this by taking a single string value and using
  commas as delimiters between tokens.

  This is in line with how FHIR search parameters generally work; a
  single parameter with comma separated values is treated as a
  disjunction over those values ("or" style query), while specifying the
  same parameter multiple times is a conjunction ("and" style query).

  That is, `?service-type=foo&service-type=bar` has a semantically
  different meaning than `?service-type=foo,bar`; it should match
  service types that include codes "foo" and "bar", instead of "foo" or
  "bar".

  We're not currently supporting the conjunctive form, so I'm reducing
  the upper bound of the cardinality from `*` to 1. I'm also updating
  the FindPane in the provider application so that it matches this
  updated understanding.

- While looking at the $find operation definition, I saw that I also
  misinterpreted the `type` attribute; this is used to flag when the
  operation is available at the type level. In this case, `type: true`
  implies that `/Schedule/$find` should be a valid endpoint, but it is
  not. Let's correct that to `false` while we are here.

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

18138 of 20659 branches covered (87.8%)

Branch coverage included in aggregate %.

32964 of 34926 relevant lines covered (94.38%)

14361.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24091779630.1 07 Apr 2026 04:34PM UTC 762
91.93
GitHub Action Run
Source Files on build 24091779630
  • Tree
  • List 762
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 9c71a57c on github
  • Prev Build on gh-readonly-queue/main/pr-8894-4daf72cc54bff4c5d2931abdcc735c586b0bfb1a (#24059070048)
  • Next Build on main (#24095461320)
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