#text for https://sequencediagram.org/

participant Provider (Data Source)

participant Payer (Data Consumer)

note over Provider (Data Source):1) Provider has attachments for Payer
Provider (Data Source)->Payer (Data Consumer): 2) POST $submit-attachment with attachments in payload
alt 3) Accepted
Payer (Data Consumer)-->Provider (Data Source): Return HTTP 200 OK +/- OperationOutcome
else 3) Rejected
Payer (Data Consumer)-->Provider (Data Source): Return HTTP 4xx or 5xx with an OperationOutcome
end
note right of Payer (Data Consumer): 4) Payer associates data with existing or future\nclaim/prior authorization and processes