PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.core@1.8.0
    http://hl7.org/fhir/StructureDefinition/PlanDefinition
{
  "description": "Base StructureDefinition for PlanDefinition Resource",
  "_filename": "plandefinition.profile.json",
  "package_name": "hl7.fhir.core",
  "date": "2016-12-06T12:22:34+11:00",
  "derivation": "specialization",
  "meta": {
    "lastUpdated": "2016-12-06T12:22:34.981+11:00"
  },
  "publisher": "Health Level Seven International (Clinical Decision Support)",
  "fhirVersion": "1.8.0",
  "name": "PlanDefinition",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/w5",
    "name": "W5 Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/fhir/object-implementation",
    "name": "Object Implementation Information",
    "identity": "objimpl"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  } ],
  "abstract": false,
  "type": "PlanDefinition",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.8.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger": 0
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "cds"
  } ],
  "snapshot": {
    "element": [ {
      "id": "PlanDefinition",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition",
      "short": "The definition of a plan for a series of actions, independent of any specific patient or context",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "clinical.general",
        "identity": "w5"
      } ],
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-1",
        "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
        "xpath": "not(parent::f:contained and f:text)",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.text.empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
        "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()"
      } ],
      "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 artifacts such as clinical decision support rules, order sets and protocols."
    }, {
      "path": "PlanDefinition.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "short": "Logical id of this artifact",
      "comments": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "PlanDefinition.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "path": "PlanDefinition.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "PlanDefinition.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "path": "PlanDefinition.implicitRules",
      "min": 0,
      "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.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "comments": "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 as much as possible.",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "PlanDefinition.implicitRules",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isSummary": true
    }, {
      "path": "PlanDefinition.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "short": "Language of the resource content",
      "comments": "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).",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueReference": {
            "reference": "http://hl7.org/fhir/ValueSet/all-languages"
          }
        } ],
        "description": "A human language.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/languages"
        }
      },
      "max": "1",
      "id": "PlanDefinition.language",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      }
    }, {
      "path": "PlanDefinition.text",
      "min": 0,
      "definition": "A human-readable narrative that contains a summary of the resource, and may 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.",
      "short": "Text summary of the resource, for human interpretation",
      "comments": "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 in formation is added later.",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "PlanDefinition.text",
      "condition": [ "dom-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      }
    }, {
      "path": "PlanDefinition.contained",
      "min": 0,
      "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.",
      "short": "Contained, inline Resources",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Resource"
      } ],
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "PlanDefinition.contained",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      }
    }, {
      "path": "PlanDefinition.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "PlanDefinition.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "path": "PlanDefinition.modifierExtension",
      "min": 0,
      "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. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "PlanDefinition.modifierExtension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      }
    }, {
      "path": "PlanDefinition.url",
      "requirements": "Allows the plan definition to be referenced by a single globally unique identifier.",
      "min": 0,
      "definition": "An absolute URL that is used to identify this plan definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this plan definition is (or will be) published. The URL SHOULD include the major version of the plan definition. For more information see [Technical and Business Versions](resource.html#versions).",
      "short": "Logical uri to reference this plan definition (globally unique)",
      "comments": "Can be a urn:uuid: or a urn:oid:, but real http: addresses are preferred.",
      "mapping": [ {
        "map": "id",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "PlanDefinition.url",
      "isSummary": true
    }, {
      "path": "PlanDefinition.identifier",
      "requirements": "Allows externally provided and/or useable business identifiers to be easily associated with the module.",
      "min": 0,
      "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.",
      "short": "Additional identifier for the plan definition",
      "comments": "Typically, this is used for identifiers that can go in an HL7 v3 II data type - e.g. to identify this plan definition outside of FHIR, where the logical URL is not possible to use.",
      "mapping": [ {
        "map": "no-gen-base",
        "identity": "objimpl"
      }, {
        "map": "id",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "*",
      "id": "PlanDefinition.identifier",
      "isSummary": true
    }, {
      "path": "PlanDefinition.version",
      "min": 0,
      "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 are orderable. 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.",
      "short": "Business version of the plan definition",
      "comments": "There may be multiple different instances of a plan definition that have the same identifier but different versions.",
      "mapping": [ {
        "map": "id.version",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "PlanDefinition.version",
      "isSummary": true
    }, {
      "path": "PlanDefinition.name",
      "requirements": "Support human navigation & code generation.",
      "min": 0,
      "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.",
      "short": "Name for this plan definition (Computer friendly)",
      "comments": "The name is not expected to be globally unique. The name should be a simple alpha-numeric type name to ensure it is computable friendly.",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "PlanDefinition.name",
      "isSummary": true
    }, {
      "id": "PlanDefinition.title",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.title",
      "type": [ {
        "code": "string"
      } ],
      "short": "Name for this plan definition (Human friendly)",
      "isSummary": true,
      "definition": "A short, descriptive, user-friendly title for the plan definition."
    }, {
      "path": "PlanDefinition.type",
      "min": 0,
      "definition": "The type of asset the plan definition represents, e.g. an order set, protocol, or event-condition-action rule.",
      "short": "order-set | protocol | eca-rule",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "description": "The type of PlanDefinition",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/plan-definition-type"
        }
      },
      "max": "1",
      "id": "PlanDefinition.type",
      "isSummary": true
    }, {
      "path": "PlanDefinition.status",
      "min": 1,
      "definition": "The status of this plan definition. Enables tracking the life-cycle of the content.",
      "isModifier": true,
      "short": "draft | active | retired",
      "comments": "Allows filtering of plan definition that are appropriate for use vs. not.",
      "mapping": [ {
        "map": "status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "description": "The lifecycle status of a Value Set or Concept Map.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/publication-status"
        }
      },
      "max": "1",
      "id": "PlanDefinition.status",
      "isSummary": true
    }, {
      "path": "PlanDefinition.experimental",
      "requirements": "Enables experimental content to be developed following the same life-cycle as a production-level plan definition would.",
      "min": 0,
      "definition": "A flag 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.",
      "isModifier": true,
      "short": "If for testing purposes, not real usage",
      "comments": "Allows filtering of plan definition that are appropriate for use vs. not.",
      "mapping": [ {
        "map": "class",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "PlanDefinition.experimental",
      "isSummary": true
    }, {
      "path": "PlanDefinition.date",
      "min": 0,
      "definition": "The date  (and optionally time) when the plan definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the plan definition changes.",
      "short": "Date this was last changed",
      "comments": "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.",
      "mapping": [ {
        "map": "when.recorded",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "PlanDefinition.date",
      "isSummary": true
    }, {
      "id": "PlanDefinition.description",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.description",
      "type": [ {
        "code": "markdown"
      } ],
      "short": "Natural language description of the plan definition",
      "comments": "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 module as conveyed in the text field of the resource itself. This item SHOULD be populated unless the information is available from context.",
      "definition": "A free text natural language description of the plan definition from the consumer's perspective."
    }, {
      "path": "PlanDefinition.purpose",
      "min": 0,
      "definition": "Explains why this plan definition is needed and why it has been designed as it has.",
      "short": "Why this plan definition is defined",
      "comments": "This element does not describe the usage of the plan definition (See, e.g, the comments element, or relatedArtifacts), rather it's for 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.",
      "mapping": [ {
        "map": "no-gen-base",
        "identity": "objimpl"
      }, {
        "map": "why",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "markdown"
      } ],
      "max": "1",
      "id": "PlanDefinition.purpose"
    }, {
      "id": "PlanDefinition.usage",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.usage",
      "type": [ {
        "code": "string"
      } ],
      "short": "Describes the clinical usage of the asset",
      "definition": "A detailed description of how the asset is used from a clinical perspective."
    }, {
      "path": "PlanDefinition.approvalDate",
      "min": 0,
      "definition": "The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.",
      "short": "When plan definition approved by publisher",
      "comments": "The date may be more recent than the approval date because of minor changes / editorial corrections.",
      "mapping": [ {
        "map": "no-gen-base",
        "identity": "objimpl"
      } ],
      "type": [ {
        "code": "date"
      } ],
      "max": "1",
      "id": "PlanDefinition.approvalDate"
    }, {
      "path": "PlanDefinition.lastReviewDate",
      "min": 0,
      "definition": "The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.",
      "short": "Last review date for the plan definition",
      "comments": "If specified, this is usually after the approval date.",
      "mapping": [ {
        "map": "no-gen-base",
        "identity": "objimpl"
      } ],
      "type": [ {
        "code": "date"
      } ],
      "max": "1",
      "id": "PlanDefinition.lastReviewDate"
    }, {
      "path": "PlanDefinition.effectivePeriod",
      "min": 0,
      "definition": "The period during which the plan definition content was or is planned to be effective.",
      "short": "The effective date range for the plan definition",
      "comments": "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 would be published in 2015.",
      "mapping": [ {
        "map": "no-gen-base",
        "identity": "objimpl"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "PlanDefinition.effectivePeriod",
      "isSummary": true
    }, {
      "path": "PlanDefinition.useContext",
      "requirements": "Assist in searching for appropriate content.",
      "min": 0,
      "definition": "The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of code system definitions.",
      "short": "Content intends to support these contexts",
      "comments": "When multiple usageContexts are specified, there is no expectation for whether all or any of the contexts apply.",
      "type": [ {
        "code": "UsageContext"
      } ],
      "max": "*",
      "id": "PlanDefinition.useContext",
      "isSummary": true
    }, {
      "path": "PlanDefinition.jurisdiction",
      "min": 0,
      "definition": "A jurisdiction in which the plan definition is intended to be used.",
      "short": "Intended jurisdiction for plan definition (if applicable)",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "description": "Countries and regions within which this artifact is targeted for use",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/jurisdiction"
        }
      },
      "max": "*",
      "id": "PlanDefinition.jurisdiction",
      "isSummary": true
    }, {
      "id": "PlanDefinition.topic",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.topic",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Descriptional topics for the asset",
      "definition": "Clinical topics related to the content of the asset.",
      "requirements": "Repositories must be able to determine how to categorize the asset so that it can be found by topical searches."
    }, {
      "id": "PlanDefinition.contributor",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.contributor",
      "type": [ {
        "code": "Contributor"
      } ],
      "short": "A content contributor",
      "definition": "A contributor to the content of the asset, including authors, editors, reviewers, and endorsers.",
      "requirements": "Consumers of the content must be able to quickly determine who contributed to the content of the asset."
    }, {
      "path": "PlanDefinition.publisher",
      "requirements": "Helps establish the \"authority/credibility\" of the plan definition.  May also allow for contact.",
      "min": 0,
      "definition": "The name of the individual or organization that published the plan definition.",
      "short": "Name of the publisher (Organization or individual)",
      "comments": "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.",
      "mapping": [ {
        "map": "who.witness",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "PlanDefinition.publisher",
      "isSummary": true
    }, {
      "path": "PlanDefinition.contact",
      "min": 0,
      "definition": "Contact details to assist a user in finding and communicating with the publisher.",
      "short": "Contact details for the publisher",
      "comments": "May be a web site, an email address, a telephone number, etc.",
      "type": [ {
        "code": "ContactDetail"
      } ],
      "max": "*",
      "id": "PlanDefinition.contact",
      "isSummary": true
    }, {
      "path": "PlanDefinition.copyright",
      "requirements": "Consumers of the library must be able to determine any legal restrictions on the use of the plan definition and/or its content.",
      "min": 0,
      "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.",
      "short": "Use and/or publishing restrictions",
      "mapping": [ {
        "map": "no-gen-base",
        "identity": "objimpl"
      } ],
      "type": [ {
        "code": "markdown"
      } ],
      "alias": [ "License", "Restrictions" ],
      "max": "1",
      "id": "PlanDefinition.copyright"
    }, {
      "path": "PlanDefinition.relatedArtifact",
      "requirements": "Assets 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,
      "definition": "Related artifacts such as additional documentation, justification, or bibliographic references.",
      "short": "Related artifacts for the asset",
      "comments": "Each related artifact is either an attachment, or a reference to another resource, but not both.",
      "type": [ {
        "code": "RelatedArtifact"
      } ],
      "max": "*",
      "id": "PlanDefinition.relatedArtifact"
    }, {
      "id": "PlanDefinition.library",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.library",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Library"
      } ],
      "short": "Logic used by the plan definition",
      "definition": "A reference to a Library resource containing any formal logic used by the plan definition."
    }, {
      "id": "PlanDefinition.actionDefinition",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Action defined by the plan",
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "children().count() > id.count()"
      } ],
      "definition": "An action to be taken as part of the plan."
    }, {
      "path": "PlanDefinition.actionDefinition.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "PlanDefinition.actionDefinition.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "PlanDefinition.actionDefinition.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "comments": "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.",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "PlanDefinition.actionDefinition.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "PlanDefinition.actionDefinition.modifierExtension",
      "min": 0,
      "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "PlanDefinition.actionDefinition.modifierExtension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "id": "PlanDefinition.actionDefinition.actionIdentifier",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.actionIdentifier",
      "type": [ {
        "code": "Identifier"
      } ],
      "short": "Unique identifier",
      "definition": "A unique identifier for the action. The identifier SHALL be unique within the container in which it appears, and MAY be universally unique."
    }, {
      "id": "PlanDefinition.actionDefinition.label",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.label",
      "type": [ {
        "code": "string"
      } ],
      "short": "User-visible label for the action (e.g. 1. or A.)",
      "definition": "A user-visible label for the action."
    }, {
      "id": "PlanDefinition.actionDefinition.title",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.title",
      "type": [ {
        "code": "string"
      } ],
      "short": "User-visible title",
      "definition": "The title of the action displayed to a user."
    }, {
      "id": "PlanDefinition.actionDefinition.description",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.description",
      "type": [ {
        "code": "string"
      } ],
      "short": "Short description of the action",
      "definition": "A short description of the action used to provide a summary to display to the user."
    }, {
      "id": "PlanDefinition.actionDefinition.textEquivalent",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.textEquivalent",
      "type": [ {
        "code": "string"
      } ],
      "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 may not be capable of interpreting it dynamically."
    }, {
      "id": "PlanDefinition.actionDefinition.code",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.code",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "The meaning of the action or its sub-actions",
      "definition": "The concept represented by this action or its sub-actions."
    }, {
      "id": "PlanDefinition.actionDefinition.documentation",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.documentation",
      "type": [ {
        "code": "RelatedArtifact"
      } ],
      "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."
    }, {
      "id": "PlanDefinition.actionDefinition.triggerDefinition",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.triggerDefinition",
      "type": [ {
        "code": "TriggerDefinition"
      } ],
      "short": "When the action should be triggered",
      "definition": "A description of when the action should be triggered."
    }, {
      "id": "PlanDefinition.actionDefinition.condition",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.condition",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Whether or not the action is applicable",
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "children().count() > id.count()"
      } ],
      "definition": "An expression that describes applicability criteria, or start/stop conditions for the action."
    }, {
      "path": "PlanDefinition.actionDefinition.condition.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "PlanDefinition.actionDefinition.condition.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "PlanDefinition.actionDefinition.condition.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "comments": "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.",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "PlanDefinition.actionDefinition.condition.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "PlanDefinition.actionDefinition.condition.modifierExtension",
      "min": 0,
      "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "PlanDefinition.actionDefinition.condition.modifierExtension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "PlanDefinition.actionDefinition.condition.kind",
      "min": 1,
      "definition": "The kind of condition.",
      "short": "applicability | start | stop",
      "comments": "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 when enter/exit criteria for an action.",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "description": "Defines the kinds of conditions that can appear on actions",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-condition-kind"
        }
      },
      "max": "1",
      "id": "PlanDefinition.actionDefinition.condition.kind"
    }, {
      "id": "PlanDefinition.actionDefinition.condition.description",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.condition.description",
      "type": [ {
        "code": "string"
      } ],
      "short": "Natural language description of the condition",
      "definition": "A brief, natural language description of the condition that effectively communicates the intended semantics."
    }, {
      "id": "PlanDefinition.actionDefinition.condition.language",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.condition.language",
      "type": [ {
        "code": "string"
      } ],
      "short": "Language of the expression",
      "definition": "The media type of the language for the expression."
    }, {
      "id": "PlanDefinition.actionDefinition.condition.expression",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.condition.expression",
      "type": [ {
        "code": "string"
      } ],
      "short": "Boolean-valued expression",
      "comments": "The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.",
      "definition": "An expression that returns true or false, indicating whether or not the condition is satisfied."
    }, {
      "id": "PlanDefinition.actionDefinition.input",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.input",
      "type": [ {
        "code": "DataRequirement"
      } ],
      "short": "Input data requirements",
      "definition": "Defines input data requirements for the action."
    }, {
      "id": "PlanDefinition.actionDefinition.output",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.output",
      "type": [ {
        "code": "DataRequirement"
      } ],
      "short": "Output data definition",
      "definition": "Defines the outputs of the action, if any."
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "children().count() > id.count()"
      } ],
      "path": "PlanDefinition.actionDefinition.relatedAction",
      "min": 0,
      "definition": "A relationship to another action such as \"before\" or \"30-60 minutes after start of\".",
      "short": "Relationship to another action",
      "comments": "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.",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "PlanDefinition.actionDefinition.relatedAction"
    }, {
      "path": "PlanDefinition.actionDefinition.relatedAction.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "PlanDefinition.actionDefinition.relatedAction.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "PlanDefinition.actionDefinition.relatedAction.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "comments": "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.",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "PlanDefinition.actionDefinition.relatedAction.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "PlanDefinition.actionDefinition.relatedAction.modifierExtension",
      "min": 0,
      "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "PlanDefinition.actionDefinition.relatedAction.modifierExtension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "id": "PlanDefinition.actionDefinition.relatedAction.actionIdentifier",
      "max": "1",
      "min": 1,
      "path": "PlanDefinition.actionDefinition.relatedAction.actionIdentifier",
      "type": [ {
        "code": "Identifier"
      } ],
      "short": "Identifier of the related action",
      "definition": "The unique identifier of the related action."
    }, {
      "id": "PlanDefinition.actionDefinition.relatedAction.relationship",
      "max": "1",
      "min": 1,
      "path": "PlanDefinition.actionDefinition.relatedAction.relationship",
      "type": [ {
        "code": "code"
      } ],
      "short": "before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end",
      "binding": {
        "strength": "required",
        "description": "Defines the types of relationships between actions",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-relationship-type"
        }
      },
      "definition": "The relationship of this action to the related action."
    }, {
      "id": "PlanDefinition.actionDefinition.relatedAction.offset[x]",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.relatedAction.offset[x]",
      "type": [ {
        "code": "Duration"
      }, {
        "code": "Range"
      } ],
      "short": "Time offset for the relationship",
      "definition": "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before."
    }, {
      "id": "PlanDefinition.actionDefinition.timing[x]",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.timing[x]",
      "type": [ {
        "code": "dateTime"
      }, {
        "code": "Period"
      }, {
        "code": "Duration"
      }, {
        "code": "Range"
      }, {
        "code": "Timing"
      } ],
      "short": "When the action should take place",
      "definition": "An optional value describing when the action should be performed."
    }, {
      "id": "PlanDefinition.actionDefinition.participantType",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.participantType",
      "type": [ {
        "code": "code"
      } ],
      "short": "patient | practitioner | related-person",
      "binding": {
        "strength": "required",
        "description": "The type of participant for the action",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-participant-type"
        }
      },
      "definition": "The type of participant in the action."
    }, {
      "id": "PlanDefinition.actionDefinition.type",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.type",
      "type": [ {
        "code": "Coding"
      } ],
      "short": "create | update | remove | fire-event",
      "binding": {
        "strength": "required",
        "description": "The type of action to be performed",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-type"
        }
      },
      "definition": "The type of action to perform (create, update, remove)."
    }, {
      "id": "PlanDefinition.actionDefinition.groupingBehavior",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.groupingBehavior",
      "type": [ {
        "code": "code"
      } ],
      "short": "visual-group | logical-group | sentence-group",
      "binding": {
        "strength": "required",
        "description": "Defines organization behavior of a group",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-grouping-behavior"
        }
      },
      "definition": "Defines the grouping behavior for the action and its children."
    }, {
      "id": "PlanDefinition.actionDefinition.selectionBehavior",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.selectionBehavior",
      "type": [ {
        "code": "code"
      } ],
      "short": "any | all | all-or-none | exactly-one | at-most-one | one-or-more",
      "binding": {
        "strength": "required",
        "description": "Defines selection behavior of a group",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-selection-behavior"
        }
      },
      "definition": "Defines the selection behavior for the action and its children."
    }, {
      "id": "PlanDefinition.actionDefinition.requiredBehavior",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.requiredBehavior",
      "type": [ {
        "code": "code"
      } ],
      "short": "must | could | must-unless-documented",
      "binding": {
        "strength": "required",
        "description": "Defines requiredness behavior for selecting an action or an action group",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-required-behavior"
        }
      },
      "definition": "Defines the requiredness behavior for the action."
    }, {
      "id": "PlanDefinition.actionDefinition.precheckBehavior",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.precheckBehavior",
      "type": [ {
        "code": "code"
      } ],
      "short": "yes | no",
      "binding": {
        "strength": "required",
        "description": "Defines selection frequency behavior for an action or group",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-precheck-behavior"
        }
      },
      "definition": "Defines whether the action should usually be preselected."
    }, {
      "id": "PlanDefinition.actionDefinition.cardinalityBehavior",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.cardinalityBehavior",
      "type": [ {
        "code": "code"
      } ],
      "short": "single | multiple",
      "binding": {
        "strength": "required",
        "description": "Defines behavior for an action or a group for how many times that item may be repeated",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-cardinality-behavior"
        }
      },
      "definition": "Defines whether the action can be selected multiple times."
    }, {
      "id": "PlanDefinition.actionDefinition.activityDefinition",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.activityDefinition",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition"
      } ],
      "short": "Description of the activity to be performed",
      "comments": "Note that the resource is optional, and if no resource is specified, a dynamicValue with a root (/) path can be used to define the entire resource dynamically.",
      "definition": "A reference to an ActivityDefinition that describes the action to be taken in detail."
    }, {
      "id": "PlanDefinition.actionDefinition.transform",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.transform",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureMap"
      } ],
      "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."
    }, {
      "id": "PlanDefinition.actionDefinition.dynamicValue",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.dynamicValue",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Dynamic aspects of the definition",
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "children().count() > id.count()"
      } ],
      "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."
    }, {
      "path": "PlanDefinition.actionDefinition.dynamicValue.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "PlanDefinition.actionDefinition.dynamicValue.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "PlanDefinition.actionDefinition.dynamicValue.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "comments": "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.",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "PlanDefinition.actionDefinition.dynamicValue.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "PlanDefinition.actionDefinition.dynamicValue.modifierExtension",
      "min": 0,
      "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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "comments": "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.",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "PlanDefinition.actionDefinition.dynamicValue.modifierExtension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "id": "PlanDefinition.actionDefinition.dynamicValue.description",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.dynamicValue.description",
      "type": [ {
        "code": "string"
      } ],
      "short": "Natural language description of the dynamic value",
      "definition": "A brief, natural language description of the intended semantics of the dynamic value."
    }, {
      "id": "PlanDefinition.actionDefinition.dynamicValue.path",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.dynamicValue.path",
      "type": [ {
        "code": "string"
      } ],
      "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."
    }, {
      "id": "PlanDefinition.actionDefinition.dynamicValue.language",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.dynamicValue.language",
      "type": [ {
        "code": "string"
      } ],
      "short": "Language of the expression",
      "definition": "The media type of the language for the expression."
    }, {
      "id": "PlanDefinition.actionDefinition.dynamicValue.expression",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.dynamicValue.expression",
      "type": [ {
        "code": "string"
      } ],
      "short": "An expression that provides the dynamic value for the customization",
      "comments": "The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.",
      "definition": "An expression specifying the value of the customized element."
    }, {
      "id": "PlanDefinition.actionDefinition.actionDefinition",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.actionDefinition",
      "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.",
      "contentReference": "#PlanDefinition.actionDefinition"
    } ]
  },
  "status": "draft",
  "id": "ef646d5a-533b-4c2f-ba49-c4be0ca80984",
  "kind": "resource",
  "url": "http://hl7.org/fhir/StructureDefinition/PlanDefinition",
  "_baseDefinition": {
    "extension": [ {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super",
      "valueString": "MetadataResource"
    } ]
  },
  "version": null,
  "differential": {
    "element": [ {
      "id": "PlanDefinition",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition",
      "short": "The definition of a plan for a series of actions, independent of any specific patient or context",
      "mapping": [ {
        "map": "clinical.general",
        "identity": "w5"
      } ],
      "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 artifacts such as clinical decision support rules, order sets and protocols."
    }, {
      "path": "PlanDefinition.url",
      "requirements": "Allows the plan definition to be referenced by a single globally unique identifier.",
      "min": 0,
      "definition": "An absolute URL that is used to identify this plan definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this plan definition is (or will be) published. The URL SHOULD include the major version of the plan definition. For more information see [Technical and Business Versions](resource.html#versions).",
      "short": "Logical uri to reference this plan definition (globally unique)",
      "comments": "Can be a urn:uuid: or a urn:oid:, but real http: addresses are preferred.",
      "mapping": [ {
        "map": "id",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "PlanDefinition.url",
      "isSummary": true
    }, {
      "path": "PlanDefinition.identifier",
      "requirements": "Allows externally provided and/or useable business identifiers to be easily associated with the module.",
      "min": 0,
      "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.",
      "short": "Additional identifier for the plan definition",
      "comments": "Typically, this is used for identifiers that can go in an HL7 v3 II data type - e.g. to identify this plan definition outside of FHIR, where the logical URL is not possible to use.",
      "mapping": [ {
        "map": "no-gen-base",
        "identity": "objimpl"
      }, {
        "map": "id",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "*",
      "id": "PlanDefinition.identifier",
      "isSummary": true
    }, {
      "path": "PlanDefinition.version",
      "min": 0,
      "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 are orderable. 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.",
      "short": "Business version of the plan definition",
      "comments": "There may be multiple different instances of a plan definition that have the same identifier but different versions.",
      "mapping": [ {
        "map": "id.version",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "PlanDefinition.version",
      "isSummary": true
    }, {
      "path": "PlanDefinition.name",
      "requirements": "Support human navigation & code generation.",
      "min": 0,
      "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.",
      "short": "Name for this plan definition (Computer friendly)",
      "comments": "The name is not expected to be globally unique. The name should be a simple alpha-numeric type name to ensure it is computable friendly.",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "PlanDefinition.name",
      "isSummary": true
    }, {
      "id": "PlanDefinition.title",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.title",
      "type": [ {
        "code": "string"
      } ],
      "short": "Name for this plan definition (Human friendly)",
      "isSummary": true,
      "definition": "A short, descriptive, user-friendly title for the plan definition."
    }, {
      "path": "PlanDefinition.type",
      "min": 0,
      "definition": "The type of asset the plan definition represents, e.g. an order set, protocol, or event-condition-action rule.",
      "short": "order-set | protocol | eca-rule",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "description": "The type of PlanDefinition",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/plan-definition-type"
        }
      },
      "max": "1",
      "id": "PlanDefinition.type",
      "isSummary": true
    }, {
      "path": "PlanDefinition.status",
      "min": 1,
      "definition": "The status of this plan definition. Enables tracking the life-cycle of the content.",
      "isModifier": true,
      "short": "draft | active | retired",
      "comments": "Allows filtering of plan definition that are appropriate for use vs. not.",
      "mapping": [ {
        "map": "status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "description": "The lifecycle status of a Value Set or Concept Map.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/publication-status"
        }
      },
      "max": "1",
      "id": "PlanDefinition.status",
      "isSummary": true
    }, {
      "path": "PlanDefinition.experimental",
      "requirements": "Enables experimental content to be developed following the same life-cycle as a production-level plan definition would.",
      "min": 0,
      "definition": "A flag 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.",
      "isModifier": true,
      "short": "If for testing purposes, not real usage",
      "comments": "Allows filtering of plan definition that are appropriate for use vs. not.",
      "mapping": [ {
        "map": "class",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "PlanDefinition.experimental",
      "isSummary": true
    }, {
      "path": "PlanDefinition.date",
      "min": 0,
      "definition": "The date  (and optionally time) when the plan definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the plan definition changes.",
      "short": "Date this was last changed",
      "comments": "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.",
      "mapping": [ {
        "map": "when.recorded",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "PlanDefinition.date",
      "isSummary": true
    }, {
      "id": "PlanDefinition.description",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.description",
      "type": [ {
        "code": "markdown"
      } ],
      "short": "Natural language description of the plan definition",
      "comments": "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 module as conveyed in the text field of the resource itself. This item SHOULD be populated unless the information is available from context.",
      "definition": "A free text natural language description of the plan definition from the consumer's perspective."
    }, {
      "path": "PlanDefinition.purpose",
      "min": 0,
      "definition": "Explains why this plan definition is needed and why it has been designed as it has.",
      "short": "Why this plan definition is defined",
      "comments": "This element does not describe the usage of the plan definition (See, e.g, the comments element, or relatedArtifacts), rather it's for 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.",
      "mapping": [ {
        "map": "no-gen-base",
        "identity": "objimpl"
      }, {
        "map": "why",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "markdown"
      } ],
      "max": "1",
      "id": "PlanDefinition.purpose"
    }, {
      "id": "PlanDefinition.usage",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.usage",
      "type": [ {
        "code": "string"
      } ],
      "short": "Describes the clinical usage of the asset",
      "definition": "A detailed description of how the asset is used from a clinical perspective."
    }, {
      "path": "PlanDefinition.approvalDate",
      "min": 0,
      "definition": "The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.",
      "short": "When plan definition approved by publisher",
      "comments": "The date may be more recent than the approval date because of minor changes / editorial corrections.",
      "mapping": [ {
        "map": "no-gen-base",
        "identity": "objimpl"
      } ],
      "type": [ {
        "code": "date"
      } ],
      "max": "1",
      "id": "PlanDefinition.approvalDate"
    }, {
      "path": "PlanDefinition.lastReviewDate",
      "min": 0,
      "definition": "The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.",
      "short": "Last review date for the plan definition",
      "comments": "If specified, this is usually after the approval date.",
      "mapping": [ {
        "map": "no-gen-base",
        "identity": "objimpl"
      } ],
      "type": [ {
        "code": "date"
      } ],
      "max": "1",
      "id": "PlanDefinition.lastReviewDate"
    }, {
      "path": "PlanDefinition.effectivePeriod",
      "min": 0,
      "definition": "The period during which the plan definition content was or is planned to be effective.",
      "short": "The effective date range for the plan definition",
      "comments": "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 would be published in 2015.",
      "mapping": [ {
        "map": "no-gen-base",
        "identity": "objimpl"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "PlanDefinition.effectivePeriod",
      "isSummary": true
    }, {
      "path": "PlanDefinition.useContext",
      "requirements": "Assist in searching for appropriate content.",
      "min": 0,
      "definition": "The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of code system definitions.",
      "short": "Content intends to support these contexts",
      "comments": "When multiple usageContexts are specified, there is no expectation for whether all or any of the contexts apply.",
      "type": [ {
        "code": "UsageContext"
      } ],
      "max": "*",
      "id": "PlanDefinition.useContext",
      "isSummary": true
    }, {
      "path": "PlanDefinition.jurisdiction",
      "min": 0,
      "definition": "A jurisdiction in which the plan definition is intended to be used.",
      "short": "Intended jurisdiction for plan definition (if applicable)",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "description": "Countries and regions within which this artifact is targeted for use",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/jurisdiction"
        }
      },
      "max": "*",
      "id": "PlanDefinition.jurisdiction",
      "isSummary": true
    }, {
      "id": "PlanDefinition.topic",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.topic",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Descriptional topics for the asset",
      "definition": "Clinical topics related to the content of the asset.",
      "requirements": "Repositories must be able to determine how to categorize the asset so that it can be found by topical searches."
    }, {
      "id": "PlanDefinition.contributor",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.contributor",
      "type": [ {
        "code": "Contributor"
      } ],
      "short": "A content contributor",
      "definition": "A contributor to the content of the asset, including authors, editors, reviewers, and endorsers.",
      "requirements": "Consumers of the content must be able to quickly determine who contributed to the content of the asset."
    }, {
      "path": "PlanDefinition.publisher",
      "requirements": "Helps establish the \"authority/credibility\" of the plan definition.  May also allow for contact.",
      "min": 0,
      "definition": "The name of the individual or organization that published the plan definition.",
      "short": "Name of the publisher (Organization or individual)",
      "comments": "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.",
      "mapping": [ {
        "map": "who.witness",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "PlanDefinition.publisher",
      "isSummary": true
    }, {
      "path": "PlanDefinition.contact",
      "min": 0,
      "definition": "Contact details to assist a user in finding and communicating with the publisher.",
      "short": "Contact details for the publisher",
      "comments": "May be a web site, an email address, a telephone number, etc.",
      "type": [ {
        "code": "ContactDetail"
      } ],
      "max": "*",
      "id": "PlanDefinition.contact",
      "isSummary": true
    }, {
      "path": "PlanDefinition.copyright",
      "requirements": "Consumers of the library must be able to determine any legal restrictions on the use of the plan definition and/or its content.",
      "min": 0,
      "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.",
      "short": "Use and/or publishing restrictions",
      "mapping": [ {
        "map": "no-gen-base",
        "identity": "objimpl"
      } ],
      "type": [ {
        "code": "markdown"
      } ],
      "alias": [ "License", "Restrictions" ],
      "max": "1",
      "id": "PlanDefinition.copyright"
    }, {
      "path": "PlanDefinition.relatedArtifact",
      "requirements": "Assets 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,
      "definition": "Related artifacts such as additional documentation, justification, or bibliographic references.",
      "short": "Related artifacts for the asset",
      "comments": "Each related artifact is either an attachment, or a reference to another resource, but not both.",
      "type": [ {
        "code": "RelatedArtifact"
      } ],
      "max": "*",
      "id": "PlanDefinition.relatedArtifact"
    }, {
      "id": "PlanDefinition.library",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.library",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Library"
      } ],
      "short": "Logic used by the plan definition",
      "definition": "A reference to a Library resource containing any formal logic used by the plan definition."
    }, {
      "id": "PlanDefinition.actionDefinition",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Action defined by the plan",
      "definition": "An action to be taken as part of the plan."
    }, {
      "id": "PlanDefinition.actionDefinition.actionIdentifier",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.actionIdentifier",
      "type": [ {
        "code": "Identifier"
      } ],
      "short": "Unique identifier",
      "definition": "A unique identifier for the action. The identifier SHALL be unique within the container in which it appears, and MAY be universally unique."
    }, {
      "id": "PlanDefinition.actionDefinition.label",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.label",
      "type": [ {
        "code": "string"
      } ],
      "short": "User-visible label for the action (e.g. 1. or A.)",
      "definition": "A user-visible label for the action."
    }, {
      "id": "PlanDefinition.actionDefinition.title",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.title",
      "type": [ {
        "code": "string"
      } ],
      "short": "User-visible title",
      "definition": "The title of the action displayed to a user."
    }, {
      "id": "PlanDefinition.actionDefinition.description",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.description",
      "type": [ {
        "code": "string"
      } ],
      "short": "Short description of the action",
      "definition": "A short description of the action used to provide a summary to display to the user."
    }, {
      "id": "PlanDefinition.actionDefinition.textEquivalent",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.textEquivalent",
      "type": [ {
        "code": "string"
      } ],
      "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 may not be capable of interpreting it dynamically."
    }, {
      "id": "PlanDefinition.actionDefinition.code",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.code",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "The meaning of the action or its sub-actions",
      "definition": "The concept represented by this action or its sub-actions."
    }, {
      "id": "PlanDefinition.actionDefinition.documentation",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.documentation",
      "type": [ {
        "code": "RelatedArtifact"
      } ],
      "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."
    }, {
      "id": "PlanDefinition.actionDefinition.triggerDefinition",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.triggerDefinition",
      "type": [ {
        "code": "TriggerDefinition"
      } ],
      "short": "When the action should be triggered",
      "definition": "A description of when the action should be triggered."
    }, {
      "id": "PlanDefinition.actionDefinition.condition",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.condition",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Whether or not the action is applicable",
      "definition": "An expression that describes applicability criteria, or start/stop conditions for the action."
    }, {
      "path": "PlanDefinition.actionDefinition.condition.kind",
      "min": 1,
      "definition": "The kind of condition.",
      "short": "applicability | start | stop",
      "comments": "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 when enter/exit criteria for an action.",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "description": "Defines the kinds of conditions that can appear on actions",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-condition-kind"
        }
      },
      "max": "1",
      "id": "PlanDefinition.actionDefinition.condition.kind"
    }, {
      "id": "PlanDefinition.actionDefinition.condition.description",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.condition.description",
      "type": [ {
        "code": "string"
      } ],
      "short": "Natural language description of the condition",
      "definition": "A brief, natural language description of the condition that effectively communicates the intended semantics."
    }, {
      "id": "PlanDefinition.actionDefinition.condition.language",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.condition.language",
      "type": [ {
        "code": "string"
      } ],
      "short": "Language of the expression",
      "definition": "The media type of the language for the expression."
    }, {
      "id": "PlanDefinition.actionDefinition.condition.expression",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.condition.expression",
      "type": [ {
        "code": "string"
      } ],
      "short": "Boolean-valued expression",
      "comments": "The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.",
      "definition": "An expression that returns true or false, indicating whether or not the condition is satisfied."
    }, {
      "id": "PlanDefinition.actionDefinition.input",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.input",
      "type": [ {
        "code": "DataRequirement"
      } ],
      "short": "Input data requirements",
      "definition": "Defines input data requirements for the action."
    }, {
      "id": "PlanDefinition.actionDefinition.output",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.output",
      "type": [ {
        "code": "DataRequirement"
      } ],
      "short": "Output data definition",
      "definition": "Defines the outputs of the action, if any."
    }, {
      "id": "PlanDefinition.actionDefinition.relatedAction",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.relatedAction",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Relationship to another action",
      "comments": "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.",
      "definition": "A relationship to another action such as \"before\" or \"30-60 minutes after start of\"."
    }, {
      "id": "PlanDefinition.actionDefinition.relatedAction.actionIdentifier",
      "max": "1",
      "min": 1,
      "path": "PlanDefinition.actionDefinition.relatedAction.actionIdentifier",
      "type": [ {
        "code": "Identifier"
      } ],
      "short": "Identifier of the related action",
      "definition": "The unique identifier of the related action."
    }, {
      "id": "PlanDefinition.actionDefinition.relatedAction.relationship",
      "max": "1",
      "min": 1,
      "path": "PlanDefinition.actionDefinition.relatedAction.relationship",
      "type": [ {
        "code": "code"
      } ],
      "short": "before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end",
      "binding": {
        "strength": "required",
        "description": "Defines the types of relationships between actions",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-relationship-type"
        }
      },
      "definition": "The relationship of this action to the related action."
    }, {
      "id": "PlanDefinition.actionDefinition.relatedAction.offset[x]",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.relatedAction.offset[x]",
      "type": [ {
        "code": "Duration"
      }, {
        "code": "Range"
      } ],
      "short": "Time offset for the relationship",
      "definition": "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before."
    }, {
      "id": "PlanDefinition.actionDefinition.timing[x]",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.timing[x]",
      "type": [ {
        "code": "dateTime"
      }, {
        "code": "Period"
      }, {
        "code": "Duration"
      }, {
        "code": "Range"
      }, {
        "code": "Timing"
      } ],
      "short": "When the action should take place",
      "definition": "An optional value describing when the action should be performed."
    }, {
      "id": "PlanDefinition.actionDefinition.participantType",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.participantType",
      "type": [ {
        "code": "code"
      } ],
      "short": "patient | practitioner | related-person",
      "binding": {
        "strength": "required",
        "description": "The type of participant for the action",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-participant-type"
        }
      },
      "definition": "The type of participant in the action."
    }, {
      "id": "PlanDefinition.actionDefinition.type",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.type",
      "type": [ {
        "code": "Coding"
      } ],
      "short": "create | update | remove | fire-event",
      "binding": {
        "strength": "required",
        "description": "The type of action to be performed",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-type"
        }
      },
      "definition": "The type of action to perform (create, update, remove)."
    }, {
      "id": "PlanDefinition.actionDefinition.groupingBehavior",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.groupingBehavior",
      "type": [ {
        "code": "code"
      } ],
      "short": "visual-group | logical-group | sentence-group",
      "binding": {
        "strength": "required",
        "description": "Defines organization behavior of a group",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-grouping-behavior"
        }
      },
      "definition": "Defines the grouping behavior for the action and its children."
    }, {
      "id": "PlanDefinition.actionDefinition.selectionBehavior",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.selectionBehavior",
      "type": [ {
        "code": "code"
      } ],
      "short": "any | all | all-or-none | exactly-one | at-most-one | one-or-more",
      "binding": {
        "strength": "required",
        "description": "Defines selection behavior of a group",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-selection-behavior"
        }
      },
      "definition": "Defines the selection behavior for the action and its children."
    }, {
      "id": "PlanDefinition.actionDefinition.requiredBehavior",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.requiredBehavior",
      "type": [ {
        "code": "code"
      } ],
      "short": "must | could | must-unless-documented",
      "binding": {
        "strength": "required",
        "description": "Defines requiredness behavior for selecting an action or an action group",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-required-behavior"
        }
      },
      "definition": "Defines the requiredness behavior for the action."
    }, {
      "id": "PlanDefinition.actionDefinition.precheckBehavior",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.precheckBehavior",
      "type": [ {
        "code": "code"
      } ],
      "short": "yes | no",
      "binding": {
        "strength": "required",
        "description": "Defines selection frequency behavior for an action or group",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-precheck-behavior"
        }
      },
      "definition": "Defines whether the action should usually be preselected."
    }, {
      "id": "PlanDefinition.actionDefinition.cardinalityBehavior",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.cardinalityBehavior",
      "type": [ {
        "code": "code"
      } ],
      "short": "single | multiple",
      "binding": {
        "strength": "required",
        "description": "Defines behavior for an action or a group for how many times that item may be repeated",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/action-cardinality-behavior"
        }
      },
      "definition": "Defines whether the action can be selected multiple times."
    }, {
      "id": "PlanDefinition.actionDefinition.activityDefinition",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.activityDefinition",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition"
      } ],
      "short": "Description of the activity to be performed",
      "comments": "Note that the resource is optional, and if no resource is specified, a dynamicValue with a root (/) path can be used to define the entire resource dynamically.",
      "definition": "A reference to an ActivityDefinition that describes the action to be taken in detail."
    }, {
      "id": "PlanDefinition.actionDefinition.transform",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.transform",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureMap"
      } ],
      "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."
    }, {
      "id": "PlanDefinition.actionDefinition.dynamicValue",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.dynamicValue",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "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."
    }, {
      "id": "PlanDefinition.actionDefinition.dynamicValue.description",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.dynamicValue.description",
      "type": [ {
        "code": "string"
      } ],
      "short": "Natural language description of the dynamic value",
      "definition": "A brief, natural language description of the intended semantics of the dynamic value."
    }, {
      "id": "PlanDefinition.actionDefinition.dynamicValue.path",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.dynamicValue.path",
      "type": [ {
        "code": "string"
      } ],
      "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."
    }, {
      "id": "PlanDefinition.actionDefinition.dynamicValue.language",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.dynamicValue.language",
      "type": [ {
        "code": "string"
      } ],
      "short": "Language of the expression",
      "definition": "The media type of the language for the expression."
    }, {
      "id": "PlanDefinition.actionDefinition.dynamicValue.expression",
      "max": "1",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.dynamicValue.expression",
      "type": [ {
        "code": "string"
      } ],
      "short": "An expression that provides the dynamic value for the customization",
      "comments": "The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.",
      "definition": "An expression specifying the value of the customized element."
    }, {
      "id": "PlanDefinition.actionDefinition.actionDefinition",
      "max": "*",
      "min": 0,
      "path": "PlanDefinition.actionDefinition.actionDefinition",
      "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.",
      "contentReference": "#PlanDefinition.actionDefinition"
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "http://hl7.org/fhir",
      "system": "url"
    } ]
  }, {
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/dss/index.cfm",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}