|
2 | 2 | "resourceType": "OperationOutcome", |
3 | 3 | "issue": [ |
4 | 4 | { |
5 | | - "extension": [ |
6 | | - { |
7 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line", |
8 | | - "valueInteger": 1 |
9 | | - }, |
10 | | - { |
11 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", |
12 | | - "valueInteger": 1004 |
13 | | - } |
14 | | - ], |
15 | | - "severity": "warning", |
| 5 | + "severity": "information", |
16 | 6 | "code": "processing", |
17 | | - "diagnostics": "Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation)", |
| 7 | + "diagnostics": "Binding for path Bundle.entry[0].resource.ofType(Task).businessStatus has no source, so can't be checked", |
18 | 8 | "location": [ |
19 | | - "Bundle.entry[0].resource/*Task/4d70678c-81e4-4ff4-8c67-17596fd0aa46*/", |
20 | | - "Line[1] Col[1004]" |
| 9 | + "Bundle.entry[0].resource.ofType(Task).businessStatus", |
| 10 | + "Line 1, Col 668" |
21 | 11 | ] |
22 | 12 | }, |
23 | 13 | { |
24 | | - "extension": [ |
25 | | - { |
26 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line", |
27 | | - "valueInteger": 1 |
28 | | - }, |
29 | | - { |
30 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", |
31 | | - "valueInteger": 1004 |
32 | | - }, |
33 | | - { |
34 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", |
35 | | - "valueString": "Validation_VAL_Profile_Minimum" |
36 | | - } |
37 | | - ], |
38 | 14 | "severity": "error", |
39 | 15 | "code": "processing", |
40 | | - "details": { |
41 | | - "coding": [ |
42 | | - { |
43 | | - "system": "http://hl7.org/fhir/java-core-messageId", |
44 | | - "code": "Validation_VAL_Profile_Minimum" |
45 | | - } |
46 | | - ] |
47 | | - }, |
48 | 16 | "diagnostics": "Task.identifier: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/NHSDigital-Task-EPS)", |
49 | 17 | "location": [ |
50 | | - "Bundle.entry[0].resource/*Task/4d70678c-81e4-4ff4-8c67-17596fd0aa46*/", |
51 | | - "Line[1] Col[1004]" |
| 18 | + "Bundle.entry[0].resource.ofType(Task)", |
| 19 | + "Line 1, Col 267" |
52 | 20 | ] |
53 | 21 | }, |
54 | 22 | { |
55 | | - "extension": [ |
56 | | - { |
57 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line", |
58 | | - "valueInteger": 1 |
59 | | - }, |
60 | | - { |
61 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", |
62 | | - "valueInteger": 1004 |
63 | | - }, |
64 | | - { |
65 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", |
66 | | - "valueString": "Validation_VAL_Profile_Minimum" |
67 | | - } |
68 | | - ], |
69 | 23 | "severity": "error", |
70 | 24 | "code": "processing", |
71 | | - "details": { |
72 | | - "coding": [ |
73 | | - { |
74 | | - "system": "http://hl7.org/fhir/java-core-messageId", |
75 | | - "code": "Validation_VAL_Profile_Minimum" |
76 | | - } |
77 | | - ] |
78 | | - }, |
79 | 25 | "diagnostics": "Task.code: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/NHSDigital-Task-EPS)", |
80 | 26 | "location": [ |
81 | | - "Bundle.entry[0].resource/*Task/4d70678c-81e4-4ff4-8c67-17596fd0aa46*/", |
82 | | - "Line[1] Col[1004]" |
| 27 | + "Bundle.entry[0].resource.ofType(Task)", |
| 28 | + "Line 1, Col 267" |
83 | 29 | ] |
84 | 30 | }, |
85 | 31 | { |
86 | | - "extension": [ |
87 | | - { |
88 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line", |
89 | | - "valueInteger": 1 |
90 | | - }, |
91 | | - { |
92 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", |
93 | | - "valueInteger": 1004 |
94 | | - }, |
95 | | - { |
96 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", |
97 | | - "valueString": "Validation_VAL_Profile_Minimum" |
98 | | - } |
99 | | - ], |
100 | 32 | "severity": "error", |
101 | 33 | "code": "processing", |
102 | | - "details": { |
103 | | - "coding": [ |
104 | | - { |
105 | | - "system": "http://hl7.org/fhir/java-core-messageId", |
106 | | - "code": "Validation_VAL_Profile_Minimum" |
107 | | - } |
108 | | - ] |
109 | | - }, |
110 | 34 | "diagnostics": "Task.authoredOn: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/NHSDigital-Task-EPS)", |
111 | 35 | "location": [ |
112 | | - "Bundle.entry[0].resource/*Task/4d70678c-81e4-4ff4-8c67-17596fd0aa46*/", |
113 | | - "Line[1] Col[1004]" |
| 36 | + "Bundle.entry[0].resource.ofType(Task)", |
| 37 | + "Line 1, Col 267" |
114 | 38 | ] |
115 | 39 | }, |
116 | 40 | { |
117 | | - "extension": [ |
118 | | - { |
119 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line", |
120 | | - "valueInteger": 1 |
121 | | - }, |
122 | | - { |
123 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", |
124 | | - "valueInteger": 1004 |
125 | | - }, |
126 | | - { |
127 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", |
128 | | - "valueString": "Validation_VAL_Profile_Minimum" |
129 | | - } |
130 | | - ], |
131 | 41 | "severity": "error", |
132 | 42 | "code": "processing", |
133 | | - "details": { |
134 | | - "coding": [ |
135 | | - { |
136 | | - "system": "http://hl7.org/fhir/java-core-messageId", |
137 | | - "code": "Validation_VAL_Profile_Minimum" |
138 | | - } |
139 | | - ] |
140 | | - }, |
141 | 43 | "diagnostics": "Task.requester: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/NHSDigital-Task-EPS)", |
142 | 44 | "location": [ |
143 | | - "Bundle.entry[0].resource/*Task/4d70678c-81e4-4ff4-8c67-17596fd0aa46*/", |
144 | | - "Line[1] Col[1004]" |
| 45 | + "Bundle.entry[0].resource.ofType(Task)", |
| 46 | + "Line 1, Col 267" |
145 | 47 | ] |
146 | 48 | }, |
147 | 49 | { |
148 | | - "extension": [ |
149 | | - { |
150 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line", |
151 | | - "valueInteger": 1 |
152 | | - }, |
153 | | - { |
154 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", |
155 | | - "valueInteger": 625 |
156 | | - }, |
157 | | - { |
158 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", |
159 | | - "valueString": "Terminology_TX_NoValid_1_CC" |
160 | | - } |
161 | | - ], |
162 | 50 | "severity": "error", |
163 | 51 | "code": "processing", |
164 | | - "details": { |
165 | | - "coding": [ |
166 | | - { |
167 | | - "system": "http://hl7.org/fhir/java-core-messageId", |
168 | | - "code": "Terminology_TX_NoValid_1_CC" |
169 | | - } |
170 | | - ] |
171 | | - }, |
172 | | - "diagnostics": "None of the codings provided are in the value set 'EPSTaskBusinessPrescriptionStatus' (https://fhir.nhs.uk/ValueSet/DM-task-business-status|1.0.0), and a coding from this value set is required) (codes = https://fhir.nhs.uk/CodeSystem/task-businessStatus-nppt#Dispatched)", |
| 52 | + "diagnostics": "None of the codings provided are in the value set https://fhir.nhs.uk/ValueSet/DM-task-business-status (https://fhir.nhs.uk/ValueSet/DM-task-business-status), and a coding from this value set is required) (codes = https://fhir.nhs.uk/CodeSystem/task-businessStatus-nppt#Dispatched)", |
173 | 53 | "location": [ |
174 | | - "Bundle.entry[0].resource/*Task/4d70678c-81e4-4ff4-8c67-17596fd0aa46*/.businessStatus", |
175 | | - "Line[1] Col[625]" |
| 54 | + "Bundle.entry[0].resource.ofType(Task).businessStatus", |
| 55 | + "Line 1, Col 668" |
176 | 56 | ] |
177 | 57 | }, |
178 | 58 | { |
179 | | - "extension": [ |
180 | | - { |
181 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line", |
182 | | - "valueInteger": 1 |
183 | | - }, |
184 | | - { |
185 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", |
186 | | - "valueInteger": 623 |
187 | | - }, |
188 | | - { |
189 | | - "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", |
190 | | - "valueString": "Validation_VAL_Profile_Minimum" |
191 | | - } |
192 | | - ], |
193 | 59 | "severity": "error", |
194 | 60 | "code": "processing", |
195 | | - "details": { |
196 | | - "coding": [ |
197 | | - { |
198 | | - "system": "http://hl7.org/fhir/java-core-messageId", |
199 | | - "code": "Validation_VAL_Profile_Minimum" |
200 | | - } |
201 | | - ] |
202 | | - }, |
203 | 61 | "diagnostics": "Task.businessStatus.coding.display: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/NHSDigital-Task-EPS)", |
204 | 62 | "location": [ |
205 | | - "Bundle.entry[0].resource/*Task/4d70678c-81e4-4ff4-8c67-17596fd0aa46*/.businessStatus.coding[0]", |
206 | | - "Line[1] Col[623]" |
| 63 | + "Bundle.entry[0].resource.ofType(Task).businessStatus.coding[0]", |
| 64 | + "Line 1, Col 676" |
207 | 65 | ] |
208 | 66 | } |
209 | 67 | ] |
|
0 commit comments