R4 Ballot #1 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.3.0: R4 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R3 R2

StructureDefinition: ConsentDirective - XML

(No assigned work group) Maturity Level: 1InformativeUse Context: Any

ConsentDirective

<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="consentdirective"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">to do</div> 
  </text> 
  <url value="http://hl7.org/fhir/StructureDefinition/consentdirective"/> 
  <name value="ConsentDirective"/> 
  <title value="Consent Directive"/> 
  <status value="draft"/> 
  <date value="2014-01-31"/> 
  <publisher value="Health Level Seven International (Community Based Collaborative Care)"/> 
  <contact> 
    <telecom> 
      <system value="other"/> 
      <value value="http://hl7.org/special/committees/Security"/> 
    </telecom> 
  </contact> 
  <description value="Consent Directive"/> 
  <fhirVersion value="3.3.0"/> 
  <mapping> 
    <identity value="v2"/> 
    <uri value="http://hl7.org/v2"/> 
    <name value="HL7 v2"/> 
  </mapping> 
  <mapping> 
    <identity value="workflow"/> 
    <uri value="http://hl7.org/fhir/workflow"/> 
    <name value="Workflow Pattern"/> 
  </mapping> 
  <mapping> 
    <identity value="rim"/> 
    <uri value="http://hl7.org/v3"/> 
    <name value="RIM Mapping"/> 
  </mapping> 
  <mapping> 
    <identity value="w5"/> 
    <uri value="http://hl7.org/fhir/fivews"/> 
    <name value="FiveWs Pattern"/> 
  </mapping> 
  <kind value="resource"/> 
  <abstract value="false"/> 
  <type value="Contract"/> 
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Contract"/> 
  <derivation value="constraint"/> 
  <snapshot> 
    <element id="Contract">
      <path value="Contract"/> 
      <short value="Consent Directive"/> 
      <definition value="A record of a healthcare consumer’s privacy policy, which is in accordance with governing
       jurisdictional and organization privacy policies that grant or withhold consent:   • To
       one or more identified entities in a defined role   • To perform one or more operations
       (e.g. collect, access, use, disclose, amend, or delete)   • On an instance or type of
       individually identifiable health information [IIHI]  • For a purpose such as treatment,
       payment, operations, research, public health, quality measures, health status evaluation
       by third parties, or marketing   • Under certain conditions, e.g. when unconscious   •
       For specified time period, e.g. effective and expiration dates   • In certain context,
       e.g. in an emergency   A consent directive is an instance of governing jurisdictional
       and organization privacy policies, which might or might not be backed up by a signed document
       (paper or electronic). [HITSP TP30]."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <constraint> 
        <key value="dom-2"/> 
        <severity value="error"/> 
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/> 
        <expression value="contained.contained.empty()"/> 
        <xpath value="not(parent::f:contained and f:contained)"/> 
        <source value="DomainResource"/> 
      </constraint> 
      <constraint> 
        <key value="dom-1"/> 
        <severity value="error"/> 
        <human value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/> 
        <expression value="contained.text.empty()"/> 
        <xpath value="not(parent::f:contained and f:text)"/> 
        <source value="DomainResource"/> 
      </constraint> 
      <constraint> 
        <key value="dom-4"/> 
        <severity value="error"/> 
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or
         a meta.lastUpdated"/> 
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/> 
        <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/> 
        <source value="DomainResource"/> 
      </constraint> 
      <constraint> 
        <key value="dom-3"/> 
        <severity value="error"/> 
        <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere
         in the resource or SHALL refer to the containing resource"/> 
        <expression value="contained.all(('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical))
        ) or descendants().where(reference = '#').exists() or descendants().where(as(canonical)
         = '#').exists())"/> 
        <xpath value="not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@va
        lue=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/> 
        <source value="DomainResource"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Entity. Role, or Act"/> 
      </mapping> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="financial.other"/> 
      </mapping> 
    </element> 
    <element id="Contract.id">
      <path value="Contract.id"/> 
      <short value="Logical id of this artifact"/> 
      <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this
       value never changes."/> 
      <comment value="The only time that a resource does not have an id is when it is being submitted to the
       server using a create operation."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Resource.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="id"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="Contract.meta">
      <path value="Contract.meta"/> 
      <short value="Metadata about the resource"/> 
      <definition value="The metadata about the resource. This is content that is maintained by the infrastructure.
       Changes to the content might not always be associated with version changes to the resource."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Resource.meta"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Meta"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="Contract.implicitRules">
      <path value="Contract.implicitRules"/> 
      <short value="A set of rules under which this content was created"/> 
      <definition value="A reference to a set of rules that were followed when the resource was constructed, and
       which must be understood when processing the content. Often, this is a reference to an
       implementation guide that defines the special rules along with other profiles etc."/> 
      <comment value="Asserting this rule set restricts the content to be only understood by a limited set of
       trading partners. This inherently limits the usefulness of the data in the long term.
       However, the existing health eco-system is highly fractured, and not yet ready to define,
       collect, and exchange data in a generally computable sense. Wherever possible, implementers
       and/or specification writers should avoid using this element. Often, when used, the URL
       is a reference to an implementation guide that defines these special rules as part of
       it's narrative along with other profiles, value sets, etc."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Resource.implicitRules"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="uri"/> 
      </type> 
      <isModifier value="true"/> 
      <isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional
       knowledge about the resource that modifies it's meaning or interpretation"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="Contract.language">
      <path value="Contract.language"/> 
      <short value="Language of the resource content"/> 
      <definition value="The base language in which the resource is written."/> 
      <comment value="Language is provided to support indexing and accessibility (typically, services such as
       text to speech use the language tag). The html language tag in the narrative applies 
       to the narrative. The language tag on the resource may be used to specify the language
       of other presentations generated from the data in the resource. Not all the content has
       to be in the base language. The Resource.language should not be assumed to apply to the
       narrative automatically. If a language is specified, it should it also be specified on
       the div element in the html (see rules in HTML5 for information about the relationship
       between xml:lang and the html lang attribute)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Resource.language"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="code"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference> 
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/> 
          </valueReference> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/> 
        </extension> 
        <strength value="extensible"/> 
        <description value="A human language."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/languages"/> 
      </binding> 
    </element> 
    <element id="Contract.text">
      <path value="Contract.text"/> 
      <short value="Text summary of the resource, for human interpretation"/> 
      <definition value="A human-readable narrative that contains a summary of the resource and can be used to
       represent the content of the resource to a human. The narrative need not encode all the
       structured data, but is required to contain sufficient detail to make it &quot;clinically
       safe&quot; for a human to just read the narrative. Resource definitions may define what
       content should be represented in the narrative to ensure clinical safety."/> 
      <comment value="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 &quot;text blob&quot;
       or where text is additionally entered raw or narrated and encoded in formation is added
       later."/> 
      <alias value="narrative"/> 
      <alias value="html"/> 
      <alias value="xhtml"/> 
      <alias value="display"/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="DomainResource.text"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Narrative"/> 
      </type> 
      <condition value="dom-1"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Act.text?"/> 
      </mapping> 
    </element> 
    <element id="Contract.contained">
      <path value="Contract.contained"/> 
      <short value="Contained, inline Resources"/> 
      <definition value="These resources do not have an independent existence apart from the resource that contains
       them - they cannot be identified independently, and nor can they have their own independent
       transaction scope."/> 
      <comment value="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."/> 
      <alias value="inline resources"/> 
      <alias value="anonymous resources"/> 
      <alias value="contained resources"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="DomainResource.contained"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Resource"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="Contract.extension">
      <path value="Contract.extension"/> 
      <short value="Additional Content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the resource. To make the use of extensions safe and manageable, there is a strict
       set of governance  applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part of the
       definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="DomainResource.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="Contract.modifierExtension">
      <path value="Contract.modifierExtension"/> 
      <short value="Extensions that cannot be ignored"/> 
      <definition value="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. 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."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="DomainResource.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="true"/> 
      <isModifierReason value="Not known why this is labelled a modifier"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="Contract.identifier">
      <path value="Contract.identifier"/> 
      <label value="ConsentDirective-identifier"/> 
      <short value="Consent Directive identifier"/> 
      <definition value="Unique identifier for this Consent Directive."/> 
      <requirements value="This is the business identifier of the contract content conveyed.  It may be a derivative
       of the legally binding contract, in which case, the identifier of the basal contract is
        contained in the Contract.binding referenced Contract."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.identifier"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.identifier"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract id"/> 
      </mapping> 
    </element> 
    <element id="Contract.status">
      <path value="Contract.status"/> 
      <short value="amended | appended | cancelled | disputed | entered-in-error | executable | executed |
       negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated"/> 
      <definition value="The status of the resource instance."/> 
      <comment value="This element is labeled as a modifier because the status contains codes that mark the
       contract as not currently valid or active."/> 
      <requirements value="This is the Contract Business Workflow Status."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.status"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="code"/> 
      </type> 
      <isModifier value="true"/> 
      <isModifierReason value="This element is labelled as a modifier because it is a status element that contains status
       entered-in-error which means that the resource should not be treated as valid"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ContractStatus"/> 
        </extension> 
        <strength value="required"/> 
        <description value="A code specifying the state of the resource instance."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-status"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.status"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.status"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Act.status"/> 
      </mapping> 
    </element> 
    <element id="Contract.contentDerivative">
      <path value="Contract.contentDerivative"/> 
      <short value="Content derived from the basal information"/> 
      <definition value="The minimal content derived from the basal information source at a specific stage in its
       lifecycle."/> 
      <requirements value="In the context of a contract, the information source of the content derivative shall be
       the information referenced by the contract.binding.
The Contract Resource may function simply as the computable representation of the executed
       contract, which may be the attached to the Contract Resource as the “binding” or as the
       “friendly” electronic form.  For example, a Contract Resource may be automatically populated
       with the values expressed in a related QuestionnaireResponse. 
However, the Contract Resource may be considered the legally binding contract if it is
       the only “executed” form of this contract, and includes the signatures as *The Contract
       Resource may function as the computable representation of an application or offer in a
       pre-executed Contract if the grantor has not entered any values.  In this case, it is
       populated with values in a “legal” form of the application or offer or by the values in
       an associated Questionnaire.  If the grantor has filled in the legal form or the associated
       Questionnaire Response, then these values are used to populate a pre-executed Contract
       Resource.
If the Contract.topic is considered an application or offer, then the policy is often
       required to be attached as the “legal” basis for the application to ensure “informed consent”
       to the contract, and that any discrepancy between the application and the policy are interpreted
       against the policy.  Implementers should check organizational and jurisdictional policies
       to determine the relationship among multiple representations of a contract pre- and post-execution."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.contentDerivative"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ContractContentDerivative"/> 
        </extension> 
        <strength value="example"/> 
        <description value="This is an example set of Content Derivative type codes, which represent the minimal content
         derived from the basal information source."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-content-derivative"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Maps partially to several v3 codes: ActClass: REG (registration) Description: Represents
         the act of maintaining information about the registration of its associated registered
         subject. The subject can be either an Act or a Role, and includes subjects such as lab
         exam definitions, drug protocol definitions, prescriptions, persons, patients, practitioners,
         and equipment.
The registration may have a unique identifier - separate from the unique identification
         of the subject - as well as a core set of related participations and act relationships
         that characterize the registration event and aid in the disposition of the subject information
         by a receiving system. Observation: VERIF (Verification) Description: An act which describes
         the process whereby a 'verifying party' validates either the existence of the Role attested
         to by some Credential or the actual Vetting act and its details. TRFR (transfer) Description:
         The act of transferring information without the intent of imparting understanding about
         a topic to the subject that is the recipient or holder of the transferred information
         where the participation association must be RCV or HLD. _ActDetectedIssueManagementCode
         [abstract term] Description: Codes dealing with the management of Detected Issue observations.
         _ActInformationAccessContextCode [abstract term] Description: Concepts conveying the context
         in which authorization given under jurisdictional law, by organizational policy, or by
         a patient consent directive permits the collection, access, use or disclosure of specified
         patient health information. _ActListCode [abstract term]vDescription: Provides codes associated
         with ActClass value of LIST (working list). RefusalReasonCode [abstract term] Description:
Description: Identifies why a request to add (or activate) a record is being refused.
         Examples include the receiving system not able to match the identifier and find that record
         in the receiving system, having no permission, or a detected issue exists which precludes
         the requested action."/> 
      </mapping> 
    </element> 
    <element id="Contract.issued">
      <path value="Contract.issued"/> 
      <label value="ConsentDirective-issued"/> 
      <short value="When this Consent Directive was issued"/> 
      <definition value="Date and time when this Consent Directive was executed and became effective."/> 
      <requirements value="The Contract issuance dateTime often precedes the Contract effective dateTime."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.issued"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.authoredOn"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Act.availabilityTime.  Definition: A time expression specifying when an Observation, Procedure,
         or other Act occurs, or, depending on the mood, is supposed to occur, scheduled to occur,
         etc. The activityTime includes the times of component actions (such as preparation and
         clean-up). For Procedures and SubstanceAdministrations, the activityTime can provide a
         needed administrative function by providing a more inclusive time to be anticipated in
         scheduling. UsageNotes:The activityTime is primarily of administrative rather than clinical
         use. The clinically relevant time is the effectiveTime. When an observation of a prior
         symptom is made, the activityTime describes the time the observation is made, as opposed
         to effectiveTime which is the time the symptom is reported to have occurred. Thus the
         activityTime may be entirely different from the effectiveTime of the same Act. However,
         even apart from clinical use cases, designers should first consider effectiveTime as the
         primary relevant time for an Act. ActivityTime indicates when an Act occurs, not when
         it is recorded."/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract effectiveTime"/> 
      </mapping> 
    </element> 
    <element id="Contract.applies">
      <path value="Contract.applies"/> 
      <label value="ConsentDirective-applies"/> 
      <short value="Effective time"/> 
      <definition value="Time period during which this Consent Directive is in effect."/> 
      <requirements value="The dateTime upon which the Contract is binding."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.applies"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Period"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.occurrence[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Act.effectiveTime Definition: The clinically or operationally relevant time of an act,
         exclusive of administrative activity."/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract activityTime"/> 
      </mapping> 
    </element> 
    <element id="Contract.subject">
      <path value="Contract.subject"/> 
      <label value="ConsentDirective-topic"/> 
      <short value="The Patient is the topic of this Consent Directive"/> 
      <definition value="Patient information and actions taken on that information that are governed by this Consent
       Directive."/> 
      <comment value="The Contract.subject is an entity that has some role with respect to the Contract.topic
       and Contract.topic.term, which is of focal interest to the parties to the contract and
       likely impacted in a significant way by the Contract.action/Contract.action.reason and
       the Contract.term.action/Contract.action.reason. 
In many cases, the Contract.subject is a Contract.signer if the subject is an adult; has
       a legal interest in the contract; and incompetent to participate in the contract agreement."/> 
      <requirements value="The Contract.subject is an entity that has some role with respect to the Contract.topic
       and Contract.topic.term, which is of focal interest to the parties to the contract and
       likely impacted in a significant way by the Contract.action/Contract.action.reason and
       the Contract.term.action/Contract.action.reason.  In many cases, the Contract.subject
       is a Contract.signer if the subject is an adult; has a legal interest in the contract;
       and incompetent to participate in the contract agreement."/> 
      <alias value="Patient"/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.subject"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.subject"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="RoleClass, RoleCode"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Role"/> 
      </mapping> 
    </element> 
    <element id="Contract.authority">
      <path value="Contract.authority"/> 
      <label value="ConsentDirective-authority"/> 
      <short value="Authority under which this Consent Directive has standing"/> 
      <definition value="A formally recognized grouping of people, principals, organizations, or jurisdictions
       with legal standing to promulgate, administer, and enforce privacy policies and applicable
       Consent Directives."/> 
      <requirements value="The governance framework responsible for ensuring compliance with or enforcement of the
       contract or policy."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.authority"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Organization Role.  CONCEPT DOMAIN: OrganizationEntityType Description: Further classifies
         entities of EntityClass ORG."/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Role Scoper"/> 
      </mapping> 
    </element> 
    <element id="Contract.domain">
      <path value="Contract.domain"/> 
      <label value="ConsentDirective-domain"/> 
      <short value="Domain in which this Consent Directive applies"/> 
      <definition value="Recognized governance framework or system operating with a circumscribed scope in accordance
       with specified principles, policies, processes or procedures for managing rights, actions,
       or behaviors of parties or principals relative to privacy protection and control of the
       collection, access, use and disclosure of resources."/> 
      <requirements value="The entities bound by governance to comply with the enforcement of contracts or policies
       by a recognized authority."/> 
      <alias value="scope of governance jurisdiction"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.domain"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="TERR (territory of authority) Description: Relates a place entity (player) as the region
         over which the scoper (typically an Organization) has certain authority (jurisdiction).
         For example, the Calgary Regional Health Authority (scoper) has authority over the territory
         &quot;Region 4 of Alberta&quot; (player) in matters of health.
Entity Class = Place? A physical place or site with its containing structure. May be natural
         or man-made. The geographic position of a place might or might not be constant.
CONCEPT DOMAIN: TerritoryEntityType Description: A territorial entity that may be cited
         as the body over which an agency exercises jurisdiction, or which defines a sphere in
         which a party has a particular responsibility. CONCEPT DOMAIN: OrganizationEntityType
Description: Further classifies entities of EntityClass ORG."/> 
      </mapping> 
    </element> 
    <element id="Contract.type">
      <path value="Contract.type"/> 
      <label value="ConsentDirective-type"/> 
      <short value="Consent Directive Type"/> 
      <definition value="Specific type of patient privacy Consent Directive reflecting the range of patient discretion
       over granting of rights to patient information and actions that may be taken on that information;
       e.g. Opt-in, opt-out, Share All (such as authorization to disclose to payer for payment
       purposes or benefit eligibility), Share Partial(such as Title 38 Section 7332 and 42 CFR
       Part 2), Implied Consent, such as a HIPAA Notice of Privacy Practices."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.type"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <strength value="example"/> 
        <description value="List of overall contract codes."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-type"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.code"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Maps to multiple ActClass and ActCode Concept Domains and Code Systems such as the following:
           In the ActClass Concept Domain: ActClassPolicy. In the ActCode Concept Domain:   ActContractType,
         which generalizes ActFinancialContractType, ActCoverageType, ActBillingArrangementType.
          ActConsentType, which generalizes ActDataConsentType; ActFinancialParticipationConsentType;
         ActInformationAccessCode; AdvanceBeneficiaryNoticeType.  ActPolicyType, which generalizes:
         ActPrivacyPolicyType, ActSensitivityPrivacyPolicyType, ActSecurityPolicyType.  In the
         ActClass Code System:  CNTRCT (contract) Description: An agreement of obligation between
         two or more parties that is subject to contractual law and enforcement, lwhich generalizes
         FCNTRCT (financial contract) and COV (coverage).  POLICY (policy) - Description: A mandate,
         regulation, obligation, requirement, rule, or expectation unilaterally imposed by one
         party on: The activity of another party; the behavior of another party; or the manner
         in which an act is executed. LEAF CONCEPTS: JURISPOL (jurisdictional policy) Description:A
         mandate, regulation, obligation, requirement, rule, or expectation unilaterally imposed
         by a jurisdiction on: The activity of another party; the behavior of another party; or
         the manner in which an act is executed.Examples:A jurisdictional mandate regarding the
         prescribing and dispensing of a particular medication. A jurisdictional privacy or security
         regulation dictating the manner in which personal health information is disclosed. A jurisdictional
         requirement that certain services or health conditions are reported to a monitoring program,
         e.g., immunizations, methadone treatment, or cancer registries.ORGPOL (organizational
         policy)Examples:A clinical or research protocols imposed by a payer, a malpractice insurer,
         or an institution to which a provider must adhere. A mandate imposed by a denominational
         institution for a provider to provide or withhold certain information from the patient
         about treatment options.SCOPOL (scope of practice policy)Description:An ethical or clinical
         obligation, requirement, rule, or expectation imposed or strongly encouraged by organizations
         that oversee particular clinical domains or provider certification which define the boundaries
         within which a provider may practice and which may have legal basis or ramifications.Examples:An
         ethical obligation for a provider to fully inform a patient about all treatment options.
         An ethical obligation for a provider not to disclose personal health information that
         meets certain criteria, e.g., where disclosure might result in harm to the patient or
         another person. The set of health care services which a provider is credentialed or privileged
         to provide. STDPOL (standard of practice policy) Examples:A payer may require a prescribing
         provider to adhere to formulary guidelines. An institution may adopt clinical guidelines
         and protocols and implement these within its electronic health record and decision support
         systems.  CONS (consent)Description: The Consent class represents informed consents and
         all similar medico-legal transactions between the patient (or his legal guardian) and
         the provider. Examples are informed consent for surgical procedures, informed consent
         for clinical trials, advanced beneficiary notice, against medical advice decline from
         service, release of information agreement, etc.  The details of consents vary. Often an
         institution has a number of different consent forms for various purposes, including reminding
         the physician about the topics to mention. Such forms also include patient education material.
         In electronic medical record communication, consents thus are information-generating acts
         on their own and need to be managed similar to medical activities. Thus, Consent is modeled
         as a special class of Act. The &quot;signatures&quot; to the consent document are represented
         electronically through Participation instances to the consent object. Typically an informed
         consent has Participation.typeCode of &quot;performer&quot;, the healthcare provider informing
         the patient, and &quot;consenter&quot;, the patient or legal guardian. Some consent may
         associate a witness or a notary public (e.g., living wills, advanced directives). In consents
         where a healthcare provider is not required (e.g. living will), the performer may be the
         patient himself or a notary public."/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="CNTRCT"/> 
      </mapping> 
    </element> 
    <element id="Contract.type.id">
      <path value="Contract.type.id"/> 
      <representation value="xmlAttr"/> 
      <short value="xml:id (or equivalent in JSON)"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may be any
       string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.type.extension">
      <path value="Contract.type.extension"/> 
      <slicing> 
        <discriminator> 
          <type value="value"/> 
          <path value="url"/> 
        </discriminator> 
        <description value="Extensions are always sliced by (at least) url"/> 
        <rules value="open"/> 
      </slicing> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and manageable, there is a strict set
       of governance  applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part of the
       definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.type.coding">
      <path value="Contract.type.coding"/> 
      <short value="Code defined by a terminology system"/> 
      <definition value="A reference to a code defined by a terminology system."/> 
      <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions
       such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of
       codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one
       of the coding values will be labeled as UserSelected = true."/> 
      <requirements value="Allows for translations and alternate encodings within a code system.  Also supports communication
       of the same instance to systems requiring different encodings."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="CodeableConcept.coding"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="C*E.1-8, C*E.10-22"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="union(., ./translation)"/> 
      </mapping> 
      <mapping> 
        <identity value="orim"/> 
        <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/> 
      </mapping> 
    </element> 
    <element id="Contract.type.coding.id">
      <path value="Contract.type.coding.id"/> 
      <representation value="xmlAttr"/> 
      <short value="xml:id (or equivalent in JSON)"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may be any
       string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.type.coding.extension">
      <path value="Contract.type.coding.extension"/> 
      <slicing> 
        <discriminator> 
          <type value="value"/> 
          <path value="url"/> 
        </discriminator> 
        <description value="Extensions are always sliced by (at least) url"/> 
        <rules value="open"/> 
      </slicing> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and manageable, there is a strict set
       of governance  applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part of the
       definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.type.coding.system">
      <path value="Contract.type.coding.system"/> 
      <short value="Identity of the terminology system"/> 
      <definition value="The identification of the code system that defines the meaning of the symbol in the code."/> 
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be
       references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of
       FHIR defined special URIs or it should reference to some definition that establish the
       system clearly and unambiguously."/> 
      <requirements value="Need to be unambiguous about the source of the definition of the symbol."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Coding.system"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="uri"/> 
      </type> 
      <fixedUri value="http://loinc.org"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="C*E.3"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./codeSystem"/> 
      </mapping> 
      <mapping> 
        <identity value="orim"/> 
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/> 
      </mapping> 
    </element> 
    <element id="Contract.type.coding.version">
      <path value="Contract.type.coding.version"/> 
      <short value="Version of the system - if relevant"/> 
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained
       code system does not need the version reported, because the meaning of codes is consistent
       across versions. However this cannot consistently be assured, and when the meaning is
       not guaranteed to be consistent, the version SHOULD be exchanged."/> 
      <comment value="Where the terminology does not clearly define what string should be used to identify code
       system versions, the recommendation is to use the date (expressed in FHIR date format)
       on which that version was officially published as the version date."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Coding.version"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="C*E.7"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./codeSystemVersion"/> 
      </mapping> 
      <mapping> 
        <identity value="orim"/> 
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/> 
      </mapping> 
    </element> 
    <element id="Contract.type.coding.code">
      <path value="Contract.type.coding.code"/> 
      <short value="Symbol in syntax defined by the system"/> 
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression
       in a syntax defined by the coding system (e.g. post-coordination)."/> 
      <requirements value="Need to refer to a particular code in the system."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Coding.code"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="code"/> 
      </type> 
      <fixedCode value="57016-8"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="C*E.1"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./code"/> 
      </mapping> 
      <mapping> 
        <identity value="orim"/> 
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/> 
      </mapping> 
    </element> 
    <element id="Contract.type.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true"/> 
      </extension> 
      <path value="Contract.type.coding.display"/> 
      <short value="Representation defined by the system"/> 
      <definition value="A representation of the meaning of the code in the system, following the rules of the
       system."/> 
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not
       know  the system."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Coding.display"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="C*E.2 - but note this is not well followed"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="CV.displayName"/> 
      </mapping> 
      <mapping> 
        <identity value="orim"/> 
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/> 
      </mapping> 
    </element> 
    <element id="Contract.type.coding.userSelected">
      <path value="Contract.type.coding.userSelected"/> 
      <short value="If this coding was chosen directly by the user"/> 
      <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available
       items (codes or displays)."/> 
      <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting
       point for new translations. There is some ambiguity about what exactly 'directly chosen'
       implies, and trading partner agreement may be needed to clarify the use of this element
       and its consequences more completely."/> 
      <requirements value="This has been identified as a clinical safety criterium - that this exact system/code
       pair was chosen explicitly, rather than inferred by the system based on some rules or
       language processing."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Coding.userSelected"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="boolean"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="Sometimes implied by being first"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="CD.codingRationale"/> 
      </mapping> 
      <mapping> 
        <identity value="orim"/> 
        <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected
         fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target
         dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;
             fhir:target dt:CDCoding.codingRationale\#O   ]"/> 
      </mapping> 
    </element> 
    <element id="Contract.type.text">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true"/> 
      </extension> 
      <path value="Contract.type.text"/> 
      <short value="Plain text representation of the concept"/> 
      <definition value="A human language representation of the concept as seen/selected/uttered by the user who
       entered the data and/or which represents the intended meaning of the user."/> 
      <comment value="Very often the text is the same as a displayName of one of the codings."/> 
      <requirements value="The codes from the terminologies do not always capture the correct meaning with all the
       nuances of the human using them, or sometimes there is no appropriate code at all. In
       these cases, the text is used to capture the full meaning of the source."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="CodeableConcept.text"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="C*E.9. But note many systems use C*E.2 for this"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/> 
      </mapping> 
      <mapping> 
        <identity value="orim"/> 
        <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/> 
      </mapping> 
    </element> 
    <element id="Contract.subType">
      <path value="Contract.subType"/> 
      <label value="ConsentDirective-subType"/> 
      <short value="Consent Directive Subtype"/> 
      <definition value="A specialized type of an overarching or more general Consent Directive, such as a patient's
       right to opt-out of a Patient Directory under HIPAA or a multiparty 42 CFR Part 2 consent
       used in a health information exchange context by a Qualified Service Organization."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.subType"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <strength value="example"/> 
        <description value="Detailed codes within the above."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-subtype"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Examples of Contract or Policy subtypes in ActCodes:_ActCoverageTypeCode Definition: Set
         of codes indicating the type of insurance policy or program that pays for the cost of
         benefits provided to covered parties. Generalizes:  _ActInsurancePolicyCode;  _ActInsuranceTypeCode;
         ActProgramTypeCode.  _ActPolicyType  Description:Types of policies that further specify
         the ActClassPolicy value set. Generalizes: _ActPrivacyPolicy; _ActPrivacyLaw; _InformationSensitivit
        yPolicy; ActTrustPolicyType;  SecurityPolicy.  _ActInvoiceAdjudicationPaymentGroupCode
          Description: Codes representing adjustments to a Payment Advice such as retroactive,
         clawback, garnishee, etc., e.g. RECOV (recovery) Description: Retroactive adjustment such
         as fee rate adjustment due to contract negotiations."/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="e.g. RECOV"/> 
      </mapping> 
    </element> 
    <element id="Contract.term">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Term"/> 
      </extension> 
      <path value="Contract.term"/> 
      <label value="ConsentDirective-term"/> 
      <short value="Consent Directive Term List"/> 
      <definition value="One or more Consent DirectiveProvisions, which may be related and conveyed as a group,
       and may contain nested groups."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.term"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() | (children().count() &gt; id.count())"/> 
        <xpath value="@value|f:*|h:div"/> 
        <source value="Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="RIM mechanism for grouping or nesting rules, which are likely Acts and Observations."/> 
      </mapping> 
    </element> 
    <element id="Contract.term.id">
      <path value="Contract.term.id"/> 
      <representation value="xmlAttr"/> 
      <short value="xml:id (or equivalent in JSON)"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may be any
       string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.extension">
      <path value="Contract.term.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and manageable, there is a strict set
       of governance  applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part of the
       definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.modifierExtension">
      <path value="Contract.term.modifierExtension"/> 
      <short value="Extensions that cannot be ignored"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element and that modifies the understanding of the element in which it is contained.
       Usually modifier elements provide negation or qualification. To make the use of extensions
       safe and manageable, there is a strict set of governance applied to the definition and
       use of extensions. Though any implementer can define an extension, there is a set of requirements
       that SHALL be met as part of the definition of the extension. Applications processing
       a resource are required to check for modifier extensions."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="true"/> 
      <isModifierReason value="modifierExtension is reserved for use where modifier extensions must be used"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.identifier">
      <path value="Contract.term.identifier"/> 
      <label value="ConsentDirective-term-identifier"/> 
      <short value="Consent Directive Term identifier"/> 
      <definition value="Unique identifier for this particular Consent Directive Provision."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.identifier"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.identifier"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Act or Observation identifier."/> 
      </mapping> 
    </element> 
    <element id="Contract.term.issued">
      <path value="Contract.term.issued"/> 
      <label value="ConsentDirective-term-issued"/> 
      <short value="Consent Directive Term Issue Date Time"/> 
      <definition value="When this Consent Directive Provision was issued."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.issued"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.authoredOn"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.recorded"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Act availabilityTime"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.applies">
      <path value="Contract.term.applies"/> 
      <label value="ConsentDirective-term-applies"/> 
      <short value="Consent Directive Term Effective Time"/> 
      <definition value="Relevant time or time-period when this Consent Directive Provision is applicable."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.applies"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Period"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.occurrence[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.done[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Act effectiveTime"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.type">
      <path value="Contract.term.type"/> 
      <label value="ConsentDirective-term-type"/> 
      <short value="Consent Directive Term Type"/> 
      <definition value="Type of Consent Directive Provision such as specific requirements, purposes for actions,
       obligations, prohibitions, e.g. life time maximum benefit."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.type"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <strength value="example"/> 
        <description value="Detailed codes for the types of contract provisions."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-term-type"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.code"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="See Contract.term mapping."/> 
      </mapping> 
    </element> 
    <element id="Contract.term.subType">
      <path value="Contract.term.subType"/> 
      <label value="ConsentDirective-term-subType"/> 
      <short value="Consent Directive Term Subtype"/> 
      <definition value="Subtype of this Consent Directive Provision, e.g. life time maximum payment for a contract
       term for specific valued item, e.g. disability payment."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.subType"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <strength value="example"/> 
        <description value="Detailed codes for the subtypes of contract provisions."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-term-subtype"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="See Contract.topic mapping."/> 
      </mapping> 
    </element> 
    <element id="Contract.term.offer">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="ContractOffer"/> 
      </extension> 
      <path value="Contract.term.offer"/> 
      <short value="Context of the Contract term"/> 
      <definition value="The matter of concern in the context of this provision of the agrement."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.offer"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() | (children().count() &gt; id.count())"/> 
        <xpath value="@value|f:*|h:div"/> 
        <source value="Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Document"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.offer.id">
      <path value="Contract.term.offer.id"/> 
      <representation value="xmlAttr"/> 
      <short value="xml:id (or equivalent in JSON)"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may be any
       string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.offer.extension">
      <path value="Contract.term.offer.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and manageable, there is a strict set
       of governance  applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part of the
       definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.offer.modifierExtension">
      <path value="Contract.term.offer.modifierExtension"/> 
      <short value="Extensions that cannot be ignored"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element and that modifies the understanding of the element in which it is contained.
       Usually modifier elements provide negation or qualification. To make the use of extensions
       safe and manageable, there is a strict set of governance applied to the definition and
       use of extensions. Though any implementer can define an extension, there is a set of requirements
       that SHALL be met as part of the definition of the extension. Applications processing
       a resource are required to check for modifier extensions."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="true"/> 
      <isModifierReason value="modifierExtension is reserved for use where modifier extensions must be used"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.offer.topic">
      <path value="Contract.term.offer.topic"/> 
      <label value="ConsentDirective-term-topic"/> 
      <short value="Topic of this Consent Directive Term"/> 
      <definition value="Who or what this Consent Directive Provision is about."/> 
      <comment value="The Contract.topic may be an application for or offer of a policy or service (e.g., uri
       to a consent directive form or a health insurance policy), which becomes the Contract
       once accepted by both the grantor and grantee. 
The Contract Resource may function simply as the computable representation of the executed
       contract, which may be the attached to the Contract Resource as the “binding” or as the
       “friendly” electronic form.  For example, a Contract Resource may be automatically populated
       with the values expressed in a related QuestionnaireResponse. 
However, the Contract Resource may be considered the legally binding contract if it is
       the only “executed” form of this contract, and includes the signatures as *The Contract
       Resource may function as the computable representation of an application or offer in a
       pre-executed Contract if the grantor has not entered any values.  In this case, it is
       populated with values in a “legal” form of the application or offer or by the values in
       an associated Questionnaire.  If the grantor has filled in the legal form or the associated
       Questionnaire Response, then these values are used to populate a pre-executed Contract
       Resource.
If the Contract.topic is considered an application or offer, then the policy is often
       required to be attached as the “legal” basis for the application to ensure “informed consent”
       to the contract, and that any discrepancy between the application and the policy are interpreted
       against the policy.  Implementers should check organizational and jurisdictional policies
       to determine the relationship among multiple representations of a contract pre- and post-execution."/> 
      <requirements value="In the context of a contract, the topic is the matter under consideration in regards to
       which specific rights, privileges, obligations, restrictions, and prohibitions are binding
       on any grantor and grantee parties upon the execution of the contract. 
Given the wide range of contract topics, implementers need to be cognizant of the business
       use case for which they are designing a FHIR Contract, and narrowly specify the topic
       being represented with respect to the Contract.type and any specializing Contract.subtype.
       
The same topic, e.g., an asset such as a good or service, such as a real property, medical
       supply, insurance, information, a procedure or employment, or a manner of conduct, such
       adherence to a privacy, trust, or security policy, may be the topic of multiple types
       of contracts. 
One way to determine the Contract.topic is to answer the question: “What is the object
       of negotiation?”
Answer: The Contract.topic, which may be described with more detail in the [0..*]Contract.valuedItem
       @ [0..1] Contract.valuedItem.entity[x] Definition: Specific type of Contract Valued Item
       that may be priced. CodeableConcept|Reference(Any)
Contract.topic is “the what” that a grantor is exchanging with a grantee in return for
       some benefit. 
Contract.topic is “the what” to which any Contract.action is being applied for any stipulated
       Contract.action.reason. 
AContract.topic is “the what” governed by the execution of the contract to which any party’s
       rights, privileges, obligations, restrictions, and prohibitions apply."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.offer.topic"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.context"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Includes many ActClass, ActCode, RoleClass, RoleCode, EntityClass, EntityCode, ParticipationType
         codes from HL7 concept domains and code systems. For example, RoleCode: HLD (held entity)
         Description: Entity that is currently in the possession of a holder (scoper), who holds,
         or uses it, usually based on some agreement with the owner. MANU (manufactured product)
         Description: Scoped by the manufacturer. OWN (owned entity) Description: An Entity (player)
         for which someone (scoper) is granted by law the right to call the material (player) his
         own. This entitles the scoper to make decisions about the disposition of that material.
         WRTE (warranted product) Description:
A role a product plays when a guarantee is given to the purchaser by the seller (scoping
         entity) stating that the product is reliable and free from known defects and that the
         seller will repair or replace defective parts within a given time limit and under certain
         conditions."/> 
      </mapping> 
    </element> 
    <element id="Contract.term.offer.type">
      <path value="Contract.term.offer.type"/> 
      <short value="Contract Offer Type or Form"/> 
      <definition value="Type of Contract Provision such as specific requirements, purposes for actions, obligations,
       prohibitions, e.g. life time maximum benefit."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.offer.type"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ContractTermType"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Detailed codes for the types of contract provisions."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-term-type"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="See Contract.term mapping."/> 
      </mapping> 
    </element> 
    <element id="Contract.term.offer.decision">
      <path value="Contract.term.offer.decision"/> 
      <short value="Decision by Grantor"/> 
      <definition value="The type of decision made by a grantor with respect to an offer made by a grantee."/> 
      <requirements value="In some policy or contract contexts, the &quot;offer&quot; is made by an offeror wishing
       to be the &quot;grantee&quot; of the offer topic by the grantor.  From this perspective,
       the grantor is the &quot;offeree&quot;."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.offer.decision"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ContractDecisionType"/> 
        </extension> 
        <strength value="extensible"/> 
        <description value="The type of decision made by a grantor with respect to an offer made by a grantee."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/v3-ActConsentDirective"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="ActCode: _ActConsentDirective [abstract term] Description: Specifies the type of agreement
         between one or more grantor and grantee in which rights and obligations related to one
         or more shared items of interest are allocated. Usage Note: Such agreements may be considered
         &quot;consent directives&quot; or &quot;contracts&quot; depending on the context, and
         are considered closely related or synonymous from a legal perspective."/> 
      </mapping> 
    </element> 
    <element id="Contract.term.offer.text">
      <path value="Contract.term.offer.text"/> 
      <label value="ConsentDirective-term-text"/> 
      <short value="Human readable Consent Directive term text"/> 
      <definition value="Human readable form of this Consent Directive Provision."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.offer.text"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Document.text"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.offer.linkId">
      <path value="Contract.term.offer.linkId"/> 
      <short value="Pointer to text"/> 
      <definition value="The id of the clause or question text of the offer in the referenced questionnaire/response."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.offer.linkId"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="ContractAsset"/> 
      </extension> 
      <path value="Contract.term.asset"/> 
      <short value="Contract Term Asset List"/> 
      <definition value="Contract Term Asset List."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.term.asset"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() | (children().count() &gt; id.count())"/> 
        <xpath value="@value|f:*|h:div"/> 
        <source value="Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract.paymentTermsCode"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.id">
      <path value="Contract.term.asset.id"/> 
      <representation value="xmlAttr"/> 
      <short value="xml:id (or equivalent in JSON)"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may be any
       string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.extension">
      <path value="Contract.term.asset.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and manageable, there is a strict set
       of governance  applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part of the
       definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.modifierExtension">
      <path value="Contract.term.asset.modifierExtension"/> 
      <short value="Extensions that cannot be ignored"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element and that modifies the understanding of the element in which it is contained.
       Usually modifier elements provide negation or qualification. To make the use of extensions
       safe and manageable, there is a strict set of governance applied to the definition and
       use of extensions. Though any implementer can define an extension, there is a set of requirements
       that SHALL be met as part of the definition of the extension. Applications processing
       a resource are required to check for modifier extensions."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="true"/> 
      <isModifierReason value="modifierExtension is reserved for use where modifier extensions must be used"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.class">
      <path value="Contract.term.asset.class"/> 
      <short value="Resource Type, Profile, or CDA etc."/> 
      <definition value="Categorization of the type of asset."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.asset.class"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ConsentContentClass"/> 
        </extension> 
        <strength value="extensible"/> 
        <description value="The class (type) of information a consent rule covers"/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/consent-content-class"/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract.code"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.code">
      <path value="Contract.term.asset.code"/> 
      <short value="Code in the content"/> 
      <definition value="Code in the content."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.asset.code"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ConsentContentCode"/> 
        </extension> 
        <strength value="example"/> 
        <description value="If this code is found in an instance, then the exception applies"/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/consent-content-code"/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract.code"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.period">
      <path value="Contract.term.asset.period"/> 
      <short value="Time period of the asset"/> 
      <definition value="Time period of the asset."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.asset.period"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Period"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract.activityTime"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.dataPeriod">
      <path value="Contract.term.asset.dataPeriod"/> 
      <short value="Time period of the data for the asset"/> 
      <definition value="Time period of the data for the asset."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.asset.dataPeriod"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Period"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract.effectiveTime"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.data">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="AssetData"/> 
      </extension> 
      <path value="Contract.term.asset.data"/> 
      <short value="Data defined by this Asset"/> 
      <definition value="Data defined by this Asset."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.term.asset.data"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() | (children().count() &gt; id.count())"/> 
        <xpath value="@value|f:*|h:div"/> 
        <source value="Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract.paymentTermsCode"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.data.id">
      <path value="Contract.term.asset.data.id"/> 
      <representation value="xmlAttr"/> 
      <short value="xml:id (or equivalent in JSON)"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may be any
       string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.data.extension">
      <path value="Contract.term.asset.data.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and manageable, there is a strict set
       of governance  applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part of the
       definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.data.modifierExtension">
      <path value="Contract.term.asset.data.modifierExtension"/> 
      <short value="Extensions that cannot be ignored"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element and that modifies the understanding of the element in which it is contained.
       Usually modifier elements provide negation or qualification. To make the use of extensions
       safe and manageable, there is a strict set of governance applied to the definition and
       use of extensions. Though any implementer can define an extension, there is a set of requirements
       that SHALL be met as part of the definition of the extension. Applications processing
       a resource are required to check for modifier extensions."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="true"/> 
      <isModifierReason value="modifierExtension is reserved for use where modifier extensions must be used"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.data.meaning">
      <path value="Contract.term.asset.data.meaning"/> 
      <short value="instance | related | dependents | authoredby"/> 
      <definition value="instance | related | dependents | authoredby."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.asset.data.meaning"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="code"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ContractDataMeaning"/> 
        </extension> 
        <strength value="required"/> 
        <description value="How a resource reference is interpreted when evaluating contract offers"/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-data-meaning"/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract.code"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.data.reference">
      <path value="Contract.term.asset.data.reference"/> 
      <short value="The actual data reference"/> 
      <definition value="The actual data reference."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.asset.data.reference"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Document"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="ValuedItem"/> 
      </extension> 
      <path value="Contract.term.asset.valuedItem"/> 
      <label value="ConsentDirective-term-valuedItem"/> 
      <short value="Contract Term Valued Item"/> 
      <definition value="Contract Provision Valued Item List."/> 
      <min value="0"/> 
      <max value="0"/> 
      <base> 
        <path value="Contract.term.asset.valuedItem"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() | (children().count() &gt; id.count())"/> 
        <xpath value="@value|f:*|h:div"/> 
        <source value="Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedItem classCode INVE"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem classCode INVE"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.id">
      <path value="Contract.term.asset.valuedItem.id"/> 
      <representation value="xmlAttr"/> 
      <short value="xml:id (or equivalent in JSON)"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may be any
       string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.extension">
      <path value="Contract.term.asset.valuedItem.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and manageable, there is a strict set
       of governance  applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part of the
       definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.modifierExtension">
      <path value="Contract.term.asset.valuedItem.modifierExtension"/> 
      <short value="Extensions that cannot be ignored"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element and that modifies the understanding of the element in which it is contained.
       Usually modifier elements provide negation or qualification. To make the use of extensions
       safe and manageable, there is a strict set of governance applied to the definition and
       use of extensions. Though any implementer can define an extension, there is a set of requirements
       that SHALL be met as part of the definition of the extension. Applications processing
       a resource are required to check for modifier extensions."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="true"/> 
      <isModifierReason value="modifierExtension is reserved for use where modifier extensions must be used"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.entity[x]">
      <path value="Contract.term.asset.valuedItem.entity[x]"/> 
      <label value="ConsentDirective-term-valuedItem-entity[x]"/> 
      <short value="Contract Term Valued Item Type"/> 
      <definition value="Specific type of Contract Provision Valued Item that may be priced."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.asset.valuedItem.entity[x]"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedItem code"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem code"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.identifier">
      <path value="Contract.term.asset.valuedItem.identifier"/> 
      <label value="ConsentDirective-term-valuedItem"/> 
      <short value="Contract Term Valued Item Identifier"/> 
      <definition value="Identifies a Contract Provision Valued Item instance."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.asset.valuedItem.identifier"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedItem id"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem id"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.effectiveTime">
      <path value="Contract.term.asset.valuedItem.effectiveTime"/> 
      <label value="ConsentDirective-term-valuedItem-effectiveTime"/> 
      <short value="Contract Term Valued Item Effective Time"/> 
      <definition value="Indicates the time during which this Contract Term ValuedItem information is effective."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.asset.valuedItem.effectiveTime"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.done[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedItem effectiveTime"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem effectiveTime"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.quantity">
      <path value="Contract.term.asset.valuedItem.quantity"/> 
      <label value="ConsentDirective-term-valuedItem-quantity"/> 
      <short value="Contract Term Valued Item Count"/> 
      <definition value="Specifies the units by which the Contract Provision Valued Item is measured or counted,
       and quantifies the countable or measurable Contract Term Valued Item instances."/> 
      <comment value="The context of use may frequently define what kind of quantity this is and therefore what
       kind of units can be used. The context of use may also restrict the values for the comparator."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.asset.valuedItem.quantity"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Quantity"/> 
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/> 
      </type> 
      <condition value="ele-1"/> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() | (children().count() &gt; id.count())"/> 
        <xpath value="@value|f:*|h:div"/> 
        <source value="Element"/> 
      </constraint> 
      <constraint> 
        <key value="qty-3"/> 
        <severity value="error"/> 
        <human value="If a code for the unit is present, the system SHALL also be present"/> 
        <expression value="code.empty() or system.exists()"/> 
        <xpath value="not(exists(f:code)) or exists(f:system)"/> 
        <source value="Quantity"/> 
      </constraint> 
      <constraint> 
        <key value="sqty-1"/> 
        <severity value="error"/> 
        <human value="The comparator is not used on a SimpleQuantity"/> 
        <expression value="comparator.empty()"/> 
        <xpath value="not(exists(f:comparator))"/> 
        <source value="Quantity"/> 
      </constraint> 
      <isModifier value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
      <mapping> 
        <identity value="v2"/> 
        <map value="SN (see also Range) or CQ"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem unitQuantity"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.unitPrice">
      <path value="Contract.term.asset.valuedItem.unitPrice"/> 
      <label value="ConsentDirective-term-valuedItem-unitPrice"/> 
      <short value="Contract Term Valued Item fee, charge, or cost."/> 
      <definition value="A Contract Provision Valued Item unit valuation measure."/> 
      <comment value="The context of use may frequently define what kind of quantity this is and therefore what
       kind of units can be used. The context of use may also restrict the values for the comparator."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.asset.valuedItem.unitPrice"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Quantity"/> 
        <profile value="http://hl7.org/fhir/StructureDefinition/Money"/> 
      </type> 
      <constraint> 
        <key value="qty-3"/> 
        <severity value="error"/> 
        <human value="If a code for the unit is present, the system SHALL also be present"/> 
        <expression value="code.empty() or system.exists()"/> 
        <xpath value="not(exists(f:code)) or exists(f:system)"/> 
        <source value="Quantity"/> 
      </constraint> 
      <constraint> 
        <key value="mny-1"/> 
        <severity value="error"/> 
        <human value="There SHALL be a code if there is a value and it SHALL be an expression of currency. 
         If system is present, it SHALL be ISO 4217 (system = &quot;urn:iso:std:iso:4217&quot;
         - currency)."/> 
        <expression value="(code.exists() or value.empty()) and (system.empty() or system = 'urn:iso:std:iso:4217')"/> 
        <xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')"/> 
        <source value="Money"/> 
      </constraint> 
      <isModifier value="false"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="SN (see also Range) or CQ"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="MO"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem unitPriceAmt"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.factor">
      <path value="Contract.term.asset.valuedItem.factor"/> 
      <label value="ConsentDirective-term-valuedItem-factor"/> 
      <short value="Contract Term Valued Item Price Scaling Factor"/> 
      <definition value="A real number that represents a multiplier used in determining the overall value of the
       Contract Provision Valued Item delivered. The concept of a Factor allows for a discount
       or surcharge multiplier to be applied to a monetary amount."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.asset.valuedItem.factor"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="decimal"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedItem factorNumber"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem factorNumber"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.points">
      <path value="Contract.term.asset.valuedItem.points"/> 
      <label value="ConsentDirective-term-valuedItem-points"/> 
      <short value="Contract Term Valued Item Difficulty Scaling Factor"/> 
      <definition value="An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness)
       associated with the Contract Provision Valued Item delivered. The concept of Points allows
       for assignment of point values for a Contract Provision Valued Item, such that a monetary
       amount can be assigned to each point."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.asset.valuedItem.points"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="decimal"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedItem pointNumber"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem pointNumber"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.net">
      <path value="Contract.term.asset.valuedItem.net"/> 
      <label value="ConsentDirective-term-valuedItem-net"/> 
      <short value="Total Contract Term Valued Item Value"/> 
      <definition value="Expresses the product of the Contract Provision Valued Item unitQuantity and the unitPriceAmt.
       For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number
        * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied."/> 
      <comment value="The context of use may frequently define what kind of quantity this is and therefore what
       kind of units can be used. The context of use may also restrict the values for the comparator."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.asset.valuedItem.net"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Quantity"/> 
        <profile value="http://hl7.org/fhir/StructureDefinition/Money"/> 
      </type> 
      <constraint> 
        <key value="qty-3"/> 
        <severity value="error"/> 
        <human value="If a code for the unit is present, the system SHALL also be present"/> 
        <expression value="code.empty() or system.exists()"/> 
        <xpath value="not(exists(f:code)) or exists(f:system)"/> 
        <source value="Quantity"/> 
      </constraint> 
      <constraint> 
        <key value="mny-1"/> 
        <severity value="error"/> 
        <human value="There SHALL be a code if there is a value and it SHALL be an expression of currency. 
         If system is present, it SHALL be ISO 4217 (system = &quot;urn:iso:std:iso:4217&quot;
         - currency)."/> 
        <expression value="(code.exists() or value.empty()) and (system.empty() or system = 'urn:iso:std:iso:4217')"/> 
        <xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')"/> 
        <source value="Money"/> 
      </constraint> 
      <isModifier value="false"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="SN (see also Range) or CQ"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="MO"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.securityLabel">
      <path value="Contract.term.asset.securityLabel"/> 
      <short value="Security Labels that define affected terms"/> 
      <definition value="A set of security labels that define which terms are controlled by this condition."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.term.asset.securityLabel"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SecurityLabels"/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/> 
        </extension> 
        <strength value="extensible"/> 
        <description value="Security Labels from the Healthcare Privacy and Security Classification System."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/security-labels"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="See Contract.securityLabel mapping."/> 
      </mapping> 
    </element> 
    <element id="Contract.term.agent">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Agent"/> 
      </extension> 
      <path value="Contract.term.agent"/> 
      <label value="ConsentDirective-term-actor"/> 
      <short value="Consent Directive  Term Actor List"/> 
      <definition value="List of actors participating in this Consent Directive Provision."/> 
      <comment value="Several agents may be associated (i.e. has some responsibility for an activity) with an
       activity and vice-versa.
For example, in cases of actions initiated by one user for other users, or in events that
       involve more than one user, hardware device, software, or system process. However, only
       one user may be the initiator/requestor for the event."/> 
      <requirements value="An agent can be a person, an organization, software, device, or other entities that may
       be ascribed responsibility."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.term.agent"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() | (children().count() &gt; id.count())"/> 
        <xpath value="@value|f:*|h:div"/> 
        <source value="Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Participation"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.agent.id">
      <path value="Contract.term.agent.id"/> 
      <representation value="xmlAttr"/> 
      <short value="xml:id (or equivalent in JSON)"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may be any
       string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.agent.extension">
      <path value="Contract.term.agent.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and manageable, there is a strict set
       of governance  applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part of the
       definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.agent.modifierExtension">
      <path value="Contract.term.agent.modifierExtension"/> 
      <short value="Extensions that cannot be ignored"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element and that modifies the understanding of the element in which it is contained.
       Usually modifier elements provide negation or qualification. To make the use of extensions
       safe and manageable, there is a strict set of governance applied to the definition and
       use of extensions. Though any implementer can define an extension, there is a set of requirements
       that SHALL be met as part of the definition of the extension. Applications processing
       a resource are required to check for modifier extensions."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="true"/> 
      <isModifierReason value="modifierExtension is reserved for use where modifier extensions must be used"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.agent.actor">
      <path value="Contract.term.agent.actor"/> 
      <label value="ConsentDirective-term-actor-entity"/> 
      <short value="Consent Directive Term Actor"/> 
      <definition value="The actor assigned a role in this Consent Directive Provision."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.term.agent.actor"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Contract"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.performer"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="RIM Role, Participation Type classes"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.agent.role">
      <path value="Contract.term.agent.role"/> 
      <label value="ConsentDirective-term-actor-role"/> 
      <short value="Consent Directive Term Actor Role"/> 
      <definition value="Role played by the actor assigned this role in this Consent Directive Provision."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.term.agent.role"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <strength value="example"/> 
        <description value="Detailed codes for the contract actor role."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-actorrole"/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value="RoleClass, RoleCode, ParticipationType, ParticipationFunction codes"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.action">
      <path value="Contract.term.action"/> 
      <label value="ConsentDirective-term-action"/> 
      <short value="Consent Directive Term Action"/> 
      <definition value="Action stipulated by this Consent Directive Provision."/> 
      <requirements value="If the Contract.topic references a Resource, which contains actions or activities, such
       as a Procedure to which a grantor is agreeing to receive from the grantee, then this element
       would likely not be populated.  If the Resource referenced in the Contract.topic does
       not include an action such as a Device, then the Contract.action would likely be populated,
       for example with the actions &quot;purchase and sale&quot; the Device."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.term.action"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <strength value="example"/> 
        <description value="Detailed codes for the contract action."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-action"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Maps to multiple ActClass and ActCode Concept Domains and Code Systems."/> 
      </mapping> 
    </element> 
    <element id="Contract.term.actionReason">
      <path value="Contract.term.actionReason"/> 
      <label value="ConsentDirective-term-actionReason"/> 
      <short value="Consent Directive Term Action Reason"/> 
      <definition value="Reason or purpose for the action stipulated by this Consent Directive Provision."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.term.actionReason"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <strength value="example"/> 
        <description value="Detailed codes for the contract action reason."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.reasonCode"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.why[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Examples from ActReason Concept Domains: ActCoverageReason Description:Codes used to specify
         reasons or criteria relating to coverage provided under a policy or program. May be used
         to convey reasons pertaining to coverage contractual provisions, including criteria for
         eligibility, coverage limitations, coverage maximums, or financial participation required
         of covered parties. ActInformationPrivacyReason Description: The rationale or purpose
         for an act relating to the management of personal information, such as disclosing personal
         tax information for the purpose of complying with a court order. ClinicalResearchObservationReason
         Definition: Specifies the reason that a test was performed or observation collected in
         a clinical research study. SafetyInvestigationReportReasonType Description: Possible reasons
         generating a report providing information developed during the investigation of an adverse
         event or a product problem. ControlActReason Description: Indicates the motivation, cause
         or rationale of an Act which results in a trigger event.  NonPerformanceReasonCode Description:
         The reason the action was not performed, e.g. why the medication was not taken. If an
         action was not performed, it is often clinically important to know why the action was
         not taken. RefusalReasonCode Description: Identifies why a request to add (or activate)
         a record is being refused. Examples include the receiving system not able to match the
         identifier and find that record in the receiving system, having no permission, or a detected
         issue exists which precludes the requested action.







Examples from HL7 ActReason Code System: QUALIMP (quality improvement) Description:Operational
         activities conducted for the purposes of improving the quality of an activity, product,
         or service. _PatientProfileQueryReasonCode Description: A collection of concepts identifying
         why the patient's profile is being queried. _ActInformationManagementReason Description:The
         rationale or purpose for an act relating to information management, such as archiving
         information for the purpose of complying with an enterprise data retention policy. _ActInvalidReason
         (ActInvalidReason) Description: Types of reasons why a substance is invalid for use. _NonPerformance
        ReasonCode Description: The reason the action wasn't performed, e.g. why the medication
         was not taken. If an action wasn&quot;t performed, it is often clinically important to
         know why the action wasn&quot;t taken."/> 
      </mapping> 
    </element> 
    <element id="Contract.term.group">
      <path value="Contract.term.group"/> 
      <label value="ConsentDirective-term-group"/> 
      <short value="Nested Consent DirectiveTerm Group"/> 
      <definition value="Nested group of Consent Directive Provision."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.term.group"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <contentReference value="#Contract.term"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="RIM Grouping or Nesting mechanisms"/> 
      </mapping> 
    </element> 
    <element id="Contract.signer">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Signatory"/> 
      </extension> 
      <path value="Contract.signer"/> 
      <label value="ConsentDirective-signer"/> 
      <short value="Consent Directive Signer"/> 
      <definition value="Party signing this Consent Directive."/> 
      <comment value="Signers who are principal parties to the contract are bound by the Contract.activity related
       to the Contract.topic, and the Contract.term(s), which either extend or restrict the overall
       action on the topic by, for example, stipulating specific policies or obligations constraining
       actions, action reason, or agents with respect to some or all of the topic.
For example, specifying how policies or obligations shall constrain actions and action
       reasons permitted or denied on all or a subset of the Contract.topic (e.g., all or a portion
       of property being transferred by the contract), agents (e.g., who can resell, assign interests,
       or alter the property being transferred by the contract), actions, and action reasons;
       or with respect to Contract.terms, stipulating, extending, or limiting the Contract.period
       of applicability or valuation of items under consideration."/> 
      <requirements value="The Contract.signer applies a signature to the Contract.binding referenced resource, which
       is the documentation that is the legal &quot;source of truth&quot;. The Contract.signer
       may delegate, such as a legally recognized personal representative, or have a delegate
       assigned e.g., by a court of law, to actually sign the Contract, such as a trustee in
       the case of incompetence."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.signer"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() | (children().count() &gt; id.count())"/> 
        <xpath value="@value|f:*|h:div"/> 
        <source value="Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Participation"/> 
      </mapping> 
    </element> 
    <element id="Contract.signer.id">
      <path value="Contract.signer.id"/> 
      <representation value="xmlAttr"/> 
      <short value="xml:id (or equivalent in JSON)"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may be any
       string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.signer.extension">
      <path value="Contract.signer.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and manageable, there is a strict set
       of governance  applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part of the
       definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.signer.modifierExtension">
      <path value="Contract.signer.modifierExtension"/> 
      <short value="Extensions that cannot be ignored"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element and that modifies the understanding of the element in which it is contained.
       Usually modifier elements provide negation or qualification. To make the use of extensions
       safe and manageable, there is a strict set of governance applied to the definition and
       use of extensions. Though any implementer can define an extension, there is a set of requirements
       that SHALL be met as part of the definition of the extension. Applications processing
       a resource are required to check for modifier extensions."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="true"/> 
      <isModifierReason value="modifierExtension is reserved for use where modifier extensions must be used"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="Contract.signer.type">
      <path value="Contract.signer.type"/> 
      <label value="ConsentDirective-signer-type"/> 
      <short value="Consent Directive Signer Type"/> 
      <definition value="Role of this Consent Directive signer, e.g. patient who is Consent Directive Grantee,
       the Substitute Decision Maker such as a person with Power of Attorney to whom the patient
       has granted or delegated rights to execute a Consent Directive on the patient's behalf,
       a notary public or witness."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.signer.type"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <strength value="preferred"/> 
        <description value="List of parties who may be signing."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-signer-type"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="RoleClass, RoleCode, ParticipationType, ParticipationFunction class codes."/> 
      </mapping> 
    </element> 
    <element id="Contract.signer.party">
      <path value="Contract.signer.party"/> 
      <label value="ConsentDirective-signer-party"/> 
      <short value="Consent Directive Signatory party"/> 
      <definition value="Party which is a signatory to this Consent Directive."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.signer.party"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Request.requester"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.author"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Role Class"/> 
      </mapping> 
    </element> 
    <element id="Contract.signer.signature">
      <path value="Contract.signer.signature"/> 
      <label value="ConsentDirective-signer-signature"/> 
      <short value="Consent Directive Documentation Signature"/> 
      <definition value="Legally binding Consent Directive DSIG signature contents in Base64."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.signer.signature"/> 
        <min value="1"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Signature"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.author"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Participation.signatureCode :: CD (0..1) Definition: Whether the participant has attested
         participation through a signature, or whether such a signature is needed. Examples: A
         surgical Procedure act object (representing a procedure report) requires a signature of
         the performing and responsible surgeon, and possibly other participants; The participant
         intends to provide a signature.  Participation.signatureText :: ED (0..1) Definition:
         A textual or multimedia depiction of the signature by which the participant endorses and
         accepts responsibility for his or her participation in the Act as specified in the Participation.typ
        eCode. UsageNotes: The signature can be represented either inline or by reference according
         to the ED data type. Typical cases are 
1) Paper-based signatures: the ED data type may refer to a document or other resource
         that can be retrieved through an electronic interface to a hardcopy archive. 2) Electronic
         signature: this attribute can represent virtually any electronic signature scheme. 3)
         Digital signature: this attribute can represent digital signatures by reference to a signature
         data block that is constructed in accordance to a digital signature standard, such as
         XML-DSIG, PKCS#7, PGP, etc. Examples: 1) An &quot;author&quot; participant assumes accountability
         for the truth of the Act statement to the best of his knowledge. 2) An information recipient
         only attests to the fact that he or she has received the information."/> 
      </mapping> 
    </element> 
    <element id="Contract.friendly">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="FriendlyLanguage"/> 
      </extension> 
      <path value="Contract.friendly"/> 
      <label value="ConsentDirective-friendly"/> 
      <short value="Consent Directive Friendly Language"/> 
      <definition value="The &quot;patient friendly language&quot; versionof the Consent Directive in whole or
       in parts. &quot;Patient friendly language&quot; means the representation of the  Consent
       Directive and  Consent Directive Provisions in a manner that is readily accessible and
       understandable by a layperson in accordance with best practices for communication styles
       that ensure that those agreeing to or signing the  Consent Directive understand the roles,
       actions, obligations, responsibilities, and implication of the agreement."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.friendly"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() | (children().count() &gt; id.count())"/> 
        <xpath value="@value|f:*|h:div"/> 
        <source value="Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="LanguageCommunication"/> 
      </mapping> 
    </element> 
    <element id="Contract.friendly.id">
      <path value="Contract.friendly.id"/> 
      <representation value="xmlAttr"/> 
      <short value="xml:id (or equivalent in JSON)"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may be any
       string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.friendly.extension">
      <path value="Contract.friendly.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and manageable, there is a strict set
       of governance  applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part of the
       definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.friendly.modifierExtension">
      <path value="Contract.friendly.modifierExtension"/> 
      <short value="Extensions that cannot be ignored"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element and that modifies the understanding of the element in which it is contained.
       Usually modifier elements provide negation or qualification. To make the use of extensions
       safe and manageable, there is a strict set of governance applied to the definition and
       use of extensions. Though any implementer can define an extension, there is a set of requirements
       that SHALL be met as part of the definition of the extension. Applications processing
       a resource are required to check for modifier extensions."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="true"/> 
      <isModifierReason value="modifierExtension is reserved for use where modifier extensions must be used"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="Contract.friendly.content[x]">
      <path value="Contract.friendly.content[x]"/> 
      <label value="ConsentDirective-friendly-content[x]"/> 
      <short value="Easily comprehended representation of this Consent Directive"/> 
      <definition value="Human readable rendering of this  Consent Directive in a format and representation intended
       to enhance comprehension and ensure understandability."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.friendly.content[x]"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Attachment"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Composition"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Act.text Definition: A renderable textual or multimedia description (or reference to a
         description) of the complete information which would reasonably be expected to be displayed
         to a human reader conveyed by the Act."/> 
      </mapping> 
    </element> 
    <element id="Contract.legal">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="LegalLanguage"/> 
      </extension> 
      <path value="Contract.legal"/> 
      <label value="ConsentDirective-legal"/> 
      <short value="Consent Directive Legal Language"/> 
      <definition value="List of Legal expressions or representations of this  Consent Directive."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Contract.legal"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() | (children().count() &gt; id.count())"/> 
        <xpath value="@value|f:*|h:div"/> 
        <source value="Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="LanguageCommunication"/> 
      </mapping> 
    </element> 
    <element id="Contract.legal.id">
      <path value="Contract.legal.id"/> 
      <representation value="xmlAttr"/> 
      <short value="xml:id (or equivalent in JSON)"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may be any
       string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.legal.extension">
      <path value="Contract.legal.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and manageable, there is a strict set
       of governance  applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part of the
       definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.legal.modifierExtension">
      <path value="Contract.legal.modifierExtension"/> 
      <short value="Extensions that cannot be ignored"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element and that modifies the understanding of the element in which it is contained.
       Usually modifier elements provide negation or qualification. To make the use of extensions
       safe and manageable, there is a strict set of governance applied to the definition and
       use of extensions. Though any implementer can define an extension, there is a set of requirements
       that SHALL be met as part of the definition of the extension. Applications processing
       a resource are required to check for modifier extensions."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="true"/> 
      <isModifierReason value="modifierExtension is reserved for use where modifier extensions must be used"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="Contract.legal.content[x]">
      <path value="Contract.legal.content[x]"/> 
      <label value="ConsentDirective-legal-content[x]"/> 
      <short value="Consent Directive Legal Text"/> 
      <definition value="Legal  Consent Directive text in human renderable form."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.legal.content[x]"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Attachment"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Composition"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Example: Act.text of an Act coded as with ActPrivacyLaw, ActPolicy code"/> 
      </mapping> 
    </element> 
    <element id="Contract.rule">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="ComputableLanguage"/> 
      </extension> 
      <path value="Contract.rule"/> 
      <label value="ConsentDirective-rule"/> 
      <short value="Computable Consent Directive Language"/> 
      <definition value="List of Computable Policy Rule Language Representations of this  Consent Directive."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.rule"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() | (children().count() &gt; id.count())"/> 
        <xpath value="@value|f:*|h:div"/> 
        <source value="Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="LanguageCommunication"/> 
      </mapping> 
    </element> 
    <element id="Contract.rule.id">
      <path value="Contract.rule.id"/> 
      <representation value="xmlAttr"/> 
      <short value="xml:id (or equivalent in JSON)"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may be any
       string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="string"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.rule.extension">
      <path value="Contract.rule.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element. To make the use of extensions safe and manageable, there is a strict set
       of governance  applied to the definition and use of extensions. Though any implementer
       can define an extension, there is a set of requirements that SHALL be met as part of the
       definition of the extension."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="Contract.rule.modifierExtension">
      <path value="Contract.rule.modifierExtension"/> 
      <short value="Extensions that cannot be ignored"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the element and that modifies the understanding of the element in which it is contained.
       Usually modifier elements provide negation or qualification. To make the use of extensions
       safe and manageable, there is a strict set of governance applied to the definition and
       use of extensions. Though any implementer can define an extension, there is a set of requirements
       that SHALL be met as part of the definition of the extension. Applications processing
       a resource are required to check for modifier extensions."/> 
      <comment value="There can be no stigma associated with the use of extensions by any application, project,
       or standard - regardless of the institution or jurisdiction that uses or defines the extensions.
        The use of extensions is what allows the FHIR specification to retain a core level of
       simplicity for everyone."/> 
      <alias value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <isModifier value="true"/> 
      <isModifierReason value="modifierExtension is reserved for use where modifier extensions must be used"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="Contract.rule.content[x]">
      <path value="Contract.rule.content[x]"/> 
      <label value="ConsentDirective-rule-content[x]"/> 
      <short value="Computable Consent Directive Rules"/> 
      <definition value="Computable Consent Directive conveyed using a policy rule language (e.g. XACML, DKAL,
       SecPal)."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.rule.content[x]"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Attachment"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Computable Policy Consent [Observation: templateId 2.16.840.1.113883.3.445.16] This template
         is used to represent an alternative representation of the Privacy Consent Directive (e.g.,ODRL,
         XrML, XACML) as a computer-readable set of rules. An implementation may use any appropriate
         representations of the privacy consent in addition to the &quot;ConsentDirectiveStructuredDefinition
        &quot; which uses the Clinical Template structure to express the elements of a consent
         directive in an interoperable way.
