Skip to content

OTR-1754#6197

Merged
OmarZubaidi merged 15 commits intodevelopfrom
omar/otr-1754-remove-when-credentialed-in-state-qualifier-from
Feb 18, 2026
Merged

OTR-1754#6197
OmarZubaidi merged 15 commits intodevelopfrom
omar/otr-1754-remove-when-credentialed-in-state-qualifier-from

Conversation

@OmarZubaidi
Copy link
Contributor

@OmarZubaidi OmarZubaidi commented Feb 12, 2026

  • remove state credential qualifier from notifications.
  • reword notification: "patient in [state] is waiting" -> "Virtual visit with [patient] at [time am/pm]"
  • when patient joins virtual waiting room, a new notification is created: "[patient] is ready to begin their virtual visit."

@OmarZubaidi OmarZubaidi marked this pull request as ready for review February 13, 2026 19:10
@OmarZubaidi OmarZubaidi requested review from VladMstv, alexwillingham and Copilot and removed request for alexwillingham and Copilot February 13, 2026 19:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request implements changes to the virtual visit waiting room notification system as specified in OTR-1754. The changes modify how providers are notified when patients join the virtual waiting room, removing state-based filtering and updating notification messages.

Changes:

  • Removed state credential qualifier from provider notifications - notifications are now sent to all active providers instead of filtering by state
  • Reworded notification messages from "patient in [state] is waiting" to "Virtual visit with [patient] at [time am/pm]"
  • Added new notification when patient joins virtual waiting room: "[patient] is ready to begin their virtual visit" via a new Task resource

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
packages/zambdas/src/patient/video-chat-invites/create-waiting-room-notification-task/index.ts New zambda handler to create a Task notification when patient joins waiting room
packages/zambdas/src/patient/video-chat-invites/create-waiting-room-notification-task/validateRequestParameters.ts Input validation for the new waiting room notification endpoint
packages/zambdas/src/cron/notifications-updater/index.ts Updated to send notifications to all active providers and changed notification message format
packages/utils/lib/types/data/telemed/video-chat-invites.types.ts Added TypeScript types for waiting room notification request/response
packages/utils/lib/fhir/constants.ts Added constants for waiting room notification task type and code
packages/utils/lib/fhir/helpers.ts Added TODO comment for future enhancement
config/oystehr/zambdas.json Configured new zambda endpoint as http_open
apps/intake/src/telemed/pages/WaitingRoom.tsx Integrated call to create waiting room notification when patient enters
apps/intake/src/api/ottehrApi.ts Added API client method for waiting room notification creation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@OmarZubaidi OmarZubaidi merged commit 7d4e8b2 into develop Feb 18, 2026
20 of 21 checks passed
@OmarZubaidi OmarZubaidi deleted the omar/otr-1754-remove-when-credentialed-in-state-qualifier-from branch February 18, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments