Example CodeSystem/resource-aggregation-mode (XML)
Raw XML (canonical form + also see XML Format Specification)
Definition for Code SystemAggregationMode
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="resource-aggregation-mode"/>
<meta>
<lastUpdated value="2022-09-10T04:52:37.223+10:00"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p> This code system
<code> http://hl7.org/fhir/resource-aggregation-mode</code> defines the following codes:
</p>
<table class="codes">
<tr>
<td>
<b> Lvl</b>
</td>
<td style="white-space:nowrap">
<b> Code</b>
</td>
<td>
<b> Display</b>
</td>
<td>
<b> Definition</b>
</td>
</tr>
<tr>
<td> 1</td>
<td style="white-space:nowrap">contained
<a name="resource-aggregation-mode-contained"> </a>
</td>
<td> Contained</td>
<td> The reference is a local reference to a contained resource.</td>
</tr>
<tr>
<td> 1</td>
<td style="white-space:nowrap">referenced
<a name="resource-aggregation-mode-referenced"> </a>
</td>
<td> Referenced</td>
<td> The reference to a resource that has to be resolved externally to the resource
that includes the reference.</td>
</tr>
<tr>
<td> 2</td>
<td style="white-space:nowrap"> bundled
<a name="resource-aggregation-mode-bundled"> </a>
</td>
<td> Bundled</td>
<td> The resource the reference points to will be found in the same bundle as the resource
that includes the reference.</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/resource-aggregation-mode"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.4.86"/>
</identifier>
<version value="5.0.0-ballot"/>
<name value="AggregationMode"/>
<title value="AggregationMode"/>
<status value="active"/>
<experimental value="false"/>
<date value="2022-09-10T04:52:37+10: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 resource references can be aggregated."/>
<caseSensitive value="true"/>
<valueSet value="http://hl7.org/fhir/ValueSet/resource-aggregation-mode"/>
<content value="complete"/>
<concept>
<code value="contained"/>
<display value="Contained"/>
<definition value="The reference is a local reference to a contained resource."/>
</concept>
<concept>
<code value="referenced"/>
<display value="Referenced"/>
<definition value="The reference to a resource that has to be resolved externally to the resource
that includes the reference."/>
<concept>
<code value="bundled"/>
<display value="Bundled"/>
<definition value="The resource the reference points to will be found in the same bundle as the resource
that includes the reference."/>
</concept>
</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.