1. SHALL contain exactly one [1..1] templateId ( CONF-CD-16 ) such that it
a. SHALL contain exactly one [1..1] @root=&quot;2.16.840.1.113883.3.445.16&quot;
2. SHALL contain exactly one [1..1] @moodCode=&quot;DEF&quot; (CodeSystem: 2.16.840.1.113883.5.1001
         HL7ActMood) (CONF:14912)
3. SHALL contain exactly one [1..1] code (CONF:9139)/@code=&quot;57016-8&quot; Privacy
         Policy Acknowledgement Document (CodeSystem: 2.16.840.1.113883.6.1 LOINC) (CONF:9138)
It specifies the LOINC code corresponding to &quot;Privacy Policy Acknowledgement Document&quot;,
         it is fixed at this value.
4. SHOULD contain zero or more [0..*] value with @xsi:type=&quot;ANY&quot; (CONF:9140)
         The value contains the computable representation of the policy. This may be a standard-based
         access control or attribute control based policy (See
&quot;References&quot;). Computable Policy Consent example
&lt;!-- Sample computable policy language representation --&gt;
&lt;entryRelationship typeCode=&quot;COMP&quot;&gt;
&lt;templateId root=&quot;2.16.840.1.113883.3.445.16&quot; /&gt;
&lt;observationMedia classCode=&quot;OBS&quot; moodCode=&quot;EVN&quot;&gt;
&lt;value mediaType=&quot;text/xml&quot; representation=&quot;TXT&quot;&gt; ... &lt;/value&gt;
&lt;/observationMedia&gt;
&lt;/entryRelationship&gt;"/> 
      </mapping> 
    </element> 
    <element id="Contract.legallyBinding[x]">
      <path value="Contract.legallyBinding[x]"/> 
      <label value="ConsentDirective-binding[x]"/> 
      <short value="Binding Consent Directive"/> 
      <definition value="Legally binding onsent Directive Provision.  This is the signed and legally recognized
       representation of the Consent Directive. that is considered the &quot;source of truth&quot;,
       which would be the basis for legal action related to enforcement of the onsent Directive
       Provision."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="Contract.legallyBinding[x]"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Attachment"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Composition"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/> 
      </type> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="DocumentCompletion code system AU (authenticated) Description: A completion status in
         which a document has been signed manually or electronically by one or more individuals
         who attest to its accuracy. No explicit determination is made that the assigned individual
         has performed the authentication. While the standard allows multiple instances of authentication,
         it would be typical to have a single instance of authentication, usually by the assigned
         individual."/> 
      </mapping> 
    </element> 
  </snapshot> 
  <differential> 
    <element id="Contract">
      <path value="Contract"/> 
      <short value="Consent Directive"/> 
      <definition value="A record of a healthcare consumer’s privacy policy, which is in accordance with governing
       jurisdictional and organization privacy policies that grant or withhold consent:   • To
       one or more identified entities in a defined role   • To perform one or more operations
       (e.g. collect, access, use, disclose, amend, or delete)   • On an instance or type of
       individually identifiable health information [IIHI]  • For a purpose such as treatment,
       payment, operations, research, public health, quality measures, health status evaluation
       by third parties, or marketing   • Under certain conditions, e.g. when unconscious   •
       For specified time period, e.g. effective and expiration dates   • In certain context,
       e.g. in an emergency   A consent directive is an instance of governing jurisdictional
       and organization privacy policies, which might or might not be backed up by a signed document
       (paper or electronic). [HITSP TP30]."/> 
      <min value="0"/> 
      <max value="*"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="financial.other"/> 
      </mapping> 
    </element> 
    <element id="Contract.identifier">
      <path value="Contract.identifier"/> 
      <label value="ConsentDirective-identifier"/> 
      <short value="Consent Directive identifier"/> 
      <definition value="Unique identifier for this Consent Directive."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract id"/> 
      </mapping> 
    </element> 
    <element id="Contract.issued">
      <path value="Contract.issued"/> 
      <label value="ConsentDirective-issued"/> 
      <short value="When this Consent Directive was issued"/> 
      <definition value="Date and time when this Consent Directive was executed and became effective."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract effectiveTime"/> 
      </mapping> 
    </element> 
    <element id="Contract.applies">
      <path value="Contract.applies"/> 
      <label value="ConsentDirective-applies"/> 
      <short value="Effective time"/> 
      <definition value="Time period during which this Consent Directive is in effect."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Period"/> 
      </type> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="FinancialContract activityTime"/> 
      </mapping> 
    </element> 
    <element id="Contract.subject">
      <path value="Contract.subject"/> 
      <label value="ConsentDirective-topic"/> 
      <short value="The Patient is the topic of this Consent Directive"/> 
      <definition value="Patient information and actions taken on that information that are governed by this Consent
       Directive."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
      </type> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Role"/> 
      </mapping> 
    </element> 
    <element id="Contract.authority">
      <path value="Contract.authority"/> 
      <label value="ConsentDirective-authority"/> 
      <short value="Authority under which this Consent Directive has standing"/> 
      <definition value="A formally recognized grouping of people, principals, organizations, or jurisdictions
       with legal standing to promulgate, administer, and enforce privacy policies and applicable
       Consent Directives."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Role Scoper"/> 
      </mapping> 
    </element> 
    <element id="Contract.domain">
      <path value="Contract.domain"/> 
      <label value="ConsentDirective-domain"/> 
      <short value="Domain in which this Consent Directive applies"/> 
      <definition value="Recognized governance framework or system operating with a circumscribed scope in accordance
       with specified principles, policies, processes or procedures for managing rights, actions,
       or behaviors of parties or principals relative to privacy protection and control of the
       collection, access, use and disclosure of resources."/> 
      <alias value="scope of governance jurisdiction"/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/> 
      </type> 
    </element> 
    <element id="Contract.type">
      <path value="Contract.type"/> 
      <label value="ConsentDirective-type"/> 
      <short value="Consent Directive Type"/> 
      <definition value="Specific type of patient privacy Consent Directive reflecting the range of patient discretion
       over granting of rights to patient information and actions that may be taken on that information;
       e.g. Opt-in, opt-out, Share All (such as authorization to disclose to payer for payment
       purposes or benefit eligibility), Share Partial(such as Title 38 Section 7332 and 42 CFR
       Part 2), Implied Consent, such as a HIPAA Notice of Privacy Practices."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isSummary value="true"/> 
      <binding> 
        <strength value="example"/> 
        <description value="List of overall contract codes."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-type"/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value="CNTRCT"/> 
      </mapping> 
    </element> 
    <element id="Contract.type.coding">
      <path value="Contract.type.coding"/> 
    </element> 
    <element id="Contract.type.coding.system">
      <path value="Contract.type.coding.system"/> 
      <short value="Identity of the terminology system"/> 
      <definition value="The identification of the code system that defines the meaning of the symbol in the code."/> 
      <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be
       references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of
       FHIR defined special URIs or it should reference to some definition that establish the
       system clearly and unambiguously."/> 
      <requirements value="Need to be unambiguous about the source of the definition of the symbol."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="uri"/> 
      </type> 
      <fixedUri value="http://loinc.org"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="C*E.3"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./codeSystem"/> 
      </mapping> 
      <mapping> 
        <identity value="orim"/> 
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/> 
      </mapping> 
    </element> 
    <element id="Contract.type.coding.code">
      <path value="Contract.type.coding.code"/> 
      <short value="Symbol in syntax defined by the system"/> 
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression
       in a syntax defined by the coding system (e.g. post-coordination)."/> 
      <requirements value="Need to refer to a particular code in the system."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="code"/> 
      </type> 
      <fixedCode value="57016-8"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="v2"/> 
        <map value="C*E.1"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./code"/> 
      </mapping> 
      <mapping> 
        <identity value="orim"/> 
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/> 
      </mapping> 
    </element> 
    <element id="Contract.subType">
      <path value="Contract.subType"/> 
      <label value="ConsentDirective-subType"/> 
      <short value="Consent Directive Subtype"/> 
      <definition value="A specialized type of an overarching or more general Consent Directive, such as a patient's
       right to opt-out of a Patient Directory under HIPAA or a multiparty 42 CFR Part 2 consent
       used in a health information exchange context by a Qualified Service Organization."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <isSummary value="true"/> 
      <binding> 
        <strength value="example"/> 
        <description value="Detailed codes within the above."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-subtype"/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value="e.g. RECOV"/> 
      </mapping> 
    </element> 
    <element id="Contract.term">
      <path value="Contract.term"/> 
      <label value="ConsentDirective-term"/> 
      <short value="Consent Directive Term List"/> 
      <definition value="One or more Consent DirectiveProvisions, which may be related and conveyed as a group,
       and may contain nested groups."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
    </element> 
    <element id="Contract.term.identifier">
      <path value="Contract.term.identifier"/> 
      <label value="ConsentDirective-term-identifier"/> 
      <short value="Consent Directive Term identifier"/> 
      <definition value="Unique identifier for this particular Consent Directive Provision."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <isSummary value="true"/> 
    </element> 
    <element id="Contract.term.issued">
      <path value="Contract.term.issued"/> 
      <label value="ConsentDirective-term-issued"/> 
      <short value="Consent Directive Term Issue Date Time"/> 
      <definition value="When this Consent Directive Provision was issued."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <isSummary value="true"/> 
    </element> 
    <element id="Contract.term.applies">
      <path value="Contract.term.applies"/> 
      <label value="ConsentDirective-term-applies"/> 
      <short value="Consent Directive Term Effective Time"/> 
      <definition value="Relevant time or time-period when this Consent Directive Provision is applicable."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Period"/> 
      </type> 
      <isSummary value="true"/> 
    </element> 
    <element id="Contract.term.type">
      <path value="Contract.term.type"/> 
      <label value="ConsentDirective-term-type"/> 
      <short value="Consent Directive Term Type"/> 
      <definition value="Type of Consent Directive Provision such as specific requirements, purposes for actions,
       obligations, prohibitions, e.g. life time maximum benefit."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <binding> 
        <strength value="example"/> 
        <description value="Detailed codes for the types of contract provisions."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-term-type"/> 
      </binding> 
    </element> 
    <element id="Contract.term.subType">
      <path value="Contract.term.subType"/> 
      <label value="ConsentDirective-term-subType"/> 
      <short value="Consent Directive Term Subtype"/> 
      <definition value="Subtype of this Consent Directive Provision, e.g. life time maximum payment for a contract
       term for specific valued item, e.g. disability payment."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <binding> 
        <strength value="example"/> 
        <description value="Detailed codes for the subtypes of contract provisions."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-term-subtype"/> 
      </binding> 
    </element> 
    <element id="Contract.term.offer">
      <path value="Contract.term.offer"/> 
    </element> 
    <element id="Contract.term.offer.topic">
      <path value="Contract.term.offer.topic"/> 
      <label value="ConsentDirective-term-topic"/> 
      <short value="Topic of this Consent Directive Term"/> 
      <definition value="Who or what this Consent Directive Provision is about."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> 
      </type> 
    </element> 
    <element id="Contract.term.offer.text">
      <path value="Contract.term.offer.text"/> 
      <label value="ConsentDirective-term-text"/> 
      <short value="Human readable Consent Directive term text"/> 
      <definition value="Human readable form of this Consent Directive Provision."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="string"/> 
      </type> 
    </element> 
    <element id="Contract.term.asset">
      <path value="Contract.term.asset"/> 
    </element> 
    <element id="Contract.term.asset.valuedItem">
      <path value="Contract.term.asset.valuedItem"/> 
      <label value="ConsentDirective-term-valuedItem"/> 
      <short value="Contract Term Valued Item"/> 
      <definition value="Contract Provision Valued Item List."/> 
      <min value="0"/> 
      <max value="0"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem classCode INVE"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.entity[x]">
      <path value="Contract.term.asset.valuedItem.entity[x]"/> 
      <label value="ConsentDirective-term-valuedItem-entity[x]"/> 
      <short value="Contract Term Valued Item Type"/> 
      <definition value="Specific type of Contract Provision Valued Item that may be priced."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> 
      </type> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem code"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.identifier">
      <path value="Contract.term.asset.valuedItem.identifier"/> 
      <label value="ConsentDirective-term-valuedItem"/> 
      <short value="Contract Term Valued Item Identifier"/> 
      <definition value="Identifies a Contract Provision Valued Item instance."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Identifier"/> 
      </type> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem id"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.effectiveTime">
      <path value="Contract.term.asset.valuedItem.effectiveTime"/> 
      <label value="ConsentDirective-term-valuedItem-effectiveTime"/> 
      <short value="Contract Term Valued Item Effective Time"/> 
      <definition value="Indicates the time during which this Contract Term ValuedItem information is effective."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem effectiveTime"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.quantity">
      <path value="Contract.term.asset.valuedItem.quantity"/> 
      <label value="ConsentDirective-term-valuedItem-quantity"/> 
      <short value="Contract Term Valued Item Count"/> 
      <definition value="Specifies the units by which the Contract Provision Valued Item is measured or counted,
       and quantifies the countable or measurable Contract Term Valued Item instances."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Quantity"/> 
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/> 
      </type> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem unitQuantity"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.unitPrice">
      <path value="Contract.term.asset.valuedItem.unitPrice"/> 
      <label value="ConsentDirective-term-valuedItem-unitPrice"/> 
      <short value="Contract Term Valued Item fee, charge, or cost."/> 
      <definition value="A Contract Provision Valued Item unit valuation measure."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Quantity"/> 
        <profile value="http://hl7.org/fhir/StructureDefinition/Money"/> 
      </type> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem unitPriceAmt"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.factor">
      <path value="Contract.term.asset.valuedItem.factor"/> 
      <label value="ConsentDirective-term-valuedItem-factor"/> 
      <short value="Contract Term Valued Item Price Scaling Factor"/> 
      <definition value="A real number that represents a multiplier used in determining the overall value of the
       Contract Provision Valued Item delivered. The concept of a Factor allows for a discount
       or surcharge multiplier to be applied to a monetary amount."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="decimal"/> 
      </type> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem factorNumber"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.points">
      <path value="Contract.term.asset.valuedItem.points"/> 
      <label value="ConsentDirective-term-valuedItem-points"/> 
      <short value="Contract Term Valued Item Difficulty Scaling Factor"/> 
      <definition value="An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness)
       associated with the Contract Provision Valued Item delivered. The concept of Points allows
       for assignment of point values for a Contract Provision Valued Item, such that a monetary
       amount can be assigned to each point."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="decimal"/> 
      </type> 
      <mapping> 
        <identity value="rim"/> 
        <map value="COCT_RM440000UV09 ValuedUnitItem pointNumber"/> 
      </mapping> 
    </element> 
    <element id="Contract.term.asset.valuedItem.net">
      <path value="Contract.term.asset.valuedItem.net"/> 
      <label value="ConsentDirective-term-valuedItem-net"/> 
      <short value="Total Contract Term Valued Item Value"/> 
      <definition value="Expresses the product of the Contract Provision Valued Item unitQuantity and the unitPriceAmt.
       For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number
        * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Quantity"/> 
        <profile value="http://hl7.org/fhir/StructureDefinition/Money"/> 
      </type> 
    </element> 
    <element id="Contract.term.agent">
      <path value="Contract.term.agent"/> 
      <label value="ConsentDirective-term-actor"/> 
      <short value="Consent Directive  Term Actor List"/> 
      <definition value="List of actors participating in this Consent Directive Provision."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
    </element> 
    <element id="Contract.term.agent.actor">
      <path value="Contract.term.agent.actor"/> 
      <label value="ConsentDirective-term-actor-entity"/> 
      <short value="Consent Directive Term Actor"/> 
      <definition value="The actor assigned a role in this Consent Directive Provision."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Contract"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance"/> 
      </type> 
    </element> 
    <element id="Contract.term.agent.role">
      <path value="Contract.term.agent.role"/> 
      <label value="ConsentDirective-term-actor-role"/> 
      <short value="Consent Directive Term Actor Role"/> 
      <definition value="Role played by the actor assigned this role in this Consent Directive Provision."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <binding> 
        <strength value="example"/> 
        <description value="Detailed codes for the contract actor role."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-actorrole"/> 
      </binding> 
    </element> 
    <element id="Contract.term.action">
      <path value="Contract.term.action"/> 
      <label value="ConsentDirective-term-action"/> 
      <short value="Consent Directive Term Action"/> 
      <definition value="Action stipulated by this Consent Directive Provision."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <binding> 
        <strength value="example"/> 
        <description value="Detailed codes for the contract action."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-action"/> 
      </binding> 
    </element> 
    <element id="Contract.term.actionReason">
      <path value="Contract.term.actionReason"/> 
      <label value="ConsentDirective-term-actionReason"/> 
      <short value="Consent Directive Term Action Reason"/> 
      <definition value="Reason or purpose for the action stipulated by this Consent Directive Provision."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <binding> 
        <strength value="example"/> 
        <description value="Detailed codes for the contract action reason."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"/> 
      </binding> 
    </element> 
    <element id="Contract.term.group">
      <path value="Contract.term.group"/> 
      <label value="ConsentDirective-term-group"/> 
      <short value="Nested Consent DirectiveTerm Group"/> 
      <definition value="Nested group of Consent Directive Provision."/> 
      <min value="0"/> 
      <max value="*"/> 
      <contentReference value="#term"/> 
    </element> 
    <element id="Contract.signer">
      <path value="Contract.signer"/> 
      <label value="ConsentDirective-signer"/> 
      <short value="Consent Directive Signer"/> 
      <definition value="Party signing this Consent Directive."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
    </element> 
    <element id="Contract.signer.type">
      <path value="Contract.signer.type"/> 
      <label value="ConsentDirective-signer-type"/> 
      <short value="Consent Directive Signer Type"/> 
      <definition value="Role of this Consent Directive signer, e.g. patient who is Consent Directive Grantee,
       the Substitute Decision Maker such as a person with Power of Attorney to whom the patient
       has granted or delegated rights to execute a Consent Directive on the patient's behalf,
       a notary public or witness."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <binding> 
        <strength value="preferred"/> 
        <description value="List of parties who may be signing."/> 
        <valueSetCanonical value="http://hl7.org/fhir/ValueSet/contract-signer-type"/> 
      </binding> 
    </element> 
    <element id="Contract.signer.party">
      <path value="Contract.signer.party"/> 
      <label value="ConsentDirective-signer-party"/> 
      <short value="Consent Directive Signatory party"/> 
      <definition value="Party which is a signatory to this Consent Directive."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </type> 
    </element> 
    <element id="Contract.signer.signature">
      <path value="Contract.signer.signature"/> 
      <label value="ConsentDirective-signer-signature"/> 
      <short value="Consent Directive Documentation Signature"/> 
      <definition value="Legally binding Consent Directive DSIG signature contents in Base64."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Signature"/> 
      </type> 
    </element> 
    <element id="Contract.friendly">
      <path value="Contract.friendly"/> 
      <label value="ConsentDirective-friendly"/> 
      <short value="Consent Directive Friendly Language"/> 
      <definition value="The &quot;patient friendly language&quot; versionof the Consent Directive in whole or
       in parts. &quot;Patient friendly language&quot; means the representation of the  Consent
       Directive and  Consent Directive Provisions in a manner that is readily accessible and
       understandable by a layperson in accordance with best practices for communication styles
       that ensure that those agreeing to or signing the  Consent Directive understand the roles,
       actions, obligations, responsibilities, and implication of the agreement."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
    </element> 
    <element id="Contract.friendly.content[x]">
      <path value="Contract.friendly.content[x]"/> 
      <label value="ConsentDirective-friendly-content[x]"/> 
      <short value="Easily comprehended representation of this Consent Directive"/> 
      <definition value="Human readable rendering of this  Consent Directive in a format and representation intended
       to enhance comprehension and ensure understandability."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Attachment"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Composition"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/> 
      </type> 
    </element> 
    <element id="Contract.legal">
      <path value="Contract.legal"/> 
      <label value="ConsentDirective-legal"/> 
      <short value="Consent Directive Legal Language"/> 
      <definition value="List of Legal expressions or representations of this  Consent Directive."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
    </element> 
    <element id="Contract.legal.content[x]">
      <path value="Contract.legal.content[x]"/> 
      <label value="ConsentDirective-legal-content[x]"/> 
      <short value="Consent Directive Legal Text"/> 
      <definition value="Legal  Consent Directive text in human renderable form."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Attachment"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Composition"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/> 
      </type> 
    </element> 
    <element id="Contract.rule">
      <path value="Contract.rule"/> 
      <label value="ConsentDirective-rule"/> 
      <short value="Computable Consent Directive Language"/> 
      <definition value="List of Computable Policy Rule Language Representations of this  Consent Directive."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
    </element> 
    <element id="Contract.rule.content[x]">
      <path value="Contract.rule.content[x]"/> 
      <label value="ConsentDirective-rule-content[x]"/> 
      <short value="Computable Consent Directive Rules"/> 
      <definition value="Computable Consent Directive conveyed using a policy rule language (e.g. XACML, DKAL,
       SecPal)."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Attachment"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/> 
      </type> 
    </element> 
    <element id="Contract.legallyBinding[x]">
      <path value="Contract.legallyBinding[x]"/> 
      <label value="ConsentDirective-binding[x]"/> 
      <short value="Binding Consent Directive"/> 
      <definition value="Legally binding onsent Directive Provision.  This is the signed and legally recognized
       representation of the Consent Directive. that is considered the &quot;source of truth&quot;,
       which would be the basis for legal action related to enforcement of the onsent Directive
       Provision."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Attachment"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Composition"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/> 
      </type> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/> 
      </type> 
    </element> 
  </differential> 
</StructureDefinition>