Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example CodeSystem/compartment-type (XML)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

Raw XML (canonical form + also see XML Format Specification)

Definition for Code SystemCompartmentType

<?xml version="1.0" encoding="UTF-8"?>

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="compartment-type"/> 
  <meta> 
    <lastUpdated value="2022-09-07T10:58:29.429+10: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/compartment-type</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">Patient
            <a name="compartment-type-Patient"> </a> 
          </td> 
          <td> Patient</td> 
          <td> The compartment definition is for the patient compartment.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">Encounter
            <a name="compartment-type-Encounter"> </a> 
          </td> 
          <td> Encounter</td> 
          <td> The compartment definition is for the encounter compartment.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">RelatedPerson
            <a name="compartment-type-RelatedPerson"> </a> 
          </td> 
          <td> RelatedPerson</td> 
          <td> The compartment definition is for the related-person compartment.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">Practitioner
            <a name="compartment-type-Practitioner"> </a> 
          </td> 
          <td> Practitioner</td> 
          <td> The compartment definition is for the practitioner compartment.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">Device
            <a name="compartment-type-Device"> </a> 
          </td> 
          <td> Device</td> 
          <td> The compartment definition is for the device compartment.</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/compartment-type"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.4.787"/> 
  </identifier> 
  <version value="5.0.0-ballot"/> 
  <name value="CompartmentType"/> 
  <title value="CompartmentType"/> 
  <status value="draft"/> 
  <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="Which type a compartment definition describes."/> 
  <caseSensitive value="true"/> 
  <valueSet value="http://hl7.org/fhir/ValueSet/compartment-type"/> 
  <content value="complete"/> 
  <concept> 
    <code value="Patient"/> 
    <display value="Patient"/> 
    <definition value="The compartment definition is for the patient compartment."/> 
  </concept> 
  <concept> 
    <code value="Encounter"/> 
    <display value="Encounter"/> 
    <definition value="The compartment definition is for the encounter compartment."/> 
  </concept> 
  <concept> 
    <code value="RelatedPerson"/> 
    <display value="RelatedPerson"/> 
    <definition value="The compartment definition is for the related-person compartment."/> 
  </concept> 
  <concept> 
    <code value="Practitioner"/> 
    <display value="Practitioner"/> 
    <definition value="The compartment definition is for the practitioner compartment."/> 
  </concept> 
  <concept> 
    <code value="Device"/> 
    <display value="Device"/> 
    <definition value="The compartment definition is for the device compartment."/> 
  </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.