Skip to content

Commit

Permalink
feat(#125): sequence diagrams for outgoing patients
Browse files Browse the repository at this point in the history
  • Loading branch information
witash authored and Maria Lorena Rodriguez Viruel committed May 21, 2024
1 parent 6658975 commit 744c28d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Binary file added docs/sequence-diagram/cht-outgoing-patients.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions docs/sequence-diagram/cht-outgoing-patients.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
title CHT Outgoing Patients

participant Requesting System

participantgroup
participant OpenHIM
participant Mediator
participant FHIR Server
end

autoactivation on
box over Requesting System: A FHIR Patient is created
Mediator->Requesting System: Mediator GETs FHIR Patients
activate Mediator
Requesting System-->Mediator: FHIR Searchset Response
Mediator->FHIR Server: Mediator GETs FHIR Patients
FHIR Server-->Mediator: FHIR Searchset Response
box over Mediator: Mediator compares Resources from\nFHIR Server and Requesting System
box over Mediator: Patients found in FHIR Serverbut\nnot in Requesting System are sent to Requesting System
Mediator->Requesting System: Mediator POSTS new Patients
Requesting System-->Mediator: FHIR Patient Response\n(w/ Requesting System ids)
Mediator->FHIR Server: Mediator PUTS Patient\nw/ updated ids from requesting System
FHIR Server-->Mediator:
deactivate Mediator
autoactivation off

0 comments on commit 744c28d

Please sign in to comment.