@@ -39,10 +39,13 @@ info:
3939 Whenever a _Postcondition_ mandates a log-entry, this entry shall contain
4040 data as defined in A_24055*.
4141
42- version : 1.1.1
42+ version : 1.2.0
4343
4444 # version history:
4545 # ----------------
46+ # version 1.2.0
47+ # - bugfix UserAgentType
48+ # - return all changed consent decisions in response of updateConsentDecision
4649 # version 1.1.1
4750 # - reworked the correction of depending consent decision change 'medication' and 'erp-submission'
4851 # version 1.1.0
@@ -134,7 +137,9 @@ paths:
134137
135138 An email shall be sent to the insurant using the registered mail address after a successful change of
136139 a decision for notification. The mail shall contain understandable information about the changed consent
137- decision and timestamp of change (according to A_24844*)
140+ decision(s) and timestamp of change (according to A_24844*)."
141+
142+ The response of a successful operation shall contain all changed consent decisions.
138143
139144 | Conditions | Status code | Error code | Remarks |
140145 |------------|-------------|------------|---------|
@@ -169,11 +174,11 @@ paths:
169174 application/json :
170175 examples :
171176 Permit :
172- summary : Permit request
177+ summary : Permit request (e.g functionid == medication)
173178 value :
174179 decision : " permit"
175180 Deny :
176- summary : Deny request
181+ summary : Deny request (e.g functionid == erp-submission)
177182 value :
178183 decision : " deny"
179184 schema :
@@ -185,22 +190,28 @@ paths:
185190 application/json :
186191 examples :
187192 Permit_Medication :
188- summary : Permit medication request response
193+ summary : Permit functionid == medication (permits erp-submission internally) response
189194 value :
190- functionId : " medication"
191- decision : " permit"
192- Deny_Medication :
193- summary : Deny medication request response
195+ - functionId : " medication"
196+ decision : " permit"
197+ - functionId : " erp-submission"
198+ decision : " permit"
199+ Deny_erp-submission :
200+ summary : Deny functionid == erp-submission (denies medication internally) response
194201 value :
195- functionId : " medication"
196- decision : " deny"
197- Deny_Erp-submission :
198- summary : Deny erp-submission request response
202+ - functionId : " medication"
203+ decision : " deny"
204+ - functionId : " erp-submission"
205+ decision : " deny"
206+ Deny_erp-submission2 :
207+ summary : Deny functionid == erp-submission (medication already denied) response
199208 value :
200- functionId : " erp-submission"
201- decision : " deny"
209+ - functionId : " erp-submission"
210+ decision : " deny"
202211 schema :
203- $ref : " #/components/schemas/ConsentDecisionsResponseType"
212+ type : array
213+ items :
214+ $ref : " #/components/schemas/ConsentDecisionsResponseType"
204215 ' 400 ' :
205216 $ref : " #/components/responses/Error400BadRequest"
206217 ' 403 ' :
@@ -418,7 +429,7 @@ components:
418429 UserAgentType :
419430 description : " Information about client software with: ClientId(20 characters) + / + VersionNumber (1 to 15 characters)."
420431 type : string
421- pattern : ' ^[a-zA-Z0-9]{ 20}\/[a-zA-Z0-9\-\.]{1,15}$'
432+ pattern : ' ^[a-zA-Z0-9\-]{1, 20}\/[a-zA-Z0-9\-\.]{1,15}$'
422433 example : CLIENTID1234567890AB/2.1.12-45
423434 FunctionIdType :
424435 type : string
0 commit comments