This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
Codesystem-constraint-severity.xml
Example
CodeSystem/constraint-severity
(XML)
Raw
XML
(
canonical
form
+
also
see
XML
Format
Specification
)
Definition
for
Code
System
ConstraintSeverity
SystemConstraintSeverity
<?xml version="1.0" encoding="UTF-8"?>
error
warning
If the constraint is violated, the resource is conformant, but it is not necessarily following
best practice.
If the constraint is violated, the resource is conformant, but it is not necessarily following
best practice.
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="constraint-severity"/>
<meta>
<lastUpdated value="2025-11-27T16:48:47.349+00:00"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p class="res-header-id">
<b> Generated Narrative: CodeSystem constraint-severity</b>
</p>
<a name="constraint-severity"> </a>
<a name="hcconstraint-severity"> </a>
<p> This case-sensitive code system
<code> http://hl7.org/fhir/constraint-severity</code> defines the following codes:
</p>
<table class="codes">
<tr>
<td style="white-space:nowrap">
<b> Code</b>
</td>
<td>
<b> Display</b>
</td>
<td>
<b> Definition</b>
</td>
</tr>
<tr>
<td style="white-space:nowrap">error
<a name="constraint-severity-error"> </a>
</td>
<td> Error</td>
<td> If the constraint is violated, the resource is not conformant.</td>
</tr>
<tr>
<td style="white-space:nowrap">warning
<a name="constraint-severity-warning"> </a>
</td>
<td> Warning</td>
<td> If the constraint is violated, the resource is conformant, but it is not necessarily
following best practice.</td>
</tr> </table> </div> </text> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"> <valueCode value="fhir"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"> <valueCode value="normative"/> </extension> <url value="http://hl7.org/fhir/constraint-severity"/> <identifier> <system value="urn:ietf:rfc:3986"/> <value value="urn:oid:2.16.840.1.113883.4.642.1.82"/> </identifier> <version value="6.0.0-ballot3"/> <name value="ConstraintSeverity"/> <title value="ConstraintSeverity"/> <status value="active"/> <experimental value="false"/> <date value="2025-11-27T16:48:47+00:00"/> <publisher value="HL7 International / FHIR Infrastructure"/> <contact> <telecom> <system value="url"/> <value value="http://hl7.org/fhir"/> </telecom> <telecom> <system value="email"/> <value value="fhir@lists.hl7.org"/> </telecom> </contact> <contact> <telecom> <system value="url"/> <value value="http://www.hl7.org/Special/committees/fiwg"/> </telecom> </contact> <description value="SHALL applications comply with this constraint?"/> <jurisdiction> <coding> <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> <code value="001"/> <display value="World"/> </coding> </jurisdiction> <caseSensitive value="true"/> <valueSet value="http://hl7.org/fhir/ValueSet/constraint-severity"/> <content value="complete"/> <concept> <code value="error"/> <display value="Error"/> <definition value="If the constraint is violated, the resource is not conformant."/> </concept> <concept> <code value="warning"/> <display value="Warning"/> <definition value="If the constraint is violated, the resource is conformant, but it is not necessarily
following best practice."/>
</concept>
</
CodeSystem
>
Usage
note:
every
effort
has
been
made
to
ensure
that
the
examples
are
correct
and
useful,
but
they
are
not
a
normative
part
of
the
specification.