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

medplum / medplum / 21728158416
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: noah/schedule-page-refactor
DEFAULT BRANCH: main
Ran 05 Feb 2026 09:08PM UTC
Jobs 1
Files 721
Run time 1min
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

05 Feb 2026 08:55PM UTC coverage: 92.311% (-0.002%) from 92.313%
21728158416

push

github

web-flow
Add patient identifier support to SMART app launch URLs (#8325)

* Add patient identifier parameter support to SMART App Launch URLs

Extends SmartAppLaunchLink component to include a 'patient' query parameter
in the SMART launch URL when the ClientApplication has the extension
'https://medplum.com/fhir/StructureDefinition/smart-app-launch-patient-identifier-system'.

The extension value specifies which identifier system to use when looking up
the patient's identifier. This enables SMART apps that require a specific
patient identifier (like Health Gorilla) to receive the correct patient ID
in the launch URL.

Changes:
- Add SMART_APP_LAUNCH_PATIENT_IDENTIFIER_SYSTEM extension constant
- Add optional patientResource prop to SmartAppLaunchLink
- Extract and include patient identifier when extension is present
- Update AppsPage to pass Patient resource to SmartAppLaunchLink
- Add comprehensive tests for the new functionality

https://claude.ai/code/session_016Myt3C3BvFzCKbyJBHhJBx
Signed-off-by: maddyli <maddy@medplum.com>

* Refactor: Use useResource hook instead of patientResource prop

SmartAppLaunchLink now fetches the Patient resource internally using
the existing patient reference prop, resulting in a cleaner API where
callers don't need to pass duplicate parameters.

https://claude.ai/code/session_016Myt3C3BvFzCKbyJBHhJBx
Signed-off-by: maddyli <maddy@medplum.com>

* [autofix.ci] apply automated fixes

Signed-off-by: maddyli <maddy@medplum.com>

* Store patient identifier in SmartAppLaunch and return in token response

Instead of adding a patient query parameter to the launch URL, this change
stores the patient identifier directly in the SmartAppLaunch resource's
patient.identifier field. The server's token endpoint then returns this
identifier value (when present) instead of the FHIR resource ID.

This follows FHIR conventions for identifier-based references and ensures
the SMART app receives the correct external patient ID through the standard
O... (continued)

16971 of 19238 branches covered (88.22%)

Branch coverage included in aggregate %.

19 of 19 new or added lines in 2 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

31001 of 32730 relevant lines covered (94.72%)

13846.38 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
85.96
-0.88% packages/server/src/subscriptions/websockets.ts
Jobs
ID Job ID Ran Files Coverage
1 21728158416.1 05 Feb 2026 09:08PM UTC 721
92.31
GitHub Action Run
Source Files on build 21728158416
  • Tree
  • List 721
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 36493018 on github
  • Prev Build on gh-readonly-queue/main/pr-8375-8ddc61a78ea9583a890334029939ceaf152677f3 (#21727276982)
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