<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="discriminator-type" />
  <meta>
    <lastUpdated value="2017-04-19T07:44:43.294+10:00" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <h2>DiscriminatorType</h2>
      <div>
        <p>How an element value is interpreted when discrimination is evaluated</p>
      </div>
      <p>This code system http://hl7.org/fhir/discriminator-type defines the following codes:</p>
      <table class="codes">
        <tr>
          <td>
            <b>Code</b>
          </td>
          <td>
            <b>Display</b>
          </td>
          <td>
            <b>Definition</b>
          </td>
        </tr>
        <tr>
          <td>value
                  <a name="discriminator-type-value"></a></td>
          <td>Value</td>
          <td>The slices have different values in the nominated element</td>
        </tr>
        <tr>
          <td>exists
                  <a name="discriminator-type-exists"></a></td>
          <td>Exists</td>
          <td>The slices are differentiated by the presence or absence of the nominated element</td>
        </tr>
        <tr>
          <td>pattern
                  <a name="discriminator-type-pattern"></a></td>
          <td>Pattern</td>
          <td>The slices have different values in the nominated element, as determined by testing them against the applicable ElementDefinition.pattern[x]</td>
        </tr>
        <tr>
          <td>type
                  <a name="discriminator-type-type"></a></td>
          <td>Type</td>
          <td>The slices are differentiated by type of the nominated element to a specifed profile</td>
        </tr>
        <tr>
          <td>profile
                  <a name="discriminator-type-profile"></a></td>
          <td>Profile</td>
          <td>The slices are differentiated by conformance of the nominated element to a specifed profile</td>
        </tr>
      </table>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status">
    <valueString value="Informative" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir" />
  </extension>
  <url value="http://hl7.org/fhir/discriminator-type" />
  <identifier>
    <system value="urn:ietf:rfc:3986" />
    <value value="urn:oid:2.16.840.1.113883.4.642.1.85" />
  </identifier>
  <version value="3.0.1" />
  <name value="DiscriminatorType" />
  <status value="draft" />
  <experimental value="false" />
  <date value="2017-04-19T07:44:43+10:00" />
  <publisher value="HL7 (FHIR Project)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
    <telecom>
      <system value="email" />
      <value value="fhir@lists.hl7.org" />
    </telecom>
  </contact>
  <description value="How an element value is interpreted when discrimination is evaluated" />
  <caseSensitive value="true" />
  <valueSet value="http://hl7.org/fhir/ValueSet/discriminator-type" />
  <content value="complete" />
  <concept>
    <code value="value" />
    <display value="Value" />
    <definition value="The slices have different values in the nominated element" />
  </concept>
  <concept>
    <code value="exists" />
    <display value="Exists" />
    <definition value="The slices are differentiated by the presence or absence of the nominated element" />
  </concept>
  <concept>
    <code value="pattern" />
    <display value="Pattern" />
    <definition value="The slices have different values in the nominated element, as determined by testing them against the applicable ElementDefinition.pattern[x]" />
  </concept>
  <concept>
    <code value="type" />
    <display value="Type" />
    <definition value="The slices are differentiated by type of the nominated element to a specifed profile" />
  </concept>
  <concept>
    <code value="profile" />
    <display value="Profile" />
    <definition value="The slices are differentiated by conformance of the nominated element to a specifed profile" />
  </concept>
</CodeSystem>