-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(#125): sequence diagrams for outgoing patients
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |