{
  "resourceType": "StructureDefinition",
  "id": "elementdefinition-de",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">to do</div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-de",
  "name": "DataElement constraint on ElementDefinition data type",
  "status": "draft",
  "experimental": false,
  "date": "2015-02-28",
  "publisher": "Health Level Seven International (Orders and Observations)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/special/committees/FHIR"
        }
      ]
    }
  ],
  "description": "Identifies how the ElementDefinition data type is used when it appears within a data element",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "dex",
      "uri": "http://wiki.ihe.net/index.php?title=Data_Element_Exchange",
      "name": "IHE Data Element Exchange (DEX)"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "iso11179",
      "uri": "http://metadata-standards.org/11179/",
      "name": "ISO 11179"
    },
    {
      "identity": "loinc",
      "uri": "http://loinc.org",
      "name": "LOINC code for the element"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "type": "ElementDefinition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ElementDefinition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ElementDefinition",
        "path": "ElementDefinition",
        "min": 0,
        "max": "*"
      },
      {
        "id": "ElementDefinition.extension:question",
        "path": "ElementDefinition.extension",
        "sliceName": "Question",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/elementdefinition-question"
          }
        ]
      },
      {
        "id": "ElementDefinition.extension:allowedunits",
        "path": "ElementDefinition.extension",
        "sliceName": "AllowedUnits",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits"
          }
        ]
      },
      {
        "id": "ElementDefinition.representation",
        "path": "ElementDefinition.representation",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ElementDefinition.slicing",
        "path": "ElementDefinition.slicing",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ElementDefinition.short",
        "path": "ElementDefinition.short",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ElementDefinition.contentReference",
        "path": "ElementDefinition.contentReference",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ElementDefinition.type",
        "path": "ElementDefinition.type"
      },
      {
        "id": "ElementDefinition.type.profile",
        "path": "ElementDefinition.type.profile",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ElementDefinition.type.aggregation",
        "path": "ElementDefinition.type.aggregation",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ElementDefinition.defaultValue[x]",
        "path": "ElementDefinition.defaultValue[x]",
        "comment": "...  This element should only be used on child elements of complex data elements."
      },
      {
        "id": "ElementDefinition.meaningWhenMissing",
        "path": "ElementDefinition.meaningWhenMissing",
        "comment": "...  This element should only be used on child elements of complex data elements."
      },
      {
        "id": "ElementDefinition.fixed[x]",
        "path": "ElementDefinition.fixed[x]",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ElementDefinition.pattern[x]",
        "path": "ElementDefinition.pattern[x]",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ElementDefinition.isModifier",
        "path": "ElementDefinition.isModifier",
        "min": 0,
        "max": "0"
      },
      {
        "id": "ElementDefinition.isSummary",
        "path": "ElementDefinition.isSummary",
        "min": 0,
        "max": "0"
      }
    ]
  }
}