-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from gematik/feature/konnektor-workarounds
Beschreibung von Workarounds für secunet Konnektoren
- Loading branch information
Showing
6 changed files
with
131 additions
and
0 deletions.
There are no files selected for viewing
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,75 @@ | ||
@startuml Aktualisierte Abgabeinformationen | ||
|
||
actor Versicherter | ||
participant "E-Rezept-Fachdienst" as FD | ||
participant AVS | ||
actor Apotheker | ||
|
||
group E-Rezept abrufen | ||
Versicherter -> Apotheker: Zeige Rezeptcode | ||
Apotheker -> AVS: scanCode():E-Rezept-Token | ||
AVS -> FD: POST /Task/<id>/$accept | ||
FD -> FD: updateTaskStatus(id, 'in-progress') | ||
FD -> AVS: E-Rezept | ||
AVS -> Apotheker: showEPrescription() | ||
end | ||
|
||
group Bereitstellen der Dispensierinformationen | ||
Apotheker -> AVS: dispenseMedication() | ||
AVS -> FD: POST /Task/<id>/$dispense | ||
FD -> FD: storeMedicationDispense() | ||
FD -> FD: setReferenceForMedicationDispense() | ||
FD -> FD: setLastModified() | ||
FD -> FD: setLastMedicationDispense(currentTime()) | ||
FD --> AVS: ok | ||
AVS --> Apotheker: ok | ||
Apotheker -> Versicherter: Übergabe Medikament | ||
end | ||
|
||
group Aktualisierung der Dispensierinformationen | ||
Versicherter -> Apotheker: Bitte um Aktualisierung der Dispensierinformation | ||
Apotheker -> AVS: updateMedication() | ||
AVS -> FD: POST /Task/<id>/$dispense | ||
FD -> FD: replaceMedicationDispense() | ||
FD -> FD: setReferenceForMedicationDispense() | ||
FD -> FD: setLastModified() | ||
FD -> FD: setLastMedicationDispense(currentTime()) | ||
FD --> AVS: ok | ||
AVS --> Apotheker: ok | ||
Apotheker -> Versicherter: Abgabe neues Medikament | ||
end | ||
|
||
group Löschen der Dispensierinformationen | ||
Versicherter -> Apotheker: Bitte um Rückgabe | ||
Apotheker -> Apotheker: Medikament zurücknehmen | ||
Apotheker -> AVS: deleteDispense() | ||
AVS -> FD: POST /Task/<id>/$reject | ||
FD -> FD: deleteReferenceForMedicationDispense() | ||
FD -> FD: deleteMedicationDispense() | ||
FD -> FD: setLastModified() | ||
FD -> FD: updateTaskStatus(id, 'ready') | ||
FD --> AVS: ok | ||
AVS --> Apotheker: ok | ||
end | ||
|
||
group E-Rezept löschen | ||
Apotheker -> AVS: deletePrescription() | ||
AVS -> FD: POST /Task/<id>/$abort | ||
FD -> FD: deleteReferenceForMedicationDispense() | ||
FD -> FD: deleteMedicationDispense() | ||
FD -> FD: deleteEPrescription() | ||
FD -> FD: deleteTask() | ||
FD --> AVS: ok | ||
AVS --> Apotheker: ok | ||
end | ||
|
||
group E-Rezept Abgabe vollziehen | ||
Apotheker -> AVS: getReceipt() | ||
AVS -> FD: POST /Task/<id>/$close | ||
FD -> FD: updateTaskStatus(id, 'completed') | ||
FD -> FD: generateReceipt() | ||
FD -> AVS: ePrescriptionReceipt() | ||
end | ||
|
||
|
||
@enduml |