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'Message A'

DR -> MC : Check not-picked up messages
MC -> PRDR : 200 OK (possibly with warnings- Array of messages not yet delivered (emtpy)
MC -> PRDR : 400 Bad Request (optional)

==PR Providing the default response ==
DR-> MC : Call respective Request-API to send 'Message A'
MC -> MCPR : Check not-picked up messages200 OK
MC -> DRPR : 400 Bad Request (optional)
MC

DR -> DRMC : 200Check OK not-picked Arrayup of messages messages
MC -> DR : 200 OK - Array of messages not yet delivered ('Message A')
MC -> DR : 400 Bad Request

DR -[#dodgerblue]> PRMC : MessageCall response (ack, reject, warning to "Message A") \nshould always include messageId of referring message
respective Response-API to picked up 'Message A'
MC -> DR : 200 OK
MC -> DR : 400 Bad Request

== Providing the default response ==
DR -[#dodgerblue]> PR : Message response (ack, reject, warning to 'Message A') \nshould always include messageId of referring message

PR -> MC : Check not-picked up messages
MC -> PR : 200 OK - Array of messages not yet delivered (emtpy)
MC -> PR : 400 Bad Request

DR -> MC : Call /messageResponse API to send the generic response to 'Message A'
MC -> DR : 200 OK
MC -> DR : 400 Bad Request

PR -> MC : Check not-picked up messages
MC -> DRPR : 400200 BadOK Request (optional)
MC -> DR : 200 OK (possibly with warnings)

== Getting the default response ==- Array of messages not yet delivered (generic response to 'Message A')
MC -> PR : 400 Bad Request

PR -> MC : Check not-picked up messages Call /messageResponseRetrieve API to pick up the generic response to 'Message A'
MC -> PR : 200 OK
MC -> ArrayPR of: messages400 not yet delivered (Message response to Message A)Bad Request

  



2.4.5 Automatically generated and manually curated Swagger

...