FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.xver-r3.r4b
Resource TypeStructureDefinition
IdStructureDefinition-profile-PlanDefinition.json
FHIR VersionR4B
Sourcehttp://hl7.org/fhir/uv/xver-r3.r4b/0.1.0/StructureDefinition-profile-PlanDefinition.html
URLhttp://hl7.org/fhir/3.0/StructureDefinition/profile-PlanDefinition
Version0.1.0
Statusactive
Date2026-03-17T16:04:10.2945203-05:00
NameProfile_R3_PlanDefinition_R4B
TitleCross-version Profile for STU3.PlanDefinition for use in FHIR R4B
Realmuv
Authorityhl7
DescriptionThis cross-version profile allows STU3 PlanDefinition content to be represented via FHIR R4B PlanDefinition resources.
TypePlanDefinition
Kindresource

Resources that use this resource

StructureDefinition
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-CarePlan.activity.detail.definitionSTU3: Protocol or definition (new)
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-CarePlan.definitionSTU3: Protocol or definition (new)
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-Communication.definitionSTU3: Instantiates protocol or definition (new)
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-FamilyMemberHistory.definitionSTU3: Instantiates protocol or definition (new)
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-MedicationAdministration.definitionSTU3: Instantiates protocol or definition (new)
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-MedicationRequest.definitionSTU3: Protocol or definition (new)
hl7.fhir.uv.xver-r3.r5#0.1.0extension-CarePlan.activity.detailSTU3: In-line definition of activity (new)

Resources that this resource uses

StructureDefinition
hl7.fhir.uv.xver-r3.r4b.r4#0.0.1-snapshot-2extension-PlanDefinition.action.condition.descriptionCross-version Extension for R3.PlanDefinition.action.condition.description for use in FHIR R4B
hl7.fhir.uv.xver-r3.r4b.r4#0.0.1-snapshot-2extension-PlanDefinition.action.condition.expressionCross-version Extension for R3.PlanDefinition.action.condition.expression for use in FHIR R4B
hl7.fhir.uv.xver-r3.r4b.r4#0.0.1-snapshot-2extension-PlanDefinition.action.condition.languageCross-version Extension for R3.PlanDefinition.action.condition.language for use in FHIR R4B
hl7.fhir.uv.xver-r3.r4b.r4#0.0.1-snapshot-2extension-PlanDefinition.action.definitionCross-version Extension for R3.PlanDefinition.action.definition for use in FHIR R4B
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.action.documentationSTU3: documentation additional types
hl7.fhir.uv.xver-r3.r4b.r4#0.0.1-snapshot-2extension-PlanDefinition.action.dynamicValue.descriptionCross-version Extension for R3.PlanDefinition.action.dynamicValue.description for use in FHIR R4B
hl7.fhir.uv.xver-r3.r4b.r4#0.0.1-snapshot-2extension-PlanDefinition.action.dynamicValue.expressionCross-version Extension for R3.PlanDefinition.action.dynamicValue.expression for use in FHIR R4B
hl7.fhir.uv.xver-r3.r4b.r4#0.0.1-snapshot-2extension-PlanDefinition.action.dynamicValue.languageCross-version Extension for R3.PlanDefinition.action.dynamicValue.language for use in FHIR R4B
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.action.inputSTU3: input additional types
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.action.outputSTU3: output additional types
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.action.relatedAction.offsetSTU3: offset additional types
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.action.timingSTU3: timing additional types
hl7.fhir.uv.xver-r3.r4b.r4#0.0.1-snapshot-2extension-PlanDefinition.action.transformCross-version Extension for R3.PlanDefinition.action.transform for use in FHIR R4B
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.action.triggerDefinitionSTU3: triggerDefinition additional types
hl7.fhir.uv.xver-r3.r4b.r4#0.0.1-snapshot-2extension-PlanDefinition.action.typeCross-version Extension for R3.PlanDefinition.action.type for use in FHIR R4B
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.contactSTU3: contact additional types
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.contributorSTU3: A content contributor (new)
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.effectivePeriodSTU3: effectivePeriod additional types
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.goal.documentationSTU3: documentation additional types
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.goal.target.detailSTU3: detail additional types
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.identifierSTU3: identifier additional types
hl7.fhir.uv.xver-r3.r4b.r4#0.0.1-snapshot-2extension-PlanDefinition.libraryCross-version Extension for R3.PlanDefinition.library for use in FHIR R4B
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.metaSTU3: meta additional types
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.relatedArtifactSTU3: Related artifacts for the asset additional types
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.textSTU3: text additional types
hl7.fhir.uv.xver-r3.r4b#0.1.0extension-PlanDefinition.useContextSTU3: Context the content is intended to support additional types

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition profile-PlanDefinition

