R4 Ballot #1 (Mixed Normative/Trial use)

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

Codesystem-discriminator-type.xml

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

Raw XML (canonical form)

Definition for Code System DiscriminatorType

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="discriminator-type"/> 
  <meta> 
    <lastUpdated value="2018-04-03T12:05:46.262+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 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-ballot-status">
    <valueString value="Draft"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0"/> 
  </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.92"/> 
  </identifier> 
  <version value="3.3.0"/> 
  <name value="DiscriminatorType"/> 
  <status value="draft"/> 
  <experimental value="false"/> 
  <date value="2018-04-03T12:05:46+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"/> 
  </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.