### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/StructureMap.json
### ----------------------------------------------------
### -- Chunk 15 of 17
.max",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.source.type",
      "path" : "StructureMap.group.rule.source.type",
      "short" : "Rule only applies if source has this type",
      "definition" : "Specified type for the element. This works as a condition on the mapping - use for polymorphic elements.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.source.type",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.source.defaultValue[x]",
      "path" : "StructureMap.group.rule.source.defaultValue[x]",
      "short" : "Default value if no value exists",
      "definition" : "A value to use if there is no existing value in the source object.",
      "comment" : "If there's a default value on an item that can repeat, it will only be used once.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.source.defaultValue[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "base64Binary"
      },
      {
        "code" : "boolean"
      },
      {
        "code" : "canonical"
      },
      {
        "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" : "url"
      },
      {
        "code" : "uuid"
      },
      {
        "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" : "ContactDetail"
      },
      {
        "code" : "Contributor"
      },
      {
        "code" : "DataRequirement"
      },
      {
        "code" : "Expression"
      },
      {
        "code" : "ParameterDefinition"
      },
      {
        "code" : "RelatedArtifact"
      },
      {
        "code" : "TriggerDefinition"
      },
      {
        "code" : "UsageContext"
      },
      {
        "code" : "Dosage"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.source.element",
      "path" : "StructureMap.group.rule.source.element",
      "short" : "Optional field for this source",
      "definition" : "Optional field for this source.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.source.element",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.source.listMode",
      "path" : "StructureMap.group.rule.source.listMode",
      "short" : "first | not_first | last | not_last | only_one",
      "definition" : "How to handle the list mode for this element.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.source.listMode",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "StructureMapSourceListMode"
        }],
        "strength" : "required",
        "description" : "If field is a list, how to manage the source.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/map-source-list-mode|4.0.0"
      }
    },
    {
      "id" : "StructureMap.group.rule.source.variable",
      "path" : "StructureMap.group.rule.source.variable",
      "short" : "Named context for field, if a field is specified",
      "definition" : "Named context for field, if a field is specified.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.source.variable",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "id"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.source.condition",
      "path" : "StructureMap.group.rule.source.condition",
      "short" : "FHIRPath expression  - must be true or the rule does not apply",
      "definition" : "FHIRPath expression  - must be true or the rule does not apply.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.source.condition",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.source.check",
      "path" : "StructureMap.group.rule.source.check",
      "short" : "FHIRPath expression  - must be true or the mapping engine throws an error instead of completing",
      "definition" : "FHIRPath expression  - must be true or the mapping engine throws an error instead of completing.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.source.check",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.source.logMessage",
      "path" : "StructureMap.group.rule.source.logMessage",
      "short" : "Message to put in log if source exists (FHIRPath)",
      "definition" : "A FHIRPath expression which specifies a message to put in the transform log when content matching the source rule is found.",
      "comment" : "This is typically used for recording that something Is not transformed to the target for some reason.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.source.logMessage",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.target",
      "path" : "StructureMap.group.rule.target",
      "short" : "Content to create because of this mapping rule",
      "definition" : "Content to create because of this mapping rule.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "StructureMap.group.rule.target",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      },
      {
        "key" : "smp-2",
        "severity" : "error",
        "human" : "Must have a contextType if you have a context",
        "expression" : "context.exists() implies contextType.exists()",
        "xpath" : "not(f:context) or (f:contextType)"
      },
      {
        "key" : "smp-1",
        "severity" : "error",
        "human" : "Can only have an element if you have a context",
        "expression" : "element.exists() implies context.exists()",
        "xpath" : "not(f:element) or (f:context)"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.target.id",
      "path" : "StructureMap.group.rule.target.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "StructureMap.group.rule.target.extension",
      "path" : "StructureMap.group.rule.target.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the 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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "StructureMap.group.rule.target.modifierExtension",
      "path" : "StructureMap.group.rule.target.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "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.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "StructureMap.group.rule.target.context",
      "path" : "StructureMap.group.rule.target.context",
      "short" : "Type or variable this rule applies to",
      "definition" : "Type or variable this rule applies to.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.target.context",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "id"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.target.contextType",
      "path" : "StructureMap.group.rule.target.contextType",
      "short" : "type | variable",
      "definition" : "How to interpret the context.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.target.contextType",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "StructureMapContextType"
        }],
        "strength" : "required",
        "description" : "How to interpret the context.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/map-context-type|4.0.0"
      }
    },
    {
      "id" : "StructureMap.group.rule.target.element",
      "path" : "StructureMap.group.rule.target.element",
      "short" : "Field to create in the context",
      "definition" : "Field to create in the context.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.target.element",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.target.variable",
      "path" : "StructureMap.group.rule.target.variable",
      "short" : "Named context for field, if desired, and a field is specified",
      "definition" : "Named context for field, if desired, and a field is specified.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.target.variable",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "id"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.target.listMode",
      "path" : "StructureMap.group.rule.target.listMode",
      "short" : "first | share | last | collate",
      "definition" : "If field is a list, how to manage the list.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "StructureMap.group.rule.target.listMode",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "StructureMapTargetListMode"
        }],
        "strength" : "required",
        "description" : "If field is a list, how to manage the production.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/map-target-list-mode|4.0.0"
      }
    },
    {
      "id" : "StructureMap.group.rule.target.listRuleId",
      "path" : "StructureMap.group.rule.target.listRuleId",
      "short" : "Internal rule reference for shared list items",
      "definition" : "Internal rule reference for shared list items.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.target.listRuleId",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "id"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.target.transform",
      "path" : "StructureMap.group.rule.target.transform",
      "short" : "create | copy +",
      "definition" : "How the data is copied / created.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.target.transform",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "StructureMapTransform"
        }],
        "strength" : "required",
        "description" : "How data is copied/created.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/map-transform|4.0.0"
      }
    },
    {
      "id" : "StructureMap.group.rule.target.parameter",
      "path" : "StructureMap.group.rule.target.parameter",
      "short" : "Parameters to the transform",
      "definition" : "Parameters to the transform.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "StructureMap.group.rule.target.parameter",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.target.parameter.id",
      "path" : "StructureMap.group.rule.target.parameter.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "StructureMap.group.rule.target.parameter.extension",
      "path" : "StructureMap.group.rule.target.parameter.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the 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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "StructureMap.group.rule.target.parameter.modifierExtension",
      "path" : "StructureMap.group.rule.target.parameter.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "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.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "StructureMap.group.rule.target.parameter.value[x]",
      "path" : "StructureMap.group.rule.target.parameter.value[x]",
      "short" : "Parameter value - variable or literal",
      "definition" : "Parameter value - variable or literal.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.target.parameter.value[x]",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "id"
      },
      {
        "code" : "string"
      },
      {
        "code" : "boolean"
      },
      {
        "code" : "integer"
      },
      {
        "code" : "decimal"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.rule",
      "path" : "StructureMap.group.rule.rule",
      "short" : "Rules contained in this rule",
      "definition" : "Rules contained in this rule.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "StructureMap.group.rule.rule",
        "min" : 0,
        "max" : "*"
      },
      "contentReference" : "#StructureMap.group.rule",
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.dependent",
      "path" : "StructureMap.group.rule.dependent",
      "short" : "Which other rules to apply in the context of this rule",
      "definition" : "Which other rules to apply in the context of this rule.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "StructureMap.group.rule.dependent",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.dependent.id",
      "path" : "StructureMap.group.rule.dependent.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "StructureMap.group.rule.dependent.extension",
      "path" : "StructureMap.group.rule.dependent.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the 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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "StructureMap.group.rule.dependent.modifierExtension",
      "path" : "StructureMap.group.rule.dependent.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "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.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "StructureMap.group.rule.dependent.name",
      "path" : "StructureMap.group.rule.dependent.name",
      "short" : "Name of a rule or group to apply",
      "definition" : "Name of a rule or group to apply.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.dependent.name",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "id"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.dependent.variable",
      "path" : "StructureMap.group.rule.dependent.variable",
      "short" : "Variable to pass to the rule or group",
      "definition" : "Variable to pass to the rule or group.",
      "min" : 1,
      "max" : "*",
      "base" : {
        "path" : "StructureMap.group.rule.dependent.variable",
        "min" : 1,
        "max" : "*"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "StructureMap.group.rule.documentation",
      "path" : "StructureMap.group.rule.documentation",
      "short" : "Documentation for this instance of data",
      "definition" : "Documentation for this instance of data.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "StructureMap.group.rule.documentation",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "StructureMap",
      "path" : "StructureMap",
      "short" : "A Map of relationships between 2 structures that can be used to transform data",
      "definition" : "A Map of relationships between 2 structures that can be used to transform data.",
      "alias" : ["Template",
      "Profile"],
      "min" : 0,
      "max" : "*",
      "constraint" : [{
        "key" : "smp-0",
        "severity" : "warning",
        "human" : "Name should be usable as an identifier for the module by machine processing applications such as code generation",
        "expression" : "name.matches('[A-Z]([A-Za-z0-9_]){0,254}')",
        "xpath" : "not(exists(f:name/@value)) or matches(f:name/@value, '[A-Z]([A-Za-z0-9_]){0,254}')"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "