Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ehcl/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ following sections (if non-empty):

Currently, the versioning policy of this project follows [Semantic Versioning v2.0.0][].

## v1.0.1
Include the EF.PD and EF.VD file contents into the registerEGK message such that the primary system can properly
calculate the HCV after readVSD for subsequent eRezept-Fachdienst calls.

## v1.0.0
First release publicly available.

Expand Down
10 changes: 10 additions & 0 deletions ehcl/asyncapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ components:
- cvcAuth
- cvcCA
- atr
- pd

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- pd
- hcaPD

- vd

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- vd
- hcaVD

description: Base64 encoded json payload
properties:
cardSessionId:
Expand Down Expand Up @@ -307,6 +309,14 @@ components:
type: string
format: byte
description: Data from EF.ATR
pd:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pd:
hcaPD:

type: string
format: byte
description: Data from EF.PD, required for HCV calculation
vd:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
vd:
hcaVD:

type: string
format: byte
description: Data from EF.VD, required for HCV calculation
contentType: application/json
sendApduPayload:
type: object
Expand Down
10 changes: 8 additions & 2 deletions ehcl/msc.puml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,18 @@ egk <- app : cmdAPDU (ReadBinary EF.C.CH.AUT.E256)
egk -> app : rspAPDU (EF.C.CH.AUT.E256 content)
egk <- app : cmdAPDU (ReadBinary EF.C.CH.AUT.R2048)
egk -> app : rspAPDU (EF.C.CH.AUT.R2048 content)
egk <- app : cmdAPDU (SELECT DF.HCA)
egk -> app : rspAPDU (SELECT OK)
egk <- app : cmdAPDU (ReadBinary EF.PD)
egk -> app : rspAPDU (EF.PD content)
egk <- app : cmdAPDU (ReadBinary EF.VD)
egk -> app : rspAPDU (EF.VD content)

group App
app -> app : Build registerEgkMessage\n(CardSessionID\nEF.ATR\nEF.Version2\nEF.GDO\nEF.C.CA_eGK.CS.E256\nEF.EF.C.eGK.AUT_CVC.E256\nEF.C.CH.AUT.E256\nEF.C.CH.AUT.R2048)
app -> app : Build registerEgkMessage\n(CardSessionID\nEF.ATR\nEF.Version2\nEF.GDO\nEF.C.CA_eGK.CS.E256\nEF.EF.C.eGK.AUT_CVC.E256\nEF.C.CH.AUT.E256\nEF.C.CH.AUT.R2048\nEF.PD\nEF.VD)
end

group App Hanshake with App-Backend or eHCL
group App Handshake with App-Backend or eHCL
app <-> ehcl : Handshake(webSocketId)
end

Expand Down