PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.core@3.2.0
    http://hl7.org/fhir/StructureDefinition/elementdefinition-de
{
  "description": "Identifies how the ElementDefinition data type is used when it appears within a data element",
  "_filename": "StructureDefinition-elementdefinition-de.json",
  "package_name": "hl7.fhir.core",
  "date": "2015-02-28",
  "derivation": "constraint",
  "publisher": "Health Level Seven International (Orders and Observations)",
  "fhirVersion": "3.2.0",
  "name": "DataElement constraint on ElementDefinition data type",
  "mapping": [ {
    "uri": "http://wiki.ihe.net/index.php?title=Data_Element_Exchange",
    "name": "IHE Data Element Exchange (DEX)",
    "identity": "dex"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://metadata-standards.org/11179/",
    "name": "ISO 11179",
    "identity": "iso11179"
  }, {
    "uri": "http://loinc.org",
    "name": "LOINC code for the element",
    "identity": "loinc"
  } ],
  "abstract": false,
  "type": "ElementDefinition",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "3.2.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "fhir"
  } ],
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "eld-2",
        "human": "Min <= Max",
        "xpath": "not(exists(f:min)) or not(exists(f:max)) or (not(f:max/@value) and not(f:min/@value)) or (f:max/@value = '*') or (number(f:max/@value) >= f:min/@value)",
        "source": "ElementDefinition",
        "severity": "error",
        "expression": "min.empty() or max.empty() or (max = '*') or (min <= max.toInteger())"
      }, {
        "key": "eld-5",
        "human": "if the element definition has a contentReference, it cannot have type, defaultValue, fixed, pattern, example, minValue, maxValue, maxLength, or binding",
        "xpath": "not(exists(f:contentReference) and (exists(f:type) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:*[starts-with(local-name(.), 'defaultValue')])  or exists(f:*[starts-with(local-name(.), 'fixed')]) or exists(f:*[starts-with(local-name(.), 'pattern')]) or exists(f:*[starts-with(local-name(.), 'example')]) or exists(f:*[starts-with(local-name(.), 'f:minValue')]) or exists(f:*[starts-with(local-name(.), 'f:maxValue')]) or exists(f:maxLength) or exists(f:binding)))",
        "source": "ElementDefinition",
        "severity": "error",
        "expression": "contentReference.empty() or (type.empty() and defaultValue.empty() and fixed.empty() and pattern.empty() and example.empty() and minValue.empty() and maxValue.empty() and maxLength.empty() and binding.empty())"
      }, {
        "key": "eld-7",
        "human": "Pattern may only be specified if there is one type",
        "xpath": "not(exists(f:*[starts-with(local-name(.), 'pattern')])) or (count(f:type)<=1)",
        "source": "ElementDefinition",
        "severity": "error",
        "expression": "pattern.empty() or (type.count() <= 1)"
      }, {
        "key": "eld-6",
        "human": "Fixed value may only be specified if there is one type",
        "xpath": "not(exists(f:*[starts-with(local-name(.), 'fixed')])) or (count(f:type)<=1)",
        "source": "ElementDefinition",
        "severity": "error",
        "expression": "fixed.empty() or (type.count()  <= 1)"
      }, {
        "key": "eld-11",
        "human": "Binding can only be present for coded elements, string, and uri",
        "xpath": "not(exists(f:binding)) or (count(f:type/f:code) = 0) or  f:type/f:code/@value=('code','Coding','CodeableConcept','Quantity','Extension', 'string', 'uri')",
        "source": "ElementDefinition",
        "severity": "error",
        "expression": "binding.empty() or type.code.empty() or type.select((code = 'code') or (code = 'Coding') or (code='CodeableConcept') or (code = 'Quantity') or (code = 'Extension') or (code = 'string') or (code = 'uri')).exists()"
      }, {
        "key": "eld-8",
        "human": "Pattern and value are mutually exclusive",
        "xpath": "not(exists(f:*[starts-with(local-name(.), 'pattern')])) or not(exists(f:*[starts-with(local-name(.), 'fixed')]))",
        "source": "ElementDefinition",
        "severity": "error",
        "expression": "pattern.empty() or fixed.empty()"
      }, {
        "key": "eld-14",
        "human": "Constraints must be unique by key",
        "xpath": "count(f:constraint) = count(distinct-values(f:constraint/f:key/@value))",
        "source": "ElementDefinition",
        "severity": "error",
        "expression": "constraint.select(key).isDistinct()"
      }, {
        "key": "eld-13",
        "human": "Types must be unique by the combination of code and profile",
        "xpath": "not(exists(for $type in f:type return $type/preceding-sibling::f:type[f:code/@value=$type/f:code/@value and f:profile/@value = $type/f:profile/@value]))",
        "source": "ElementDefinition",
        "severity": "error",
        "expression": "type.select(code&profile&targetProfile).isDistinct()"
      }, {
        "key": "eld-16",
        "human": "sliceName must be composed of proper tokens separated by \"/\"",
        "xpath": "not(exists(f:sliceName/@value)) or matches(f:sliceName/@value, '^[a-zA-Z0-9\\\\/\\\\-_\\\\[\\\\]]+$')",
        "source": "ElementDefinition",
        "severity": "error",
        "expression": "sliceName.empty() or sliceName.matches('^[a-zA-Z0-9\\\\/\\\\-_\\\\[\\\\]]+$')"
      }, {
        "key": "eld-15",
        "human": "default value and meaningWhenMissing are mutually exclusive",
        "xpath": "not(exists(f:*[starts-with(local-name(.), 'fixed')])) or not(exists(f:meaningWhenMissing))",
        "source": "ElementDefinition",
        "severity": "error",
        "expression": "defaultValue.empty() or meaningWhenMissing.empty()"
      } ],
      "path": "ElementDefinition",
      "min": 0,
      "definition": "Captures constraints on each element within the resource, profile, or extension.",
      "short": "Definition of an element in a resource or extension",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "RetrieveMetadata response",
        "identity": "dex"
      }, {
        "map": "OM1",
        "identity": "v2"
      }, {
        "map": "Observation[classCode=OBS, moodCode=DEFN]",
        "identity": "rim"
      }, {
        "map": "Data_Element",
        "identity": "iso11179"
      } ],
      "max": "*",
      "id": "ElementDefinition",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "ElementDefinition"
      }
    }, {
      "path": "ElementDefinition.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ElementDefinition.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "ElementDefinition.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ElementDefinition.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "ElementDefinition.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/elementdefinition-question"
      } ],
      "sliceName": "Question",
      "max": "*",
      "id": "ElementDefinition.extension:question",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "ElementDefinition.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ElementDefinition.extension:question.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "ElementDefinition.extension.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "0",
      "id": "ElementDefinition.extension:question.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "ElementDefinition.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/elementdefinition-question",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ElementDefinition.extension:question.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "ElementDefinition.extension.valueString",
      "min": 0,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ElementDefinition.extension:question.valueString",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "ElementDefinition.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits"
      } ],
      "sliceName": "AllowedUnits",
      "max": "1",
      "id": "ElementDefinition.extension:allowedunits",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "ElementDefinition.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ElementDefinition.extension:allowedunits.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "ElementDefinition.extension.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "0",
      "id": "ElementDefinition.extension:allowedunits.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "ElementDefinition.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ElementDefinition.extension:allowedunits.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "ElementDefinition.extension.value[x]",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/ValueSet"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Units"
        } ],
        "description": "Units of measure allowed for an element",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/ucum-units"
        }
      },
      "max": "1",
      "id": "ElementDefinition.extension:allowedunits.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "ElementDefinition.path",
      "min": 1,
      "definition": "The path identifies the element and is expressed as a \".\"-separated list of ancestor elements, beginning with the name of the resource or extension.",
      "short": "Path of the element in the hierarchy of elements",
      "mapping": [ {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "Name, Identifier & Context",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ElementDefinition.path",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.path"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.representation",
      "min": 0,
      "definition": "Codes that define how this element is represented in instances, when the deviation varies from the normal case.",
      "short": "xmlAttr | xmlText | typeAttr | cdaText | xhtml",
      "mapping": [ {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "PropertyRepresentation"
        } ],
        "description": "How a property is represented when serialized.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/property-representation"
        }
      },
      "max": "0",
      "id": "ElementDefinition.representation",
      "comment": "In resources, this is rarely used except for special cases where the representation deviates from the normal, and can only be done in the base standard (and profiles must reproduce what the base standard does). This element is used quite commonly in Logical models when the logical models represent a specific serialization format (e.g. CDA, v2 etc).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ElementDefinition.representation"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.sliceName",
      "requirements": "May also be used for code generation purposes.",
      "min": 0,
      "definition": "The name of this element definition slice, when slicing is working. The name must be a token with no dots or spaces. This is a unique name referring to a specific set of constraints applied to this element, used to provide a name to different slices of the same element.",
      "short": "Name for this particular element (in a set of slices)",
      "mapping": [ {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ElementDefinition.sliceName",
      "comment": "The name SHALL be unique within the structure within the context of the constrained resource element.  (Though to avoid confusion, uniqueness across all elements is recommended.).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.sliceName"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.label",
      "min": 0,
      "definition": "A single preferred label which is the text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form.",
      "short": "Name for element to display with or prompt for element",
      "mapping": [ {
        "map": "./code/display",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "ElementDefinition.label",
      "comment": "See also the extension (http://hl7.org/fhir/StructureDefinition/elementdefinition-question)[extension-elementdefinition-question.html].",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.label"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.code",
      "requirements": "Links the meaning of an element to an external terminology, and is very useful for searching and indexing.",
      "min": 0,
      "definition": "A code that has the same meaning as the element in a particular terminology.",
      "short": "Corresponding codes in terminologies",
      "mapping": [ {
        "map": "OM1.7",
        "identity": "v2"
      }, {
        "map": "./code (root or translation)",
        "identity": "rim"
      }, {
        "map": "(Data_Element).data_element_concept.identifier",
        "identity": "iso11179"
      }, {
        "map": "LOINC_NUM",
        "identity": "loinc"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ElementDefinitionCode"
        } ],
        "description": "Codes that indicate the meaning of a data element.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/observation-codes"
        }
      },
      "max": "*",
      "id": "ElementDefinition.code",
      "comment": "The concept SHALL be properly aligned with the data element definition and other constraints, as defined in the code system, including relationships, of any code listed here.  Where multiple codes exist in a terminology that could correspond to the data element, the most granular code(s) should be selected, so long as they are not more restrictive than the data element itself. The mappings may be used to provide more or less granular or structured equivalences in the code system.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ElementDefinition.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "eld-1",
        "human": "If there are no discriminators, there must be a definition",
        "xpath": "(f:discriminator) or (f:description)",
        "source": "ElementDefinition.slicing",
        "severity": "error",
        "expression": "discriminator.exists() or description.exists()"
      } ],
      "path": "ElementDefinition.slicing",
      "min": 0,
      "definition": "Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set).",
      "short": "This element is sliced - slices follow",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "Element"
      } ],
      "max": "0",
      "id": "ElementDefinition.slicing",
      "comment": "The first element in the sequence, the one that carries the slicing, is the definition that applies to all the slices. This is based on the unconstrained element, but can apply any constraints as appropriate. This may include the common constraints on the children of the element.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.slicing"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.slicing.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ElementDefinition.slicing.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "ElementDefinition.slicing.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ElementDefinition.slicing.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "ElementDefinition.slicing.discriminator",
      "min": 0,
      "definition": "Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices.",
      "short": "Element values that are used to distinguish the slices",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "Element"
      } ],
      "max": "*",
      "id": "ElementDefinition.slicing.discriminator",
      "comment": "If there is no discriminator, the content is hard to process, so this should be avoided. If the base element has a cardinality of ..1, and there is a choice of types, the discriminator must be \"@type\".",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ElementDefinition.slicing.discriminator"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.slicing.discriminator.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ElementDefinition.slicing.discriminator.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "ElementDefinition.slicing.discriminator.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ElementDefinition.slicing.discriminator.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "ElementDefinition.slicing.discriminator.type",
      "min": 1,
      "definition": "How the element value is interpreted when discrimination is evaluated.",
      "short": "value | exists | pattern | type | profile",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DiscriminatorType"
        } ],
        "description": "How an element value is interpreted when discrimination is evaluated",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/discriminator-type"
        }
      },
      "max": "1",
      "id": "ElementDefinition.slicing.discriminator.type",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.slicing.discriminator.type"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.slicing.discriminator.path",
      "min": 1,
      "definition": "A FHIRPath expression, using a restricted subset of FHIRPath, that is used to identify the element on which discrimination is based.",
      "short": "Path to element value",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ElementDefinition.slicing.discriminator.path",
      "comment": "The only FHIRPath functions that are allowed are resolve(), and extension(url).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.slicing.discriminator.path"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.slicing.description",
      "min": 0,
      "definition": "A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated.",
      "short": "Text description of how slicing works (or not)",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "ElementDefinition.slicing.description",
      "condition": [ "eld-1" ],
      "comment": "If it's really not possible to differentiate them, the design should be re-evaluated to make the content usable.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.slicing.description"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.slicing.ordered",
      "min": 0,
      "definition": "If the matching elements have to occur in the same order as defined in the profile.",
      "short": "If elements must be in same order as slices",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "defaultValueBoolean": false,
      "max": "1",
      "id": "ElementDefinition.slicing.ordered",
      "comment": "Order should only be required when it is a pressing concern for presentation. Profile authors should consider making the order a feature of the rules about the narrative, not the rules about the data - requiring ordered data makes the profile much less re-usable.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.slicing.ordered"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.slicing.rules",
      "min": 1,
      "definition": "Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end.",
      "short": "closed | open | openAtEnd",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SlicingRules"
        } ],
        "description": "How slices are interpreted when evaluating an instance.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/resource-slicing-rules"
        }
      },
      "max": "1",
      "id": "ElementDefinition.slicing.rules",
      "comment": "Allowing additional elements makes for a much for flexible template - it's open for use in wider contexts, but also means that the content of the resource is not closed, and applications have to decide how to handle content not described by the profile.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.slicing.rules"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.short",
      "min": 0,
      "definition": "A concise description of what this element means (e.g. for use in autogenerated summaries).",
      "short": "Concise definition for space-constrained presentation",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "0",
      "id": "ElementDefinition.short",
      "comment": "May change the term to provide language more appropriate to the context of the profile or to reflect slicing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.short"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.definition",
      "requirements": "To allow a user to state the usage of an element in a particular context.",
      "min": 0,
      "definition": "Provides a complete explanation of the meaning of the data element for human readability.  For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource.",
      "short": "Full formal definition as narrative text",
      "mapping": [ {
        "map": "OM1.6, OM1.41",
        "identity": "v2"
      }, {
        "map": "./text",
        "identity": "rim"
      }, {
        "map": "(Designatable_Item).definition.text  acceptability=preferred in default context",
        "identity": "iso11179"
      }, {
        "map": "TERM DEFINITION/DESCRIPTION(S)",
        "identity": "loinc"
      } ],
      "type": [ {
        "code": "markdown"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "alias": [ "Description" ],
      "max": "1",
      "id": "ElementDefinition.definition",
      "comment": "It is easy for a different definition to change the meaning of an element and this can have nasty downstream consequences. Please be careful when providing definitions.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.definition"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.comment",
      "min": 0,
      "definition": "Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc.",
      "short": "Comments about the use of this element",
      "mapping": [ {
        "map": "NTE, OM1.32, OM1.33, OM1.39",
        "identity": "v2"
      }, {
        "map": "./inboundRelationship[typeCode=SUBJ]/source[classCode=LIST, moodCode=EVN]/code",
        "identity": "rim"
      }, {
        "map": "(Administered_Item).explanatory_comment",
        "identity": "iso11179"
      }, {
        "map": "COMMENTS",
        "identity": "loinc"
      } ],
      "type": [ {
        "code": "markdown"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "ElementDefinition.comment",
      "comment": "If it is possible to capture usage rules using constraints, that mechanism should be used in preference to this element.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.comment"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.requirements",
      "min": 0,
      "definition": "This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element.",
      "short": "Why this resource has been created",
      "mapping": [ {
        "map": "./inboundRelationship[typeCode=META]/source[classCode=ACT, moodCode=EVN, isCriterionInd=true]/reasonCode/originalText",
        "identity": "rim"
      }, {
        "map": "(Registered_item).document_reference[document_type=requirements].notation",
        "identity": "iso11179"
      }, {
        "map": "R/O/C",
        "identity": "loinc"
      } ],
      "type": [ {
        "code": "markdown"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "ElementDefinition.requirements",
      "comment": "This element does not describe the usage of the element (that's done in comments), rather it's for traceability of *why* the element is either needed or why the constraints exist as they do.  This may be used to point to source materials or specifications that drove the structure of this data element.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.requirements"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.alias",
      "requirements": "Allows for better easier recognition of the element by multiple communities, including international communities.",
      "min": 0,
      "definition": "Identifies additional names by which this element might also be known.",
      "short": "Other names",
      "mapping": [ {
        "map": "OM1.8, OM1.52",
        "identity": "v2"
      }, {
        "map": "Not currently expressible",
        "identity": "rim"
      }, {
        "map": "(Designatable_Item).designation.sign  acceptability!=preferred or context is other than default",
        "identity": "iso11179"
      }, {
        "map": "RELATED NAMES (only some of these apply)",
        "identity": "loinc"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "alias": [ "synonym", "other name" ],
      "max": "*",
      "id": "ElementDefinition.alias",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ElementDefinition.alias"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.min",
      "min": 0,
      "definition": "The minimum number of times this element SHALL appear in the instance.",
      "short": "Minimum Cardinality",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "Minimum  size of  data element  values?",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "unsignedInt"
      } ],
      "max": "1",
      "id": "ElementDefinition.min",
      "condition": [ "eld-2" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.min"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "eld-3",
        "human": "Max SHALL be a number or \"*\"",
        "xpath": "@value='*' or (normalize-space(@value)!='' and normalize-space(translate(@value, '0123456789',''))='')",
        "severity": "error",
        "expression": "empty() or ($this = '*') or (toInteger() >= 0)"
      } ],
      "path": "ElementDefinition.max",
      "min": 0,
      "definition": "The maximum number of times this element is permitted to appear in the instance.",
      "short": "Maximum Cardinality (a number or *)",
      "mapping": [ {
        "map": "OMC.10",
        "identity": "v2"
      }, {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "Maximum  size of  data element  values?",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ElementDefinition.max",
      "condition": [ "eld-3", "eld-2" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.max"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "ElementDefinition.base",
      "min": 0,
      "definition": "Information about the base definition of the element, provided to make it unnecessary for tools to trace the deviation of the element through the derived and related profiles. This information is provided when the element definition is not the original definition of an element - i.g. either in a constraint on another type, or for elements from a super type in a snap shot.",
      "short": "Base definition information for tools",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "Element"
      } ],
      "max": "1",
      "id": "ElementDefinition.base",
      "comment": "The base information does not carry any information that could not be determined from the path and related profiles, but making this determination requires both that the related profiles are available, and that the algorithm to determine them be available. So they are deformalised into this location for tooling convenience, and to ensure that the base information is available without dependencies.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.base"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.base.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ElementDefinition.base.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "ElementDefinition.base.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ElementDefinition.base.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "ElementDefinition.base.path",
      "min": 1,
      "definition": "The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [StructureDefinition](structuredefinition.html#) without a StructureDefinition.base.",
      "short": "Path that identifies the base element",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ElementDefinition.base.path",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.base.path"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.base.min",
      "min": 1,
      "definition": "Minimum cardinality of the base element identified by the path.",
      "short": "Min cardinality of the base element",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "unsignedInt"
      } ],
      "max": "1",
      "id": "ElementDefinition.base.min",
      "comment": "This is provided for consistency with max, and may affect code generation of mandatory elements of the base resource are generated differently (some reference implementations have done this).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.base.min"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.base.max",
      "min": 1,
      "definition": "Maximum cardinality of the base element identified by the path.",
      "short": "Max cardinality of the base element",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ElementDefinition.base.max",
      "comment": "This is provided to code generation, since the serialization representation in JSON differs depending on whether the base element has max > 1. Also, some forms of code generation may differ.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.base.max"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.contentReference",
      "min": 0,
      "definition": "Identifies the identity of an element defined elsewhere in the profile whose content rules should be applied to the current element.",
      "short": "Reference to definition of content for the element",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "0",
      "id": "ElementDefinition.contentReference",
      "condition": [ "eld-5" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.contentReference"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "eld-4",
        "human": "Aggregation may only be specified if one of the allowed types for the element is a reference",
        "xpath": "not(exists(f:aggregation)) or exists(f:code[@value = 'Reference'])",
        "source": "ElementDefinition.type",
        "severity": "error",
        "expression": "aggregation.empty() or (code = 'Reference')"
      }, {
        "key": "eld-17",
        "human": "targetProfie is only allowed if the type is reference",
        "xpath": "not(exists(f:targetProfile)) or (f:code/@value = 'Reference')",
        "source": "ElementDefinition.type",
        "severity": "error",
        "expression": "code='Reference' or targetProfile.empty()"
      } ],
      "path": "ElementDefinition.type",
      "min": 0,
      "definition": "The data type or resource that the value of this element is permitted to be.",
      "short": "Data type and Profile for this element",
      "mapping": [ {
        "map": "valueDomain.dataType",
        "identity": "dex"
      }, {
        "map": "OM1.3, OMC.9",
        "identity": "v2"
      }, {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": ".domain.data+Q14type",
        "identity": "iso11179"
      }, {
        "map": "HL7_V2_DATATYPE (translation required), HL7_V3_DATATYPE (translation required)",
        "identity": "loinc"
      } ],
      "type": [ {
        "code": "Element"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString": "TypeRef"
      } ],
      "max": "*",
      "id": "ElementDefinition.type",
      "condition": [ "eld-13" ],
      "comment": "The Type of the element can be left blank in a differential constraint, in which case the type is inherited from the resource. Abstract types are not permitted to appear as a type when multiple types are listed.  (I.e. Abstract types cannot be part of a choice).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ElementDefinition.type"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.type.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ElementDefinition.type.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "ElementDefinition.type.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ElementDefinition.type.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "ElementDefinition.type.code",
      "min": 1,
      "definition": "URL of Data type or Resource that is a(or the) type used for this element. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition e.g. \"string\" is a reference to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are only allowed in logical models.",
      "short": "Data type or Resource (reference to definition)",
      "mapping": [ {
        "map": "OM1.3",
        "identity": "v2"
      }, {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": ".domain.data+Q14type",
        "identity": "iso11179"
      }, {
        "map": "HL7_V2_DATATYPE (translation required), HL7_V3_DATATYPE (translation required)",
        "identity": "loinc"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "FHIRDefinedTypeExt"
        } ],
        "description": "Either a resource or a data type, including logical model types",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/defined-types"
        }
      },
      "max": "1",
      "id": "ElementDefinition.type.code",
      "comment": "If the element is a reference to another resource, this element contains \"Reference\", and the targetProfile element defines what resources can be referenced. The targetProfile may be a reference to the general definition of a resource (e.g. http://hl7.org/fhir/StructureDefinition/Patient). There would be one pair of type/code for each allowed target resource type.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.type.code"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.type.profile",
      "min": 0,
      "definition": "Identifies a profile structure or implementation Guide that SHALL hold for the datatype this element refers to. Can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the type SHALL conform to at least one profile defined in the implementation guide.",
      "short": "Profile (StructureDefinition or IG) that applies",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "0",
      "id": "ElementDefinition.type.profile",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.type.profile"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.type.targetProfile",
      "min": 0,
      "definition": "Used when the type is \"Reference\", and Identifies a profile structure or implementation Guide that SHALL be true for the target of the reference this element refers to. Can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide.",
      "short": "Profile (StructureDefinition or IG) that applies to the Reference target",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "ElementDefinition.type.targetProfile",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.type.targetProfile"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.type.aggregation",
      "min": 0,
      "definition": "If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle.",
      "short": "contained | referenced | bundled - how aggregated",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AggregationMode"
        } ],
        "description": "How resource references can be aggregated.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/resource-aggregation-mode"
        }
      },
      "max": "0",
      "id": "ElementDefinition.type.aggregation",
      "condition": [ "eld-4" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "ElementDefinition.type.aggregation"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.type.versioning",
      "min": 0,
      "definition": "Whether this reference needs to be version specific or version independent, or whether either can be used.",
      "short": "either | independent | specific",
      "defaultValueCode": "either",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ReferenceVersionRules"
        } ],
        "description": "Whether a reference needs to be version specific or version independent, or whether either can be used",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/reference-version-rules"
        }
      },
      "max": "1",
      "id": "ElementDefinition.type.versioning",
      "comment": "The base specification never makes a rule as to which form is allowed, but implementation guides may do this.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.type.versioning"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.defaultValue[x]",
      "min": 0,
      "definition": "The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').",
      "short": "Specified value if missing from instance",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "base64Binary"
      }, {
        "code": "boolean"
      }, {
        "code": "code"
      }, {
        "code": "date"
      }, {
        "code": "dateTime"
      }, {
        "code": "decimal"
      }, {
        "code": "id"
      }, {
        "code": "instant"
      }, {
        "code": "integer"
      }, {
        "code": "markdown"
      }, {
        "code": "oid"
      }, {
        "code": "positiveInt"
      }, {
        "code": "string"
      }, {
        "code": "time"
      }, {
        "code": "unsignedInt"
      }, {
        "code": "uri"
      }, {
        "code": "Address"
      }, {
        "code": "Age"
      }, {
        "code": "Annotation"
      }, {
        "code": "Attachment"
      }, {
        "code": "CodeableConcept"
      }, {
        "code": "Coding"
      }, {
        "code": "ContactPoint"
      }, {
        "code": "Count"
      }, {
        "code": "Distance"
      }, {
        "code": "Duration"
      }, {
        "code": "HumanName"
      }, {
        "code": "Identifier"
      }, {
        "code": "Money"
      }, {
        "code": "Period"
      }, {
        "code": "Quantity"
      }, {
        "code": "Range"
      }, {
        "code": "Ratio"
      }, {
        "code": "Reference"
      }, {
        "code": "SampledData"
      }, {
        "code": "Signature"
      }, {
        "code": "Timing"
      }, {
        "code": "Dosage"
      }, {
        "code": "ContactDetail"
      }, {
        "code": "Contributor"
      }, {
        "code": "DataRequirement"
      }, {
        "code": "ParameterDefinition"
      }, {
        "code": "RelatedArtifact"
      }, {
        "code": "TriggerDefinition"
      }, {
        "code": "UsageContext"
      }, {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "ElementDefinition.defaultValue[x]",
      "condition": [ "eld-15" ],
      "comment": "Default values can only be specified on a resource, data type, or extension definition, and never in a profile that applies to one of these. Specifying a default value means that the property can never been unknown - it must always have a value. Further, the default value can never be changed. For these reasons, default values are (and should be) used extremely sparingly.\r\n  This element should only be used on child elements of complex data elements.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.defaultValue[x]"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.meaningWhenMissing",
      "min": 0,
      "definition": "The Implicit meaning that is to be understood when this element is missing (e.g. 'when this element is missing, the period is ongoing'.",
      "short": "Implicit meaning when this element is missing",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "markdown"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "ElementDefinition.meaningWhenMissing",
      "condition": [ "eld-15" ],
      "comment": "Implicit meanings for missing values can only be specified on a resource, data type, or extension definition, and never in a profile that applies to one of these. An implicit meaning for a missing value can never be changed, and specifying one has the consequence that constraining its use in profiles eliminates use cases as possibilities, not merely moving them out of scope.\r\n  This element should only be used on child elements of complex data elements.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.meaningWhenMissing"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.orderMeaning",
      "min": 0,
      "definition": "If present, indicates that the order of the repeating element has meaning and describes what that meaning is.  If absent, it means that the order of the element has no meaning.",
      "short": "What the order of the elements means",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ElementDefinition.orderMeaning",
      "comment": "This element can only be asserted on repeating elements and can only be introduced when defining resources or data types.  It can be further refined profiled elements but if absent in the base type, a profile cannot assert meaning.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.orderMeaning"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.fixed[x]",
      "min": 0,
      "definition": "Specifies a value that SHALL be exactly the value  for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.",
      "short": "Value must be exactly this",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "N/A (only relevant when constraining, which 11179 doesn't do)",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "base64Binary"
      }, {
        "code": "boolean"
      }, {
        "code": "code"
      }, {
        "code": "date"
      }, {
        "code": "dateTime"
      }, {
        "code": "decimal"
      }, {
        "code": "id"
      }, {
        "code": "instant"
      }, {
        "code": "integer"
      }, {
        "code": "markdown"
      }, {
        "code": "oid"
      }, {
        "code": "positiveInt"
      }, {
        "code": "string"
      }, {
        "code": "time"
      }, {
        "code": "unsignedInt"
      }, {
        "code": "uri"
      }, {
        "code": "Address"
      }, {
        "code": "Age"
      }, {
        "code": "Annotation"
      }, {
        "code": "Attachment"
      }, {
        "code": "CodeableConcept"
      }, {
        "code": "Coding"
      }, {
        "code": "ContactPoint"
      }, {
        "code": "Count"
      }, {
        "code": "Distance"
      }, {
        "code": "Duration"
      }, {
        "code": "HumanName"
      }, {
        "code": "Identifier"
      }, {
        "code": "Money"
      }, {
        "code": "Period"
      }, {
        "code": "Quantity"
      }, {
        "code": "Range"
      }, {
        "code": "Ratio"
      }, {
        "code": "Reference"
      }, {
        "code": "SampledData"
      }, {
        "code": "Signature"
      }, {
        "code": "Timing"
      }, {
        "code": "Dosage"
      }, {
        "code": "ContactDetail"
      }, {
        "code": "Contributor"
      }, {
        "code": "DataRequirement"
      }, {
        "code": "ParameterDefinition"
      }, {
        "code": "RelatedArtifact"
      }, {
        "code": "TriggerDefinition"
      }, {
        "code": "UsageContext"
      }, {
        "code": "Meta"
      } ],
      "max": "0",
      "id": "ElementDefinition.fixed[x]",
      "condition": [ "eld-5", "eld-6", "eld-8" ],
      "comment": "This is not recommended for Coding and CodeableConcept since these often have highly contextual properties such as version or display.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.fixed[x]"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.pattern[x]",
      "min": 0,
      "definition": "Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example.  The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).",
      "short": "Value must have at least these property values",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "base64Binary"
      }, {
        "code": "boolean"
      }, {
        "code": "code"
      }, {
        "code": "date"
      }, {
        "code": "dateTime"
      }, {
        "code": "decimal"
      }, {
        "code": "id"
      }, {
        "code": "instant"
      }, {
        "code": "integer"
      }, {
        "code": "markdown"
      }, {
        "code": "oid"
      }, {
        "code": "positiveInt"
      }, {
        "code": "string"
      }, {
        "code": "time"
      }, {
        "code": "unsignedInt"
      }, {
        "code": "uri"
      }, {
        "code": "Address"
      }, {
        "code": "Age"
      }, {
        "code": "Annotation"
      }, {
        "code": "Attachment"
      }, {
        "code": "CodeableConcept"
      }, {
        "code": "Coding"
      }, {
        "code": "ContactPoint"
      }, {
        "code": "Count"
      }, {
        "code": "Distance"
      }, {
        "code": "Duration"
      }, {
        "code": "HumanName"
      }, {
        "code": "Identifier"
      }, {
        "code": "Money"
      }, {
        "code": "Period"
      }, {
        "code": "Quantity"
      }, {
        "code": "Range"
      }, {
        "code": "Ratio"
      }, {
        "code": "Reference"
      }, {
        "code": "SampledData"
      }, {
        "code": "Signature"
      }, {
        "code": "Timing"
      }, {
        "code": "Dosage"
      }, {
        "code": "ContactDetail"
      }, {
        "code": "Contributor"
      }, {
        "code": "DataRequirement"
      }, {
        "code": "ParameterDefinition"
      }, {
        "code": "RelatedArtifact"
      }, {
        "code": "TriggerDefinition"
      }, {
        "code": "UsageContext"
      }, {
        "code": "Meta"
      } ],
      "max": "0",
      "id": "ElementDefinition.pattern[x]",
      "condition": [ "eld-5", "eld-7", "eld-8" ],
      "comment": "Mostly used for fixing values of CodeableConcept. At present, pattern[x] is not recommended as a basis for slicing while issues related to this are investigated during the STU period.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.pattern[x]"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "ElementDefinition.example",
      "min": 0,
      "definition": "A sample value for this element demonstrating the type of information that would typically be found in the element.",
      "short": "Example value (as defined for type)",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Element"
      } ],
      "max": "*",
      "id": "ElementDefinition.example",
      "comment": "Examples will most commonly be present for data where it's not implicitly obvious from either the data type or value set what the values might be.  (I.e. Example values for dates or quantities would generally be unnecessary.)  If the example value is fully populated, the publication tool can generate an instance automatically.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ElementDefinition.example"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.example.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ElementDefinition.example.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "ElementDefinition.example.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ElementDefinition.example.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "ElementDefinition.example.label",
      "min": 1,
      "definition": "Describes the purpose of this example amoung the set of examples.",
      "short": "Describes the purpose of this example",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "ElementDefinition.example.label",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.example.label"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.example.value[x]",
      "min": 1,
      "definition": "The actual value for the element, which must be one of the types allowed for this element.",
      "short": "Value of Example (one of allowed types)",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": ".example",
        "identity": "iso11179"
      }, {
        "map": "EXMPL_ANSWERS",
        "identity": "loinc"
      } ],
      "type": [ {
        "code": "base64Binary"
      }, {
        "code": "boolean"
      }, {
        "code": "code"
      }, {
        "code": "date"
      }, {
        "code": "dateTime"
      }, {
        "code": "decimal"
      }, {
        "code": "id"
      }, {
        "code": "instant"
      }, {
        "code": "integer"
      }, {
        "code": "markdown"
      }, {
        "code": "oid"
      }, {
        "code": "positiveInt"
      }, {
        "code": "string"
      }, {
        "code": "time"
      }, {
        "code": "unsignedInt"
      }, {
        "code": "uri"
      }, {
        "code": "Address"
      }, {
        "code": "Age"
      }, {
        "code": "Annotation"
      }, {
        "code": "Attachment"
      }, {
        "code": "CodeableConcept"
      }, {
        "code": "Coding"
      }, {
        "code": "ContactPoint"
      }, {
        "code": "Count"
      }, {
        "code": "Distance"
      }, {
        "code": "Duration"
      }, {
        "code": "HumanName"
      }, {
        "code": "Identifier"
      }, {
        "code": "Money"
      }, {
        "code": "Period"
      }, {
        "code": "Quantity"
      }, {
        "code": "Range"
      }, {
        "code": "Ratio"
      }, {
        "code": "Reference"
      }, {
        "code": "SampledData"
      }, {
        "code": "Signature"
      }, {
        "code": "Timing"
      }, {
        "code": "Dosage"
      }, {
        "code": "ContactDetail"
      }, {
        "code": "Contributor"
      }, {
        "code": "DataRequirement"
      }, {
        "code": "ParameterDefinition"
      }, {
        "code": "RelatedArtifact"
      }, {
        "code": "TriggerDefinition"
      }, {
        "code": "UsageContext"
      }, {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "ElementDefinition.example.value[x]",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.example.value[x]"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.minValue[x]",
      "min": 0,
      "definition": "The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.",
      "short": "Minimum Allowed Value (for some types)",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "date"
      }, {
        "code": "dateTime"
      }, {
        "code": "instant"
      }, {
        "code": "time"
      }, {
        "code": "decimal"
      }, {
        "code": "integer"
      }, {
        "code": "positiveInt"
      }, {
        "code": "unsignedInt"
      }, {
        "code": "Quantity"
      } ],
      "max": "1",
      "id": "ElementDefinition.minValue[x]",
      "comment": "Except for date/date/instant, the type of the minValue[x] SHALL be the same as the specified type of the element. For the date/dateTime/instant values, the type of minValue[x] SHALL be either the same, or a a [Duration](datatypes.html#Duration) which specifies a relative time limit to the current time. The duration value is positive, and is subtracted from the current clock to determine the minimum allowable value.   A minimum value for a Quantity is interpreted as an canonical minimum - e.g. you cannot provide 100mg if the minimum value is 10g.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.minValue[x]"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.maxValue[x]",
      "min": 0,
      "definition": "The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.",
      "short": "Maximum Allowed Value (for some types)",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "date"
      }, {
        "code": "dateTime"
      }, {
        "code": "instant"
      }, {
        "code": "time"
      }, {
        "code": "decimal"
      }, {
        "code": "integer"
      }, {
        "code": "positiveInt"
      }, {
        "code": "unsignedInt"
      }, {
        "code": "Quantity"
      } ],
      "max": "1",
      "id": "ElementDefinition.maxValue[x]",
      "comment": "Except for date/date/instant, the type of the maxValue[x] SHALL be the same as the specified type of the element. For the date/dateTime/instant values, the type of maxValue[x] SHALL be either the same, or a a [Duration](datatypes.html#Duration) which specifies a relative time limit to the current time. The duration value is positive, and is added to the current clock to determine the maximum allowable value.   A maximum value for a Quantity is interpreted as an canonical maximum - e.g. you cannot provide 10g if the maximum value is 50mg.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.maxValue[x]"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.maxLength",
      "min": 0,
      "definition": "Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element.",
      "short": "Max length for strings",
      "mapping": [ {
        "map": "OMC.12",
        "identity": "v2"
      }, {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": ".domain.maximum_character_quantity",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "integer"
      } ],
      "max": "1",
      "id": "ElementDefinition.maxLength",
      "comment": "Receivers are not required to reject instances that exceed the maximum length.  The full length could be stored.  In some cases, data might be truncated, though truncation should be undertaken with care and an understanding of the consequences of doing so. If not specified, there is no conformance expectation for length support.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.maxLength"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.condition",
      "min": 0,
      "definition": "A reference to an invariant that may make additional statements about the cardinality or value in the instance.",
      "short": "Reference to invariant about presence",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "id"
      } ],
      "max": "*",
      "id": "ElementDefinition.condition",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ElementDefinition.condition"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "ElementDefinition.constraint",
      "min": 0,
      "definition": "Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.",
      "short": "Condition that must evaluate to true",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "??",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "Element"
      } ],
      "max": "*",
      "id": "ElementDefinition.constraint",
      "comment": "Constraints should be declared on the \"context\" element - the lowest element in the hierarchy that is common to all nodes referenced by the constraint.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ElementDefinition.constraint"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.constraint.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ElementDefinition.constraint.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "ElementDefinition.constraint.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ElementDefinition.constraint.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "ElementDefinition.constraint.key",
      "min": 1,
      "definition": "Allows identification of which elements have their cardinalities impacted by the constraint.  Will not be referenced for constraints that do not affect cardinality.",
      "short": "Target of 'condition' reference above",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "ElementDefinition.constraint.key",
      "condition": [ "eld-14" ],
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.constraint.key"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.constraint.requirements",
      "min": 0,
      "definition": "Description of why this constraint is necessary or appropriate.",
      "short": "Why this constraint is necessary or appropriate",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ElementDefinition.constraint.requirements",
      "comment": "To be used if the reason for the constraint might not be intuitive to all implementers.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.constraint.requirements"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.constraint.severity",
      "min": 1,
      "definition": "Identifies the impact constraint violation has on the conformance of the instance.",
      "short": "error | warning",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConstraintSeverity"
        } ],
        "description": "SHALL applications comply with this constraint?",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/constraint-severity"
        }
      },
      "max": "1",
      "id": "ElementDefinition.constraint.severity",
      "comment": "This allows constraints to be asserted as \"shall\" (error) and \"should\" (warning).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.constraint.severity"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.constraint.human",
      "min": 1,
      "definition": "Text that can be used to describe the constraint in messages identifying that the constraint has been violated.",
      "short": "Human description of constraint",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "ElementDefinition.constraint.human",
      "comment": "Should be expressed in business terms as much as possible.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.constraint.human"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.constraint.expression",
      "requirements": "Used by validation tooling tests of the validity of the resource.",
      "min": 1,
      "definition": "A [FHIRPath](http://hl7.org/fluentpath) expression of constraint that can be executed to see if this constraint is met.",
      "short": "FHIRPath expression of constraint",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ElementDefinition.constraint.expression",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.constraint.expression"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.constraint.xpath",
      "requirements": "Used in Schematron tests of the validity of the resource.",
      "min": 0,
      "definition": "An XPath expression of constraint that can be executed to see if this constraint is met.",
      "short": "XPath expression of constraint",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ElementDefinition.constraint.xpath",
      "comment": "Elements SHALL use \"f\" as the namespace prefix for the FHIR namespace, and \"x\" for the xhtml namespace, and SHALL NOT use any other prefixes. \n\nNote: we are considering deprecating the xpath element. Implementer feedback is welcome.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.constraint.xpath"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.constraint.source",
      "min": 0,
      "definition": "A reference to the original source of the constraint, for traceability purposes.",
      "short": "Reference to original source of constraint",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "ElementDefinition.constraint.source",
      "comment": "This is used when, e.g. rendering, where it is not useful to present inherited constraints when rendering the snapshot.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.constraint.source"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.mustSupport",
      "requirements": "Allows a profile to set expectations for system capabilities beyond merely respecting cardinality constraints.",
      "min": 0,
      "definition": "If true, implementations that produce or consume resources SHALL provide \"support\" for the element in some meaningful way.  If false, the element may be ignored and not supported.",
      "short": "If the element must supported",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "??",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "defaultValueBoolean": false,
      "max": "1",
      "id": "ElementDefinition.mustSupport",
      "comment": "\"Something useful\" is context dependent and impossible to describe in the base FHIR specification. For this reason, tue mustSupport flag is never set to true by the FHIR specification itself - it is only set to true in profiles. \n\nThis is done in [Resource Profiles](profiling.html#mustsupport), where the profile labels an element as mustSupport=true. When a profile does this, it SHALL also make clear exactly what kind of \"support\" is required, as this can mean many things.\n\nNote that an element that has the property IsModifier is not necessarily a \"key\" element (e.g. one of the important elements to make use of the resource), nor is it automatically mustSupport - however both of these things are more likely to be true for IsModifier elements than for other elements.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.mustSupport"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.isModifier",
      "requirements": "Allows elements to be introduced into a specification that can't safely be ignored by applications that don't recognize them.",
      "min": 0,
      "definition": "If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system.",
      "short": "If this modifies the meaning of other elements",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "??",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "defaultValueBoolean": false,
      "max": "0",
      "id": "ElementDefinition.isModifier",
      "comment": "Only the definition of an element can set IsModifier true - either the specification itself or where an extension is originally defined. Once set, it cannot be changed in derived profiles. An element/extension that has isModifier=true SHOULD also have a minimum cardinality of 1, so that there is no lack of clarity about what to do if it is missing. If it can be missing, the definition SHALL make the meaning of a missing element clear.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.isModifier"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.isSummary",
      "requirements": "Allow clients to search through large resources quickly.",
      "min": 0,
      "definition": "Whether the element should be included if a client requests a search with the parameter _summary=true.",
      "short": "Include when _summary = true?",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "??",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "defaultValueBoolean": false,
      "max": "0",
      "id": "ElementDefinition.isSummary",
      "comment": "Some resources include a set of simple metadata, and some very large data. This element is used to reduce the quantity of data returned in searches. Note that servers may pre-cache summarized resources for optimal performance, so servers might not support per-profile use of the isSummary flag. When a request is made with _summary=true, serailisers only include elements marked as 'isSummary = true'. Other than Attachment.data, all data type properties are included in the summary form. Modifier elements or elements with minimum cardinality = 1 must be marked as summary elements.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.isSummary"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "eld-12",
        "human": "ValueSet as a URI SHALL start with http:// or https:// or urn:",
        "xpath": "not(exists(f:valueSetUri)) or (starts-with(string(f:valueSetUri/@value), 'http:') or starts-with(string(f:valueSetUri/@value), 'https:') or starts-with(string(f:valueSetUri/@value), 'urn:'))",
        "severity": "error",
        "expression": "valueSet.is(uri).not() or valueSet.as(uri).startsWith('http:') or valueSet.as(uri).startsWith('https') or valueSet.as(uri).startsWith('urn:')"
      } ],
      "path": "ElementDefinition.binding",
      "min": 0,
      "definition": "Binds to a value set if this element is coded (code, Coding, CodeableConcept, Quantity), or the data types (string, uri).",
      "short": "ValueSet details if this is coded",
      "mapping": [ {
        "map": "OM3, OMC.11",
        "identity": "v2"
      }, {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": ".domain",
        "identity": "iso11179"
      }, {
        "map": "ANSWER LIST, NORMATIVE ANSWER LIST",
        "identity": "loinc"
      } ],
      "type": [ {
        "code": "Element"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString": "ElementDefinitionBinding"
      } ],
      "max": "1",
      "id": "ElementDefinition.binding",
      "condition": [ "eld-11" ],
      "comment": "For a CodeableConcept, when no codes are allowed - only text, use a binding of strength \"required\" with a description explaining that no coded values are allowed and what sort of information to put in the \"text\" element.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.binding"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.binding.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ElementDefinition.binding.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "ElementDefinition.binding.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ElementDefinition.binding.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "ElementDefinition.binding.strength",
      "min": 1,
      "definition": "Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances.",
      "short": "required | extensible | preferred | example",
      "mapping": [ {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "loinc"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "BindingStrength"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Indication of the degree of conformance expectations associated with a binding.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/binding-strength"
        }
      },
      "alias": [ "conformance", "extensibility" ],
      "max": "1",
      "id": "ElementDefinition.binding.strength",
      "comment": "For further discussion, see [Using Terminologies](terminologies.html).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.binding.strength"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.binding.description",
      "min": 0,
      "definition": "Describes the intended use of this particular set of codes.",
      "short": "Human explanation of the value set",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": ".domain.description",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "ElementDefinition.binding.description",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.binding.description"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.binding.valueSet[x]",
      "min": 0,
      "definition": "Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used. If the binding refers to an explicit value set - the normal case - then use a Reference(ValueSet) preferably containing the canonical URL for the value set. If the reference is to an implicit value set - usually, an IETF RFC that defines a grammar, such as mime types - then use a uri.",
      "short": "Source of value set",
      "mapping": [ {
        "map": "valueDomain.valueSet",
        "identity": "dex"
      }, {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "points to explicit list or expression that evaluates to list of (Enumerated_Value_Domain).member",
        "identity": "iso11179"
      }, {
        "map": "CODE_TABLE",
        "identity": "loinc"
      } ],
      "type": [ {
        "code": "uri"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/ValueSet"
      } ],
      "max": "1",
      "id": "ElementDefinition.binding.valueSet[x]",
      "condition": [ "eld-12" ],
      "comment": "For value sets with a referenceResource, the display can contain the value set description.  The reference may be version-specific or not.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.binding.valueSet[x]"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "ElementDefinition.mapping",
      "requirements": "Provides guidance to implementers familiar with or converting content from other specifications.",
      "min": 0,
      "definition": "Identifies a concept from an external specification that roughly corresponds to this element.",
      "short": "Map element to another set of definitions",
      "mapping": [ {
        "map": "mappingSpecification",
        "identity": "dex"
      }, {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "Registered_item).document_reference[document_type=mapping]  Also, .meaning linkage to Data_Element_Concept is done as a mapping to a reference model.  (Data_Element_Concepts are all defined in some sort of reference model, be that Object_Class and Property or some other mechanism)",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "Element"
      } ],
      "max": "*",
      "id": "ElementDefinition.mapping",
      "comment": "Mappings are not necessarily specific enough for safe translation.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ElementDefinition.mapping"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.mapping.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ElementDefinition.mapping.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "ElementDefinition.mapping.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ElementDefinition.mapping.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "ElementDefinition.mapping.identity",
      "min": 1,
      "definition": "An internal reference to the definition of a mapping.",
      "short": "Reference to mapping declaration",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "ElementDefinition.mapping.identity",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.mapping.identity"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.mapping.language",
      "min": 0,
      "definition": "Identifies the computable language in which mapping.map is expressed.",
      "short": "Computable language of mapping",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MimeType"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "The mime type of an attachment. Any valid mime type is allowed.",
        "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt"
      },
      "max": "1",
      "id": "ElementDefinition.mapping.language",
      "comment": "If omitted, then there can be no expectation of computational interpretation of the mapping.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.mapping.language"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.mapping.map",
      "min": 1,
      "definition": "Expresses what part of the target specification corresponds to this element.",
      "short": "Details of the mapping",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      }, {
        "map": "ObjectClass, Property (this is one possible data model that can be mapped to - the uri would identify the data model  mappingSpecification.mappingScript",
        "identity": "iso11179"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ElementDefinition.mapping.map",
      "comment": "For most mappings, the syntax is undefined.  Syntax will be provided for mappings to the RIM.  Multiple mappings may be possible and may include constraints on other resource elements that identify when a particular mapping applies.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ElementDefinition.mapping.map"
      },
      "isSummary": true
    }, {
      "path": "ElementDefinition.mapping.comment",
      "min": 0,
      "definition": "Comments that provide information about the mapping or its use.",
      "short": "Comments about the mapping or its use",
      "mapping": [ {
        "map": "N/A (MIF territory)",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ElementDefinition.mapping.comment",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ElementDefinition.mapping.comment"
      },
      "isSummary": true
    } ]
  },
  "status": "draft",
  "id": "75f7d9ea-ed2b-4fdb-af6d-073609b33c34",
  "kind": "complex-type",
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-de",
  "version": null,
  "differential": {
    "element": [ {
      "id": "ElementDefinition",
      "max": "*",
      "min": 0,
      "path": "ElementDefinition"
    }, {
      "id": "ElementDefinition.extension:question",
      "max": "*",
      "min": 0,
      "path": "ElementDefinition.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/elementdefinition-question"
      } ],
      "sliceName": "Question"
    }, {
      "id": "ElementDefinition.extension:allowedunits",
      "max": "1",
      "min": 0,
      "path": "ElementDefinition.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits"
      } ],
      "sliceName": "AllowedUnits"
    }, {
      "id": "ElementDefinition.representation",
      "max": "0",
      "min": 0,
      "path": "ElementDefinition.representation"
    }, {
      "id": "ElementDefinition.slicing",
      "max": "0",
      "min": 0,
      "path": "ElementDefinition.slicing"
    }, {
      "id": "ElementDefinition.short",
      "max": "0",
      "min": 0,
      "path": "ElementDefinition.short"
    }, {
      "id": "ElementDefinition.contentReference",
      "max": "0",
      "min": 0,
      "path": "ElementDefinition.contentReference"
    }, {
      "id": "ElementDefinition.type",
      "path": "ElementDefinition.type"
    }, {
      "id": "ElementDefinition.type.profile",
      "max": "0",
      "min": 0,
      "path": "ElementDefinition.type.profile"
    }, {
      "id": "ElementDefinition.type.aggregation",
      "max": "0",
      "min": 0,
      "path": "ElementDefinition.type.aggregation"
    }, {
      "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]",
      "max": "0",
      "min": 0,
      "path": "ElementDefinition.fixed[x]"
    }, {
      "id": "ElementDefinition.pattern[x]",
      "max": "0",
      "min": 0,
      "path": "ElementDefinition.pattern[x]"
    }, {
      "id": "ElementDefinition.isModifier",
      "max": "0",
      "min": 0,
      "path": "ElementDefinition.isModifier"
    }, {
      "id": "ElementDefinition.isSummary",
      "max": "0",
      "min": 0,
      "path": "ElementDefinition.isSummary"
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "http://hl7.org/special/committees/FHIR",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ElementDefinition"
}