Skip to content

Commit

Permalink
Merge pull request #313 from masslight/portal-default-redirect
Browse files Browse the repository at this point in the history
Handle request visit from patient portal
  • Loading branch information
AykhanAhmadli authored Aug 9, 2024
2 parents 44969d8 + 73ac1ea commit 058dcf5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/telemed-intake/app/src/pages/PatientPortal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ const PatientPortal = (): JSX.Element => {
const appointmentID = activeAppointment?.id || '';

const handleRequestVisit = (): void => {
navigate(`${IntakeFlowPageRoute.SelectPatient.path}?flow=requestVisit`);
navigate(
`${IntakeFlowPageRoute.Welcome.path.replace(':schedule-type', 'provider').replace(':slug', 'daniel').replace(':visit-service', 'in-person').replace(':visit-type', 'prebook')}`,
);
};

const handleReturnToCall = (): void => {
Expand Down

0 comments on commit 058dcf5

Please sign in to comment.