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