Skip to content

Commit

Permalink
update for CDA release
Browse files Browse the repository at this point in the history
  • Loading branch information
Grahame Grieve committed Dec 13, 2024
1 parent 0acad6a commit d7d57dc
Showing 1 changed file with 95 additions and 77 deletions.
172 changes: 95 additions & 77 deletions validator/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -771,75 +771,93 @@
"version": "4.0",
"java": {
"outcome": {
"resourceType" : "OperationOutcome",
"issue" : [{
"severity" : "warning",
"code" : "required",
"details" : {
"text" : "The bundle contains no match for http://example.org/Observation/ObservationExample by the rules of Bundle reference resolution, but it has multiple resources that match Observation/ObservationExample/_history/3 by resource type and id"
},
"expression" : ["Bundle.entry[0].resource/*Composition/CompositionExample1*/.section[0].entry[0]"]
},
{
"severity" : "warning",
"code" : "required",
"details" : {
"text" : "Entry 1 matches the reference Observation/ObservationExample/_history/3 by type and id but it's fullUrl http://example.org/Observation/ObservationExample does not match the full target URL http://example.org/Observation/ObservationExample by Bundle resolution rules"
},
"expression" : ["Bundle.entry[0].resource/*Composition/CompositionExample1*/.section[0].entry[0]"]
},
{
"severity" : "warning",
"code" : "required",
"details" : {
"text" : "Entry 2 matches the reference Observation/ObservationExample/_history/3 by type and id but it's fullUrl http://example.org/Observation/ObservationExample does not match the full target URL http://example.org/Observation/ObservationExample by Bundle resolution rules"
},
"expression" : ["Bundle.entry[0].resource/*Composition/CompositionExample1*/.section[0].entry[0]"]
},
{
"severity" : "error",
"code" : "forbidden",
"details" : {
"text" : "Multiple matches in bundle for reference Observation/ObservationExample"
},
"expression" : ["Bundle.entry[0].resource/*Composition/CompositionExample1*/.section[0].entry[1]"]
},
{
"severity" : "error",
"code" : "invalid",
"details" : {
"text" : "Can't find 'Observation/ObservationExample/_history/3' in the bundle (Section Entry). Note that there are 2 resources in the bundle with the same type and id, but they do not match because of the fullUrl based rules around matching relative references (one of ``http://example.org/Observation/ObservationExample``)"
},
"diagnostics" : "[22,16]",
"expression" : ["Bundle.entry[1].resource.section[1].entry[1]"]
},
{
"severity" : "error",
"code" : "invalid",
"details" : {
"text" : "Found 2 matches for 'Observation/ObservationExample' in the bundle (Section Entry)"
},
"diagnostics" : "[25,16]",
"expression" : ["Bundle.entry[1].resource.section[1].entry[2]"]
},
{
"severity" : "warning",
"code" : "invalid",
"details" : {
"text" : "Entry 'http://example.org/Observation/ObservationExample' isn't reachable by traversing forwards from the Composition. Only Provenance is approved to be used this way (R4 section 3.3.1)"
},
"diagnostics" : "[48,6]",
"expression" : ["Bundle.entry[6]"]
},
{
"severity" : "warning",
"code" : "invalid",
"details" : {
"text" : "Entry 'http://example.org/Observation/ObservationExample' isn't reachable by traversing forwards from the Composition. Only Provenance is approved to be used this way (R4 section 3.3.1)"
},
"diagnostics" : "[78,6]",
"expression" : ["Bundle.entry[6]"]
}]
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "warning",
"code": "required",
"details": {
"text": "The bundle contains no match for http://example.org/Observation/ObservationExample by the rules of Bundle reference resolution, but it has multiple resources that match Observation/ObservationExample/_history/3 by resource type and id"
},
"expression": [
"Bundle.entry[0].resource/*Composition/CompositionExample1*/.section[0].entry[0]"
]
},
{
"severity": "warning",
"code": "required",
"details": {
"text": "Entry 1 matches the reference Observation/ObservationExample/_history/3 by type and id but it's fullUrl http://example.org/Observation/ObservationExample does not match the full target URL http://example.org/Observation/ObservationExample by Bundle resolution rules"
},
"expression": [
"Bundle.entry[0].resource/*Composition/CompositionExample1*/.section[0].entry[0]"
]
},
{
"severity": "warning",
"code": "required",
"details": {
"text": "Entry 2 matches the reference Observation/ObservationExample/_history/3 by type and id but it's fullUrl http://example.org/Observation/ObservationExample does not match the full target URL http://example.org/Observation/ObservationExample by Bundle resolution rules"
},
"expression": [
"Bundle.entry[0].resource/*Composition/CompositionExample1*/.section[0].entry[0]"
]
},
{
"severity": "error",
"code": "forbidden",
"details": {
"text": "Multiple matches in bundle for reference Observation/ObservationExample"
},
"expression": [
"Bundle.entry[0].resource/*Composition/CompositionExample1*/.section[0].entry[1]"
]
},
{
"severity": "error",
"code": "invalid",
"details": {
"text": "Can't find 'Observation/ObservationExample/_history/3' in the bundle (Section Entry). Note that there are 2 resources in the bundle with the same type and id, but they do not match because of the fullUrl based rules around matching relative references (one of ``http://example.org/Observation/ObservationExample``)"
},
"diagnostics": "[22,16]",
"expression": [
"Bundle.entry[1].resource.section[1].entry[1]"
]
},
{
"severity": "error",
"code": "invalid",
"details": {
"text": "Found 2 matches for 'Observation/ObservationExample' in the bundle (Section Entry)"
},
"diagnostics": "[25,16]",
"expression": [
"Bundle.entry[1].resource.section[1].entry[2]"
]
},
{
"severity": "warning",
"code": "invalid",
"details": {
"text": "Entry 'http://example.org/Observation/ObservationExample' isn't reachable by traversing forwards from the Composition. Only Provenance is approved to be used this way (R4 section 3.3.1)"
},
"diagnostics": "[48,6]",
"expression": [
"Bundle.entry[6]"
]
},
{
"severity": "warning",
"code": "invalid",
"details": {
"text": "Entry 'http://example.org/Observation/ObservationExample' isn't reachable by traversing forwards from the Composition. Only Provenance is approved to be used this way (R4 section 3.3.1)"
},
"diagnostics": "[78,6]",
"expression": [
"Bundle.entry[6]"
]
}
]
}
}
},
Expand Down Expand Up @@ -13406,7 +13424,7 @@
"severity": "error",
"code": "structure",
"details": {
"text": "ClinicalDocument.effectiveTime: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.0-sd)"
"text": "ClinicalDocument.effectiveTime: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.0-sd-Dec2024)"
},
"diagnostics": "[1,175]",
"expression": [
Expand All @@ -13417,7 +13435,7 @@
"severity": "error",
"code": "structure",
"details": {
"text": "ClinicalDocument.confidentialityCode: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.0-sd)"
"text": "ClinicalDocument.confidentialityCode: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.0-sd-Dec2024)"
},
"diagnostics": "[1,175]",
"expression": [
Expand All @@ -13428,7 +13446,7 @@
"severity": "error",
"code": "structure",
"details": {
"text": "ClinicalDocument.author: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.0-sd)"
"text": "ClinicalDocument.author: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.0-sd-Dec2024)"
},
"diagnostics": "[1,175]",
"expression": [
Expand All @@ -13439,7 +13457,7 @@
"severity": "error",
"code": "structure",
"details": {
"text": "ClinicalDocument.custodian: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.0-sd)"
"text": "ClinicalDocument.custodian: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.0-sd-Dec2024)"
},
"diagnostics": "[1,175]",
"expression": [
Expand All @@ -13450,7 +13468,7 @@
"severity": "error",
"code": "structure",
"details": {
"text": "ClinicalDocument.component: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.0-sd)"
"text": "ClinicalDocument.component: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.0-sd-Dec2024)"
},
"diagnostics": "[1,175]",
"expression": [
Expand Down Expand Up @@ -48023,7 +48041,7 @@
"severity": "error",
"code": "structure",
"details": {
"text": "ClinicalDocument.typeId.root: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.0-sd)"
"text": "ClinicalDocument.typeId.root: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.0-sd-Dec2024)"
},
"diagnostics": "[3,13]",
"expression": [
Expand All @@ -48034,7 +48052,7 @@
"severity": "error",
"code": "structure",
"details": {
"text": "ClinicalDocument.typeId.extension: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.0-sd)"
"text": "ClinicalDocument.typeId.extension: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.0-sd-Dec2024)"
},
"diagnostics": "[3,13]",
"expression": [
Expand All @@ -48045,7 +48063,7 @@
"severity": "error",
"code": "structure",
"details": {
"text": "Performer1.typeCode: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/Performer1|2.0.0-sd)"
"text": "Performer1.typeCode: minimum required = 1, but only found 0 (from http://hl7.org/cda/stds/core/StructureDefinition/Performer1|2.0.0-sd-Dec2024)"
},
"diagnostics": "[50,18]",
"expression": [
Expand Down

0 comments on commit d7d57dc

Please sign in to comment.