-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Closed
Enhancement
Copy link
Labels
align-with-javaFrom comparing the shared unit testsFrom comparing the shared unit tests
Description
When validating a ValueSet with
"jurisdiction": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
"valueCode": "unknown"
}
]
}
],
we currently return the following error:
"severity": "error",
"code": "code-invalid",
"details": {
"coding": [
{
"system": "http://hl7.org/fhir/dotnet-api-operation-outcome",
"code": "6005"
}
],
"text": "Extensible binding requires code or text."
},
"diagnostics": "ElementDefinition trace: ValueSet.jurisdiction",
"expression": [
"ValueSet.jurisdiction[0]"
]
}
The Java validator instead only returns a warning:
Warning @ ValueSet.jurisdiction[0] (line 33, col4): No code provided, and a code should be provided from the value set 'Jurisdiction' (http://hl7.org/fhir/ValueSet/jurisdiction%7C4.0.1)
Be more forgiving an change the error to a warning.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
align-with-javaFrom comparing the shared unit testsFrom comparing the shared unit tests