Skip to main content

Medical Issue


The Medical issue section captures the patient-provided reason for the appointment and optional supporting documents. It is part of the Appointment Request and Appointment Details views.



This section includes:

  • Medical issue field (required text input).
  • Upload photos or documents (optional file attachments).
  • Next or Update action depending on appointment state.

Workflow

  1. During Appointment Request, the user enters a description of the medical concern.
  2. The user uploads supporting files if applicable.
  3. The user selects Next to proceed to confirmation.

If the appointment request already exists:

  1. The user selects Edit Request from the appointment.
  2. The section loads with existing description and attachments.
  3. The user modifies the content and selects Next > Update.

Validations

ConditionRendering Rule
Description presentRender full text.
Description missingOmit section in read-only views.
Description empty during editBlock progression.
Description exceeds maximum lengthReturn validation error. Do not persist.
Attachments presentRender attachment references.
Attachments missingOmit attachment area.
Unsupported file formatReject file.
File size exceeds 10 MBReject file.
Appointment state = editableEnable edit controls.
Appointment state = locked or expiredRender section read-only. Disable update.

Actions

TriggerResult
Description enteredValidate input.
Attachment uploadedAdd file reference to request state.
Attachment removedRemove file reference from request state.
Next selected (valid state)Persist section data and navigate forward.
Update selected (editable state)Persist changes and refresh appointment data.
Backend rejectionNo state change. Display error.