This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
Example CodeSystem/graph-compartment-rule (XML)
Raw XML (canonical form + also see XML Format Specification)
Definition for Code SystemGraphCompartmentRule
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="graph-compartment-rule"/>
<meta>
<lastUpdated value="2023-03-26T15:21:02.749+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/graph-compartment-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">identical
<a name="graph-compartment-rule-identical"> </a>
</td>
<td> Identical</td>
<td> The compartment must be identical (the same literal reference).</td>
</tr>
<tr>
<td style="white-space:nowrap">matching
<a name="graph-compartment-rule-matching"> </a>
</td>
<td> Matching</td>
<td> The compartment must be the same - the record must be about the same patient, but
the reference may be different.</td>
</tr>
<tr>
<td style="white-space:nowrap">different
<a name="graph-compartment-rule-different"> </a>
</td>
<td> Different</td>
<td> The compartment must be different.</td>
</tr>
<tr>
<td style="white-space:nowrap">custom
<a name="graph-compartment-rule-custom"> </a>
</td>
<td> Custom</td>
<td> The compartment rule is defined in the accompanying FHIRPath expression.</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="trial-use"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="1"/>
</extension>
<url value="http://hl7.org/fhir/graph-compartment-rule"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.4.281"/>
</identifier>
<identifier>
<use value="old"/>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.1.276"/>
</identifier>
<version value="5.0.0"/>
<name value="GraphCompartmentRule"/>
<title value="Graph Compartment Rule"/>
<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 compartment must be linked."/>
<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/graph-compartment-rule"/>
<content value="complete"/>
<concept>
<code value="identical"/>
<display value="Identical"/>
<definition value="The compartment must be identical (the same literal reference)."/>
</concept>
<concept>
<code value="matching"/>
<display value="Matching"/>
<definition value="The compartment must be the same - the record must be about the same patient, but
the reference may be different."/>
</concept>
<concept>
<code value="different"/>
<display value="Different"/>
<definition value="The compartment must be different."/>
</concept>
<concept>
<code value="custom"/>
<display value="Custom"/>
<definition value="The compartment rule is defined in the accompanying FHIRPath expression."/>
</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.