<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="general-concept-map-4" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2022-02-20T21:57:42.375+00:00" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <div class="ncts-structure-definition">
        <h1>Ncts_general_concept_map</h1>
        <dl>
          <dt class="bold">URL</dt>
          <dd>
            <a href="https://healthterminologies.gov.au/fhir/StructureDefinition/general-concept-map-4">https://healthterminologies.gov.au/fhir/StructureDefinition/general-concept-map-4</a>
          </dd>
          <dt class="bold">Base Definition</dt>
          <dd>
            <a href="http://hl7.org/fhir/StructureDefinition/ConceptMap">http://hl7.org/fhir/StructureDefinition/ConceptMap</a>
          </dd>
          <dt class="bold">Status</dt>
          <dd>ACTIVE</dd>
          <dt class="bold">Publisher</dt>
          <dd>Australian Digital Health Agency</dd>
          <dt class="bold">Description</dt>
          <dd>This StructureDefinition describes the NCTS General Concept Map, a profile of the FHIR&amp;reg; CodeSystem resource. The NCTS General Concept Map is designed to represent mappings between terminologies published as part of the National Clinical Terminology Service, and maximise interoperability within the NCTS ecosystem.</dd>
        </dl>
        <div>
          <h2>Elements (Snapshot)</h2>
          <table>
            <thead>
              <tr class="header-row">
                <th>Path</th>
                <th>Cardinality</th>
                <th>Type</th>
                <th>Definition</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td>
                  <span>ConceptMap</span>
                </td>
                <td>0..*</td>
                <td />
                <td>A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>id</span>
                </td>
                <td>0..1</td>
                <td> id </td>
                <td>The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>meta</span>
                </td>
                <td>0..1</td>
                <td> Meta </td>
                <td>The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>implicitRules</span>
                </td>
                <td>0..0</td>
                <td> uri </td>
                <td>A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>language</span>
                </td>
                <td>0..1</td>
                <td> code </td>
                <td>The base language in which the resource is written.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>text</span>
                </td>
                <td>1..1</td>
                <td> Narrative </td>
                <td>A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>contained</span>
                </td>
                <td>0..0</td>
                <td> Resource </td>
                <td>These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>extension</span>
                </td>
                <td>0..*</td>
                <td> Extension </td>
                <td>May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>modifierExtension</span>
                </td>
                <td>0..0</td>
                <td> Extension </td>
                <td>May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>url</span>
                </td>
                <td>1..1</td>
                <td> uri </td>
                <td>An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this concept map is (or will be) published. The URL SHOULD include the major version of the concept map. For more information see [Technical and Business Versions](resource.html#versions).</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>identifier</span>
                </td>
                <td>1..1</td>
                <td> Identifier </td>
                <td>A formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">identifier.</span>
                  <span>id</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">identifier.</span>
                  <span>extension</span>
                </td>
                <td>0..*</td>
                <td> Extension </td>
                <td>May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">identifier.</span>
                  <span>use</span>
                </td>
                <td>0..1</td>
                <td> code </td>
                <td>The purpose of this identifier.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">identifier.</span>
                  <span>type</span>
                </td>
                <td>0..1</td>
                <td> CodeableConcept </td>
                <td>A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">identifier.</span>
                  <span>system</span>
                </td>
                <td>1..1</td>
                <td> uri </td>
                <td>Establishes the namespace for the value - that is, a URL that describes a set values that are unique.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">identifier.</span>
                  <span>value</span>
                </td>
                <td>1..1</td>
                <td> string </td>
                <td>The portion of the identifier typically relevant to the user and which is unique within the context of the system.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">identifier.</span>
                  <span>period</span>
                </td>
                <td>0..1</td>
                <td> Period </td>
                <td>Time period during which identifier is/was valid for use.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">identifier.</span>
                  <span>assigner</span>
                </td>
                <td>0..1</td>
                <td> Reference </td>
                <td>Organization that issued/manages the identifier.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>version</span>
                </td>
                <td>1..1</td>
                <td> string </td>
                <td>The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>name</span>
                </td>
                <td>1..1</td>
                <td> string </td>
                <td>A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>title</span>
                </td>
                <td>1..1</td>
                <td> string </td>
                <td>A short, descriptive, user-friendly title for the concept map.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>status</span>
                </td>
                <td>1..1</td>
                <td> code </td>
                <td>The status of this concept map. Enables tracking the life-cycle of the content.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>experimental</span>
                </td>
                <td>1..1</td>
                <td> boolean </td>
                <td>A boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>date</span>
                </td>
                <td>1..1</td>
                <td> dateTime </td>
                <td>The date (and optionally time) when the concept map was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>publisher</span>
                </td>
                <td>1..1</td>
                <td> string </td>
                <td>The name of the individual or organization that published the concept map.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>contact</span>
                </td>
                <td>0..*</td>
                <td> ContactDetail </td>
                <td>Contact details to assist a user in finding and communicating with the publisher.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">contact.</span>
                  <span>id</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">contact.</span>
                  <span>extension</span>
                </td>
                <td>0..*</td>
                <td> Extension </td>
                <td>May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">contact.</span>
                  <span>name</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>The name of an individual to contact.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">contact.</span>
                  <span>telecom</span>
                </td>
                <td>1..*</td>
                <td> ContactPoint </td>
                <td>The contact details for the individual (if a name was provided) or the organization.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>description</span>
                </td>
                <td>1..1</td>
                <td> markdown </td>
                <td>A free text natural language description of the concept map from a consumer's perspective.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>useContext</span>
                </td>
                <td>0..*</td>
                <td> UsageContext </td>
                <td>The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate concept map instances.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>jurisdiction</span>
                </td>
                <td>0..*</td>
                <td> CodeableConcept </td>
                <td>A legal or geographic region in which the concept map is intended to be used.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>purpose</span>
                </td>
                <td>0..1</td>
                <td> markdown </td>
                <td>Explanation of why this concept map is needed and why it has been designed as it has.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>copyright</span>
                </td>
                <td>1..1</td>
                <td> markdown </td>
                <td>A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>source[x]</span>
                </td>
                <td>1..1</td>
                <td> [ uri | canonical ] </td>
                <td>The source value set that specifies the concepts that are being mapped.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>target[x]</span>
                </td>
                <td>1..1</td>
                <td> [ uri | canonical ] </td>
                <td>The target value set provides context to the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span>group</span>
                </td>
                <td>0..*</td>
                <td> BackboneElement </td>
                <td>A group of mappings that all have the same source and target system.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span>id</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span>extension</span>
                </td>
                <td>0..*</td>
                <td> Extension </td>
                <td>May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span>modifierExtension</span>
                </td>
                <td>0..0</td>
                <td> Extension </td>
                <td>May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span>source</span>
                </td>
                <td>0..1</td>
                <td> uri </td>
                <td>An absolute URI that identifies the source system where the concepts to be mapped are defined.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span>sourceVersion</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>The specific version of the code system, as determined by the code system authority.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span>target</span>
                </td>
                <td>0..1</td>
                <td> uri </td>
                <td>An absolute URI that identifies the target system that the concepts will be mapped to.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span>targetVersion</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>The specific version of the code system, as determined by the code system authority.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span>element</span>
                </td>
                <td>1..*</td>
                <td> BackboneElement </td>
                <td>Mappings for an individual concept in the source to one or more concepts in the target.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span>id</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span>extension</span>
                </td>
                <td>0..*</td>
                <td> Extension </td>
                <td>May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span>modifierExtension</span>
                </td>
                <td>0..0</td>
                <td> Extension </td>
                <td>May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span>code</span>
                </td>
                <td>1..1</td>
                <td> code </td>
                <td>Identity (code or path) or the element/item being mapped.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span>display</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>The display for the code. The display is only provided to help editors when editing the concept map.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span>target</span>
                </td>
                <td>1..*</td>
                <td> BackboneElement </td>
                <td>A concept from the target value set that this concept maps to.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span>id</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span>extension</span>
                </td>
                <td>0..*</td>
                <td> Extension </td>
                <td>May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span>modifierExtension</span>
                </td>
                <td>0..0</td>
                <td> Extension </td>
                <td>May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span>code</span>
                </td>
                <td>0..1</td>
                <td> code </td>
                <td>Identity (code or path) or the element/item that the map refers to.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span>display</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>The display for the code. The display is only provided to help editors when editing the concept map.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span>equivalence</span>
                </td>
                <td>1..1</td>
                <td> code </td>
                <td>The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source). Note that a number of values in the bound ValueSet in FHIR R5 have been removed, therefore it is recommended that use of this element is limited to the following values to ease transition to R5, related-to | equivalent | broader | narrower | not-related-to</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span>comment</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>A description of status/issues in mapping that conveys additional information not represented in the structured data.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span>dependsOn</span>
                </td>
                <td>0..0</td>
                <td> BackboneElement </td>
                <td>A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span class="fqdn-path">dependsOn.</span>
                  <span>id</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span class="fqdn-path">dependsOn.</span>
                  <span>extension</span>
                </td>
                <td>0..*</td>
                <td> Extension </td>
                <td>May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span class="fqdn-path">dependsOn.</span>
                  <span>modifierExtension</span>
                </td>
                <td>0..0</td>
                <td> Extension </td>
                <td>May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span class="fqdn-path">dependsOn.</span>
                  <span>property</span>
                </td>
                <td>1..1</td>
                <td> uri </td>
                <td>A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span class="fqdn-path">dependsOn.</span>
                  <span>system</span>
                </td>
                <td>0..1</td>
                <td> canonical </td>
                <td>An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems).</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span class="fqdn-path">dependsOn.</span>
                  <span>value</span>
                </td>
                <td>1..1</td>
                <td> string </td>
                <td>Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span class="fqdn-path">dependsOn.</span>
                  <span>display</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>The display for the code. The display is only provided to help editors when editing the concept map.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">element.</span>
                  <span class="fqdn-path">target.</span>
                  <span>product</span>
                </td>
                <td>0..0</td>
                <td> see ConceptMap.group.element.target.dependsOn </td>
                <td>A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span>unmapped</span>
                </td>
                <td>0..1</td>
                <td> BackboneElement </td>
                <td>What to do when there is no mapping for the source concept. "Unmapped" does not include codes that are unmatched, and the unmapped element is ignored in a code is specified to have equivalence = unmatched.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">unmapped.</span>
                  <span>id</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">unmapped.</span>
                  <span>extension</span>
                </td>
                <td>0..*</td>
                <td> Extension </td>
                <td>May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">unmapped.</span>
                  <span>modifierExtension</span>
                </td>
                <td>0..0</td>
                <td> Extension </td>
                <td>May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">unmapped.</span>
                  <span>mode</span>
                </td>
                <td>1..1</td>
                <td> code </td>
                <td>Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">unmapped.</span>
                  <span>code</span>
                </td>
                <td>0..1</td>
                <td> code </td>
                <td>The fixed code to use when the mode = 'fixed' - all unmapped codes are mapped to a single fixed code.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">unmapped.</span>
                  <span>display</span>
                </td>
                <td>0..1</td>
                <td> string </td>
                <td>The display for the code. The display is only provided to help editors when editing the concept map.</td>
              </tr>
              <tr>
                <td>
                  <span class="fqdn-path">ConceptMap.</span>
                  <span class="fqdn-path">group.</span>
                  <span class="fqdn-path">unmapped.</span>
                  <span>url</span>
                </td>
                <td>0..1</td>
                <td> canonical </td>
                <td>The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept.</td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div>
  </text>
  <url value="https://healthterminologies.gov.au/fhir/StructureDefinition/general-concept-map-4" />
  <version value="4.0.0" />
  <name value="Ncts_general_concept_map" />
  <title value="NCTS General Concept Map" />
  <status value="active" />
  <date value="2020-01-31T00:00:00+10:00" />
  <publisher value="Australian Digital Health Agency" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="https://www.healthterminologies.gov.au" />
    </telecom>
    <telecom>
      <system value="email" />
      <value value="help@digitalhealth.gov.au" />
    </telecom>
  </contact>
  <description value="This StructureDefinition describes the NCTS General Concept Map, a profile of the FHIR&amp;reg; CodeSystem resource. The NCTS General Concept Map is designed to represent mappings between terminologies published as part of the National Clinical Terminology Service, and maximise interoperability within the NCTS ecosystem." />
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm" />
      <code value="036" />
    </coding>
  </jurisdiction>
  <purpose value="The purpose of this profile is to codify a set of general best practices with respect to representing concept maps in FHIR, and an opinionated approach to versioning that is compatible with the syndication model that NCTS uses." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="objimpl" />
    <uri value="http://hl7.org/fhir/object-implementation" />
    <name value="Object Implementation Information" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="ConceptMap" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/ConceptMap" />
  <derivation value="constraint" />
  <snapshot>
    <element id="ConceptMap">
      <path value="ConceptMap" />
      <short value="A map from one set of concepts to one or more other concepts" />
      <definition value="A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="ConceptMap" />
        <min value="0" />
        <max value="*" />
      </base>
      <constraint>
        <key value="dom-2" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources" />
        <expression value="contained.contained.empty()" />
        <xpath value="not(parent::f:contained and f:contained)" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-4" />
        <severity value="error" />
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" />
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" />
        <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-3" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" />
        <expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" />
        <xpath value="not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
          <valueBoolean value="true" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation">
          <valueMarkdown value="When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." />
        </extension>
        <key value="dom-6" />
        <severity value="warning" />
        <human value="A resource should have narrative for robust management" />
        <expression value="text.`div`.exists()" />
        <xpath value="exists(f:text/h:div)" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-5" />
        <severity value="error" />
        <human value="If a resource is contained in another resource, it SHALL NOT have a security label" />
        <expression value="contained.meta.security.empty()" />
        <xpath value="not(exists(f:contained/*/f:meta/f:security))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="cmd-0" />
        <severity value="warning" />
        <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation" />
        <expression value="name.matches('[A-Z]([A-Za-z0-9_]){0,254}')" />
        <xpath value="not(exists(f:name/@value)) or matches(f:name/@value, '[A-Z]([A-Za-z0-9_]){0,254}')" />
        <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="Entity. Role, or Act" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.id">
      <path value="ConceptMap.id" />
      <short value="Logical id of this artifact" />
      <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." />
      <comment value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Resource.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <isSummary value="true" />
    </element>
    <element id="ConceptMap.meta">
      <path value="ConceptMap.meta" />
      <short value="Metadata about the resource" />
      <definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Resource.meta" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Meta" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.implicitRules">
      <path value="ConceptMap.implicitRules" />
      <short value="A set of rules under which this content was created" />
      <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content." />
      <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="Resource.implicitRules" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.language">
      <path value="ConceptMap.language" />
      <short value="Language of the resource content" />
      <definition value="The base language in which the resource is written." />
      <comment value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Resource.language" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueCanonical value="http://hl7.org/fhir/ValueSet/all-languages" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language" />
        </extension>
        <strength value="preferred" />
        <description value="A human language." />
        <valueSet value="http://hl7.org/fhir/ValueSet/languages" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.text">
      <path value="ConceptMap.text" />
      <short value="Text summary of the resource, for human interpretation" />
      <definition value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." />
      <comment value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded information is added later." />
      <alias value="narrative" />
      <alias value="html" />
      <alias value="xhtml" />
      <alias value="display" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="DomainResource.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Narrative" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Act.text?" />
      </mapping>
    </element>
    <element id="ConceptMap.contained">
      <path value="ConceptMap.contained" />
      <short value="Contained, inline Resources" />
      <definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." />
      <comment value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." />
      <alias value="inline resources" />
      <alias value="anonymous resources" />
      <alias value="contained resources" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="DomainResource.contained" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Resource" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="Entity. Role, or Act" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.extension">
      <path value="ConceptMap.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="DomainResource.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.modifierExtension">
      <path value="ConceptMap.modifierExtension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="DomainResource.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.url">
      <path value="ConceptMap.url" />
      <short value="Canonical identifier for this concept map, represented as a URI (globally unique)" />
      <definition value="An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this concept map is (or will be) published. The URL SHOULD include the major version of the concept map. For more information see [Technical and Business Versions](resource.html#versions)." />
      <comment value="Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred.  Multiple instances may share the same URL if they have a distinct version.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found." />
      <requirements value="Allows the concept map to be referenced by a single globally unique identifier." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.url" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Definition.url" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.identifier" />
      </mapping>
    </element>
    <element id="ConceptMap.identifier">
      <path value="ConceptMap.identifier" />
      <short value="Additional identifier for the concept map" />
      <definition value="A formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance." />
      <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this concept map outside of FHIR, where it is not possible to use the logical URI." />
      <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.identifier" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Definition.identifier" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.identifier" />
      </mapping>
      <mapping>
        <identity value="objimpl" />
        <map value="no-gen-base" />
      </mapping>
    </element>
    <element id="ConceptMap.identifier.id">
      <path value="ConceptMap.identifier.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.identifier.extension">
      <path value="ConceptMap.identifier.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.identifier.use">
      <path value="ConceptMap.identifier.use" />
      <short value="usual | official | temp | secondary | old (If known)" />
      <definition value="The purpose of this identifier." />
      <comment value="Applications can assume that an identifier is permanent unless it explicitly says that it is temporary." />
      <requirements value="Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Identifier.use" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="This is labeled as &quot;Is Modifier&quot; because applications should not mistake a temporary id for a permanent one." />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="IdentifierUse" />
        </extension>
        <strength value="required" />
        <description value="Identifies the purpose for this identifier, if known ." />
        <valueSet value="http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Role.code or implied by context" />
      </mapping>
    </element>
    <element id="ConceptMap.identifier.type">
      <path value="ConceptMap.identifier.type" />
      <short value="Description of identifier" />
      <definition value="A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." />
      <comment value="This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type." />
      <requirements value="Allows users to make use of identifiers when the identifier system is not known." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Identifier.type" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="IdentifierType" />
        </extension>
        <strength value="extensible" />
        <description value="A coded type for an identifier that can be used to determine which identifier to use for a specific purpose." />
        <valueSet value="http://hl7.org/fhir/ValueSet/identifier-type" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX.5" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Role.code or implied by context" />
      </mapping>
    </element>
    <element id="ConceptMap.identifier.system">
      <path value="ConceptMap.identifier.system" />
      <short value="The namespace for the identifier value" />
      <definition value="Establishes the namespace for the value - that is, a URL that describes a set values that are unique." />
      <comment value="Identifier.system is always case sensitive." />
      <requirements value="There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Identifier.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="urn:ietf:rfc:3986" />
      <example>
        <label value="General" />
        <valueUri value="http://www.acme.com/identifiers/patient" />
      </example>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX.4 / EI-2-4" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II.root or Role.id.root" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./IdentifierType" />
      </mapping>
    </element>
    <element id="ConceptMap.identifier.value">
      <path value="ConceptMap.identifier.value" />
      <short value="The value that is unique" />
      <definition value="The portion of the identifier typically relevant to the user and which is unique within the context of the system." />
      <comment value="If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Identifier.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <example>
        <label value="General" />
        <valueString value="123456" />
      </example>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX.1 / EI.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./Value" />
      </mapping>
    </element>
    <element id="ConceptMap.identifier.period">
      <path value="ConceptMap.identifier.period" />
      <short value="Time period when id is/was valid for use" />
      <definition value="Time period during which identifier is/was valid for use." />
      <comment value="A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. &quot;the patient was an inpatient of the hospital for this time range&quot;) or one value from the range applies (e.g. &quot;give to the patient between these two times&quot;).&#xA;&#xA;Period is not used for a duration (a measure of elapsed time). See [Duration](datatypes.html#Duration)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Identifier.period" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Period" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="per-1" />
        <severity value="error" />
        <human value="If present, start SHALL have a lower value than end" />
        <expression value="start.hasValue().not() or end.hasValue().not() or (start &lt;= end)" />
        <xpath value="not(exists(f:start/@value)) or not(exists(f:end/@value)) or (xs:dateTime(f:start/@value) &lt;= xs:dateTime(f:end/@value))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Period" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="DR" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="IVL&lt;TS&gt;[lowClosed=&quot;true&quot; and highClosed=&quot;true&quot;] or URG&lt;TS&gt;[lowClosed=&quot;true&quot; and highClosed=&quot;true&quot;]" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX.7 + CX.8" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Role.effectiveTime or implied by context" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./StartDate and ./EndDate" />
      </mapping>
    </element>
    <element id="ConceptMap.identifier.assigner">
      <path value="ConceptMap.identifier.assigner" />
      <short value="Organization that issued id (may be just text)" />
      <definition value="Organization that issued/manages the identifier." />
      <comment value="The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Identifier.assigner" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CX.4 / (CX.4,CX.9,CX.10)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="./IdentifierIssuingAuthority" />
      </mapping>
    </element>
    <element id="ConceptMap.version">
      <path value="ConceptMap.version" />
      <short value="Business version of the concept map" />
      <definition value="The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence." />
      <comment value="There may be different concept map instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the concept map with the format [url]|[version]." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.version" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Definition.version" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.version" />
      </mapping>
    </element>
    <element id="ConceptMap.name">
      <path value="ConceptMap.name" />
      <short value="Name for this concept map (computer friendly)" />
      <definition value="A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation." />
      <comment value="The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly." />
      <requirements value="Support human navigation and code generation." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.name" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <condition value="inv-0" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.title">
      <path value="ConceptMap.title" />
      <short value="Name for this concept map (human friendly)" />
      <definition value="A short, descriptive, user-friendly title for the concept map." />
      <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.title" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Definition.title" />
      </mapping>
    </element>
    <element id="ConceptMap.status">
      <path value="ConceptMap.status" />
      <short value="draft | active | retired | unknown" />
      <definition value="The status of this concept map. Enables tracking the life-cycle of the content." />
      <comment value="Allows filtering of concept maps that are appropriate for use versus not." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.status" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="This is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration" />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PublicationStatus" />
        </extension>
        <strength value="required" />
        <description value="The lifecycle status of an artifact." />
        <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Definition.status" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.status" />
      </mapping>
    </element>
    <element id="ConceptMap.experimental">
      <path value="ConceptMap.experimental" />
      <short value="For testing purposes, not real usage" />
      <definition value="A boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage." />
      <comment value="Allows filtering of concept maps that are appropriate for use versus not." />
      <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level concept map." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.experimental" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Definition.experimental" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.class" />
      </mapping>
    </element>
    <element id="ConceptMap.date">
      <path value="ConceptMap.date" />
      <short value="Date last changed" />
      <definition value="The date  (and optionally time) when the concept map was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes." />
      <comment value="Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the concept map. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource." />
      <alias value="Revision Date" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.date" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Definition.date" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.recorded" />
      </mapping>
    </element>
    <element id="ConceptMap.publisher">
      <path value="ConceptMap.publisher" />
      <short value="Name of the publisher (organization or individual)" />
      <definition value="The name of the individual or organization that published the concept map." />
      <comment value="Usually an organization but may be an individual. The publisher (or steward) of the concept map is the organization or individual primarily responsible for the maintenance and upkeep of the concept map. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the concept map. This item SHOULD be populated unless the information is available from context." />
      <requirements value="Helps establish the &quot;authority/credibility&quot; of the concept map.  May also allow for contact." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.publisher" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Definition.publisher" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.witness" />
      </mapping>
    </element>
    <element id="ConceptMap.contact">
      <path value="ConceptMap.contact" />
      <short value="Contact details for the publisher" />
      <definition value="Contact details to assist a user in finding and communicating with the publisher." />
      <comment value="May be a web site, an email address, a telephone number, etc." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="ConceptMap.contact" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="ContactDetail" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Definition.contact" />
      </mapping>
    </element>
    <element id="ConceptMap.contact.id">
      <path value="ConceptMap.contact.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.contact.extension">
      <path value="ConceptMap.contact.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.contact.name">
      <path value="ConceptMap.contact.name" />
      <short value="Name of an individual to contact" />
      <definition value="The name of an individual to contact." />
      <comment value="If there is no named individual, the telecom information is for the organization as a whole." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ContactDetail.name" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.contact.telecom">
      <path value="ConceptMap.contact.telecom" />
      <short value="Contact details for individual or organization" />
      <definition value="The contact details for the individual (if a name was provided) or the organization." />
      <min value="1" />
      <max value="*" />
      <base>
        <path value="ContactDetail.telecom" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="ContactPoint" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="cpt-2" />
        <severity value="error" />
        <human value="A system is required if a value is provided." />
        <expression value="value.empty() or system.exists()" />
        <xpath value="not(exists(f:value)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/ContactPoint" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="XTN" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="TEL" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="ContactPoint" />
      </mapping>
    </element>
    <element id="ConceptMap.description">
      <path value="ConceptMap.description" />
      <short value="Natural language description of the concept map" />
      <definition value="A free text natural language description of the concept map from a consumer's perspective." />
      <comment value="The description is not intended to describe the semantics of the concept map. The description should capture its intended use, which is needed for ensuring integrity for its use in models across future changes." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.description" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="markdown" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Definition.description" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.useContext">
      <path value="ConceptMap.useContext" />
      <short value="The context that the content is intended to support" />
      <definition value="The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate concept map instances." />
      <comment value="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply." />
      <requirements value="Assist in searching for appropriate content." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="ConceptMap.useContext" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="UsageContext" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Definition.useContext" />
      </mapping>
    </element>
    <element id="ConceptMap.jurisdiction">
      <path value="ConceptMap.jurisdiction" />
      <short value="Intended jurisdiction for concept map (if applicable)" />
      <definition value="A legal or geographic region in which the concept map is intended to be used." />
      <comment value="It may be possible for the concept map to be used in jurisdictions other than those for which it was originally designed or intended." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="ConceptMap.jurisdiction" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Jurisdiction" />
        </extension>
        <strength value="extensible" />
        <description value="Countries and regions within which this artifact is targeted for use." />
        <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Definition.jurisdiction" />
      </mapping>
    </element>
    <element id="ConceptMap.purpose">
      <path value="ConceptMap.purpose" />
      <short value="Why this concept map is defined" />
      <definition value="Explanation of why this concept map is needed and why it has been designed as it has." />
      <comment value="This element does not describe the usage of the concept map. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this concept map." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.purpose" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="markdown" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Definition.purpose" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.why[x]" />
      </mapping>
      <mapping>
        <identity value="objimpl" />
        <map value="no-gen-base" />
      </mapping>
    </element>
    <element id="ConceptMap.copyright">
      <path value="ConceptMap.copyright" />
      <short value="Use and/or publishing restrictions" />
      <definition value="A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map." />
      <comment value="Frequently the copyright differs between the concept map and codes that are included. The copyright statement should clearly differentiate between these when required." />
      <requirements value="Consumers must be able to determine any legal restrictions on the use of the concept map and/or its content." />
      <alias value="License" />
      <alias value="Restrictions" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.copyright" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="markdown" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Definition.copyright" />
      </mapping>
      <mapping>
        <identity value="objimpl" />
        <map value="no-gen-base" />
      </mapping>
    </element>
    <element id="ConceptMap.source[x]">
      <path value="ConceptMap.source[x]" />
      <short value="The source value set that contains the concepts that are being mapped" />
      <definition value="The source value set that specifies the concepts that are being mapped." />
      <comment value="Should be a version specific reference. URIs SHOULD be absolute. If there is no source or target value set, there is no specified context for the map (not recommended).  The source value set may select codes from either an explicit (standard or local) or implicit code system." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.source[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="canonical" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.target[x]">
      <path value="ConceptMap.target[x]" />
      <short value="The target value set which provides context for the mappings" />
      <definition value="The target value set provides context to the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made." />
      <comment value="Should be a version specific reference. URIs SHOULD be absolute. If there is no source or target value set, the is no specified context for the map." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.target[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="canonical" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group">
      <path value="ConceptMap.group" />
      <short value="Same source and target systems" />
      <definition value="A group of mappings that all have the same source and target system." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="ConceptMap.group" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.id">
      <path value="ConceptMap.group.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.extension">
      <path value="ConceptMap.group.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.group.modifierExtension">
      <path value="ConceptMap.group.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.group.source">
      <path value="ConceptMap.group.source" />
      <short value="Source system where concepts to be mapped are defined" />
      <definition value="An absolute URI that identifies the source system where the concepts to be mapped are defined." />
      <comment value="This is not needed if the source value set is specified and it contains concepts from only a single system." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.source" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.sourceVersion">
      <path value="ConceptMap.group.sourceVersion" />
      <short value="Specific version of the  code system" />
      <definition value="The specific version of the code system, as determined by the code system authority." />
      <comment value="The specification of a particular code system version may be required for code systems which lack concept permanence." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.sourceVersion" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.target">
      <path value="ConceptMap.group.target" />
      <short value="Target system that the concepts are to be mapped to" />
      <definition value="An absolute URI that identifies the target system that the concepts will be mapped to." />
      <comment value="This is not needed if the target value set is specified and it contains concepts from only a single system. The group target may also be omitted if all of the target element equivalence values are 'unmatched'." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.target" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.targetVersion">
      <path value="ConceptMap.group.targetVersion" />
      <short value="Specific version of the  code system" />
      <definition value="The specific version of the code system, as determined by the code system authority." />
      <comment value="The specification of a particular code system version may be required for code systems which lack concept permanence." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.targetVersion" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="SourceElement" />
      </extension>
      <path value="ConceptMap.group.element" />
      <short value="Mappings for a concept from the source set" />
      <definition value="Mappings for an individual concept in the source to one or more concepts in the target." />
      <comment value="Generally, the ideal is that there would only be one mapping for each concept in the source value set, but a given concept may be mapped multiple times with different comments or dependencies." />
      <alias value="code" />
      <alias value="concept" />
      <alias value="item" />
      <min value="1" />
      <max value="*" />
      <base>
        <path value="ConceptMap.group.element" />
        <min value="1" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.id">
      <path value="ConceptMap.group.element.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.extension">
      <path value="ConceptMap.group.element.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.modifierExtension">
      <path value="ConceptMap.group.element.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.code">
      <path value="ConceptMap.group.element.code" />
      <short value="Identifies element being mapped" />
      <definition value="Identity (code or path) or the element/item being mapped." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.element.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.display">
      <path value="ConceptMap.group.element.display" />
      <short value="Display for the code" />
      <definition value="The display for the code. The display is only provided to help editors when editing the concept map." />
      <comment value="The display is ignored when processing the map." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.element.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="TargetElement" />
      </extension>
      <path value="ConceptMap.group.element.target" />
      <short value="Concept in target system for element" />
      <definition value="A concept from the target value set that this concept maps to." />
      <comment value="Ideally there would only be one map, with equal or equivalent mapping. But multiple maps are allowed for several narrower options, or to assert that other concepts are unmatched." />
      <min value="1" />
      <max value="*" />
      <base>
        <path value="ConceptMap.group.element.target" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="cmd-1" />
        <severity value="error" />
        <human value="If the map is narrower or inexact, there SHALL be some comments" />
        <expression value="comment.exists() or equivalence.empty() or ((equivalence != 'narrower') and (equivalence != 'inexact'))" />
        <xpath value="exists(f:comment) or not(exists(f:equivalence)) or ((f:equivalence/@value != 'narrower') and (f:equivalence/@value != 'inexact'))" />
        <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.id">
      <path value="ConceptMap.group.element.target.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.extension">
      <path value="ConceptMap.group.element.target.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.modifierExtension">
      <path value="ConceptMap.group.element.target.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.code">
      <path value="ConceptMap.group.element.target.code" />
      <short value="Code that identifies the target element" />
      <definition value="Identity (code or path) or the element/item that the map refers to." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.element.target.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.display">
      <path value="ConceptMap.group.element.target.display" />
      <short value="Display for the code" />
      <definition value="The display for the code. The display is only provided to help editors when editing the concept map." />
      <comment value="The display is ignored when processing the map." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.element.target.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.equivalence">
      <path value="ConceptMap.group.element.target.equivalence" />
      <short value="relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint" />
      <definition value="The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source). Note that a number of values in the bound ValueSet in FHIR R5 have been removed, therefore it is recommended that use of this element is limited to the following values to ease transition to R5, related-to | equivalent | broader | narrower | not-related-to" />
      <comment value="This element is labeled as a modifier because it may indicate that a target does not apply." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.element.target.equivalence" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="Some of the values mean that there is no mapping from the source to the target, particularly 'disjoint', and the mapping cannot be interpreted without knowing this value as it could mean the elements are equivalent, totally mismatched or anything in between" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ConceptMapEquivalence" />
        </extension>
        <strength value="required" />
        <description value="The degree of equivalence between concepts." />
        <valueSet value="http://hl7.org/fhir/ValueSet/concept-map-equivalence|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.comment">
      <path value="ConceptMap.group.element.target.comment" />
      <short value="Description of status/issues in mapping" />
      <definition value="A description of status/issues in mapping that conveys additional information not represented in  the structured data." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.element.target.comment" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <condition value="cmd-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.dependsOn">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="OtherElement" />
      </extension>
      <path value="ConceptMap.group.element.target.dependsOn" />
      <short value="Other elements required for this mapping (from context)" />
      <definition value="A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="ConceptMap.group.element.target.dependsOn" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.dependsOn.id">
      <path value="ConceptMap.group.element.target.dependsOn.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.dependsOn.extension">
      <path value="ConceptMap.group.element.target.dependsOn.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.dependsOn.modifierExtension">
      <path value="ConceptMap.group.element.target.dependsOn.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.dependsOn.property">
      <path value="ConceptMap.group.element.target.dependsOn.property" />
      <short value="Reference to property mapping depends on" />
      <definition value="A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property." />
      <comment value="see http://en.wikipedia.org/wiki/Uniform_resource_identifier" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.element.target.dependsOn.property" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.dependsOn.system">
      <path value="ConceptMap.group.element.target.dependsOn.system" />
      <short value="Code System (if necessary)" />
      <definition value="An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems)." />
      <comment value="see [Canonical References](references.html#canonical)" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.element.target.dependsOn.system" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="canonical" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem" />
      </type>
      <meaningWhenMissing value="The code is in the source (dependsOn) or target (product) system" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.dependsOn.value">
      <path value="ConceptMap.group.element.target.dependsOn.value" />
      <short value="Value of the referenced element" />
      <definition value="Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.element.target.dependsOn.value" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.dependsOn.display">
      <path value="ConceptMap.group.element.target.dependsOn.display" />
      <short value="Display for the code (if value is a code)" />
      <definition value="The display for the code. The display is only provided to help editors when editing the concept map." />
      <comment value="The display is ignored when processing the map." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.element.target.dependsOn.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.element.target.product">
      <path value="ConceptMap.group.element.target.product" />
      <short value="Other concepts that this mapping also produces" />
      <definition value="A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on." />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="ConceptMap.group.element.target.product" />
        <min value="0" />
        <max value="*" />
      </base>
      <contentReference value="http://hl7.org/fhir/StructureDefinition/ConceptMap#ConceptMap.group.element.target.dependsOn" />
    </element>
    <element id="ConceptMap.group.unmapped">
      <path value="ConceptMap.group.unmapped" />
      <short value="What to do when there is no mapping for the source concept" />
      <definition value="What to do when there is no mapping for the source concept. &quot;Unmapped&quot; does not include codes that are unmatched, and the unmapped element is ignored in a code is specified to have equivalence = unmatched." />
      <comment value="This only applies if the source code has a system value that matches the system defined for the group." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.unmapped" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="cmd-3" />
        <severity value="error" />
        <human value="If the mode is 'other-map', a url must be provided" />
        <expression value="(mode = 'other-map') implies url.exists()" />
        <xpath value="(f:mode/@value != 'other-map') or exists(f:url)" />
        <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap" />
      </constraint>
      <constraint>
        <key value="cmd-2" />
        <severity value="error" />
        <human value="If the mode is 'fixed', a code must be provided" />
        <expression value="(mode = 'fixed') implies code.exists()" />
        <xpath value="(f:mode/@value != 'fixed') or exists(f:code)" />
        <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.unmapped.id">
      <path value="ConceptMap.group.unmapped.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.unmapped.extension">
      <path value="ConceptMap.group.unmapped.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.group.unmapped.modifierExtension">
      <path value="ConceptMap.group.unmapped.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="ConceptMap.group.unmapped.mode">
      <path value="ConceptMap.group.unmapped.mode" />
      <short value="provided | fixed | other-map" />
      <definition value="Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL)." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.unmapped.mode" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ConceptMapGroupUnmappedMode" />
        </extension>
        <strength value="required" />
        <description value="Defines which action to take if there is no match in the group." />
        <valueSet value="http://hl7.org/fhir/ValueSet/conceptmap-unmapped-mode|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.unmapped.code">
      <path value="ConceptMap.group.unmapped.code" />
      <short value="Fixed code when mode = fixed" />
      <definition value="The fixed code to use when the mode = 'fixed'  - all unmapped codes are mapped to a single fixed code." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.unmapped.code" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.unmapped.display">
      <path value="ConceptMap.group.unmapped.display" />
      <short value="Display for the code" />
      <definition value="The display for the code. The display is only provided to help editors when editing the concept map." />
      <comment value="The display is ignored when processing the map." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.unmapped.display" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="ConceptMap.group.unmapped.url">
      <path value="ConceptMap.group.unmapped.url" />
      <short value="canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped" />
      <definition value="The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept." />
      <comment value="see [Canonical References](references.html#canonical)" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="ConceptMap.group.unmapped.url" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="canonical" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ConceptMap" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="ConceptMap">
      <path value="ConceptMap" />
    </element>
    <element id="ConceptMap.implicitRules">
      <path value="ConceptMap.implicitRules" />
      <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content." />
      <max value="0" />
    </element>
    <element id="ConceptMap.text">
      <path value="ConceptMap.text" />
      <definition value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." />
      <min value="1" />
    </element>
    <element id="ConceptMap.contained">
      <path value="ConceptMap.contained" />
      <definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." />
      <max value="0" />
    </element>
    <element id="ConceptMap.modifierExtension">
      <path value="ConceptMap.modifierExtension" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <max value="0" />
    </element>
    <element id="ConceptMap.url">
      <path value="ConceptMap.url" />
      <definition value="An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this concept map is (or will be) published. The URL SHOULD include the major version of the concept map. For more information see [Technical and Business Versions](resource.html#versions)." />
      <min value="1" />
    </element>
    <element id="ConceptMap.identifier">
      <path value="ConceptMap.identifier" />
      <definition value="A formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance." />
      <min value="1" />
    </element>
    <element id="ConceptMap.identifier.system">
      <path value="ConceptMap.identifier.system" />
      <definition value="Establishes the namespace for the value - that is, a URL that describes a set values that are unique." />
      <min value="1" />
      <fixedUri value="urn:ietf:rfc:3986" />
    </element>
    <element id="ConceptMap.identifier.value">
      <path value="ConceptMap.identifier.value" />
      <definition value="The portion of the identifier typically relevant to the user and which is unique within the context of the system." />
      <min value="1" />
    </element>
    <element id="ConceptMap.version">
      <path value="ConceptMap.version" />
      <definition value="The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence." />
      <min value="1" />
    </element>
    <element id="ConceptMap.name">
      <path value="ConceptMap.name" />
      <definition value="A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation." />
      <min value="1" />
    </element>
    <element id="ConceptMap.title">
      <path value="ConceptMap.title" />
      <definition value="A short, descriptive, user-friendly title for the concept map." />
      <min value="1" />
    </element>
    <element id="ConceptMap.experimental">
      <path value="ConceptMap.experimental" />
      <definition value="A boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage." />
      <min value="1" />
    </element>
    <element id="ConceptMap.date">
      <path value="ConceptMap.date" />
      <definition value="The date  (and optionally time) when the concept map was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes." />
      <min value="1" />
    </element>
    <element id="ConceptMap.publisher">
      <path value="ConceptMap.publisher" />
      <definition value="The name of the individual or organization that published the concept map." />
      <min value="1" />
    </element>
    <element id="ConceptMap.contact.name">
      <path value="ConceptMap.contact.name" />
      <definition value="The name of an individual to contact." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="ConceptMap.contact.telecom">
      <path value="ConceptMap.contact.telecom" />
      <definition value="The contact details for the individual (if a name was provided) or the organization." />
      <min value="1" />
    </element>
    <element id="ConceptMap.description">
      <path value="ConceptMap.description" />
      <definition value="A free text natural language description of the concept map from a consumer's perspective." />
      <min value="1" />
    </element>
    <element id="ConceptMap.copyright">
      <path value="ConceptMap.copyright" />
      <definition value="A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map." />
      <min value="1" />
    </element>
    <element id="ConceptMap.source[x]">
      <path value="ConceptMap.source[x]" />
      <definition value="The source value set that specifies the concepts that are being mapped." />
      <min value="1" />
    </element>
    <element id="ConceptMap.target[x]">
      <path value="ConceptMap.target[x]" />
      <definition value="The target value set provides context to the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made." />
      <min value="1" />
    </element>
    <element id="ConceptMap.group.modifierExtension">
      <path value="ConceptMap.group.modifierExtension" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <max value="0" />
    </element>
    <element id="ConceptMap.group.element.modifierExtension">
      <path value="ConceptMap.group.element.modifierExtension" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <max value="0" />
    </element>
    <element id="ConceptMap.group.element.code">
      <path value="ConceptMap.group.element.code" />
      <definition value="Identity (code or path) or the element/item being mapped." />
      <min value="1" />
    </element>
    <element id="ConceptMap.group.element.target">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="TargetElement" />
      </extension>
      <path value="ConceptMap.group.element.target" />
      <definition value="A concept from the target value set that this concept maps to." />
      <min value="1" />
    </element>
    <element id="ConceptMap.group.element.target.modifierExtension">
      <path value="ConceptMap.group.element.target.modifierExtension" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <max value="0" />
    </element>
    <element id="ConceptMap.group.element.target.equivalence">
      <path value="ConceptMap.group.element.target.equivalence" />
      <definition value="The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source). Note that a number of values in the bound ValueSet in FHIR R5 have been removed, therefore it is recommended that use of this element is limited to the following values to ease transition to R5, related-to | equivalent | broader | narrower | not-related-to" />
    </element>
    <element id="ConceptMap.group.element.target.dependsOn">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="OtherElement" />
      </extension>
      <path value="ConceptMap.group.element.target.dependsOn" />
      <definition value="A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value." />
      <max value="0" />
    </element>
    <element id="ConceptMap.group.element.target.dependsOn.modifierExtension">
      <path value="ConceptMap.group.element.target.dependsOn.modifierExtension" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <max value="0" />
    </element>
    <element id="ConceptMap.group.element.target.product">
      <path value="ConceptMap.group.element.target.product" />
      <definition value="A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on." />
      <max value="0" />
    </element>
    <element id="ConceptMap.group.unmapped.modifierExtension">
      <path value="ConceptMap.group.unmapped.modifierExtension" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>