This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Example CodeSystem/constraint-severity (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Definition for Code SystemConstraintSeverity
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:CodeSystem ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "constraint-severity"] ; #
fhir:meta [
fhir:lastUpdated [ fhir:v "2025-02-16T15:32:40.206+00:00"^^xsd:dateTime ]
] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<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><a name=\"constraint-severity-en-US\"> </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>"
] ; #
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [ fhir:v "fhir" ]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
fhir:value [ fhir:v "normative" ]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version"^^xsd:anyURI ] ;
fhir:value [ fhir:v "4.0.0" ]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
fhir:value [ fhir:v "5"^^xsd:integer ]
] ) ; #
fhir:url [ fhir:v "http://hl7.org/fhir/constraint-severity"^^xsd:anyURI] ; #
fhir:identifier ( [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.82" ]
] ) ; #
fhir:version [ fhir:v "6.0.0-ballot2"] ; #
fhir:name [ fhir:v "ConstraintSeverity"] ; #
fhir:title [ fhir:v "ConstraintSeverity"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:experimental [ fhir:v "false"^^xsd:boolean] ; #
fhir:date [ fhir:v "2025-02-16T15:32:40+00:00"^^xsd:dateTime] ; #
fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; #
fhir:contact ( [
fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://hl7.org/fhir" ]
] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "fhir@lists.hl7.org" ]
] )
] [
fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
] )
] ) ; #
fhir:description [ fhir:v "SHALL applications comply with this constraint?"] ; #
fhir:jurisdiction ( [
fhir:coding ( [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ]
] )
] ) ; #
fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; #
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/constraint-severity"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/constraint-severity>
] ; #
fhir:hierarchyMeaning [] ; #
fhir:content [ fhir:v "complete"] ; #
fhir:concept ( [
fhir:code [ fhir:v "error" ] ;
fhir:display [ fhir:v "Error" ] ;
fhir:definition [ fhir:v "If the constraint is violated, the resource is not conformant." ]
] [
fhir:code [ fhir:v "warning" ] ;
fhir:display [ fhir:v "Warning" ] ;
fhir:definition [ fhir:v "If the constraint is violated, the resource is conformant, but it is not necessarily following best practice." ]
] )] . #
# -------------------------------------------------------------------------------------
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.