Skip to content
Merged
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
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<fhir.version>7.4.5</fhir.version>
<fhir.version>7.6.0</fhir.version>
<log4j.version>2.24.2</log4j.version>
<fasterxml.version>2.18.1</fasterxml.version>
<sonar.organization>nhsdigital</sonar.organization>
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/results/invalidBundle.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
"valueString": "Terminology_PassThrough_TX_Message"
}
],
"severity": "information",
"severity": "warning",
"code": "processing",
"details": {
"coding": [
Expand Down Expand Up @@ -247,7 +247,7 @@
"valueString": "Terminology_PassThrough_TX_Message"
}
],
"severity": "information",
"severity": "warning",
"code": "processing",
"details": {
"coding": [
Expand Down
72 changes: 72 additions & 0 deletions src/test/resources/results/searchSet.json
Original file line number Diff line number Diff line change
Expand Up @@ -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]",
Expand Down Expand Up @@ -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]",
Expand Down Expand Up @@ -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]",
Expand Down Expand Up @@ -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]",
Expand Down Expand Up @@ -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]",
Expand Down Expand Up @@ -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]",
Expand Down
8 changes: 4 additions & 4 deletions src/test/resources/results/validBundle.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"valueString": "Terminology_PassThrough_TX_Message"
}
],
"severity": "information",
"severity": "warning",
"code": "processing",
"details": {
"coding": [
Expand Down Expand Up @@ -266,7 +266,7 @@
"valueString": "Terminology_PassThrough_TX_Message"
}
],
"severity": "information",
"severity": "warning",
"code": "processing",
"details": {
"coding": [
Expand Down Expand Up @@ -397,7 +397,7 @@
"valueString": "Terminology_PassThrough_TX_Message"
}
],
"severity": "information",
"severity": "warning",
"code": "processing",
"details": {
"coding": [
Expand Down Expand Up @@ -528,7 +528,7 @@
"valueString": "Terminology_PassThrough_TX_Message"
}
],
"severity": "information",
"severity": "warning",
"code": "processing",
"details": {
"coding": [
Expand Down
Loading