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

medplum / medplum / 28542446975
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: cody/pin-server-images
DEFAULT BRANCH: main
Ran 01 Jul 2026 07:55PM UTC
Jobs 1
Files 844
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

01 Jul 2026 07:28PM UTC coverage: 91.91% (-0.001%) from 91.911%
28542446975

push

github

web-flow
fix(core/fhirpath): `as` should return empty collection on wrong type (#9711)

* fix(core/fhirpath): `as` should return empty collection on wrong type

Signed-off-by: Derrick Farris <derrick@medplum.com>

* fix(core/fhirpath): handle when RHS is not valid type identifier

Signed-off-by: Derrick Farris <derrick@medplum.com>

* fix(core): fix ofType with qualified type names and singleton error spacing

Resolve FHIRPath type specifier atoms in ofType() via getTypeName so
qualified names like FHIR.Patient match correctly, and correct the
spacing in the singleton() error message.

Signed-off-by: Derrick Farris <derrick@medplum.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix(core): fix 'is' operator crash on qualified type names; unskip testType

The 'is' operator (IsAtom) resolved its right operand via
(this.right as SymbolAtom).name, which is undefined for a qualified
name like System.Boolean, crashing fhirPathIs on undefined.startsWith.
Use the shared getTypeName helper (now exported) instead, matching the
is() function and ofType().

Unskip the testType block; the 5 tests that require System-vs-FHIR
namespace semantics (not yet implemented) are individually skipped with
a TODO.

Signed-off-by: Derrick Farris <derrick@medplum.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Signed-off-by: Derrick Farris <derrick@medplum.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

21619 of 24564 branches covered (88.01%)

Branch coverage included in aggregate %.

18 of 20 new or added lines in 3 files covered. (90.0%)

38539 of 40889 relevant lines covered (94.25%)

12562.25 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.78
-0.73% packages/core/src/fhirpath/atoms.ts
1
97.74
-0.11% packages/core/src/fhirpath/functions.ts
Jobs
ID Job ID Ran Files Coverage
1 28542446975.1 01 Jul 2026 07:55PM UTC 844
91.91
GitHub Action Run
Source Files on build 28542446975
  • Tree
  • List 844
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • acb726dd on github
  • Prev Build on gh-readonly-queue/main/pr-9643-728802ba68c07a90263a1d1b4de8794bd6864b17 (#28540254399)
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