Release 4

Codesystem-discriminator-type.xml

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

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

Definition for Code System DiscriminatorType

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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="discriminator-type"/> 
  <meta> 
    <lastUpdated value="2021-01-21T15:34:20.265+00: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 style="white-space:nowrap">
            <b> Code</b> 
          </td> 
          <td> 
            <b> Display</b> 
          </td> 
          <td> 
            <b> Definition</b> 
          </td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">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 style="white-space:nowrap">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 style="white-space:nowrap">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 style="white-space:nowrap">type
            <a name="discriminator-type-type"> </a> 
          </td> 
          <td> Type</td> 
          <td> The slices are differentiated by type of the nominated element.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">profile
            <a name="discriminator-type-profile"> </a> 
          </td> 
          <td> Profile</td> 
          <td> The slices are differentiated by conformance of the nominated element to a specified profile.
             Note that if the path specifies .resolve() then the profile is the target profile on the
             reference. In this case, validation by the possible profiles is required to differentiate
             the slices.</td> 
        </tr> 
      </table> 
    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="normative"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
    <valueCode value="4.0.0"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="2"/> 
  </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.4.92"/> 
  </identifier> 
  <version value="4.0.1"/> 
  <name value="DiscriminatorType"/> 
  <title value="DiscriminatorType"/> 
  <status value="active"/> 
  <experimental value="false"/> 
  <date value="2021-01-21T15:34:20+00: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."/> 
  </concept> 
  <concept> 
    <code value="profile"/> 
    <display value="Profile"/> 
    <definition value="The slices are differentiated by conformance of the nominated element to a specified profile.
     Note that if the path specifies .resolve() then the profile is the target profile on the
     reference. In this case, validation by the possible profiles is required to differentiate
     the slices."/> 
  </concept> 
</CodeSystem> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.