diff --git a/pom.xml b/pom.xml index e0b2eab4..0f720935 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ 21 21 UTF-8 - 7.4.5 + 7.6.0 2.24.2 2.18.1 nhsdigital diff --git a/src/test/resources/results/invalidBundle.json b/src/test/resources/results/invalidBundle.json index c76f8453..84810782 100644 --- a/src/test/resources/results/invalidBundle.json +++ b/src/test/resources/results/invalidBundle.json @@ -216,7 +216,7 @@ "valueString": "Terminology_PassThrough_TX_Message" } ], - "severity": "information", + "severity": "warning", "code": "processing", "details": { "coding": [ @@ -247,7 +247,7 @@ "valueString": "Terminology_PassThrough_TX_Message" } ], - "severity": "information", + "severity": "warning", "code": "processing", "details": { "coding": [ diff --git a/src/test/resources/results/searchSet.json b/src/test/resources/results/searchSet.json index b6f6c59f..2e53ede9 100644 --- a/src/test/resources/results/searchSet.json +++ b/src/test/resources/results/searchSet.json @@ -153,10 +153,22 @@ { "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", "valueInteger": 499 + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", + "valueString": "This_element_does_not_match_any_known_slice_" } ], "severity": "information", "code": "processing", + "details": { + "coding": [ + { + "system": "http://hl7.org/fhir/java-core-messageId", + "code": "This_element_does_not_match_any_known_slice_" + } + ] + }, "diagnostics": "This element does not match any known slice defined in the profile https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest-CodeableConcept (this may not be a problem, but you should check that it's not intended to match a slice) - Bundle.entry[0].resource/*MedicationRequest/null*/.medication.ofType(CodeableConcept).coding[0]: Does not match slice 'SNOMED' (discriminator: ('http://snomed.info/sct' in system))", "location": [ "Bundle.entry[0].resource/*MedicationRequest/null*/.medication.ofType(CodeableConcept).coding[0]", @@ -501,10 +513,22 @@ { "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", "valueInteger": 1598 + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", + "valueString": "This_element_does_not_match_any_known_slice_" } ], "severity": "information", "code": "processing", + "details": { + "coding": [ + { + "system": "http://hl7.org/fhir/java-core-messageId", + "code": "This_element_does_not_match_any_known_slice_" + } + ] + }, "diagnostics": "This element does not match any known slice defined in the profile https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest-CodeableConcept (this may not be a problem, but you should check that it's not intended to match a slice) - Bundle.entry[1].resource/*MedicationRequest/null*/.medication.ofType(CodeableConcept).coding[0]: Does not match slice 'SNOMED' (discriminator: ('http://snomed.info/sct' in system))", "location": [ "Bundle.entry[1].resource/*MedicationRequest/null*/.medication.ofType(CodeableConcept).coding[0]", @@ -849,10 +873,22 @@ { "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", "valueInteger": 2710 + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", + "valueString": "This_element_does_not_match_any_known_slice_" } ], "severity": "information", "code": "processing", + "details": { + "coding": [ + { + "system": "http://hl7.org/fhir/java-core-messageId", + "code": "This_element_does_not_match_any_known_slice_" + } + ] + }, "diagnostics": "This element does not match any known slice defined in the profile https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest-CodeableConcept (this may not be a problem, but you should check that it's not intended to match a slice) - Bundle.entry[2].resource/*MedicationRequest/null*/.medication.ofType(CodeableConcept).coding[0]: Does not match slice 'SNOMED' (discriminator: ('http://snomed.info/sct' in system))", "location": [ "Bundle.entry[2].resource/*MedicationRequest/null*/.medication.ofType(CodeableConcept).coding[0]", @@ -1197,10 +1233,22 @@ { "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", "valueInteger": 3810 + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", + "valueString": "This_element_does_not_match_any_known_slice_" } ], "severity": "information", "code": "processing", + "details": { + "coding": [ + { + "system": "http://hl7.org/fhir/java-core-messageId", + "code": "This_element_does_not_match_any_known_slice_" + } + ] + }, "diagnostics": "This element does not match any known slice defined in the profile https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest-CodeableConcept (this may not be a problem, but you should check that it's not intended to match a slice) - Bundle.entry[3].resource/*MedicationRequest/null*/.medication.ofType(CodeableConcept).coding[0]: Does not match slice 'SNOMED' (discriminator: ('http://snomed.info/sct' in system))", "location": [ "Bundle.entry[3].resource/*MedicationRequest/null*/.medication.ofType(CodeableConcept).coding[0]", @@ -1621,10 +1669,22 @@ { "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", "valueInteger": 495 + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", + "valueString": "This_element_does_not_match_any_known_slice_" } ], "severity": "information", "code": "processing", + "details": { + "coding": [ + { + "system": "http://hl7.org/fhir/java-core-messageId", + "code": "This_element_does_not_match_any_known_slice_" + } + ] + }, "diagnostics": "This element does not match any known slice defined in the profile https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest-CodeableConcept (this may not be a problem, but you should check that it's not intended to match a slice) - Bundle.entry[0].resource/*MedicationRequest/null*/.medication.ofType(CodeableConcept).coding[0]: Does not match slice 'SNOMED' (discriminator: ('http://snomed.info/sct' in system))", "location": [ "Bundle.entry[0].resource/*MedicationRequest/null*/.medication.ofType(CodeableConcept).coding[0]", @@ -2048,10 +2108,22 @@ { "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col", "valueInteger": 499 + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id", + "valueString": "This_element_does_not_match_any_known_slice_" } ], "severity": "information", "code": "processing", + "details": { + "coding": [ + { + "system": "http://hl7.org/fhir/java-core-messageId", + "code": "This_element_does_not_match_any_known_slice_" + } + ] + }, "diagnostics": "This element does not match any known slice defined in the profile https://fhir.nhs.uk/StructureDefinition/NHSDigital-MedicationRequest-CodeableConcept (this may not be a problem, but you should check that it's not intended to match a slice) - Bundle.entry[0].resource/*MedicationRequest/null*/.medication.ofType(CodeableConcept).coding[0]: Does not match slice 'SNOMED' (discriminator: ('http://snomed.info/sct' in system))", "location": [ "Bundle.entry[0].resource/*MedicationRequest/null*/.medication.ofType(CodeableConcept).coding[0]", diff --git a/src/test/resources/results/validBundle.json b/src/test/resources/results/validBundle.json index 2ea8c06c..d16c7f91 100644 --- a/src/test/resources/results/validBundle.json +++ b/src/test/resources/results/validBundle.json @@ -135,7 +135,7 @@ "valueString": "Terminology_PassThrough_TX_Message" } ], - "severity": "information", + "severity": "warning", "code": "processing", "details": { "coding": [ @@ -266,7 +266,7 @@ "valueString": "Terminology_PassThrough_TX_Message" } ], - "severity": "information", + "severity": "warning", "code": "processing", "details": { "coding": [ @@ -397,7 +397,7 @@ "valueString": "Terminology_PassThrough_TX_Message" } ], - "severity": "information", + "severity": "warning", "code": "processing", "details": { "coding": [ @@ -528,7 +528,7 @@ "valueString": "Terminology_PassThrough_TX_Message" } ], - "severity": "information", + "severity": "warning", "code": "processing", "details": { "coding": [