@startuml
title Request appointment — interaction
actor "Patient" as User
participant "Patient Healthcare Portal" as Platform
participant "Appointment Scheduling System" as Partner
participant "Audit Logging Service / CloudWatch" as Gateway
User -> Platform : Request appointment
Platform -> Partner : Check slot and book appointment
Partner --> Platform : validation / acceptance result
alt accepted
Platform -> Gateway : Append appointment access and booking audit event
Gateway --> Platform : Audit receipt
Platform -> Platform : Record booking reference
Platform --> User : confirmation / current status
else declined or unavailable
Platform --> User : explain failure; allow safe retry
end
note over Platform
Authorization and consent precede booking. This is an example design, not a compliance claim.
end note
@enduml
