@@ -18,34 +18,34 @@ Feature: Producer - updateDocumentReference - Duplicate Field Scenarios
1818 | author | TSTCUS |
1919 When producer 'TSTCUS' requests update of a DocumentReference with pointerId 'TSTCUS-updateDuplicateTest-1234' but replacing 'content' :
2020 """
21- [
22- {
23- "attachment": {
24- "contentType": "application/pdf",
25- "url": "https://example.org/my-doc.pdf",
26- "url": "https://example.org/duplicate-url.pdf"
27- },
28- "format": {
29- "system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode",
30- "code": "urn:nhs-ic:unstructured",
31- "display": "Unstructured Document"
32- },
33- "extension": [
34- {
35- "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-ContentStability",
36- "valueCodeableConcept": {
37- "coding": [
38- {
39- "system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLContentStability",
40- "code": "static",
41- "display": "Static"
42- }
43- ]
44- }
21+ [
22+ {
23+ "attachment": {
24+ "contentType": "application/pdf",
25+ "url": "https://example.org/my-doc.pdf",
26+ "url": "https://example.org/duplicate-url.pdf"
27+ },
28+ "format": {
29+ "system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode",
30+ "code": "urn:nhs-ic:unstructured",
31+ "display": "Unstructured Document"
32+ },
33+ "extension": [
34+ {
35+ "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-ContentStability",
36+ "valueCodeableConcept": {
37+ "coding": [
38+ {
39+ "system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLContentStability",
40+ "code": "static",
41+ "display": "Static"
42+ }
43+ ]
4544 }
46- ]
47- }
48- ]
45+ }
46+ ]
47+ }
48+ ]
4949 """
5050 Then the response status code is 400
5151 And the response is an OperationOutcome with 1 issue
@@ -88,42 +88,42 @@ Feature: Producer - updateDocumentReference - Duplicate Field Scenarios
8888 | author | TSTCUS |
8989 When producer 'TSTCUS' requests update of a DocumentReference with pointerId 'TSTCUS-updateDuplicateTest-1235' but replacing 'content' :
9090 """
91- [
92- {
93- "attachment": {
94- "contentType": "application/pdf",
95- "url": "https://example.org/my-doc.pdf"
96- },
97- "attachment": {
98- "contentType": "text/html",
99- "url": "https://example.org/contact-details.html"
100- },
101- "format": {
102- "system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode",
103- "code": "urn:nhs-ic:unstructured",
104- "display": "Unstructured Document"
105- },
106- "format": {
107- "system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode",
108- "code": "urn:nhs-ic:record-contact",
109- "display": "Contact details (HTTP Unsecured)"
110- },
111- "extension": [
112- {
113- "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-ContentStability",
114- "valueCodeableConcept": {
115- "coding": [
116- {
117- "system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLContentStability",
118- "code": "static",
119- "display": "Static"
120- }
121- ]
122- }
91+ [
92+ {
93+ "attachment": {
94+ "contentType": "application/pdf",
95+ "url": "https://example.org/my-doc.pdf"
96+ },
97+ "attachment": {
98+ "contentType": "text/html",
99+ "url": "https://example.org/contact-details.html"
100+ },
101+ "format": {
102+ "system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode",
103+ "code": "urn:nhs-ic:unstructured",
104+ "display": "Unstructured Document"
105+ },
106+ "format": {
107+ "system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode",
108+ "code": "urn:nhs-ic:record-contact",
109+ "display": "Contact details (HTTP Unsecured)"
110+ },
111+ "extension": [
112+ {
113+ "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-England-ContentStability",
114+ "valueCodeableConcept": {
115+ "coding": [
116+ {
117+ "system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLContentStability",
118+ "code": "static",
119+ "display": "Static"
120+ }
121+ ]
123122 }
124- ]
125- }
126- ]
123+ }
124+ ]
125+ }
126+ ]
127127 """
128128 Then the response status code is 400
129129 And the response is an OperationOutcome with 1 issue
0 commit comments