Example CodeSystem/type-derivation-rule (XML)
Raw XML (canonical form + also see XML Format Specification)
Definition for Code SystemTypeDerivationRule
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="type-derivation-rule"/>
<meta>
<lastUpdated value="2022-12-14T07:12:54.019+11:00"/>
<profile value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p> This code system
<code> http://hl7.org/fhir/type-derivation-rule</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">specialization
<a name="type-derivation-rule-specialization"> </a>
</td>
<td> Specialization</td>
<td> This definition defines a new type that adds additional elements and optionally
additional rules to the base type.</td>
</tr>
<tr>
<td style="white-space:nowrap">constraint
<a name="type-derivation-rule-constraint"> </a>
</td>
<td> Constraint</td>
<td> This definition adds additional rules to an existing concrete type.</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>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="5"/>
</extension>
<url value="http://hl7.org/fhir/type-derivation-rule"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.4.674"/>
</identifier>
<identifier>
<use value="old"/>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.1.660"/>
</identifier>
<version value="5.0.0-snapshot3"/>
<name value="TypeDerivationRule"/>
<title value="TypeDerivationRule"/>
<status value="active"/>
<experimental value="false"/>
<date value="2021-01-05T10:01:24+11:00"/>
<publisher value="HL7 (FHIR Project)"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/fhir"/>
</telecom>
<telecom>
<system value="email"/>
<value value="fhir@lists.hl7.org"/>
</telecom>
</contact>
<description value="How a type relates to its baseDefinition."/>
<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/type-derivation-rule"/>
<content value="complete"/>
<concept>
<code value="specialization"/>
<display value="Specialization"/>
<definition value="This definition defines a new type that adds additional elements and optionally
additional rules to the base type."/>
</concept>
<concept>
<code value="constraint"/>
<display value="Constraint"/>
<definition value="This definition adds additional rules to an existing concrete type."/>
</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.