Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PlantUML Macro
dropshadowfalse
separationfalse
formatPNG
alignleft
titleGeneric message flow
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 (optional200 OK (possibly with warnings)
MC -> PR : 400 200Bad OKRequest (possibly with warningsoptional)

== 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)
  

...