Skip to main content

Doctor Rating


Use Doctor Rating to collect feedback about the doctor after an appointment.



This screen includes:

#ElementDescription
1Doctor feedback modalCollects feedback about the doctor.
2Modal titleDisplays Your opinion matters.
3Close actionCloses the modal.
4Doctor photoDisplays the doctor profile image.
5Rating titleDisplays the doctor rating prompt.
6Rating questionAsks for recommendation likelihood.
7Rating scaleLets the user select a score from 0 to 10.
8Rating labelsDefines 0 = Not likely and 10 = Very likely.
9Review text fieldAccepts optional doctor review text.
10Character limit hintShows the 200-character limit.
11Continue actionContinues to the next feedback step.

Workflow

  1. Open the doctor rating screen.
  2. Select a rating from 0 to 10.
  3. Enter optional review text.
  4. Select Continue.
  5. Submit the doctor rating.
  6. Continue to the next rating step or confirmation state.

Validations

ScenarioApp behaviorSDK output
Rating not selectedDisable Continuevalidation = rating_required
Rating selectedEnable Continuerating = selected
Review exceeds character limitDisplay character limit statevalidation = max_length_exceeded
Review within character limitAccept review textreview = valid
Rating submittedContinue rating flowrating = submitted
Request rejectedDisplay error statestatus = 405

Actions

ScenarioApp behaviorSDK output
Doctor rating opensLoad doctor rating screenPUT /api/v3/rating/profile
Rating selectedUpdate selected ratingrating = updated
Review enteredUpdate review textreview = updated
Continue selectedSubmit doctor ratingPOST /api/v3/rating/profile
Close selectedClose the modalstate = dismissed
Request rejectedPreserve current statestate = unchanged

Endpoint Resources

Doctor Rating

PUT 

v3/rating/profile

Returns the doctor rating screen.

Proceed Doctor Rating

POST 

v3/rating/profile

Submits the doctor rating.