NameFlagsCard.TypeDescription & Constraintsdoco
.. PlanDefinition 0..*PlanDefinition(4.3.0)The definition of a plan for a series of actions, independent of any specific patient or context
... meta
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:meta 0..1(Complex)STU3: meta additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.meta
... text
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:text 0..1(Complex)STU3: text additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.text
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... extension:contributor 0..*ContributorSTU3: A content contributor (new)
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.contributor
... identifier
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:identifier 0..*IdentifierSTU3: identifier additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.identifier
... contact
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:contact 0..*ContactDetailSTU3: contact additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.contact
... useContext
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:useContext 0..*UsageContextSTU3: Context the content is intended to support additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.useContext
... effectivePeriod
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:effectivePeriod 0..1PeriodSTU3: effectivePeriod additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.effectivePeriod
... relatedArtifact
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:relatedArtifact 0..*RelatedArtifactSTU3: Related artifacts for the asset additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.relatedArtifact
... library
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:library 0..*Reference(Cross-version Profile for STU3.Library for use in FHIR R4B(0.1.0) | Library)STU3: library additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.library
... goal
.... documentation
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:documentation 0..*RelatedArtifactSTU3: documentation additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.goal.documentation
.... target
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:detail 0..1RangeSTU3: detail additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.goal.target.detail
... action
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:timing 0..1Period, Range, TimingSTU3: timing additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.timing
..... extension:definition 0..1Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R4B(0.1.0) | ActivityDefinition | Cross-version Profile for STU3.PlanDefinition for use in FHIR R4B(0.1.0) | PlanDefinition)STU3: definition additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.definition
.... documentation
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:documentation 0..*RelatedArtifactSTU3: documentation additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.documentation
.... trigger
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:triggerDefinition 0..*TriggerDefinitionSTU3: triggerDefinition additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.triggerDefinition
.... condition
..... expression
...... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
....... extension:description 0..1stringSTU3: Natural language description of the condition additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.condition.description
....... extension:language 0..1stringSTU3: Language of the expression additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.condition.language
....... extension:expression 0..1stringSTU3: expression additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.condition.expression
.... input
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:input 0..*DataRequirementSTU3: input additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.input
.... output
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:output 0..*DataRequirementSTU3: output additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.output
.... relatedAction
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:offset 0..1RangeSTU3: offset additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.relatedAction.offset
.... type
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:type 0..1CodingSTU3: type
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.type
Binding: ActionType (required): The type of action to be performed
.... transform
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:transform 0..1Reference(Cross-version Profile for STU3.StructureMap for use in FHIR R4B(0.1.0) | StructureMap)STU3: transform additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.transform
.... dynamicValue
..... expression
...... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
....... extension:description 0..1stringSTU3: Natural language description of the dynamic value additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.dynamicValue.description
....... extension:language 0..1stringSTU3: Language of the expression additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.dynamicValue.language
....... extension:expression 0..1stringSTU3: expression additional types
URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.dynamicValue.expression

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "profile-PlanDefinition",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "extension": [
        {
          "url": "packageId",
          "valueId": "hl7.fhir.uv.xver-r3.r4b"
        },
        {
          "url": "version",
          "valueString": "0.1.0"
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/package-source"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 0,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r4b"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r4b"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/3.0/StructureDefinition/profile-PlanDefinition",
  "version": "0.1.0",
  "name": "Profile_R3_PlanDefinition_R4B",
  "title": "Cross-version Profile for STU3.PlanDefinition for use in FHIR R4B",
  "status": "active",
  "experimental": false,
  "date": "2026-03-17T16:04:10.2945203-05:00",
  "publisher": "FHIR Infrastructure",
  "contact": [
    {
      "name": "FHIR Infrastructure",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description": "This cross-version profile allows STU3 PlanDefinition content to be represented via FHIR R4B PlanDefinition resources.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "fhirVersion": "4.3.0",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "objimpl",
      "uri": "http://hl7.org/fhir/object-implementation",
      "name": "Object Implementation Information"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "PlanDefinition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PlanDefinition|4.3.0",
  "derivation": "constraint",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.3.0"
      }
    ],
    "element": [
      {
        "id": "PlanDefinition",
        "path": "PlanDefinition",
        "short": "The definition of a plan for a series of actions, independent of any specific patient or context",
        "definition": "This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical and non-clinical artifacts such as clinical decision support rules, order sets, protocols, and drug quality specifications.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "cnl-0",
            "severity": "warning",
            "human": "Name should be usable as an identifier for the module by machine processing applications such as code generation",
            "expression": "name.exists() implies 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}')",
            "source": "http://hl7.org/fhir/StructureDefinition/PlanDefinition|4.3.0"
          },
          {
            "key": "dom-2",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression": "contained.contained.empty()",
            "xpath": "not(parent::f:contained and f:contained)",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"
          },
          {
            "key": "dom-3",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
            "expression": "contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()",
            "xpath": "not(exists(for $contained in f:contained return $contained[not(exists(parent::*/descendant::f:reference/@value=concat('#', $contained/*/f:id/@value)) or exists(descendant::f:reference[@value='#']))]))",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"
          },
          {
            "key": "dom-4",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"
          },
          {
            "key": "dom-5",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
            "expression": "contained.meta.security.empty()",
            "xpath": "not(exists(f:contained/*/f:meta/f:security))",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                "valueBoolean": true
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
              }
            ],
            "key": "dom-6",
            "severity": "warning",
            "human": "A resource should have narrative for robust management",
            "expression": "text.`div`.exists()",
            "xpath": "exists(f:text/h:div)",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "Entity. Role, or Act"
          },
          {
            "identity": "workflow",
            "map": "Definition"
          },
          {
            "identity": "rim",
            "map": "Act[classCode=GROUPER;moodCode=DEFN]"
          },
          {
            "identity": "w5",
            "map": "clinical.general"
          }
        ]
      },
      {
        "id": "PlanDefinition.id",
        "path": "PlanDefinition.id",
        "short": "Logical id of this artifact",
        "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
        "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.meta",
        "path": "PlanDefinition.meta",
        "short": "Metadata about the resource",
        "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.meta",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Meta"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.meta.id",
        "path": "PlanDefinition.meta.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.meta.extension",
        "path": "PlanDefinition.meta.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.meta.extension:meta",
        "path": "PlanDefinition.meta.extension",
        "sliceName": "meta",
        "short": "STU3: meta additional types",
        "definition": "STU3: `PlanDefinition.meta` additional types (Meta) additional types from child elements (lastUpdated, profile, security, tag, versionId)",
        "comment": "Element `PlanDefinition.meta` is mapped to FHIR R4B element `PlanDefinition.meta` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.meta` do not cover the following types: Meta.\nThe mappings for `PlanDefinition.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.meta|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.meta.versionId",
        "path": "PlanDefinition.meta.versionId",
        "short": "Version specific identifier",
        "definition": "The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.",
        "comment": "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Meta.versionId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.meta.lastUpdated",
        "path": "PlanDefinition.meta.lastUpdated",
        "short": "When the resource version last changed",
        "definition": "When the resource last changed - e.g. when the version changed.",
        "comment": "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http://hl7.org/fhir/R4B/http.html#read) interaction.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Meta.lastUpdated",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "instant"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.meta.source",
        "path": "PlanDefinition.meta.source",
        "short": "Identifies where the resource comes from",
        "definition": "A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](http://hl7.org/fhir/R4B/provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.",
        "comment": "In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. \n\nThis element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Meta.source",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.meta.profile",
        "path": "PlanDefinition.meta.profile",
        "short": "Profiles this resource claims to conform to",
        "definition": "A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/R4B/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](http://hl7.org/fhir/R4B/structuredefinition-definitions.html#StructureDefinition.url).",
        "comment": "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Meta.profile",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "canonical",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/StructureDefinition|4.3.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.meta.security",
        "path": "PlanDefinition.meta.security",
        "short": "Security Labels applied to this resource",
        "definition": "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.",
        "comment": "The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Meta.security",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "Security Labels from the Healthcare Privacy and Security Classification System."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SecurityLabels"
            }
          ],
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/ValueSet/security-labels|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.meta.tag",
        "path": "PlanDefinition.meta.tag",
        "short": "Tags applied to this resource",
        "definition": "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.",
        "comment": "The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Meta.tag",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Tags"
            }
          ],
          "strength": "example",
          "valueSet": "http://hl7.org/fhir/ValueSet/common-tags|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.implicitRules",
        "path": "PlanDefinition.implicitRules",
        "short": "A set of rules under which this content was created",
        "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
        "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.implicitRules",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": true,
        "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
        "isSummary": true
      },
      {
        "id": "PlanDefinition.language",
        "path": "PlanDefinition.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages|4.3.0"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Language"
            }
          ],
          "strength": "preferred",
          "description": "IETF language tag",
          "valueSet": "http://hl7.org/fhir/ValueSet/languages|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.text",
        "path": "PlanDefinition.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "id": "PlanDefinition.text.id",
        "path": "PlanDefinition.text.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.text.extension",
        "path": "PlanDefinition.text.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.text.extension:text",
        "path": "PlanDefinition.text.extension",
        "sliceName": "text",
        "short": "STU3: text additional types",
        "definition": "STU3: `PlanDefinition.text` additional types (Narrative) additional types from child elements (div, status)",
        "comment": "Element `PlanDefinition.text` is mapped to FHIR R4B element `PlanDefinition.text` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.text` do not cover the following types: Narrative.\nThe mappings for `PlanDefinition.text` do not cover the following types based on type expansion: div, status.\nContained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.text|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.text.status",
        "path": "PlanDefinition.text.status",
        "short": "generated | extensions | additional | empty",
        "definition": "The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Narrative.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "The status of a resource narrative."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "NarrativeStatus"
            }
          ],
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/narrative-status|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.text.div",
        "path": "PlanDefinition.text.div",
        "short": "Limited xhtml content",
        "definition": "The actual narrative content, a stripped down version of XHTML.",
        "comment": "The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Narrative.div",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "xhtml"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "txt-1",
            "severity": "error",
            "human": "The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes",
            "expression": "htmlChecks()",
            "xpath": "not(descendant-or-self::*[not(local-name(.)=('a', 'abbr', 'acronym', 'b', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'dd', 'dfn', 'div', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 'pre', 'q', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'ul', 'var'))]) and not(descendant-or-self::*/@*[not(name(.)=('abbr', 'accesskey', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellhalign', 'cellpadding', 'cellspacing', 'cellvalign', 'char', 'charoff', 'charset', 'cite', 'class', 'colspan', 'compact', 'coords', 'dir', 'frame', 'headers', 'height', 'href', 'hreflang', 'hspace', 'id', 'lang', 'longdesc', 'name', 'nowrap', 'rel', 'rev', 'rowspan', 'rules', 'scope', 'shape', 'span', 'src', 'start', 'style', 'summary', 'tabindex', 'title', 'type', 'valign', 'value', 'vspace', 'width'))])",
            "source": "http://hl7.org/fhir/StructureDefinition/Narrative|4.3.0"
          },
          {
            "key": "txt-2",
            "severity": "error",
            "human": "The narrative SHALL have some non-whitespace content",
            "expression": "htmlChecks()",
            "xpath": "descendant::text()[normalize-space(.)!=''] or descendant::h:img[@src]",
            "source": "http://hl7.org/fhir/StructureDefinition/Narrative|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.contained",
        "path": "PlanDefinition.contained",
        "short": "Contained, inline Resources",
        "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
        "alias": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.contained",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Resource"
          }
        ],
        "constraint": [
          {
            "key": "dom-r4b",
            "severity": "warning",
            "human": "Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems",
            "expression": "($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)",
            "xpath": "not(f:Citation|f:Evidence|f:EvidenceReport|f:EvidenceVariable|f:MedicinalProductDefinition|f:PackagedProductDefinition|f:AdministrableProductDefinition|f:Ingredient|f:ClinicalUseDefinition|f:RegulatedAuthorization|f:SubstanceDefinition|f:SubscriptionStatus|f:SubscriptionTopic) or not(parent::f:Citation|parent::f:Evidence|parent::f:EvidenceReport|parent::f:EvidenceVariable|parent::f:MedicinalProductDefinition|parent::f:PackagedProductDefinition|parent::f:AdministrableProductDefinition|parent::f:Ingredient|parent::f:ClinicalUseDefinition|parent::f:RegulatedAuthorization|parent::f:SubstanceDefinition|f:SubscriptionStatus|f:SubscriptionTopic)",
            "source": "http://hl7.org/fhir/StructureDefinition/PlanDefinition|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.extension",
        "path": "PlanDefinition.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.extension:contributor",
        "path": "PlanDefinition.extension",
        "sliceName": "contributor",
        "short": "STU3: A content contributor (new)",
        "definition": "STU3: `PlanDefinition.contributor` (new:Contributor)",
        "comment": "Element `PlanDefinition.contributor` has a context of PlanDefinition based on following the parent source element upwards and mapping to `PlanDefinition`.\nElement `PlanDefinition.contributor` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.contributor|0.1.0"
            ]
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.modifierExtension",
        "path": "PlanDefinition.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 is allowed to 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](http://hl7.org/fhir/R4B/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.url",
        "path": "PlanDefinition.url",
        "short": "Canonical identifier for this plan definition, represented as a URI (globally unique)",
        "definition": "An absolute URI that is used to identify this plan definition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this plan definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the plan definition is stored on different servers.",
        "comment": "Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred.  Multiple instances may share the same URL if they have a distinct version.\n\nThe determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](http://hl7.org/fhir/R4B/resource.html#versions). \n\nIn some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](http://hl7.org/fhir/R4B/resource.html#meta) element to indicate where the current master source of the resource can be found.",
        "requirements": "Allows the plan definition to be referenced by a single globally unique identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.url",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.url"
          },
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "rim",
            "map": ".identifier[scope=BUSN;reliability=ISS]"
          }
        ]
      },
      {
        "id": "PlanDefinition.identifier",
        "path": "PlanDefinition.identifier",
        "short": "Additional identifier for the plan definition",
        "definition": "A formal identifier that is used to identify this plan definition when it is represented in other formats, or referenced in a specification, model, design or an instance.",
        "comment": "Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this plan definition outside of FHIR, where it is not possible to use the logical URI.",
        "requirements": "Allows externally provided and/or usable business identifiers to be easily associated with the module.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.identifier"
          },
          {
            "identity": "w5",
            "map": "FiveWs.identifier"
          },
          {
            "identity": "rim",
            "map": ".identifier"
          },
          {
            "identity": "objimpl",
            "map": "no-gen-base"
          }
        ]
      },
      {
        "id": "PlanDefinition.identifier.id",
        "path": "PlanDefinition.identifier.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.identifier.extension",
        "path": "PlanDefinition.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.identifier.extension:identifier",
        "path": "PlanDefinition.identifier.extension",
        "sliceName": "identifier",
        "short": "STU3: identifier additional types",
        "definition": "STU3: `PlanDefinition.identifier` additional types (Identifier) additional types from child elements (assigner, period, system, type, use, value)",
        "comment": "Element `PlanDefinition.identifier` is mapped to FHIR R4B element `PlanDefinition.identifier` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.identifier` do not cover the following types: Identifier.\nThe mappings for `PlanDefinition.identifier` do not cover the following types based on type expansion: assigner, period, system, type, use, value.\nTypically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, e.g., to identify this plan definition outside of FHIR, where it is not possible to use the logical URI.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.identifier|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.identifier.use",
        "path": "PlanDefinition.identifier.use",
        "short": "usual | official | temp | secondary | old (If known)",
        "definition": "The purpose of this identifier.",
        "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
        "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "Identifies the purpose for this identifier, if known ."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IdentifierUse"
            }
          ],
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.3.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "PlanDefinition.identifier.type",
        "path": "PlanDefinition.identifier.type",
        "short": "Description of identifier",
        "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
        "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IdentifierType"
            }
          ],
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type|4.3.0"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.5"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "PlanDefinition.identifier.system",
        "path": "PlanDefinition.identifier.system",
        "short": "The namespace for the identifier value",
        "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
        "comment": "Identifier.system is always case sensitive.",
        "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueUri": "http://www.acme.com/identifiers/patient"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "id": "PlanDefinition.identifier.value",
        "path": "PlanDefinition.identifier.value",
        "short": "The value that is unique",
        "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4B/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "123456"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.1 / EI.1"
          },
          {
            "identity": "rim",
            "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "id": "PlanDefinition.identifier.period",
        "path": "PlanDefinition.identifier.period",
        "short": "Time period when id is/was valid for use",
        "definition": "Time period during which identifier is/was valid for use.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.7 + CX.8"
          },
          {
            "identity": "rim",
            "map": "Role.effectiveTime or implied by context"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "PlanDefinition.identifier.assigner",
        "path": "PlanDefinition.identifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "definition": "Organization that issued/manages the identifier.",
        "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.assigner",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization|4.3.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity": "rim",
            "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
          },
          {
            "identity": "servd",
            "map": "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id": "PlanDefinition.version",
        "path": "PlanDefinition.version",
        "short": "Business version of the plan definition",
        "definition": "The identifier that is used to identify this version of the plan definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the plan definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts.",
        "comment": "There may be different plan definition instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the plan definition with the format [url]|[version].",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.version"
          },
          {
            "identity": "w5",
            "map": "FiveWs.version"
          },
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.name",
        "path": "PlanDefinition.name",
        "short": "Name for this plan definition (computer friendly)",
        "definition": "A natural language name identifying the plan definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.",
        "comment": "The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.",
        "requirements": "Support human navigation and code generation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "cnl-0"
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.title",
        "path": "PlanDefinition.title",
        "short": "Name for this plan definition (human friendly)",
        "definition": "A short, descriptive, user-friendly title for the plan definition.",
        "comment": "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.title",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.title"
          },
          {
            "identity": "rim",
            "map": ".title"
          }
        ]
      },
      {
        "id": "PlanDefinition.subtitle",
        "path": "PlanDefinition.subtitle",
        "short": "Subordinate title of the plan definition",
        "definition": "An explanatory or alternate title for the plan definition giving additional information about its content.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.subtitle",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.type",
        "path": "PlanDefinition.type",
        "short": "order-set | clinical-protocol | eca-rule | workflow-definition",
        "definition": "A high-level category for the plan definition that distinguishes the kinds of systems that would be interested in the plan definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "PlanDefinitionType"
            }
          ],
          "strength": "extensible",
          "description": "The type of PlanDefinition.",
          "valueSet": "http://hl7.org/fhir/ValueSet/plan-definition-type|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.status",
        "path": "PlanDefinition.status",
        "short": "draft | active | retired | unknown",
        "definition": "The status of this plan definition. Enables tracking the life-cycle of the content.",
        "comment": "Allows filtering of plan definitions that are appropriate for use versus not.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "PlanDefinition.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration",
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "PublicationStatus"
            }
          ],
          "strength": "required",
          "description": "The lifecycle status of an artifact.",
          "valueSet": "http://hl7.org/fhir/ValueSet/publication-status|4.3.0"
        },
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.status {different ValueSet}"
          },
          {
            "identity": "w5",
            "map": "FiveWs.status"
          },
          {
            "identity": "rim",
            "map": ".status"
          }
        ]
      },
      {
        "id": "PlanDefinition.experimental",
        "path": "PlanDefinition.experimental",
        "short": "For testing purposes, not real usage",
        "definition": "A Boolean value to indicate that this plan definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.",
        "comment": "Allows filtering of plan definitions that are appropriate for use versus not.",
        "requirements": "Enables experimental content to be developed following the same lifecycle that would be used for a production-level plan definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.experimental",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.experimental"
          },
          {
            "identity": "w5",
            "map": "FiveWs.class"
          },
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.subject[x]",
        "path": "PlanDefinition.subject[x]",
        "short": "Type of individual the plan definition is focused on",
        "definition": "A code, group definition, or canonical reference that describes  or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.",
        "comment": "Note that the choice of canonical for the subject element was introduced in R4B to support pharmaceutical quality use cases. To ensure as much backwards-compatibility as possible, it is recommended to only use the new canonical type with these use cases.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.subject[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Group|4.3.0"
            ]
          },
          {
            "code": "canonical",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition|4.3.0",
              "http://hl7.org/fhir/StructureDefinition/SubstanceDefinition|4.3.0",
              "http://hl7.org/fhir/StructureDefinition/AdministrableProductDefinition|4.3.0",
              "http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition|4.3.0",
              "http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition|4.3.0"
            ]
          }
        ],
        "meaningWhenMissing": "Patient",
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SubjectType"
            }
          ],
          "strength": "extensible",
          "description": "The possible types of subjects for a plan definition (E.g. Patient, Practitioner, Organization, Location, etc.).",
          "valueSet": "http://hl7.org/fhir/ValueSet/subject-type|4.3.0"
        },
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.subject"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.date",
        "path": "PlanDefinition.date",
        "short": "Date last changed",
        "definition": "The date  (and optionally time) when the plan definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the plan definition changes.",
        "comment": "Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the plan definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.",
        "alias": [
          "Revision Date"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.date",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.date"
          },
          {
            "identity": "w5",
            "map": "FiveWs.recorded"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].time"
          }
        ]
      },
      {
        "id": "PlanDefinition.publisher",
        "path": "PlanDefinition.publisher",
        "short": "Name of the publisher (organization or individual)",
        "definition": "The name of the organization or individual that published the plan definition.",
        "comment": "Usually an organization but may be an individual. The publisher (or steward) of the plan definition is the organization or individual primarily responsible for the maintenance and upkeep of the plan definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the plan definition. This item SHOULD be populated unless the information is available from context.",
        "requirements": "Helps establish the \"authority/credibility\" of the plan definition.  May also allow for contact.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.publisher",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.publisher"
          },
          {
            "identity": "w5",
            "map": "FiveWs.witness"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].role"
          }
        ]
      },
      {
        "id": "PlanDefinition.contact",
        "path": "PlanDefinition.contact",
        "short": "Contact details for the publisher",
        "definition": "Contact details to assist a user in finding and communicating with the publisher.",
        "comment": "May be a web site, an email address, a telephone number, etc.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.contact",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "ContactDetail"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.contact"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=CALLBCK].role"
          }
        ]
      },
      {
        "id": "PlanDefinition.contact.id",
        "path": "PlanDefinition.contact.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.contact.extension",
        "path": "PlanDefinition.contact.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.contact.extension:contact",
        "path": "PlanDefinition.contact.extension",
        "sliceName": "contact",
        "short": "STU3: contact additional types",
        "definition": "STU3: `PlanDefinition.contact` additional types (ContactDetail) additional types from child elements (name, telecom)",
        "comment": "Element `PlanDefinition.contact` is mapped to FHIR R4B element `PlanDefinition.contact` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.contact` do not cover the following types: ContactDetail.\nThe mappings for `PlanDefinition.contact` do not cover the following types based on type expansion: name, telecom.\nMay be a web site, an email address, a telephone number, etc.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.contact|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.contact.name",
        "path": "PlanDefinition.contact.name",
        "short": "Name of an individual to contact",
        "definition": "The name of an individual to contact.",
        "comment": "If there is no named individual, the telecom information is for the organization as a whole.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ContactDetail.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.contact.telecom",
        "path": "PlanDefinition.contact.telecom",
        "short": "Contact details for individual or organization",
        "definition": "The contact details for the individual (if a name was provided) or the organization.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ContactDetail.telecom",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.description",
        "path": "PlanDefinition.description",
        "short": "Natural language description of the plan definition",
        "definition": "A free text natural language description of the plan definition from a consumer's perspective.",
        "comment": "This description can be used to capture details such as why the plan definition was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the plan definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the plan definition is presumed to be the predominant language in the place the plan definition was created).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.description",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "markdown"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.description"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "PlanDefinition.useContext",
        "path": "PlanDefinition.useContext",
        "short": "The context that the content is intended to support",
        "definition": "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate plan definition instances.",
        "comment": "When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.",
        "requirements": "Assist in searching for appropriate content.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.useContext",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "UsageContext"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.useContext"
          },
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.useContext.id",
        "path": "PlanDefinition.useContext.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.useContext.extension",
        "path": "PlanDefinition.useContext.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.useContext.extension:useContext",
        "path": "PlanDefinition.useContext.extension",
        "sliceName": "useContext",
        "short": "STU3: Context the content is intended to support additional types",
        "definition": "STU3: `PlanDefinition.useContext` additional types (UsageContext) additional types from child elements (code, value[x])",
        "comment": "Element `PlanDefinition.useContext` is mapped to FHIR R4B element `PlanDefinition.useContext` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.useContext` do not cover the following types: UsageContext.\nThe mappings for `PlanDefinition.useContext` do not cover the following types based on type expansion: code, value[x].\nWhen multiple useContexts are specified, there is no expectation whether all or any of the contexts apply.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.useContext|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.useContext.code",
        "path": "PlanDefinition.useContext.code",
        "short": "Type of context being specified",
        "definition": "A code that identifies the type of context being specified by this usage context.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "UsageContext.code",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "A code that specifies a type of context being specified by a usage context."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "UsageContextType"
            }
          ],
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/ValueSet/usage-context-type|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.useContext.value[x]",
        "path": "PlanDefinition.useContext.value[x]",
        "short": "Value that defines the context",
        "definition": "A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "UsageContext.value[x]",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          },
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/PlanDefinition|4.3.0",
              "http://hl7.org/fhir/StructureDefinition/ResearchStudy|4.3.0",
              "http://hl7.org/fhir/StructureDefinition/InsurancePlan|4.3.0",
              "http://hl7.org/fhir/StructureDefinition/HealthcareService|4.3.0",
              "http://hl7.org/fhir/StructureDefinition/Group|4.3.0",
              "http://hl7.org/fhir/StructureDefinition/Location|4.3.0",
              "http://hl7.org/fhir/StructureDefinition/Organization|4.3.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "A code that defines the specific value for the context being specified."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "UsageContextValue"
            }
          ],
          "strength": "example",
          "valueSet": "http://hl7.org/fhir/ValueSet/use-context|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.jurisdiction",
        "path": "PlanDefinition.jurisdiction",
        "short": "Intended jurisdiction for plan definition (if applicable)",
        "definition": "A legal or geographic region in which the plan definition is intended to be used.",
        "comment": "It may be possible for the plan definition to be used in jurisdictions other than those for which it was originally designed or intended.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.jurisdiction",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Jurisdiction"
            }
          ],
          "strength": "extensible",
          "description": "Countries and regions within which this artifact is targeted for use.",
          "valueSet": "http://hl7.org/fhir/ValueSet/jurisdiction|4.3.0"
        },
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.jurisdiction"
          },
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.purpose",
        "path": "PlanDefinition.purpose",
        "short": "Why this plan definition is defined",
        "definition": "Explanation of why this plan definition is needed and why it has been designed as it has.",
        "comment": "This element does not describe the usage of the plan definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this plan definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.purpose",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "markdown"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.purpose"
          },
          {
            "identity": "w5",
            "map": "FiveWs.why[x]"
          },
          {
            "identity": "rim",
            "map": ".reasonCode.text"
          },
          {
            "identity": "objimpl",
            "map": "no-gen-base"
          }
        ]
      },
      {
        "id": "PlanDefinition.usage",
        "path": "PlanDefinition.usage",
        "short": "Describes the clinical usage of the plan",
        "definition": "A detailed description of how the plan definition is used from a clinical perspective.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.usage",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.copyright",
        "path": "PlanDefinition.copyright",
        "short": "Use and/or publishing restrictions",
        "definition": "A copyright statement relating to the plan definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the plan definition.",
        "requirements": "Consumers must be able to determine any legal restrictions on the use of the plan definition and/or its content.",
        "alias": [
          "License",
          "Restrictions"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.copyright",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "markdown"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.copyright"
          },
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          },
          {
            "identity": "objimpl",
            "map": "no-gen-base"
          }
        ]
      },
      {
        "id": "PlanDefinition.approvalDate",
        "path": "PlanDefinition.approvalDate",
        "short": "When the plan definition was approved by publisher",
        "definition": "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.",
        "comment": "The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.approvalDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.approvalDate"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=\"SUBJ\"].act[classCode=CACT;moodCode=EVN;code=\"approval\"].effectiveTime"
          },
          {
            "identity": "objimpl",
            "map": "no-gen-base"
          }
        ]
      },
      {
        "id": "PlanDefinition.lastReviewDate",
        "path": "PlanDefinition.lastReviewDate",
        "short": "When the plan definition was last reviewed",
        "definition": "The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.",
        "comment": "If specified, this date follows the original approval date.",
        "requirements": "Gives a sense of how \"current\" the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.lastReviewDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.lastReviewDate"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=\"SUBJ\"; subsetCode=\"RECENT\"].act[classCode=CACT;moodCode=EVN;code=\"review\"].effectiveTime"
          },
          {
            "identity": "objimpl",
            "map": "no-gen-base"
          }
        ]
      },
      {
        "id": "PlanDefinition.effectivePeriod",
        "path": "PlanDefinition.effectivePeriod",
        "short": "When the plan definition is expected to be used",
        "definition": "The period during which the plan definition content was or is planned to be in active use.",
        "comment": "The effective period for a plan definition  determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015.",
        "requirements": "Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the plan definition are or are expected to be used instead.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.effectivePeriod",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.effectivePeriod"
          },
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          },
          {
            "identity": "objimpl",
            "map": "no-gen-base"
          }
        ]
      },
      {
        "id": "PlanDefinition.effectivePeriod.id",
        "path": "PlanDefinition.effectivePeriod.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.effectivePeriod.extension",
        "path": "PlanDefinition.effectivePeriod.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.effectivePeriod.extension:effectivePeriod",
        "path": "PlanDefinition.effectivePeriod.extension",
        "sliceName": "effectivePeriod",
        "short": "STU3: effectivePeriod additional types",
        "definition": "STU3: `PlanDefinition.effectivePeriod` additional types (Period) additional types from child elements (end, start)",
        "comment": "Element `PlanDefinition.effectivePeriod` is mapped to FHIR R4B element `PlanDefinition.effectivePeriod` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.effectivePeriod` do not cover the following types: Period.\nThe mappings for `PlanDefinition.effectivePeriod` do not cover the following types based on type expansion: end, start.\nThe effective period for a plan definition  determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.effectivePeriod|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.effectivePeriod.start",
        "path": "PlanDefinition.effectivePeriod.start",
        "short": "Starting time with inclusive boundary",
        "definition": "The start of the period. The boundary is inclusive.",
        "comment": "If the low element is missing, the meaning is that the low boundary is not known.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Period.start",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "condition": [
          "per-1"
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "DR.1"
          },
          {
            "identity": "rim",
            "map": "./low"
          }
        ]
      },
      {
        "id": "PlanDefinition.effectivePeriod.end",
        "path": "PlanDefinition.effectivePeriod.end",
        "short": "End time with inclusive boundary, if not ongoing",
        "definition": "The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.",
        "comment": "The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Period.end",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "meaningWhenMissing": "If the end of the period is missing, it means that the period is ongoing",
        "condition": [
          "per-1"
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "DR.2"
          },
          {
            "identity": "rim",
            "map": "./high"
          }
        ]
      },
      {
        "id": "PlanDefinition.topic",
        "path": "PlanDefinition.topic",
        "short": "E.g. Education, Treatment, Assessment",
        "definition": "Descriptive topics related to the content of the plan definition. Topics provide a high-level categorization of the definition that can be useful for filtering and searching.",
        "requirements": "Repositories must be able to determine how to categorize the plan definition so that it can be found by topical searches.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.topic",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "DefinitionTopic"
            }
          ],
          "strength": "example",
          "description": "High-level categorization of the definition, used for searching, sorting, and filtering.",
          "valueSet": "http://hl7.org/fhir/ValueSet/definition-topic|4.3.0"
        },
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.subject[x]"
          },
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.author",
        "path": "PlanDefinition.author",
        "short": "Who authored the content",
        "definition": "An individiual or organization primarily involved in the creation and maintenance of the content.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.author",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "ContactDetail"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT]"
          }
        ]
      },
      {
        "id": "PlanDefinition.editor",
        "path": "PlanDefinition.editor",
        "short": "Who edited the content",
        "definition": "An individual or organization primarily responsible for internal coherence of the content.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.editor",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "ContactDetail"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT]"
          }
        ]
      },
      {
        "id": "PlanDefinition.reviewer",
        "path": "PlanDefinition.reviewer",
        "short": "Who reviewed the content",
        "definition": "An individual or organization primarily responsible for review of some aspect of the content.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.reviewer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "ContactDetail"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"
          }
        ]
      },
      {
        "id": "PlanDefinition.endorser",
        "path": "PlanDefinition.endorser",
        "short": "Who endorsed the content",
        "definition": "An individual or organization responsible for officially endorsing the content for use in some setting.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.endorser",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "ContactDetail"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"
          }
        ]
      },
      {
        "id": "PlanDefinition.relatedArtifact",
        "path": "PlanDefinition.relatedArtifact",
        "short": "Additional documentation, citations",
        "definition": "Related artifacts such as additional documentation, justification, or bibliographic references.",
        "comment": "Each related artifact is either an attachment, or a reference to another resource, but not both.",
        "requirements": "Plan definitions must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.relatedArtifact",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "RelatedArtifact"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"
          }
        ]
      },
      {
        "id": "PlanDefinition.relatedArtifact.id",
        "path": "PlanDefinition.relatedArtifact.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.relatedArtifact.extension",
        "path": "PlanDefinition.relatedArtifact.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.relatedArtifact.extension:relatedArtifact",
        "path": "PlanDefinition.relatedArtifact.extension",
        "sliceName": "relatedArtifact",
        "short": "STU3: Related artifacts for the asset additional types",
        "definition": "STU3: `PlanDefinition.relatedArtifact` additional types (RelatedArtifact) additional types from child elements (citation, display, document, resource, type, url)",
        "comment": "Element `PlanDefinition.relatedArtifact` is mapped to FHIR R4B element `PlanDefinition.relatedArtifact` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.relatedArtifact` do not cover the following types: RelatedArtifact.\nThe mappings for `PlanDefinition.relatedArtifact` do not cover the following types based on type expansion: citation, display, document, resource, type, url.\nEach related artifact is either an attachment, or a reference to another resource, but not both.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.relatedArtifact|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.relatedArtifact.type",
        "path": "PlanDefinition.relatedArtifact.type",
        "short": "documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of",
        "definition": "The type of relationship to the related artifact.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "The type of relationship to the related artifact."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "RelatedArtifactType"
            }
          ],
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/related-artifact-type|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.relatedArtifact.label",
        "path": "PlanDefinition.relatedArtifact.label",
        "short": "Short label",
        "definition": "A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.label",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.relatedArtifact.display",
        "path": "PlanDefinition.relatedArtifact.display",
        "short": "Brief description of the related artifact",
        "definition": "A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.relatedArtifact.citation",
        "path": "PlanDefinition.relatedArtifact.citation",
        "short": "Bibliographic citation for the artifact",
        "definition": "A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.",
        "comment": "Additional structured information about citations should be captured as extensions.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.citation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "markdown"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.relatedArtifact.url",
        "path": "PlanDefinition.relatedArtifact.url",
        "short": "Where the artifact can be accessed",
        "definition": "A url for the artifact that can be followed to access the actual content.",
        "comment": "If a document or resource element is present, this element SHALL NOT be provided (use the url or reference in the Attachment or resource reference).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.url",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "url"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.relatedArtifact.document",
        "path": "PlanDefinition.relatedArtifact.document",
        "short": "What document is being referenced",
        "definition": "The document being referenced, represented as an attachment. This is exclusive with the resource element.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.document",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.relatedArtifact.resource",
        "path": "PlanDefinition.relatedArtifact.resource",
        "short": "What resource is being referenced",
        "definition": "The related resource, such as a library, value set, profile, or other knowledge resource.",
        "comment": "If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.resource",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "canonical",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource|4.3.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.library",
        "path": "PlanDefinition.library",
        "short": "Logic used by the plan definition",
        "definition": "A reference to a Library resource containing any formal logic used by the plan definition.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.library",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "canonical",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Library|4.3.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.library.id",
        "path": "PlanDefinition.library.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.library.extension",
        "path": "PlanDefinition.library.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.library.extension:library",
        "path": "PlanDefinition.library.extension",
        "sliceName": "library",
        "short": "STU3: library additional types",
        "definition": "STU3: `PlanDefinition.library` additional types (Reference(http://hl7.org/fhir/StructureDefinition/Library)) additional types from child elements (display, identifier, reference)",
        "comment": "Element `PlanDefinition.library` is mapped to FHIR R4B element `PlanDefinition.library` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.library` do not cover the following types: Reference.\nThe mappings for `PlanDefinition.library` do not cover the following types based on type expansion: display, identifier, reference.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.library|0.1.0"
            ]
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.library.value",
        "path": "PlanDefinition.library.value",
        "representation": [
          "xmlAttr"
        ],
        "short": "Primitive value for canonical",
        "definition": "Primitive value for canonical",
        "min": 0,
        "max": "1",
        "base": {
          "path": "uri.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "canonical"
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/regex",
                "valueString": "\\S*"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.goal",
        "path": "PlanDefinition.goal",
        "short": "What the plan is trying to accomplish",
        "definition": "A goal describes an expected outcome that activities within the plan are intended to achieve. For example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, meeting the acceptance criteria for a test as specified by a quality specification, etc.",
        "requirements": "Goal information needs to be captured for order sets, protocols, and care plan definitions to better describe the objectives of the protocol activities and to guide the creation of specific goals within the derived care plans and orders.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.goal",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.id",
        "path": "PlanDefinition.goal.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.extension",
        "path": "PlanDefinition.goal.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"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.modifierExtension",
        "path": "PlanDefinition.goal.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](http://hl7.org/fhir/R4B/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "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": "PlanDefinition.goal.category",
        "path": "PlanDefinition.goal.category",
        "short": "E.g. Treatment, dietary, behavioral",
        "definition": "Indicates a category the goal falls within.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.goal.category",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "GoalCategory"
            }
          ],
          "strength": "example",
          "description": "Example codes for grouping goals for filtering or presentation.",
          "valueSet": "http://hl7.org/fhir/ValueSet/goal-category|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.description",
        "path": "PlanDefinition.goal.description",
        "short": "Code or text describing the goal",
        "definition": "Human-readable and/or coded description of a specific desired objective of care, such as \"control blood pressure\" or \"negotiate an obstacle course\" or \"dance with child at wedding\".",
        "comment": "If no code is available, use CodeableConcept.text.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "PlanDefinition.goal.description",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "GoalDescription"
            }
          ],
          "strength": "example",
          "description": "Describes goals that can be achieved.",
          "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.priority",
        "path": "PlanDefinition.goal.priority",
        "short": "high-priority | medium-priority | low-priority",
        "definition": "Identifies the expected level of importance associated with reaching/sustaining the defined goal.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.goal.priority",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "GoalPriority"
            }
          ],
          "strength": "preferred",
          "description": "Indicates the level of importance associated with reaching or sustaining a goal.",
          "valueSet": "http://hl7.org/fhir/ValueSet/goal-priority|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.start",
        "path": "PlanDefinition.goal.start",
        "short": "When goal pursuit begins",
        "definition": "The event after which the goal should begin being pursued.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.goal.start",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "GoalStartEvent"
            }
          ],
          "strength": "example",
          "description": "Identifies the types of events that might trigger the start of a goal.",
          "valueSet": "http://hl7.org/fhir/ValueSet/goal-start-event|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.addresses",
        "path": "PlanDefinition.goal.addresses",
        "short": "What does the goal address",
        "definition": "Identifies problems, conditions, issues, or concerns the goal is intended to address.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.goal.addresses",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "GoalAddresses"
            }
          ],
          "strength": "example",
          "description": "Identifies problems, conditions, issues, or concerns that goals may address.",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-code|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.documentation",
        "path": "PlanDefinition.goal.documentation",
        "short": "Supporting documentation for the goal",
        "definition": "Didactic or other informational resources associated with the goal that provide further supporting information about the goal. Information resources can include inline text commentary and links to web resources.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.goal.documentation",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "RelatedArtifact"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.documentation.id",
        "path": "PlanDefinition.goal.documentation.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.documentation.extension",
        "path": "PlanDefinition.goal.documentation.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.goal.documentation.extension:documentation",
        "path": "PlanDefinition.goal.documentation.extension",
        "sliceName": "documentation",
        "short": "STU3: documentation additional types",
        "definition": "STU3: `PlanDefinition.goal.documentation` additional types (RelatedArtifact) additional types from child elements (citation, display, document, resource, type, url)",
        "comment": "Element `PlanDefinition.goal.documentation` is mapped to FHIR R4B element `PlanDefinition.goal.documentation` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.goal.documentation` do not cover the following types: RelatedArtifact.\nThe mappings for `PlanDefinition.goal.documentation` do not cover the following types based on type expansion: citation, display, document, resource, type, url.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.goal.documentation|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.goal.documentation.type",
        "path": "PlanDefinition.goal.documentation.type",
        "short": "documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of",
        "definition": "The type of relationship to the related artifact.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "The type of relationship to the related artifact."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "RelatedArtifactType"
            }
          ],
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/related-artifact-type|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.goal.documentation.label",
        "path": "PlanDefinition.goal.documentation.label",
        "short": "Short label",
        "definition": "A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.label",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.goal.documentation.display",
        "path": "PlanDefinition.goal.documentation.display",
        "short": "Brief description of the related artifact",
        "definition": "A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.goal.documentation.citation",
        "path": "PlanDefinition.goal.documentation.citation",
        "short": "Bibliographic citation for the artifact",
        "definition": "A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.",
        "comment": "Additional structured information about citations should be captured as extensions.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.citation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "markdown"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.goal.documentation.url",
        "path": "PlanDefinition.goal.documentation.url",
        "short": "Where the artifact can be accessed",
        "definition": "A url for the artifact that can be followed to access the actual content.",
        "comment": "If a document or resource element is present, this element SHALL NOT be provided (use the url or reference in the Attachment or resource reference).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.url",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "url"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.goal.documentation.document",
        "path": "PlanDefinition.goal.documentation.document",
        "short": "What document is being referenced",
        "definition": "The document being referenced, represented as an attachment. This is exclusive with the resource element.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.document",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.goal.documentation.resource",
        "path": "PlanDefinition.goal.documentation.resource",
        "short": "What resource is being referenced",
        "definition": "The related resource, such as a library, value set, profile, or other knowledge resource.",
        "comment": "If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.resource",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "canonical",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource|4.3.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.goal.target",
        "path": "PlanDefinition.goal.target",
        "short": "Target outcome for the goal",
        "definition": "Indicates what should be done and within what timeframe.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.goal.target",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.target.id",
        "path": "PlanDefinition.goal.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.target.extension",
        "path": "PlanDefinition.goal.target.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.goal.target.extension:detail",
        "path": "PlanDefinition.goal.target.extension",
        "sliceName": "detail",
        "short": "STU3: detail additional types",
        "definition": "STU3: `PlanDefinition.goal.target.detail[x]` additional types (Range)",
        "comment": "Element `PlanDefinition.goal.target.detail[x]` is mapped to FHIR R4B element `PlanDefinition.goal.target.detail[x]` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.goal.target.detail[x]` do not cover the following types: Range.\nThe target context `PlanDefinition.goal.target.detail[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `PlanDefinition.goal.target`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.goal.target.detail|0.1.0"
            ]
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.goal.target.modifierExtension",
        "path": "PlanDefinition.goal.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](http://hl7.org/fhir/R4B/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "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": "PlanDefinition.goal.target.measure",
        "path": "PlanDefinition.goal.target.measure",
        "short": "The parameter whose value is to be tracked",
        "definition": "The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.goal.target.measure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "GoalTargetMeasure"
            }
          ],
          "strength": "example",
          "description": "Identifies types of parameters that can be tracked to determine goal achievement.",
          "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.target.detail[x]",
        "path": "PlanDefinition.goal.target.detail[x]",
        "short": "The target value to be achieved",
        "definition": "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%, or in the case of pharmaceutical quality - NMT 0.6%, Clear solution, etc. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.goal.target.detail[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          },
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.target.due",
        "path": "PlanDefinition.goal.target.due",
        "short": "Reach goal within",
        "definition": "Indicates the timeframe after the start of the goal in which the goal should be met.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.goal.target.due",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action",
        "path": "PlanDefinition.action",
        "short": "Action defined by the plan",
        "definition": "An action or group of actions to be taken as part of the plan. For example, in clinical care, an action would be to prescribe a particular indicated medication, or perform a particular test as appropriate. In pharmaceutical quality, an action would be the test that needs to be performed on a drug product as defined in the quality specification.",
        "comment": "Note that there is overlap between many of the elements defined here and the ActivityDefinition resource. When an ActivityDefinition is referenced (using the definition element), the overlapping elements in the plan override the content of the referenced ActivityDefinition unless otherwise documented in the specific elements. See the PlanDefinition resource for more detailed information.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.action",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "workflow",
            "map": "{Is a contained Definition}"
          },
          {
            "identity": "rim",
            "map": "Act[classCode=ACT; moodCode=DEFN]"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.id",
        "path": "PlanDefinition.action.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.extension",
        "path": "PlanDefinition.action.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.extension:timing",
        "path": "PlanDefinition.action.extension",
        "sliceName": "timing",
        "short": "STU3: timing additional types",
        "definition": "STU3: `PlanDefinition.action.timing[x]` additional types (Period, Range, Timing)",
        "comment": "Element `PlanDefinition.action.timing[x]` is mapped to FHIR R4B element `PlanDefinition.action.timing[x]` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.timing[x]` do not cover the following types: Period, Range, Timing.\nThe target context `PlanDefinition.action.timing[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `PlanDefinition.action`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.timing|0.1.0"
            ]
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.extension:definition",
        "path": "PlanDefinition.action.extension",
        "sliceName": "definition",
        "short": "STU3: definition additional types",
        "definition": "STU3: `PlanDefinition.action.definition` additional types (Reference(http://hl7.org/fhir/StructureDefinition/ActivityDefinition), Reference(http://hl7.org/fhir/StructureDefinition/PlanDefinition)) additional types from child elements (display, identifier, reference)",
        "comment": "Element `PlanDefinition.action.definition` is mapped to FHIR R4B element `PlanDefinition.action.definition[x]` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.definition` do not cover the following types: Reference.\nThe mappings for `PlanDefinition.action.definition` do not cover the following types based on type expansion: display, identifier, reference.\nThe target context `PlanDefinition.action.definition[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `PlanDefinition.action`.\nNote that the definition is optional, and if no definition is specified, a dynamicValue with a root (~) path can be used to define the entire resource dynamically.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.definition|0.1.0"
            ]
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.modifierExtension",
        "path": "PlanDefinition.action.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](http://hl7.org/fhir/R4B/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "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": "PlanDefinition.action.prefix",
        "path": "PlanDefinition.action.prefix",
        "short": "User-visible prefix for the action (e.g. 1. or A.)",
        "definition": "A user-visible prefix for the action.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.prefix",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.title",
        "path": "PlanDefinition.action.title",
        "short": "User-visible title",
        "definition": "The textual description of the action displayed to a user. For example, when the action is a test to be performed, the title would be the title of the test such as Assay by HPLC.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.title",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.title"
          },
          {
            "identity": "rim",
            "map": ".title"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.description",
        "path": "PlanDefinition.action.description",
        "short": "Brief description of the action",
        "definition": "A brief description of the action used to provide a summary to display to the user.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.description",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.description"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.textEquivalent",
        "path": "PlanDefinition.action.textEquivalent",
        "short": "Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system",
        "definition": "A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.textEquivalent",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.description"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.priority",
        "path": "PlanDefinition.action.priority",
        "short": "routine | urgent | asap | stat",
        "definition": "Indicates how quickly the action should be addressed with respect to other actions.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.priority",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "RequestPriority"
            }
          ],
          "strength": "required",
          "description": "Identifies the level of importance to be assigned to actioning the request.",
          "valueSet": "http://hl7.org/fhir/ValueSet/request-priority|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".priority"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.code",
        "path": "PlanDefinition.action.code",
        "short": "Code representing the meaning of the action or sub-actions",
        "definition": "A code that provides a meaning, grouping, or classification for the action or action group. For example, a section may have a LOINC code for the section of a documentation template. In pharmaceutical quality, an action (Test) such as pH could be classified as a physical property.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.action.code",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ActionCode"
            }
          ],
          "strength": "example",
          "description": "Provides examples of actions to be performed.",
          "valueSet": "http://hl7.org/fhir/ValueSet/action-code|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".classCode"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.reason",
        "path": "PlanDefinition.action.reason",
        "short": "Why the action should be performed",
        "definition": "A description of why this action is necessary or appropriate.",
        "comment": "This is different than the clinical evidence documentation, it's an actual business description of the reason for performing the action.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.action.reason",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ActionReasonCode"
            }
          ],
          "strength": "example",
          "description": "Provides examples of reasons for actions to be performed.",
          "valueSet": "http://hl7.org/fhir/ValueSet/action-reason-code|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".reasonCode"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.documentation",
        "path": "PlanDefinition.action.documentation",
        "short": "Supporting documentation for the intended performer of the action",
        "definition": "Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.action.documentation",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "RelatedArtifact"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.documentation.id",
        "path": "PlanDefinition.action.documentation.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.documentation.extension",
        "path": "PlanDefinition.action.documentation.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.documentation.extension:documentation",
        "path": "PlanDefinition.action.documentation.extension",
        "sliceName": "documentation",
        "short": "STU3: documentation additional types",
        "definition": "STU3: `PlanDefinition.action.documentation` additional types (RelatedArtifact) additional types from child elements (citation, display, document, resource, type, url)",
        "comment": "Element `PlanDefinition.action.documentation` is mapped to FHIR R4B element `PlanDefinition.action.documentation` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.documentation` do not cover the following types: RelatedArtifact.\nThe mappings for `PlanDefinition.action.documentation` do not cover the following types based on type expansion: citation, display, document, resource, type, url.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.documentation|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.documentation.type",
        "path": "PlanDefinition.action.documentation.type",
        "short": "documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of",
        "definition": "The type of relationship to the related artifact.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "The type of relationship to the related artifact."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "RelatedArtifactType"
            }
          ],
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/related-artifact-type|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.action.documentation.label",
        "path": "PlanDefinition.action.documentation.label",
        "short": "Short label",
        "definition": "A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.label",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.documentation.display",
        "path": "PlanDefinition.action.documentation.display",
        "short": "Brief description of the related artifact",
        "definition": "A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.documentation.citation",
        "path": "PlanDefinition.action.documentation.citation",
        "short": "Bibliographic citation for the artifact",
        "definition": "A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.",
        "comment": "Additional structured information about citations should be captured as extensions.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.citation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "markdown"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.documentation.url",
        "path": "PlanDefinition.action.documentation.url",
        "short": "Where the artifact can be accessed",
        "definition": "A url for the artifact that can be followed to access the actual content.",
        "comment": "If a document or resource element is present, this element SHALL NOT be provided (use the url or reference in the Attachment or resource reference).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.url",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "url"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.documentation.document",
        "path": "PlanDefinition.action.documentation.document",
        "short": "What document is being referenced",
        "definition": "The document being referenced, represented as an attachment. This is exclusive with the resource element.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.document",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.documentation.resource",
        "path": "PlanDefinition.action.documentation.resource",
        "short": "What resource is being referenced",
        "definition": "The related resource, such as a library, value set, profile, or other knowledge resource.",
        "comment": "If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.resource",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "canonical",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource|4.3.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.goalId",
        "path": "PlanDefinition.action.goalId",
        "short": "What goals this action supports",
        "definition": "Identifies goals that this action supports. The reference must be to a goal element defined within this plan definition. In pharmaceutical quality, a goal represents acceptance criteria (Goal) for a given action (Test), so the goalId would be the unique id of a defined goal element establishing the acceptance criteria for the action.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.action.goalId",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.subject[x]",
        "path": "PlanDefinition.action.subject[x]",
        "short": "Type of individual the action is focused on",
        "definition": "A code, group definition, or canonical reference that describes the intended subject of the action and its children, if any. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource.",
        "comment": "The subject of an action overrides the subject at a parent action or on the root of the PlanDefinition if specified.\n\nIn addition, because the subject needs to be resolved during realization, use of subjects in actions (or in the ActivityDefinition referenced by the action) resolves based on the set of subjects supplied in context and by type (i.e. the patient subject would resolve to a resource of type Patient).",
        "requirements": "Multiple steps in a protocol often have different groups of steps that are focused on testing different things. The subject of an action specifies the focus of the action and any child actions.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.subject[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Group|4.3.0"
            ]
          },
          {
            "code": "canonical"
          }
        ],
        "meaningWhenMissing": "Patient",
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SubjectType"
            }
          ],
          "strength": "extensible",
          "description": "The possible types of subjects for a plan definition (E.g. Patient, Practitioner, Organization, Location, etc.).",
          "valueSet": "http://hl7.org/fhir/ValueSet/subject-type|4.3.0"
        },
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.subject"
          },
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.trigger",
        "path": "PlanDefinition.action.trigger",
        "short": "When the action should be triggered",
        "definition": "A description of when the action should be triggered.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.action.trigger",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "TriggerDefinition"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.trigger.id",
        "path": "PlanDefinition.action.trigger.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.trigger.extension",
        "path": "PlanDefinition.action.trigger.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.trigger.extension:triggerDefinition",
        "path": "PlanDefinition.action.trigger.extension",
        "sliceName": "triggerDefinition",
        "short": "STU3: triggerDefinition additional types",
        "definition": "STU3: `PlanDefinition.action.triggerDefinition` additional types (TriggerDefinition) additional types from child elements (eventData, eventName, eventTiming[x], type)",
        "comment": "Element `PlanDefinition.action.triggerDefinition` is mapped to FHIR R4B element `PlanDefinition.action.trigger` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.triggerDefinition` do not cover the following types: TriggerDefinition.\nThe mappings for `PlanDefinition.action.triggerDefinition` do not cover the following types based on type expansion: eventData, eventName, eventTiming[x], type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.triggerDefinition|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.trigger.type",
        "path": "PlanDefinition.action.trigger.type",
        "short": "named-event | periodic | data-changed | data-added | data-modified | data-removed | data-accessed | data-access-ended",
        "definition": "The type of triggering event.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "TriggerDefinition.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "The type of trigger."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "TriggerType"
            }
          ],
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/trigger-type|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.action.trigger.name",
        "path": "PlanDefinition.action.trigger.name",
        "short": "Name or URI that identifies the event",
        "definition": "A formal name for the event. This may be an absolute URI that identifies the event formally (e.g. from a trigger registry), or a simple relative URI that identifies the event in a local context.",
        "comment": "An event name can be provided for all event types, but is required for named events. If a name is provided for a type other than named events, it is considered to be a shorthand for the semantics described by the formal description of the event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TriggerDefinition.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.trigger.timing[x]",
        "path": "PlanDefinition.action.trigger.timing[x]",
        "short": "Timing of the event",
        "definition": "The timing of the event (if this is a periodic trigger).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TriggerDefinition.timing[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Timing"
          },
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Schedule|4.3.0"
            ]
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.trigger.data",
        "path": "PlanDefinition.action.trigger.data",
        "short": "Triggering data of the event (multiple = 'and')",
        "definition": "The triggering data of the event (if this is a data trigger). If more than one data is requirement is specified, then all the data requirements must be true.",
        "comment": "This element shall be present for any data type trigger.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TriggerDefinition.data",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "DataRequirement"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.trigger.condition",
        "path": "PlanDefinition.action.trigger.condition",
        "short": "Whether the event triggers (boolean expression)",
        "definition": "A boolean-valued expression that is evaluated in the context of the container of the trigger definition and returns whether or not the trigger fires.",
        "comment": "This element can be only be specified for data type triggers and provides additional semantics for the trigger. The context available within the condition is based on the type of data event. For all events, the current resource will be available as context. In addition, for modification events, the previous resource will also be available. The expression may be inlined, or may be a simple absolute URI, which is a reference to a named expression within a logic library referenced by a library element or extension within the containing resource. If the expression is a FHIR Path expression, it evaluates in the context of a resource of one of the type identified in the data requirement, and may also refer to the variable %previous for delta comparisons on events of type data-changed, data-modified, and data-deleted which will always have the same type.",
        "requirements": "Need to be able to formally describe the triggering criteria.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TriggerDefinition.condition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Expression"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.condition",
        "path": "PlanDefinition.action.condition",
        "short": "Whether or not the action is applicable",
        "definition": "An expression that describes applicability criteria or start/stop conditions for the action.",
        "comment": "When multiple conditions of the same kind are present, the effects are combined using AND semantics, so the overall condition is true only if all the conditions are true.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.action.condition",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.condition.id",
        "path": "PlanDefinition.action.condition.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.condition.extension",
        "path": "PlanDefinition.action.condition.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"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.condition.modifierExtension",
        "path": "PlanDefinition.action.condition.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](http://hl7.org/fhir/R4B/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "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": "PlanDefinition.action.condition.kind",
        "path": "PlanDefinition.action.condition.kind",
        "short": "applicability | start | stop",
        "definition": "The kind of condition.",
        "comment": "Applicability criteria are used to determine immediate applicability when a plan definition is applied to a given context. Start and stop criteria are carried through application and used to describe enter/exit criteria for an action.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.condition.kind",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ActionConditionKind"
            }
          ],
          "strength": "required",
          "description": "Defines the kinds of conditions that can appear on actions.",
          "valueSet": "http://hl7.org/fhir/ValueSet/action-condition-kind|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.condition.expression",
        "path": "PlanDefinition.action.condition.expression",
        "short": "Boolean-valued expression",
        "definition": "An expression that returns true or false, indicating whether the condition is satisfied.",
        "comment": "The expression may be inlined or may be a reference to a named expression within a logic library referenced by the library element.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.condition.expression",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Expression"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.condition.expression.id",
        "path": "PlanDefinition.action.condition.expression.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.condition.expression.extension",
        "path": "PlanDefinition.action.condition.expression.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.condition.expression.extension:description",
        "path": "PlanDefinition.action.condition.expression.extension",
        "sliceName": "description",
        "short": "STU3: Natural language description of the condition additional types",
        "definition": "STU3: `PlanDefinition.action.condition.description` additional types (string) additional types from child elements (value)",
        "comment": "Element `PlanDefinition.action.condition.description` is mapped to FHIR R4B element `PlanDefinition.action.condition.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.condition.description` do not cover the following types: string.\nThe mappings for `PlanDefinition.action.condition.description` do not cover the following types based on type expansion: value.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.condition.description|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.condition.expression.extension:language",
        "path": "PlanDefinition.action.condition.expression.extension",
        "sliceName": "language",
        "short": "STU3: Language of the expression additional types",
        "definition": "STU3: `PlanDefinition.action.condition.language` additional types (string) additional types from child elements (value)",
        "comment": "Element `PlanDefinition.action.condition.language` is mapped to FHIR R4B element `PlanDefinition.action.condition.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.condition.language` do not cover the following types: string.\nThe mappings for `PlanDefinition.action.condition.language` do not cover the following types based on type expansion: value.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.condition.language|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.condition.expression.extension:expression",
        "path": "PlanDefinition.action.condition.expression.extension",
        "sliceName": "expression",
        "short": "STU3: expression additional types",
        "definition": "STU3: `PlanDefinition.action.condition.expression` additional types (string) additional types from child elements (value)",
        "comment": "Element `PlanDefinition.action.condition.expression` is mapped to FHIR R4B element `PlanDefinition.action.condition.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.condition.expression` do not cover the following types: string.\nThe mappings for `PlanDefinition.action.condition.expression` do not cover the following types based on type expansion: value.\nThe expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.condition.expression|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.condition.expression.description",
        "path": "PlanDefinition.action.condition.expression.description",
        "short": "Natural language description of the condition",
        "definition": "A brief, natural language description of the condition that effectively communicates the intended semantics.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Expression.description",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.condition.expression.name",
        "path": "PlanDefinition.action.condition.expression.name",
        "short": "Short name assigned to expression for reuse",
        "definition": "A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Expression.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.condition.expression.language",
        "path": "PlanDefinition.action.condition.expression.language",
        "short": "text/cql | text/fhirpath | application/x-fhir-query | text/cql-identifier | text/cql-expression | etc.",
        "definition": "The media type of the language for the expression.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Expression.language",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "The media type of the expression language."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical": "http://hl7.org/fhir/ValueSet/mimetypes|4.3.0"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ExpressionLanguage"
            }
          ],
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/ValueSet/expression-language|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.action.condition.expression.expression",
        "path": "PlanDefinition.action.condition.expression.expression",
        "short": "Expression in specified language",
        "definition": "An expression in the specified language that returns a value.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Expression.expression",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.condition.expression.reference",
        "path": "PlanDefinition.action.condition.expression.reference",
        "short": "Where the expression is found",
        "definition": "A URI that defines where the expression is found.",
        "comment": "If both a reference and an expression is found, the reference SHALL point to the same expression.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Expression.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input",
        "path": "PlanDefinition.action.input",
        "short": "Input data requirements",
        "definition": "Defines input data requirements for the action.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.action.input",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "DataRequirement"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.input.id",
        "path": "PlanDefinition.action.input.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.input.extension",
        "path": "PlanDefinition.action.input.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.input.extension:input",
        "path": "PlanDefinition.action.input.extension",
        "sliceName": "input",
        "short": "STU3: input additional types",
        "definition": "STU3: `PlanDefinition.action.input` additional types (DataRequirement) additional types from child elements (codeFilter, path, valueCode, valueCodeableConcept, valueCoding, valueSet[x], dateFilter, value[x], mustSupport, profile, type)",
        "comment": "Element `PlanDefinition.action.input` is mapped to FHIR R4B element `PlanDefinition.action.input` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.input` do not cover the following types: DataRequirement.\nThe mappings for `PlanDefinition.action.input` do not cover the following types based on type expansion: codeFilter, dateFilter, mustSupport, path, profile, type, value[x], valueCode, valueCodeableConcept, valueCoding, valueSet[x].",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.input|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.input.type",
        "path": "PlanDefinition.action.input.type",
        "short": "The type of the required data",
        "definition": "The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DataRequirement.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "FHIRAllTypes"
            }
          ],
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/all-types|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.action.input.profile",
        "path": "PlanDefinition.action.input.profile",
        "short": "The profile of the required data",
        "definition": "The profile of the required data, specified as the uri of the profile definition.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.profile",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "canonical",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/StructureDefinition|4.3.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input.subject[x]",
        "path": "PlanDefinition.action.input.subject[x]",
        "short": "E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device",
        "definition": "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.",
        "comment": "The subject of a data requirement is critical, as the data being specified is determined with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what data is available based on its relationship to the subject. In CQL, this corresponds to the context declaration.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.subject[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Group|4.3.0"
            ]
          }
        ],
        "meaningWhenMissing": "Patient",
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "The possible types of subjects for a data requirement (E.g., Patient, Practitioner, Organization, Location, etc.)."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SubjectType"
            }
          ],
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/ValueSet/subject-type|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.action.input.mustSupport",
        "path": "PlanDefinition.action.input.mustSupport",
        "short": "Indicates specific structure elements that are referenced by the knowledge module",
        "definition": "Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. \n\nThe value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](http://hl7.org/fhir/R4B/fhirpath.html#simple) for full details).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.mustSupport",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input.codeFilter",
        "path": "PlanDefinition.action.input.codeFilter",
        "short": "What codes are expected",
        "definition": "Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.codeFilter",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "drq-1",
            "severity": "error",
            "human": "Either a path or a searchParam must be provided, but not both",
            "expression": "path.exists() xor searchParam.exists()",
            "xpath": "(exists(f:path) and not(exists(f:searchParam))) or (not(exists(f:path)) and exists(f:searchParam))",
            "source": "http://hl7.org/fhir/StructureDefinition/DataRequirement|4.3.0"
          },
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input.codeFilter.id",
        "path": "PlanDefinition.action.input.codeFilter.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.input.codeFilter.extension",
        "path": "PlanDefinition.action.input.codeFilter.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.input.codeFilter.path",
        "path": "PlanDefinition.action.input.codeFilter.path",
        "short": "A code-valued attribute to filter on",
        "definition": "The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](http://hl7.org/fhir/R4B/fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.",
        "comment": "The path attribute contains a [Simple FHIRPath Subset](http://hl7.org/fhir/R4B/fhirpath.html#simple) that allows path traversal, but not calculation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.codeFilter.path",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input.codeFilter.searchParam",
        "path": "PlanDefinition.action.input.codeFilter.searchParam",
        "short": "A coded (token) parameter to search on",
        "definition": "A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.codeFilter.searchParam",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input.codeFilter.valueSet",
        "path": "PlanDefinition.action.input.codeFilter.valueSet",
        "short": "Valueset for the filter",
        "definition": "The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.codeFilter.valueSet",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "canonical",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/ValueSet|4.3.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input.codeFilter.code",
        "path": "PlanDefinition.action.input.codeFilter.code",
        "short": "What code is expected",
        "definition": "The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.codeFilter.code",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input.dateFilter",
        "path": "PlanDefinition.action.input.dateFilter",
        "short": "What dates/date ranges are expected",
        "definition": "Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.dateFilter",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "drq-2",
            "severity": "error",
            "human": "Either a path or a searchParam must be provided, but not both",
            "expression": "path.exists() xor searchParam.exists()",
            "xpath": "(exists(f:path) and not(exists(f:searchParam))) or (not(exists(f:path)) and exists(f:searchParam))",
            "source": "http://hl7.org/fhir/StructureDefinition/DataRequirement|4.3.0"
          },
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input.dateFilter.id",
        "path": "PlanDefinition.action.input.dateFilter.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.input.dateFilter.extension",
        "path": "PlanDefinition.action.input.dateFilter.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.input.dateFilter.path",
        "path": "PlanDefinition.action.input.dateFilter.path",
        "short": "A date-valued attribute to filter on",
        "definition": "The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](http://hl7.org/fhir/R4B/fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.",
        "comment": "The path attribute contains a [Simple FHIR Subset](http://hl7.org/fhir/R4B/fhirpath.html#simple) that allows path traversal, but not calculation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.dateFilter.path",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input.dateFilter.searchParam",
        "path": "PlanDefinition.action.input.dateFilter.searchParam",
        "short": "A date valued parameter to search on",
        "definition": "A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.dateFilter.searchParam",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input.dateFilter.value[x]",
        "path": "PlanDefinition.action.input.dateFilter.value[x]",
        "short": "The value of the filter, as a Period, DateTime, or Duration value",
        "definition": "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.dateFilter.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          },
          {
            "code": "Duration"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input.limit",
        "path": "PlanDefinition.action.input.limit",
        "short": "Number of results",
        "definition": "Specifies a maximum number of results that are required (uses the _count search parameter).",
        "comment": "This element can be used in combination with the sort element to specify quota requirements such as \"the most recent 5\" or \"the highest 5\".",
        "requirements": "Enables the requirement \"most recent 5 results\" to be expressed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.limit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "positiveInt"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input.sort",
        "path": "PlanDefinition.action.input.sort",
        "short": "Order of the results",
        "definition": "Specifies the order of the results to be returned.",
        "comment": "This element can be used in combination with the sort element to specify quota requirements such as \"the most recent 5\" or \"the highest 5\". When multiple sorts are specified, they are applied in the order they appear in the resource.",
        "requirements": "Enables the requirement \"most recent 5 results\" to be expressed.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.sort",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input.sort.id",
        "path": "PlanDefinition.action.input.sort.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.input.sort.extension",
        "path": "PlanDefinition.action.input.sort.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.input.sort.path",
        "path": "PlanDefinition.action.input.sort.path",
        "short": "The name of the attribute to perform the sort",
        "definition": "The attribute of the sort. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DataRequirement.sort.path",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.input.sort.direction",
        "path": "PlanDefinition.action.input.sort.direction",
        "short": "ascending | descending",
        "definition": "The direction of the sort, ascending or descending.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DataRequirement.sort.direction",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "The possible sort directions, ascending or descending."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SortDirection"
            }
          ],
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/sort-direction|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.action.output",
        "path": "PlanDefinition.action.output",
        "short": "Output data definition",
        "definition": "Defines the outputs of the action, if any.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.action.output",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "DataRequirement"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.output.id",
        "path": "PlanDefinition.action.output.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.output.extension",
        "path": "PlanDefinition.action.output.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.output.extension:output",
        "path": "PlanDefinition.action.output.extension",
        "sliceName": "output",
        "short": "STU3: output additional types",
        "definition": "STU3: `PlanDefinition.action.output` additional types (DataRequirement) additional types from child elements (codeFilter, path, valueCode, valueCodeableConcept, valueCoding, valueSet[x], dateFilter, value[x], mustSupport, profile, type)",
        "comment": "Element `PlanDefinition.action.output` is mapped to FHIR R4B element `PlanDefinition.action.output` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.output` do not cover the following types: DataRequirement.\nThe mappings for `PlanDefinition.action.output` do not cover the following types based on type expansion: codeFilter, dateFilter, mustSupport, path, profile, type, value[x], valueCode, valueCodeableConcept, valueCoding, valueSet[x].",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.output|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.output.type",
        "path": "PlanDefinition.action.output.type",
        "short": "The type of the required data",
        "definition": "The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DataRequirement.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "FHIRAllTypes"
            }
          ],
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/all-types|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.action.output.profile",
        "path": "PlanDefinition.action.output.profile",
        "short": "The profile of the required data",
        "definition": "The profile of the required data, specified as the uri of the profile definition.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.profile",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "canonical",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/StructureDefinition|4.3.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.output.subject[x]",
        "path": "PlanDefinition.action.output.subject[x]",
        "short": "E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device",
        "definition": "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.",
        "comment": "The subject of a data requirement is critical, as the data being specified is determined with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what data is available based on its relationship to the subject. In CQL, this corresponds to the context declaration.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.subject[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Group|4.3.0"
            ]
          }
        ],
        "meaningWhenMissing": "Patient",
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "The possible types of subjects for a data requirement (E.g., Patient, Practitioner, Organization, Location, etc.)."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SubjectType"
            }
          ],
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/ValueSet/subject-type|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.action.output.mustSupport",
        "path": "PlanDefinition.action.output.mustSupport",
        "short": "Indicates specific structure elements that are referenced by the knowledge module",
        "definition": "Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. \n\nThe value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](http://hl7.org/fhir/R4B/fhirpath.html#simple) for full details).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.mustSupport",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.output.codeFilter",
        "path": "PlanDefinition.action.output.codeFilter",
        "short": "What codes are expected",
        "definition": "Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.codeFilter",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "drq-1",
            "severity": "error",
            "human": "Either a path or a searchParam must be provided, but not both",
            "expression": "path.exists() xor searchParam.exists()",
            "xpath": "(exists(f:path) and not(exists(f:searchParam))) or (not(exists(f:path)) and exists(f:searchParam))",
            "source": "http://hl7.org/fhir/StructureDefinition/DataRequirement|4.3.0"
          },
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.output.codeFilter.id",
        "path": "PlanDefinition.action.output.codeFilter.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.output.codeFilter.extension",
        "path": "PlanDefinition.action.output.codeFilter.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.output.codeFilter.path",
        "path": "PlanDefinition.action.output.codeFilter.path",
        "short": "A code-valued attribute to filter on",
        "definition": "The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](http://hl7.org/fhir/R4B/fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.",
        "comment": "The path attribute contains a [Simple FHIRPath Subset](http://hl7.org/fhir/R4B/fhirpath.html#simple) that allows path traversal, but not calculation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.codeFilter.path",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.output.codeFilter.searchParam",
        "path": "PlanDefinition.action.output.codeFilter.searchParam",
        "short": "A coded (token) parameter to search on",
        "definition": "A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.codeFilter.searchParam",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.output.codeFilter.valueSet",
        "path": "PlanDefinition.action.output.codeFilter.valueSet",
        "short": "Valueset for the filter",
        "definition": "The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.codeFilter.valueSet",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "canonical",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/ValueSet|4.3.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.output.codeFilter.code",
        "path": "PlanDefinition.action.output.codeFilter.code",
        "short": "What code is expected",
        "definition": "The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.codeFilter.code",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.output.dateFilter",
        "path": "PlanDefinition.action.output.dateFilter",
        "short": "What dates/date ranges are expected",
        "definition": "Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.dateFilter",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "drq-2",
            "severity": "error",
            "human": "Either a path or a searchParam must be provided, but not both",
            "expression": "path.exists() xor searchParam.exists()",
            "xpath": "(exists(f:path) and not(exists(f:searchParam))) or (not(exists(f:path)) and exists(f:searchParam))",
            "source": "http://hl7.org/fhir/StructureDefinition/DataRequirement|4.3.0"
          },
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.output.dateFilter.id",
        "path": "PlanDefinition.action.output.dateFilter.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.output.dateFilter.extension",
        "path": "PlanDefinition.action.output.dateFilter.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.output.dateFilter.path",
        "path": "PlanDefinition.action.output.dateFilter.path",
        "short": "A date-valued attribute to filter on",
        "definition": "The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](http://hl7.org/fhir/R4B/fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.",
        "comment": "The path attribute contains a [Simple FHIR Subset](http://hl7.org/fhir/R4B/fhirpath.html#simple) that allows path traversal, but not calculation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.dateFilter.path",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.output.dateFilter.searchParam",
        "path": "PlanDefinition.action.output.dateFilter.searchParam",
        "short": "A date valued parameter to search on",
        "definition": "A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.dateFilter.searchParam",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.output.dateFilter.value[x]",
        "path": "PlanDefinition.action.output.dateFilter.value[x]",
        "short": "The value of the filter, as a Period, DateTime, or Duration value",
        "definition": "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.dateFilter.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          },
          {
            "code": "Duration"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.output.limit",
        "path": "PlanDefinition.action.output.limit",
        "short": "Number of results",
        "definition": "Specifies a maximum number of results that are required (uses the _count search parameter).",
        "comment": "This element can be used in combination with the sort element to specify quota requirements such as \"the most recent 5\" or \"the highest 5\".",
        "requirements": "Enables the requirement \"most recent 5 results\" to be expressed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.limit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "positiveInt"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.output.sort",
        "path": "PlanDefinition.action.output.sort",
        "short": "Order of the results",
        "definition": "Specifies the order of the results to be returned.",
        "comment": "This element can be used in combination with the sort element to specify quota requirements such as \"the most recent 5\" or \"the highest 5\". When multiple sorts are specified, they are applied in the order they appear in the resource.",
        "requirements": "Enables the requirement \"most recent 5 results\" to be expressed.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.sort",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.output.sort.id",
        "path": "PlanDefinition.action.output.sort.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.output.sort.extension",
        "path": "PlanDefinition.action.output.sort.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.output.sort.path",
        "path": "PlanDefinition.action.output.sort.path",
        "short": "The name of the attribute to perform the sort",
        "definition": "The attribute of the sort. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DataRequirement.sort.path",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.output.sort.direction",
        "path": "PlanDefinition.action.output.sort.direction",
        "short": "ascending | descending",
        "definition": "The direction of the sort, ascending or descending.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DataRequirement.sort.direction",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "The possible sort directions, ascending or descending."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SortDirection"
            }
          ],
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/sort-direction|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.action.relatedAction",
        "path": "PlanDefinition.action.relatedAction",
        "short": "Relationship to another action",
        "definition": "A relationship to another action such as \"before\" or \"30-60 minutes after start of\".",
        "comment": "When an action depends on multiple actions, the meaning is that all actions are dependencies, rather than that any of the actions are a dependency.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.action.relatedAction",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.relatedAction.id",
        "path": "PlanDefinition.action.relatedAction.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.relatedAction.extension",
        "path": "PlanDefinition.action.relatedAction.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.relatedAction.extension:offset",
        "path": "PlanDefinition.action.relatedAction.extension",
        "sliceName": "offset",
        "short": "STU3: offset additional types",
        "definition": "STU3: `PlanDefinition.action.relatedAction.offset[x]` additional types (Range) additional types from child elements (high, low)",
        "comment": "Element `PlanDefinition.action.relatedAction.offset[x]` is mapped to FHIR R4B element `PlanDefinition.action.relatedAction.offset[x]` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.relatedAction.offset[x]` do not cover the following types: Range.\nThe mappings for `PlanDefinition.action.relatedAction.offset[x]` do not cover the following types based on type expansion: high, low.\nThe target context `PlanDefinition.action.relatedAction.offset[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `PlanDefinition.action.relatedAction`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.relatedAction.offset|0.1.0"
            ]
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.relatedAction.modifierExtension",
        "path": "PlanDefinition.action.relatedAction.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](http://hl7.org/fhir/R4B/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "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": "PlanDefinition.action.relatedAction.actionId",
        "path": "PlanDefinition.action.relatedAction.actionId",
        "short": "What action is this related to",
        "definition": "The element id of the related action.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.relatedAction.actionId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.relatedAction.relationship",
        "path": "PlanDefinition.action.relatedAction.relationship",
        "short": "before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end",
        "definition": "The relationship of this action to the related action.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.relatedAction.relationship",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ActionRelationshipType"
            }
          ],
          "strength": "required",
          "description": "Defines the types of relationships between actions.",
          "valueSet": "http://hl7.org/fhir/ValueSet/action-relationship-type|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.relatedAction.offset[x]",
        "path": "PlanDefinition.action.relatedAction.offset[x]",
        "short": "Time offset for the relationship",
        "definition": "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.relatedAction.offset[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          },
          {
            "code": "Range"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.timing[x]",
        "path": "PlanDefinition.action.timing[x]",
        "short": "When the action should take place",
        "definition": "An optional value describing when the action should be performed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.timing[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Age"
          },
          {
            "code": "Period"
          },
          {
            "code": "Duration"
          },
          {
            "code": "Range"
          },
          {
            "code": "Timing"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": ".effectiveTime"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.participant",
        "path": "PlanDefinition.action.participant",
        "short": "Who should participate in the action",
        "definition": "Indicates who should participate in performing the action described.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.action.participant",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=PFM]"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.participant.id",
        "path": "PlanDefinition.action.participant.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.participant.extension",
        "path": "PlanDefinition.action.participant.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"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.participant.modifierExtension",
        "path": "PlanDefinition.action.participant.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](http://hl7.org/fhir/R4B/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "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": "PlanDefinition.action.participant.type",
        "path": "PlanDefinition.action.participant.type",
        "short": "patient | practitioner | related-person | device",
        "definition": "The type of participant in the action.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.participant.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ActionParticipantType"
            }
          ],
          "strength": "required",
          "description": "The type of participant for the action.",
          "valueSet": "http://hl7.org/fhir/ValueSet/action-participant-type|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".role.classCode"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.participant.role",
        "path": "PlanDefinition.action.participant.role",
        "short": "E.g. Nurse, Surgeon, Parent",
        "definition": "The role the participant should play in performing the described action.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.participant.role",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ActionParticipantRole"
            }
          ],
          "strength": "example",
          "description": "Defines roles played by participants for the action.",
          "valueSet": "http://terminology.hl7.org/ValueSet/action-participant-role|2.0.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".role.code"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.type",
        "path": "PlanDefinition.action.type",
        "short": "create | update | remove | fire-event",
        "definition": "The type of action to perform (create, update, remove).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ActionType"
            }
          ],
          "strength": "extensible",
          "description": "The type of action to be performed.",
          "valueSet": "http://hl7.org/fhir/ValueSet/action-type|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".moodCode { Maybe? this is effectively Create, Update, or Delete }"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.type.id",
        "path": "PlanDefinition.action.type.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.type.extension",
        "path": "PlanDefinition.action.type.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.type.extension:type",
        "path": "PlanDefinition.action.type.extension",
        "sliceName": "type",
        "short": "STU3: type",
        "definition": "STU3: `PlanDefinition.action.type`",
        "comment": "Element `PlanDefinition.action.type` is mapped to FHIR R4B element `PlanDefinition.action.type` as `SourceIsNarrowerThanTarget`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.type|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.type.coding",
        "path": "PlanDefinition.action.type.coding",
        "short": "Code defined by a terminology system",
        "definition": "A reference to a code defined by a terminology system.",
        "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
        "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "CodeableConcept.coding",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.1-8, C*E.10-22"
          },
          {
            "identity": "rim",
            "map": "union(., ./translation)"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "PlanDefinition.action.type.text",
        "short": "Plain text representation of the concept",
        "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
        "comment": "Very often the text is the same as a displayName of one of the codings.",
        "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CodeableConcept.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity": "rim",
            "map": "./originalText[mediaType/code=\"text/plain\"]/data"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.groupingBehavior",
        "path": "PlanDefinition.action.groupingBehavior",
        "short": "visual-group | logical-group | sentence-group",
        "definition": "Defines the grouping behavior for the action and its children.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.groupingBehavior",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ActionGroupingBehavior"
            }
          ],
          "strength": "required",
          "description": "Defines organization behavior of a group.",
          "valueSet": "http://hl7.org/fhir/ValueSet/action-grouping-behavior|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.selectionBehavior",
        "path": "PlanDefinition.action.selectionBehavior",
        "short": "any | all | all-or-none | exactly-one | at-most-one | one-or-more",
        "definition": "Defines the selection behavior for the action and its children.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.selectionBehavior",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ActionSelectionBehavior"
            }
          ],
          "strength": "required",
          "description": "Defines selection behavior of a group.",
          "valueSet": "http://hl7.org/fhir/ValueSet/action-selection-behavior|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.requiredBehavior",
        "path": "PlanDefinition.action.requiredBehavior",
        "short": "must | could | must-unless-documented",
        "definition": "Defines the required behavior for the action.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.requiredBehavior",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ActionRequiredBehavior"
            }
          ],
          "strength": "required",
          "description": "Defines expectations around whether an action or action group is required.",
          "valueSet": "http://hl7.org/fhir/ValueSet/action-required-behavior|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.precheckBehavior",
        "path": "PlanDefinition.action.precheckBehavior",
        "short": "yes | no",
        "definition": "Defines whether the action should usually be preselected.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.precheckBehavior",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ActionPrecheckBehavior"
            }
          ],
          "strength": "required",
          "description": "Defines selection frequency behavior for an action or group.",
          "valueSet": "http://hl7.org/fhir/ValueSet/action-precheck-behavior|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.cardinalityBehavior",
        "path": "PlanDefinition.action.cardinalityBehavior",
        "short": "single | multiple",
        "definition": "Defines whether the action can be selected multiple times.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.cardinalityBehavior",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ActionCardinalityBehavior"
            }
          ],
          "strength": "required",
          "description": "Defines behavior for an action or a group for how many times that item may be repeated.",
          "valueSet": "http://hl7.org/fhir/ValueSet/action-cardinality-behavior|4.3.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.definition[x]",
        "path": "PlanDefinition.action.definition[x]",
        "short": "Description of the activity to be performed",
        "definition": "A reference to an ActivityDefinition that describes the action to be taken in detail, or a PlanDefinition that describes a series of actions to be taken.",
        "comment": "Note that the definition is optional, and if no definition is specified, a dynamicValue with a root ($this) path can be used to define the entire resource dynamically.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.definition[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "canonical",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/ActivityDefinition|4.3.0",
              "http://hl7.org/fhir/StructureDefinition/PlanDefinition|4.3.0",
              "http://hl7.org/fhir/StructureDefinition/Questionnaire|4.3.0"
            ]
          },
          {
            "code": "uri"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Definition.derivedFrom"
          },
          {
            "identity": "rim",
            "map": "Act[classCode=ACT; moodCode=DEFN]"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.transform",
        "path": "PlanDefinition.action.transform",
        "short": "Transform to apply the template",
        "definition": "A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input.",
        "comment": "Note that when a referenced ActivityDefinition also defines a transform, the transform specified here generally takes precedence. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.transform",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "canonical",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/StructureMap|4.3.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.transform.id",
        "path": "PlanDefinition.action.transform.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.transform.extension",
        "path": "PlanDefinition.action.transform.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.transform.extension:transform",
        "path": "PlanDefinition.action.transform.extension",
        "sliceName": "transform",
        "short": "STU3: transform additional types",
        "definition": "STU3: `PlanDefinition.action.transform` additional types (Reference(http://hl7.org/fhir/StructureDefinition/StructureMap)) additional types from child elements (display, identifier, reference)",
        "comment": "Element `PlanDefinition.action.transform` is mapped to FHIR R4B element `PlanDefinition.action.transform` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.transform` do not cover the following types: Reference.\nThe mappings for `PlanDefinition.action.transform` do not cover the following types based on type expansion: display, identifier, reference.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.transform|0.1.0"
            ]
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.transform.value",
        "path": "PlanDefinition.action.transform.value",
        "representation": [
          "xmlAttr"
        ],
        "short": "Primitive value for canonical",
        "definition": "Primitive value for canonical",
        "min": 0,
        "max": "1",
        "base": {
          "path": "uri.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "canonical"
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/regex",
                "valueString": "\\S*"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.dynamicValue",
        "path": "PlanDefinition.action.dynamicValue",
        "short": "Dynamic aspects of the definition",
        "definition": "Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result.",
        "comment": "Dynamic values are applied in the order in which they are defined in the PlanDefinition resource. Note that when dynamic values are also specified by a referenced ActivityDefinition, the dynamicValues from the ActivityDefinition are applied first, followed by the dynamicValues specified here. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.action.dynamicValue",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression": "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath": "@value|f:*|h:div|self::f:Parameters",
            "source": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.dynamicValue.id",
        "path": "PlanDefinition.action.dynamicValue.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.dynamicValue.extension",
        "path": "PlanDefinition.action.dynamicValue.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"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.dynamicValue.modifierExtension",
        "path": "PlanDefinition.action.dynamicValue.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](http://hl7.org/fhir/R4B/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "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": "PlanDefinition.action.dynamicValue.path",
        "path": "PlanDefinition.action.dynamicValue.path",
        "short": "The path to the element to be set dynamically",
        "definition": "The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolveable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](http://hl7.org/fhir/R4B/fhirpath.html#simple) for full details).",
        "comment": "To specify the path to the current action being realized, the %action environment variable is available in this path. For example, to specify the description element of the target action, the path would be %action.description. The path attribute contains a [Simple FHIRPath Subset](http://hl7.org/fhir/R4B/fhirpath.html#simple) that allows path traversal, but not calculation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.dynamicValue.path",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression",
        "path": "PlanDefinition.action.dynamicValue.expression",
        "short": "An expression that provides the dynamic value for the customization",
        "definition": "An expression specifying the value of the customized element.",
        "comment": "The expression may be inlined or may be a reference to a named expression within a logic library referenced by the library element.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "PlanDefinition.action.dynamicValue.expression",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Expression"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression.id",
        "path": "PlanDefinition.action.dynamicValue.expression.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": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression.extension",
        "path": "PlanDefinition.action.dynamicValue.expression.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression.extension:description",
        "path": "PlanDefinition.action.dynamicValue.expression.extension",
        "sliceName": "description",
        "short": "STU3: Natural language description of the dynamic value additional types",
        "definition": "STU3: `PlanDefinition.action.dynamicValue.description` additional types (string) additional types from child elements (value)",
        "comment": "Element `PlanDefinition.action.dynamicValue.description` is mapped to FHIR R4B element `PlanDefinition.action.dynamicValue.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.dynamicValue.description` do not cover the following types: string.\nThe mappings for `PlanDefinition.action.dynamicValue.description` do not cover the following types based on type expansion: value.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.dynamicValue.description|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression.extension:language",
        "path": "PlanDefinition.action.dynamicValue.expression.extension",
        "sliceName": "language",
        "short": "STU3: Language of the expression additional types",
        "definition": "STU3: `PlanDefinition.action.dynamicValue.language` additional types (string) additional types from child elements (value)",
        "comment": "Element `PlanDefinition.action.dynamicValue.language` is mapped to FHIR R4B element `PlanDefinition.action.dynamicValue.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.dynamicValue.language` do not cover the following types: string.\nThe mappings for `PlanDefinition.action.dynamicValue.language` do not cover the following types based on type expansion: value.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.dynamicValue.language|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression.extension:expression",
        "path": "PlanDefinition.action.dynamicValue.expression.extension",
        "sliceName": "expression",
        "short": "STU3: expression additional types",
        "definition": "STU3: `PlanDefinition.action.dynamicValue.expression` additional types (string) additional types from child elements (value)",
        "comment": "Element `PlanDefinition.action.dynamicValue.expression` is mapped to FHIR R4B element `PlanDefinition.action.dynamicValue.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.dynamicValue.expression` do not cover the following types: string.\nThe mappings for `PlanDefinition.action.dynamicValue.expression` do not cover the following types based on type expansion: value.\nThe expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.dynamicValue.expression|0.1.0"
            ]
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression.description",
        "path": "PlanDefinition.action.dynamicValue.expression.description",
        "short": "Natural language description of the condition",
        "definition": "A brief, natural language description of the condition that effectively communicates the intended semantics.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Expression.description",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression.name",
        "path": "PlanDefinition.action.dynamicValue.expression.name",
        "short": "Short name assigned to expression for reuse",
        "definition": "A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Expression.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression.language",
        "path": "PlanDefinition.action.dynamicValue.expression.language",
        "short": "text/cql | text/fhirpath | application/x-fhir-query | text/cql-identifier | text/cql-expression | etc.",
        "definition": "The media type of the language for the expression.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Expression.language",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
              "valueString": "The media type of the expression language."
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical": "http://hl7.org/fhir/ValueSet/mimetypes|4.3.0"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ExpressionLanguage"
            }
          ],
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/ValueSet/expression-language|4.3.0"
        }
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression.expression",
        "path": "PlanDefinition.action.dynamicValue.expression.expression",
        "short": "Expression in specified language",
        "definition": "An expression in the specified language that returns a value.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Expression.expression",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression.reference",
        "path": "PlanDefinition.action.dynamicValue.expression.reference",
        "short": "Where the expression is found",
        "definition": "A URI that defines where the expression is found.",
        "comment": "If both a reference and an expression is found, the reference SHALL point to the same expression.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Expression.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "PlanDefinition.action.action",
        "path": "PlanDefinition.action.action",
        "short": "A sub-action",
        "definition": "Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "PlanDefinition.action.action",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/PlanDefinition#PlanDefinition.action",
        "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": "http://hl7.org/fhir/StructureDefinition/Element|4.3.0"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "workflow",
            "map": "{InverseRelationship of Definition.partOf}"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "PlanDefinition",
        "path": "PlanDefinition"
      },
      {
        "id": "PlanDefinition.meta.extension",
        "path": "PlanDefinition.meta.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.meta.extension:meta",
        "path": "PlanDefinition.meta.extension",
        "sliceName": "meta",
        "short": "STU3: meta additional types",
        "definition": "STU3: `PlanDefinition.meta` additional types (Meta) additional types from child elements (lastUpdated, profile, security, tag, versionId)",
        "comment": "Element `PlanDefinition.meta` is mapped to FHIR R4B element `PlanDefinition.meta` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.meta` do not cover the following types: Meta.\nThe mappings for `PlanDefinition.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.meta|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.text.extension",
        "path": "PlanDefinition.text.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.text.extension:text",
        "path": "PlanDefinition.text.extension",
        "sliceName": "text",
        "short": "STU3: text additional types",
        "definition": "STU3: `PlanDefinition.text` additional types (Narrative) additional types from child elements (div, status)",
        "comment": "Element `PlanDefinition.text` is mapped to FHIR R4B element `PlanDefinition.text` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.text` do not cover the following types: Narrative.\nThe mappings for `PlanDefinition.text` do not cover the following types based on type expansion: div, status.\nContained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.text|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.extension",
        "path": "PlanDefinition.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.extension:contributor",
        "path": "PlanDefinition.extension",
        "sliceName": "contributor",
        "short": "STU3: A content contributor (new)",
        "definition": "STU3: `PlanDefinition.contributor` (new:Contributor)",
        "comment": "Element `PlanDefinition.contributor` has a context of PlanDefinition based on following the parent source element upwards and mapping to `PlanDefinition`.\nElement `PlanDefinition.contributor` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.contributor|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.identifier.extension",
        "path": "PlanDefinition.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.identifier.extension:identifier",
        "path": "PlanDefinition.identifier.extension",
        "sliceName": "identifier",
        "short": "STU3: identifier additional types",
        "definition": "STU3: `PlanDefinition.identifier` additional types (Identifier) additional types from child elements (assigner, period, system, type, use, value)",
        "comment": "Element `PlanDefinition.identifier` is mapped to FHIR R4B element `PlanDefinition.identifier` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.identifier` do not cover the following types: Identifier.\nThe mappings for `PlanDefinition.identifier` do not cover the following types based on type expansion: assigner, period, system, type, use, value.\nTypically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, e.g., to identify this plan definition outside of FHIR, where it is not possible to use the logical URI.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.identifier|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.contact.extension",
        "path": "PlanDefinition.contact.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.contact.extension:contact",
        "path": "PlanDefinition.contact.extension",
        "sliceName": "contact",
        "short": "STU3: contact additional types",
        "definition": "STU3: `PlanDefinition.contact` additional types (ContactDetail) additional types from child elements (name, telecom)",
        "comment": "Element `PlanDefinition.contact` is mapped to FHIR R4B element `PlanDefinition.contact` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.contact` do not cover the following types: ContactDetail.\nThe mappings for `PlanDefinition.contact` do not cover the following types based on type expansion: name, telecom.\nMay be a web site, an email address, a telephone number, etc.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.contact|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.useContext.extension",
        "path": "PlanDefinition.useContext.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.useContext.extension:useContext",
        "path": "PlanDefinition.useContext.extension",
        "sliceName": "useContext",
        "short": "STU3: Context the content is intended to support additional types",
        "definition": "STU3: `PlanDefinition.useContext` additional types (UsageContext) additional types from child elements (code, value[x])",
        "comment": "Element `PlanDefinition.useContext` is mapped to FHIR R4B element `PlanDefinition.useContext` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.useContext` do not cover the following types: UsageContext.\nThe mappings for `PlanDefinition.useContext` do not cover the following types based on type expansion: code, value[x].\nWhen multiple useContexts are specified, there is no expectation whether all or any of the contexts apply.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.useContext|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.effectivePeriod.extension",
        "path": "PlanDefinition.effectivePeriod.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.effectivePeriod.extension:effectivePeriod",
        "path": "PlanDefinition.effectivePeriod.extension",
        "sliceName": "effectivePeriod",
        "short": "STU3: effectivePeriod additional types",
        "definition": "STU3: `PlanDefinition.effectivePeriod` additional types (Period) additional types from child elements (end, start)",
        "comment": "Element `PlanDefinition.effectivePeriod` is mapped to FHIR R4B element `PlanDefinition.effectivePeriod` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.effectivePeriod` do not cover the following types: Period.\nThe mappings for `PlanDefinition.effectivePeriod` do not cover the following types based on type expansion: end, start.\nThe effective period for a plan definition  determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.effectivePeriod|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.relatedArtifact.extension",
        "path": "PlanDefinition.relatedArtifact.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.relatedArtifact.extension:relatedArtifact",
        "path": "PlanDefinition.relatedArtifact.extension",
        "sliceName": "relatedArtifact",
        "short": "STU3: Related artifacts for the asset additional types",
        "definition": "STU3: `PlanDefinition.relatedArtifact` additional types (RelatedArtifact) additional types from child elements (citation, display, document, resource, type, url)",
        "comment": "Element `PlanDefinition.relatedArtifact` is mapped to FHIR R4B element `PlanDefinition.relatedArtifact` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.relatedArtifact` do not cover the following types: RelatedArtifact.\nThe mappings for `PlanDefinition.relatedArtifact` do not cover the following types based on type expansion: citation, display, document, resource, type, url.\nEach related artifact is either an attachment, or a reference to another resource, but not both.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.relatedArtifact|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.library.extension",
        "path": "PlanDefinition.library.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.library.extension:library",
        "path": "PlanDefinition.library.extension",
        "sliceName": "library",
        "short": "STU3: library additional types",
        "definition": "STU3: `PlanDefinition.library` additional types (Reference(http://hl7.org/fhir/StructureDefinition/Library)) additional types from child elements (display, identifier, reference)",
        "comment": "Element `PlanDefinition.library` is mapped to FHIR R4B element `PlanDefinition.library` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.library` do not cover the following types: Reference.\nThe mappings for `PlanDefinition.library` do not cover the following types based on type expansion: display, identifier, reference.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.library|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.documentation.extension",
        "path": "PlanDefinition.goal.documentation.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.goal.documentation.extension:documentation",
        "path": "PlanDefinition.goal.documentation.extension",
        "sliceName": "documentation",
        "short": "STU3: documentation additional types",
        "definition": "STU3: `PlanDefinition.goal.documentation` additional types (RelatedArtifact) additional types from child elements (citation, display, document, resource, type, url)",
        "comment": "Element `PlanDefinition.goal.documentation` is mapped to FHIR R4B element `PlanDefinition.goal.documentation` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.goal.documentation` do not cover the following types: RelatedArtifact.\nThe mappings for `PlanDefinition.goal.documentation` do not cover the following types based on type expansion: citation, display, document, resource, type, url.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.goal.documentation|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.goal.target.extension",
        "path": "PlanDefinition.goal.target.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.goal.target.extension:detail",
        "path": "PlanDefinition.goal.target.extension",
        "sliceName": "detail",
        "short": "STU3: detail additional types",
        "definition": "STU3: `PlanDefinition.goal.target.detail[x]` additional types (Range)",
        "comment": "Element `PlanDefinition.goal.target.detail[x]` is mapped to FHIR R4B element `PlanDefinition.goal.target.detail[x]` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.goal.target.detail[x]` do not cover the following types: Range.\nThe target context `PlanDefinition.goal.target.detail[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `PlanDefinition.goal.target`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.goal.target.detail|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.extension",
        "path": "PlanDefinition.action.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.action.extension:timing",
        "path": "PlanDefinition.action.extension",
        "sliceName": "timing",
        "short": "STU3: timing additional types",
        "definition": "STU3: `PlanDefinition.action.timing[x]` additional types (Period, Range, Timing)",
        "comment": "Element `PlanDefinition.action.timing[x]` is mapped to FHIR R4B element `PlanDefinition.action.timing[x]` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.timing[x]` do not cover the following types: Period, Range, Timing.\nThe target context `PlanDefinition.action.timing[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `PlanDefinition.action`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.timing|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.extension:definition",
        "path": "PlanDefinition.action.extension",
        "sliceName": "definition",
        "short": "STU3: definition additional types",
        "definition": "STU3: `PlanDefinition.action.definition` additional types (Reference(http://hl7.org/fhir/StructureDefinition/ActivityDefinition), Reference(http://hl7.org/fhir/StructureDefinition/PlanDefinition)) additional types from child elements (display, identifier, reference)",
        "comment": "Element `PlanDefinition.action.definition` is mapped to FHIR R4B element `PlanDefinition.action.definition[x]` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.definition` do not cover the following types: Reference.\nThe mappings for `PlanDefinition.action.definition` do not cover the following types based on type expansion: display, identifier, reference.\nThe target context `PlanDefinition.action.definition[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `PlanDefinition.action`.\nNote that the definition is optional, and if no definition is specified, a dynamicValue with a root (~) path can be used to define the entire resource dynamically.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.definition|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.documentation.extension",
        "path": "PlanDefinition.action.documentation.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.action.documentation.extension:documentation",
        "path": "PlanDefinition.action.documentation.extension",
        "sliceName": "documentation",
        "short": "STU3: documentation additional types",
        "definition": "STU3: `PlanDefinition.action.documentation` additional types (RelatedArtifact) additional types from child elements (citation, display, document, resource, type, url)",
        "comment": "Element `PlanDefinition.action.documentation` is mapped to FHIR R4B element `PlanDefinition.action.documentation` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.documentation` do not cover the following types: RelatedArtifact.\nThe mappings for `PlanDefinition.action.documentation` do not cover the following types based on type expansion: citation, display, document, resource, type, url.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.documentation|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.trigger.extension",
        "path": "PlanDefinition.action.trigger.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.action.trigger.extension:triggerDefinition",
        "path": "PlanDefinition.action.trigger.extension",
        "sliceName": "triggerDefinition",
        "short": "STU3: triggerDefinition additional types",
        "definition": "STU3: `PlanDefinition.action.triggerDefinition` additional types (TriggerDefinition) additional types from child elements (eventData, eventName, eventTiming[x], type)",
        "comment": "Element `PlanDefinition.action.triggerDefinition` is mapped to FHIR R4B element `PlanDefinition.action.trigger` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.triggerDefinition` do not cover the following types: TriggerDefinition.\nThe mappings for `PlanDefinition.action.triggerDefinition` do not cover the following types based on type expansion: eventData, eventName, eventTiming[x], type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.triggerDefinition|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.condition.expression.extension",
        "path": "PlanDefinition.action.condition.expression.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.action.condition.expression.extension:description",
        "path": "PlanDefinition.action.condition.expression.extension",
        "sliceName": "description",
        "short": "STU3: Natural language description of the condition additional types",
        "definition": "STU3: `PlanDefinition.action.condition.description` additional types (string) additional types from child elements (value)",
        "comment": "Element `PlanDefinition.action.condition.description` is mapped to FHIR R4B element `PlanDefinition.action.condition.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.condition.description` do not cover the following types: string.\nThe mappings for `PlanDefinition.action.condition.description` do not cover the following types based on type expansion: value.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.condition.description|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.condition.expression.extension:language",
        "path": "PlanDefinition.action.condition.expression.extension",
        "sliceName": "language",
        "short": "STU3: Language of the expression additional types",
        "definition": "STU3: `PlanDefinition.action.condition.language` additional types (string) additional types from child elements (value)",
        "comment": "Element `PlanDefinition.action.condition.language` is mapped to FHIR R4B element `PlanDefinition.action.condition.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.condition.language` do not cover the following types: string.\nThe mappings for `PlanDefinition.action.condition.language` do not cover the following types based on type expansion: value.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.condition.language|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.condition.expression.extension:expression",
        "path": "PlanDefinition.action.condition.expression.extension",
        "sliceName": "expression",
        "short": "STU3: expression additional types",
        "definition": "STU3: `PlanDefinition.action.condition.expression` additional types (string) additional types from child elements (value)",
        "comment": "Element `PlanDefinition.action.condition.expression` is mapped to FHIR R4B element `PlanDefinition.action.condition.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.condition.expression` do not cover the following types: string.\nThe mappings for `PlanDefinition.action.condition.expression` do not cover the following types based on type expansion: value.\nThe expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.condition.expression|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.input.extension",
        "path": "PlanDefinition.action.input.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.action.input.extension:input",
        "path": "PlanDefinition.action.input.extension",
        "sliceName": "input",
        "short": "STU3: input additional types",
        "definition": "STU3: `PlanDefinition.action.input` additional types (DataRequirement) additional types from child elements (codeFilter, path, valueCode, valueCodeableConcept, valueCoding, valueSet[x], dateFilter, value[x], mustSupport, profile, type)",
        "comment": "Element `PlanDefinition.action.input` is mapped to FHIR R4B element `PlanDefinition.action.input` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.input` do not cover the following types: DataRequirement.\nThe mappings for `PlanDefinition.action.input` do not cover the following types based on type expansion: codeFilter, dateFilter, mustSupport, path, profile, type, value[x], valueCode, valueCodeableConcept, valueCoding, valueSet[x].",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.input|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.output.extension",
        "path": "PlanDefinition.action.output.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.action.output.extension:output",
        "path": "PlanDefinition.action.output.extension",
        "sliceName": "output",
        "short": "STU3: output additional types",
        "definition": "STU3: `PlanDefinition.action.output` additional types (DataRequirement) additional types from child elements (codeFilter, path, valueCode, valueCodeableConcept, valueCoding, valueSet[x], dateFilter, value[x], mustSupport, profile, type)",
        "comment": "Element `PlanDefinition.action.output` is mapped to FHIR R4B element `PlanDefinition.action.output` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.output` do not cover the following types: DataRequirement.\nThe mappings for `PlanDefinition.action.output` do not cover the following types based on type expansion: codeFilter, dateFilter, mustSupport, path, profile, type, value[x], valueCode, valueCodeableConcept, valueCoding, valueSet[x].",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.output|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.relatedAction.extension",
        "path": "PlanDefinition.action.relatedAction.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.action.relatedAction.extension:offset",
        "path": "PlanDefinition.action.relatedAction.extension",
        "sliceName": "offset",
        "short": "STU3: offset additional types",
        "definition": "STU3: `PlanDefinition.action.relatedAction.offset[x]` additional types (Range) additional types from child elements (high, low)",
        "comment": "Element `PlanDefinition.action.relatedAction.offset[x]` is mapped to FHIR R4B element `PlanDefinition.action.relatedAction.offset[x]` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.relatedAction.offset[x]` do not cover the following types: Range.\nThe mappings for `PlanDefinition.action.relatedAction.offset[x]` do not cover the following types based on type expansion: high, low.\nThe target context `PlanDefinition.action.relatedAction.offset[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `PlanDefinition.action.relatedAction`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.relatedAction.offset|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.type.extension",
        "path": "PlanDefinition.action.type.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.action.type.extension:type",
        "path": "PlanDefinition.action.type.extension",
        "sliceName": "type",
        "short": "STU3: type",
        "definition": "STU3: `PlanDefinition.action.type`",
        "comment": "Element `PlanDefinition.action.type` is mapped to FHIR R4B element `PlanDefinition.action.type` as `SourceIsNarrowerThanTarget`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.type|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.transform.extension",
        "path": "PlanDefinition.action.transform.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.action.transform.extension:transform",
        "path": "PlanDefinition.action.transform.extension",
        "sliceName": "transform",
        "short": "STU3: transform additional types",
        "definition": "STU3: `PlanDefinition.action.transform` additional types (Reference(http://hl7.org/fhir/StructureDefinition/StructureMap)) additional types from child elements (display, identifier, reference)",
        "comment": "Element `PlanDefinition.action.transform` is mapped to FHIR R4B element `PlanDefinition.action.transform` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.transform` do not cover the following types: Reference.\nThe mappings for `PlanDefinition.action.transform` do not cover the following types based on type expansion: display, identifier, reference.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.transform|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression.extension",
        "path": "PlanDefinition.action.dynamicValue.expression.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression.extension:description",
        "path": "PlanDefinition.action.dynamicValue.expression.extension",
        "sliceName": "description",
        "short": "STU3: Natural language description of the dynamic value additional types",
        "definition": "STU3: `PlanDefinition.action.dynamicValue.description` additional types (string) additional types from child elements (value)",
        "comment": "Element `PlanDefinition.action.dynamicValue.description` is mapped to FHIR R4B element `PlanDefinition.action.dynamicValue.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.dynamicValue.description` do not cover the following types: string.\nThe mappings for `PlanDefinition.action.dynamicValue.description` do not cover the following types based on type expansion: value.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.dynamicValue.description|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression.extension:language",
        "path": "PlanDefinition.action.dynamicValue.expression.extension",
        "sliceName": "language",
        "short": "STU3: Language of the expression additional types",
        "definition": "STU3: `PlanDefinition.action.dynamicValue.language` additional types (string) additional types from child elements (value)",
        "comment": "Element `PlanDefinition.action.dynamicValue.language` is mapped to FHIR R4B element `PlanDefinition.action.dynamicValue.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.dynamicValue.language` do not cover the following types: string.\nThe mappings for `PlanDefinition.action.dynamicValue.language` do not cover the following types based on type expansion: value.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.dynamicValue.language|0.1.0"
            ]
          }
        ]
      },
      {
        "id": "PlanDefinition.action.dynamicValue.expression.extension:expression",
        "path": "PlanDefinition.action.dynamicValue.expression.extension",
        "sliceName": "expression",
        "short": "STU3: expression additional types",
        "definition": "STU3: `PlanDefinition.action.dynamicValue.expression` additional types (string) additional types from child elements (value)",
        "comment": "Element `PlanDefinition.action.dynamicValue.expression` is mapped to FHIR R4B element `PlanDefinition.action.dynamicValue.expression` as `SourceIsBroaderThanTarget`.\nThe mappings for `PlanDefinition.action.dynamicValue.expression` do not cover the following types: string.\nThe mappings for `PlanDefinition.action.dynamicValue.expression` do not cover the following types based on type expansion: value.\nThe expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/3.0/StructureDefinition/extension-PlanDefinition.action.dynamicValue.expression|0.1.0"
            ]
          }
        ]
      }
    ]
  }
}