...
| PlantUML Macro | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
participant "Patient Registry" as PR control "Match-Connect" as MC control "Search & Match\nService" as SM participant "Donor Registry" as DR skinparam SequenceMessageAlign center skinparam dpi 92 == Sending a user generated message == PR -[#dodgerblue]> DR : Send message A MC -> PR : 400 Bad Request (optional) MC -> PR : 200 OK (possibly with warnings) PR -> MC : Check not-picked up messages MC -> PR : 200 OK - Array of messages not yet delivered == Providing the default response == DR -> MC : Check not-picked up messages MC -> DR : 400 Bad Request (optional) MC -> DR : 200 OK - Array of messages not yet delivered (Message A) DR -[#dodgerblue]> PR : Message response (ack, reject, warning to "Message A") \nshould always include messageId of referring message MC -> DR : 400 Bad Request (optional) MC -> DR : 200 OK (possibly with warnings) == Getting the default response == PR -> MC : Check not-picked up messages MC -> PR : 200 OK - Array of messages not yet delivered (Message response to Message A) |
2.4.5 Automatically generated and manually curated Swagger
...