Details
-
Change Request
-
Resolution: Persuasive with Modification
-
Medium
-
FHIR Core (FHIR)
-
R4
-
FHIR Infrastructure
-
Extension Registry
-
-
Marten Smits / Grahame Grieve: 6-0-0
-
Enhancement
-
Compatible, substantive
-
R5
Description
For logical models FHIR provides an extension to specify the XML namespace if it differs from the FHIR namespace http://hl7.org/fhir. There is currently no way to specify logical models where the xml lives in default unspecified xml namespace (aka no namespace, pre 2000 area).
[If there is no default namespace declaration in scope, the namespace name has no value. In that case, an element without an explicit namespace prefix is considered not to be in any namespace.|https://en.wikipedia.org/wiki/XML_namespace]
Propose to add a specific value "default" to the http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace Extension to indicate the default xml namespace:
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"> <valueUri value="default"/> </extension>
and add the following text:
If there is no default namespace declaration in scope, the elementdefinition-namespace extension can indicate that with the value default.
Related to https://github.com/hapifhir/org.hl7.fhir.core/pull/321