Doctor Located Info
Use Doctor Located Info to notify the patient when the selected doctor is located in another country.
This screen includes:
| # | Element | Description |
|---|---|---|
| 1 | Page title | Displays Appointment Request. |
| 2 | Back action | Returns the user to the previous screen. |
| 3 | Appointment summary | Displays the selected appointment option, date, time, and visit type. |
| 4 | Location notice modal | Notifies the patient that the selected doctor is located in another country. |
| 5 | Location notice message | Displays the doctor country and the country used for the search. |
| 6 | Close action | Dismisses the location notice. |
| 7 | OK action | Confirms the notice and closes the modal. |
| 8 | Standard appointment request sections | Displays the remaining appointment request sections that follow the regular appointment request flow. |
Workflow
- Open the appointment request flow.
- Select a doctor or appointment option.
- Check the doctor location country.
- Display the country information modal when the doctor is located in another country.
- Select Ok to close the modal.
- Continue with appointment time selection.
Validations
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Session invalid | Block request | state = unauthenticated |
| Doctor country differs from patient context | Display country information modal | profileCountryNotice = required |
| Doctor country matches patient context | Continue without modal | profileCountryNotice = skipped |
| Country notice content fails to load | Display error state | state = error |
| Request rejected | Display error state | status = 405 |
Actions
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Appointment option selected | Check doctor country | profileCountry = checked |
| Country notice required | Load country information modal | PUT /api/v3/wizard/info/profile-country-notice |
| OK selected | Dismiss country information modal | state = dismissed |
| Modal dismissed | Continue appointment request flow | navigation = continue |
| Request rejected | Preserve current appointment request state | state = unchanged |
Endpoint Resources
Doctor Located Info
PUT
v3/wizard/info/profile-country-notice
Returns a popup that informs the patient when the selected doctor is located in another country.