Skip to content

Commit

Permalink
Merge branch 'dev_gs_kommentare'
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasKerner committed Jan 17, 2025
2 parents 1c5478d + 05b5f92 commit 9ed0d0a
Show file tree
Hide file tree
Showing 15 changed files with 586 additions and 549 deletions.
Binary file modified images/Systemkontext_VSDM2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/Systemkontext_VSDM2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Systemueberblick_VSDM2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/Systemueberblick_VSDM2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/Systemueberblick_VSDM_2.png
Binary file not shown.
3 changes: 0 additions & 3 deletions images/Systemueberblick_VSDM_2.svg

This file was deleted.

Binary file added images/VSDM 2.0 Sequenzdiagramm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/VSDM 2.0 Sequenzdiagramm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/diagrams/gemSpec_VSDM_2__Sequenzdiagramm.png
Binary file not shown.
1 change: 0 additions & 1 deletion images/diagrams/gemSpec_VSDM_2__Sequenzdiagramm.svg

This file was deleted.

75 changes: 52 additions & 23 deletions src/drawio/Systemkontext_VSDM2.drawio

Large diffs are not rendered by default.

338 changes: 203 additions & 135 deletions src/drawio/Systemueberblick_VSDM2.drawio

Large diffs are not rendered by default.

609 changes: 315 additions & 294 deletions src/openapi/vsdm2.yaml

Large diffs are not rendered by default.

28 changes: 11 additions & 17 deletions src/plantuml/gemSpec_VSDM2_Sequenzdiagramm.puml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@startuml VSDM 2.0 Sequenzdiagramm
hide footbox

title VSDM 2.0 Sequenzdiagramm "Versichertenstammdaten und Prüfungsnachweis abrufen"
title VSDM 2.0 Sequenzdiagramm "Versichertenstammdaten und Prüfziffer abrufen"

actor Ver as "Patient"
actor LE as "LEI-Mitarbeiter"
Expand Down Expand Up @@ -83,39 +83,33 @@ alt PoPP-Token nicht vorhanden oder ungültig
VSDD_Proxy -> PS : HTTP 403 Forbidden
end

VSDD_Proxy -> VSDD_Proxy : HTTP-Method und API-Endpunkt \ndes Client-Request prüfen
VSDD_Proxy -> VSDD_Proxy : HTTP-Methode und API-Endpunkt \ndes Client-Request prüfen
alt Request not valid
VSDD_Proxy -> PS : HTTP 400 Bad Request
end

VSDD_Proxy -> VSDD_Server : GET /vsdservice/v1/vsdmbundle \nZTA-User-Info <user_info>, \nZTA-PoPP-Token-Content <content>, \nZTA-Client-Data <client data>, \nIf-None-Match: "<etag_value>"
activate VSDD_Server

VSDD_Server -> VSDD_Server : ZTA- Header prüfen
alt Zero-Trust Access Header nicht vorhanden
VSDD_Server -> VSDD_Server : ZTA-Header prüfen
alt Zero-Trust Access Header nicht vorhanden oder verarbeitbar
VSDD_Server -> VSDD_Proxy : HTTP 400 Bad Request
VSDD_Proxy -> PS : HTTP 400/500 (abhängig, welcher header fehlt oder ungültig ist)
end

VSDD_Server -> VSDD_Server : zeitliche Gültigkeit(PoPP-Token) prüfen
alt PoPP-Token ist für das aktuelle Quartal NICHT gültig
VSDD_Server -> VSDD_Proxy : HTTP 403 Forbidden
VSDD_Proxy -> PS : HTTP 403 Forbidden
VSDD_Proxy -> PS : HTTP 400 Bad Request
end

VSDD_Server -> VSDD_Server : vsd-version prüfen
alt etag_value(client) == etag_value(VSDD)
VSDD_Server -> VSDD_Proxy : HTTP 304 Not Modified \nETag: "<etag_value>" \nVSDM-Pn: <Prüfungsnachweis>
VSDD_Proxy -> PS : HTTP 304 Not Modified \nETag: "<etag_value>" \nVSDM-Pn: <Prüfungsnachweis>
VSDD_Server -> VSDD_Proxy : HTTP 304 Not Modified \nETag: "<etag_value>" \nVSDM-Pz: <Prüfziffer>
VSDD_Proxy -> PS : HTTP 304 Not Modified \nETag: "<etag_value>" \nVSDM-Pz: <Prüfziffer>
else etag_value(client) != etag_value(VSDD)
VSDD_Server -> VSDD_Server : lokalisiere VSD zu KVNR(PoPP-Token)
VSDD_Server -> VSDD_Proxy : HTTP 200 OK \nETag: "<new_etag_value>" \nVSDM-Pn: <Prüfungsnachweis>\nVSDMBundle
VSDD_Proxy -> PS : HTTP 200 OK \nETag: "<new_etag_value>" \nVSDM-Pn: <Prüfungsnachweis>\nVSDMBundle
VSDD_Server -> VSDD_Proxy : HTTP 200 OK \nETag: "<new_etag_value>" \nVSDM-Pz: <Prüfziffer>\nVSDMBundle
VSDD_Proxy -> PS : HTTP 200 OK \nETag: "<new_etag_value>" \nVSDM-Pz: <Prüfziffer>\nVSDMBundle
PS -> PS : Aktualisiere VSD
PS -> LE : Zeige VSD an
end

PS -> PS : Aktualisiere Prüfungsnachweis
PS -> PS : Aktualisiere Prüfziffer
VSDD_Server -> VSDD_Server : write Zugriffsprotokoll(KVNR) mit Inhalt: User-Info
activate VSDD_Server
deactivate PS
Expand All @@ -126,7 +120,7 @@ deactivate LE

== Fehlerbehandlung HTTP 401 Unauthorized (Access-Token ungültig) ==
'Authentifizierung und AUtorisierung am VSDM AuthZ-Server durchführen
ref over PS, VSDD_AuthZ : LEI-Authentifizierung (SMC-B) und LEI-Autorisierung (siehe gemSpec_Zero-Trust)
ref over PS, VSDD_AuthZ : LEI-Authentifizierung (SMC-B) und LEI-Autorisierung (siehe gemSpec_ZETA)
VSDD_AuthZ -> PS : HTTP 200 OK \n{Refresh-Token, Access-Token} mit scope : vsdservice

== Fehlerbehandlung HTTP 403 Forbidden (Versorgungskontext bzw. PoPP-Token ungültig) ==
Expand Down
75 changes: 0 additions & 75 deletions src/vsds/vsdmpruefungsnachweis2.xsd

This file was deleted.

0 comments on commit 9ed0d0a

Please sign in to comment.