Stream: hapi
Topic: Condition - No extension allowed in code.coding.extension
David Meyers (Feb 18 2021 at 13:12):
Hello again,
we are currently getting the following error message when validating a condition resource against the MII-KdsDiagnose module. We use the HAPI 5.2 libraries for validation, and we cant confirmed that this is actually a problem by the validator, so it would be great if someone could give us feedback here.
The validator complains that no extensions are allowed in this slice (http://fhir.de/CodeSystem/dimdi/icd-10-gm), which should be the case though according to the structure definition.
{
"fullUrl": "condition/1234",
"resource": {
"resourceType": "Condition",
"id": "1234",
"meta": {
"profile": [
"https://www.medizininformatik-initiative.de/fhir/core/modul-diagnose/StructureDefinition/Diagnose"
]
},
"code": {
"coding": [
{
"extension": [
{
"url": "http://fhir.de/StructureDefinition/seitenlokalisation",
"valueCoding": {
"system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_SEITENLOKALISATION",
"code": "L",
"display": "Left"
}
}
],
"system": "http://fhir.de/CodeSystem/dimdi/icd-10-gm",
"version": "2018",
"code": "S06.5",
"display": "Traumatische subdurale Blutung"
}
]
}
}
}
results into:
{
"severity": "error",
"code": "processing",
"diagnostics": "No extensions allowed, as the specified fixed value doesn''t contain any extensions",
"location": [
"Condition.code.coding[0]",
"Line 26, Col 14"
]
}
We are grateful for any information.
David Meyers (Mar 10 2021 at 09:58):
short update: we also tried the 5.3. odysee version and unfortunately the issue is still a thing.
Last updated: Apr 12 2022 at 19:14 UTC