Skip to content

Commit

Permalink
Add missed validation issues on CDA.templateId
Browse files Browse the repository at this point in the history
  • Loading branch information
Grahame Grieve committed Dec 2, 2024
1 parent d6fd575 commit 8cf8e0d
Showing 1 changed file with 41 additions and 18 deletions.
59 changes: 41 additions & 18 deletions validator/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25238,6 +25238,28 @@
"ClinicalDocument.component.structuredBody.component[9].section.entry[2].observation.targetSiteCode[0].qualifier[0].name.code"
]
},
{
"severity": "error",
"code": "invariant",
"details": {
"text": "Constraint failed: II-1: 'An II instance must have either a root or an nullFlavor.'"
},
"diagnostics": "[1019,13]",
"expression": [
"ClinicalDocument.component.structuredBody.component[10].section.entry[0].act.id[0]"
]
},
{
"severity": "error",
"code": "invariant",
"details": {
"text": "Constraint failed: II-1: 'An II instance must have either a root or an nullFlavor.'"
},
"diagnostics": "[1041,13]",
"expression": [
"ClinicalDocument.component.structuredBody.component[10].section.entry[2].act.id[0]"
]
},
{
"extension": [
{
Expand Down Expand Up @@ -47888,6 +47910,17 @@
"outcome": {
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invariant",
"details": {
"text": "Constraint failed: II-1: 'An II instance must have either a root or an nullFlavor.'"
},
"diagnostics": "[3,13]",
"expression": [
"ClinicalDocument.typeId"
]
},
{
"severity": "error",
"code": "structure",
Expand Down Expand Up @@ -50178,21 +50211,14 @@
}
}
},
{
"name": "zzz",
"file": "zzz.json",
"description": "hack to close ups",
"close-up": true
},
{
"name": "AppointmentWithCodingFromFragmentCS",
"file": "AppointmentWithCodingFromFragmentCS",
"file": "AppointmentWithCodingFromFragmentCS.json",
"description": "Appointment contains a coding from a CodeSystem that is defined as a fragment, validation should not complain that the CodeSystem cannot be found",
"supporting": [
"Fachabteilungsschluessel-erweitert.json"
],
"java": {
"warningCount": 1,
"outcome": {
"resourceType": "OperationOutcome",
"issue": [
Expand All @@ -50202,23 +50228,20 @@
"details": {
"text": "None of the codings provided are in the value set 'Practice Setting Code Value Set' (http://hl7.org/fhir/ValueSet/c80-practice-codes|5.0.0), and a coding is recommended to come from this value set (codes = http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel-erweitert#3600)"
},
"diagnostics": "[6,6]",
"expression": [
"Appointment.specialty[0]"
]
},
{
"severity": "warning",
"code": "invariant",
"details": {
"text": "Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation)"
},
"expression": [
"Appointment"
]
}
]
}
}
},
{
"name": "zzz",
"file": "zzz.json",
"description": "hack to close ups",
"close-up": true
}
]
}

0 comments on commit 8cf8e0d

Please sign in to comment.