DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 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 - JSON

StructureDefinition for Consent Directive

Raw JSON

{
  "resourceType": "StructureDefinition",
  "id": "consentdirective",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/consentdirective",
  "name": "Consent Directive",
  "status": "draft",
  "publisher": "Health Level Seven International (Community Based Collaborative Care)",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://hl7.org/special/committees/Security"
        }
      ]
    }
  ],
  "date": "2014-01-31",
  "description": "Consent Directive",
  "fhirVersion": "1.0.2",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2"
    }
  ],
  "kind": "resource",
  "constrainedType": "Contract",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/Contract",
  "snapshot": {
    "element": [
      {
        "path": "Contract",
        "name": "ConsentDirective",
        "short": "Consent Directive",
        "definition": "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 may or may not be backed up by a signed document (paper or electronic). [HITSP TP30].",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Contract"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "FinancialContract"
          },
          {
            "identity": "w5",
            "map": "financial.other"
          }
        ]
      },
      {
        "path": "Contract.id",
        "short": "Logical id of this artifact",
        "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
        "comments": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "isSummary": true
      },
      {
        "path": "Contract.meta",
        "short": "Metadata about the resource",
        "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.meta",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Meta"
          }
        ],
        "isSummary": true
      },
      {
        "path": "Contract.implicitRules",
        "short": "A set of rules under which this content was created",
        "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
        "comments": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.implicitRules",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true,
        "isSummary": true
      },
      {
        "path": "Contract.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comments": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "A human language.",
          "valueSetUri": "http://tools.ietf.org/html/bcp47"
        }
      },
      {
        "path": "Contract.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comments": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "dom-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "path": "Contract.contained",
        "short": "Contained, inline Resources",
        "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comments": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
        "alias": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.contained",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Contract.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Contract.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Contract.identifier",
        "name": "ConsentDirective.identifier",
        "short": "Consent Directive identifier",
        "definition": "Unique identifier for this Consent Directive.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "FinancialContract id"
          }
        ]
      },
      {
        "path": "Contract.issued",
        "name": "ConsentDirective.issued",
        "short": "When this Consent Directive was issued",
        "definition": "Date and time when this Consent Directive was executed and became effective.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.issued",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "FinancialContract effectiveTime"
          }
        ]
      },
      {
        "path": "Contract.applies",
        "name": "ConsentDirective.applies",
        "short": "Effective time",
        "definition": "Time period during which this Consent Directive is in effect.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.applies",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "FinancialContract activityTime"
          }
        ]
      },
      {
        "path": "Contract.subject",
        "name": "ConsentDirective.subject",
        "short": "Subject of this Consent Directive",
        "definition": "Patient information and actions taken on that information that are governed by this Consent Directive.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.subject",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Resource"
            ]
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "Role"
          }
        ]
      },
      {
        "path": "Contract.authority",
        "name": "ConsentDirective.authority",
        "short": "Authority under which this Consent Directive has standing",
        "definition": "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": 0,
        "max": "*",
        "base": {
          "path": "Contract.authority",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Role Scoper"
          }
        ]
      },
      {
        "path": "Contract.domain",
        "name": "ConsentDirective.domain",
        "short": "Domain in which this Consent Directive applies",
        "definition": "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": [
          "scope of governance jurisdiction"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.domain",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Location"
            ]
          }
        ]
      },
      {
        "path": "Contract.type",
        "name": "ConsentDirective.type",
        "short": "Consent Directive Type",
        "definition": "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": 0,
        "max": "1",
        "base": {
          "path": "Contract.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "List of overall contract codes.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contract-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "CNTRCT"
          }
        ]
      },
      {
        "path": "Contract.subType",
        "name": "ConsentDirective.subType",
        "short": "Consent Directive Subtype",
        "definition": "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": 0,
        "max": "*",
        "base": {
          "path": "Contract.subType",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Detailed codes within the above.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contract-subtype"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "e.g. RECOV"
          }
        ]
      },
      {
        "path": "Contract.action",
        "name": "ConsentDirective.action",
        "short": "Consent Directive Action",
        "definition": "Action stipulated by this Consent Directive.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.action",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the contract action.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contract-action"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "e.g. JURISPOL"
          }
        ]
      },
      {
        "path": "Contract.actionReason",
        "name": "ConsentDirective.actionReason",
        "short": "Consent Directive Action Reason",
        "definition": "Reason for action stipulated by this Consent Directive.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.actionReason",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the contract action reason.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "e.g. QUALIMP"
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Actor"
          }
        ],
        "path": "Contract.actor",
        "name": "ConsentDirective.actor",
        "short": "Consent Directive Actor",
        "definition": "List of Consent Directive actors.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.actor",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "path": "Contract.actor.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.actor.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.actor.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.actor.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.actor.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.actor.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Contract.actor.entity",
        "name": "ConsentDirective.actor.entity",
        "short": "Consent Directive Actor Type",
        "definition": "Who or what actors are assigned roles in this Consent Directive.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Contract.actor.entity",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Contract"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Device"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Group"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Location"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Substance"
            ]
          }
        ]
      },
      {
        "path": "Contract.actor.role",
        "name": "ConsentDirective.actor.role",
        "short": "Consent Directive Actor Role",
        "definition": "Role type of actors assigned roles in this Consent Directive.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.actor.role",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the contract actor role.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contract-actorrole"
          }
        }
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "ValuedItem"
          }
        ],
        "path": "Contract.valuedItem",
        "name": "ConsentDirective.valuedItem",
        "short": "Contract Valued Item",
        "definition": "Contract Valued Item List.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Contract.valuedItem",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedItem classCode INVE"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.valuedItem.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.valuedItem.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.valuedItem.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.entity[x]",
        "name": "ConsentDirective.valuedItem.entity[x]",
        "short": "Contract Valued Item Type",
        "definition": "Specific type of Contract Valued Item that may be priced.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.valuedItem.entity[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Resource"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedItem code"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.identifier",
        "name": "ConsentDirective.valuedItem.identifier",
        "short": "Contract Valued Item Identifier",
        "definition": "Identifies a Contract Valued Item instance.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.valuedItem.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedItem id"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.effectiveTime",
        "name": "ConsentDirective.valuedItem.effectiveTime",
        "short": "Contract Valued Item Effective Time",
        "definition": "Indicates the time during which this Contract ValuedItem information is effective.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.valuedItem.effectiveTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedItem                effectiveTime"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.quantity",
        "name": "ConsentDirective.valuedItem.quantity",
        "short": "Count of Contract Valued Items",
        "definition": "Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.",
        "comments": "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": 0,
        "max": "1",
        "base": {
          "path": "Contract.valuedItem.quantity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
            ]
          }
        ],
        "constraint": [
          {
            "key": "qty-3",
            "severity": "error",
            "human": "If a code for the unit is present, the system SHALL also be present",
            "xpath": "not(exists(f:code)) or exists(f:system)"
          },
          {
            "key": "sqty-1",
            "severity": "error",
            "human": "The comparator is not used on a SimpleQuantity",
            "xpath": "not(exists(f:comparator))"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "SN (see also Range) or CQ"
          },
          {
            "identity": "rim",
            "map": "PQ, IVL<PQ>, MO, CO, depending on the values"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.unitPrice",
        "name": "ConsentDirective.valuedItem.unitprice",
        "short": "Contract Valued Item fee, charge, or cost.",
        "definition": "A Contract Valued Item unit valuation measure.",
        "comments": "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": 0,
        "max": "1",
        "base": {
          "path": "Contract.valuedItem.unitPrice",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Money"
            ]
          }
        ],
        "constraint": [
          {
            "key": "qty-3",
            "severity": "error",
            "human": "If a code for the unit is present, the system SHALL also be present",
            "xpath": "not(exists(f:code)) or exists(f:system)"
          },
          {
            "key": "mny-1",
            "severity": "error",
            "human": "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 = \"urn:iso:std:iso:4217\" - currency).",
            "xpath": "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "SN (see also Range) or CQ"
          },
          {
            "identity": "rim",
            "map": "PQ, IVL<PQ>, MO, CO, depending on the values"
          },
          {
            "identity": "v2",
            "map": "F12"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.factor",
        "name": "ConsentDirective.valuedItem.factor",
        "short": "Contract Valued Item Price Scaling Factor",
        "definition": "A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.valuedItem.factor",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedItem factorNumber"
          },
          {
            "identity": "v2",
            "map": "F13/F14"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.points",
        "name": "ConsentDirective.valuedItem.points",
        "short": "Contract Valued Item Difficulty Scaling Factor",
        "definition": "An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.valuedItem.points",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedItem pointNumber"
          },
          {
            "identity": "v2",
            "map": "F13/F14"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.net",
        "name": "ConsentDirective.valuedItem.net",
        "short": "Total Contract Valued Item Value",
        "definition": "Expresses the product of the Contract 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.",
        "comments": "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": 0,
        "max": "1",
        "base": {
          "path": "Contract.valuedItem.net",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Money"
            ]
          }
        ],
        "constraint": [
          {
            "key": "qty-3",
            "severity": "error",
            "human": "If a code for the unit is present, the system SHALL also be present",
            "xpath": "not(exists(f:code)) or exists(f:system)"
          },
          {
            "key": "mny-1",
            "severity": "error",
            "human": "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 = \"urn:iso:std:iso:4217\" - currency).",
            "xpath": "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "SN (see also Range) or CQ"
          },
          {
            "identity": "rim",
            "map": "PQ, IVL<PQ>, MO, CO, depending on the values"
          },
          {
            "identity": "v2",
            "map": "F13/F14"
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Signatory"
          }
        ],
        "path": "Contract.signer",
        "name": "ConsentDirective.signer",
        "short": "Consent Directive Signer",
        "definition": "Party signing this Consent Directive.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.signer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "path": "Contract.signer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.signer.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.signer.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.signer.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.signer.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.signer.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Contract.signer.type",
        "name": "ConsentDirective.signer.type",
        "short": "Consent Directive Signer Type",
        "definition": "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": 1,
        "max": "1",
        "base": {
          "path": "Contract.signer.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "List of parties who may be signing.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contract-signer-type"
          }
        }
      },
      {
        "path": "Contract.signer.party",
        "name": "ConsentDirective.signer.party",
        "short": "Consent Directive Signatory party",
        "definition": "Party which is a signatory to this Consent Directive.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Contract.signer.party",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
            ]
          }
        ]
      },
      {
        "path": "Contract.signer.signature",
        "name": "ConsentDirective.signer.signature",
        "short": "Consent Directive Documentation Signature",
        "definition": "Legally binding Consent Directive DSIG signature contents in Base64.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Contract.signer.signature",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Term"
          }
        ],
        "path": "Contract.term",
        "name": "ConsentDirective.term",
        "short": "Consent Directive Term List",
        "definition": "One or more Consent DirectiveProvisions, which may be related and conveyed as a group, and may contain nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.term",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "path": "Contract.term.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.term.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.term.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.term.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.term.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Contract.term.identifier",
        "name": "ConsentDirective.term.identifier",
        "short": "Consent Directive Term identifier",
        "definition": "Unique identifier for this particular Consent Directive Provision.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true
      },
      {
        "path": "Contract.term.issued",
        "name": "ConsentDirective.term.issued",
        "short": "Consent Directive Term Issue Date Time",
        "definition": "When this Consent Directive Provision was issued.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.issued",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true
      },
      {
        "path": "Contract.term.applies",
        "name": "ConsentDirective.term.applies",
        "short": "Consent Directive Term Effective Time",
        "definition": "Relevant time or time-period when this Consent Directive Provision is applicable.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.applies",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "isSummary": true
      },
      {
        "path": "Contract.term.type",
        "name": "ConsentDirective.term.type",
        "short": "Consent Directive Term Type",
        "definition": "Type of Consent Directive Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the types of contract provisions.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contract-term-type"
          }
        }
      },
      {
        "path": "Contract.term.subType",
        "name": "ConsentDirective.term.subType",
        "short": "Consent Directive Term Subtype",
        "definition": "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": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.subType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the subtypes of contract provisions.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contract-term-subtype"
          }
        }
      },
      {
        "path": "Contract.term.subject",
        "name": "ConsentDirective.term.subject",
        "short": "Subject  of this Consent Directive Term",
        "definition": "Who or what this Consent Directive Provision is about.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Resource"
            ]
          }
        ]
      },
      {
        "path": "Contract.term.action",
        "name": "ConsentDirective.term.action",
        "short": "Consent Directive Term Action",
        "definition": "Action stipulated by this Consent Directive Provision.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.term.action",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the contract action.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contract-action"
          }
        }
      },
      {
        "path": "Contract.term.actionReason",
        "name": "ConsentDirective.term.actionReason",
        "short": "Consent Directive Term Action Reason",
        "definition": "Reason or purpose for the action stipulated by this Consent Directive Provision.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.term.actionReason",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the contract action reason.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"
          }
        }
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "TermActor"
          }
        ],
        "path": "Contract.term.actor",
        "name": "ConsentDirective.term.actor",
        "short": "Consent Directive  Term Actor List",
        "definition": "List of actors participating in this Consent Directive Provision.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.term.actor",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "path": "Contract.term.actor.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.actor.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.term.actor.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.term.actor.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.term.actor.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.term.actor.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Contract.term.actor.entity",
        "name": "ConsentDirective.term.actor.entity",
        "short": "Consent Directive Term Actor",
        "definition": "The actor assigned a role in this Consent Directive Provision.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Contract.term.actor.entity",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Contract"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Device"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Group"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Location"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Substance"
            ]
          }
        ]
      },
      {
        "path": "Contract.term.actor.role",
        "name": "ConsentDirective.term.actor.role",
        "short": "Consent Directive Term Actor Role",
        "definition": "Role played by the actor assigned this role in this Consent Directive Provision.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.term.actor.role",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the contract actor role.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contract-actorrole"
          }
        }
      },
      {
        "path": "Contract.term.text",
        "name": "ConsentDirective.term.text",
        "short": "Human readable Consent Directive term text",
        "definition": "Human readable form of this Consent Directive Provision.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "TermValuedItem"
          }
        ],
        "path": "Contract.term.valuedItem",
        "name": "ConsentDirective.term.valuedItem",
        "short": "Contract Term Valued Item",
        "definition": "Contract Provision Valued Item List.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Contract.term.valuedItem",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedUnitItem classCode INVE"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.valuedItem.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.term.valuedItem.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.term.valuedItem.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.entity[x]",
        "name": "ConsentDirective.term.valuedItem.entity[x]",
        "short": "Contract Term Valued Item Type",
        "definition": "Specific type of Contract Provision Valued Item that may be priced.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.valuedItem.entity[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Resource"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedUnitItem code"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.identifier",
        "name": "ConsentDirective.term.valuedItem.",
        "short": "Contract Term Valued Item Identifier",
        "definition": "Identifies a Contract Provision Valued Item instance.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.valuedItem.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedUnitItem id"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.effectiveTime",
        "name": "ConsentDirective.term.valuedItem.effectiveTime",
        "short": "Contract Term Valued Item Effective Time",
        "definition": "Indicates the time during which this Contract Term ValuedItem information is effective.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.valuedItem.effectiveTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedUnitItem effectiveTime"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.quantity",
        "name": "ConsentDirective.term.valuedItem.quantity",
        "short": "Contract Term Valued Item Count",
        "definition": "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.",
        "comments": "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": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.valuedItem.quantity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
            ]
          }
        ],
        "constraint": [
          {
            "key": "qty-3",
            "severity": "error",
            "human": "If a code for the unit is present, the system SHALL also be present",
            "xpath": "not(exists(f:code)) or exists(f:system)"
          },
          {
            "key": "sqty-1",
            "severity": "error",
            "human": "The comparator is not used on a SimpleQuantity",
            "xpath": "not(exists(f:comparator))"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "SN (see also Range) or CQ"
          },
          {
            "identity": "rim",
            "map": "PQ, IVL<PQ>, MO, CO, depending on the values"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.unitPrice",
        "name": "ConsentDirective.term.valuedItem.unitPrice",
        "short": "Contract Term Valued Item fee, charge, or cost.",
        "definition": "A Contract Provision Valued Item unit valuation measure.",
        "comments": "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": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.valuedItem.unitPrice",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Money"
            ]
          }
        ],
        "constraint": [
          {
            "key": "qty-3",
            "severity": "error",
            "human": "If a code for the unit is present, the system SHALL also be present",
            "xpath": "not(exists(f:code)) or exists(f:system)"
          },
          {
            "key": "mny-1",
            "severity": "error",
            "human": "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 = \"urn:iso:std:iso:4217\" - currency).",
            "xpath": "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "SN (see also Range) or CQ"
          },
          {
            "identity": "rim",
            "map": "PQ, IVL<PQ>, MO, CO, depending on the values"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.factor",
        "name": "ConsentDirective.term.valuedItem.factor",
        "short": "Contract Term Valued Item Price Scaling Factor",
        "definition": "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": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.valuedItem.factor",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedUnitItem factorNumber"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.points",
        "name": "ConsentDirective.term.valuedItem.points",
        "short": "Contract Term Valued Item Difficulty Scaling Factor",
        "definition": "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": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.valuedItem.points",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedUnitItem pointNumber"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.net",
        "name": "ConsentDirective.term.valuedItem.net",
        "short": "Total Contract Term Valued Item Value",
        "definition": "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.",
        "comments": "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": 0,
        "max": "1",
        "base": {
          "path": "Contract.term.valuedItem.net",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Money"
            ]
          }
        ],
        "constraint": [
          {
            "key": "qty-3",
            "severity": "error",
            "human": "If a code for the unit is present, the system SHALL also be present",
            "xpath": "not(exists(f:code)) or exists(f:system)"
          },
          {
            "key": "mny-1",
            "severity": "error",
            "human": "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 = \"urn:iso:std:iso:4217\" - currency).",
            "xpath": "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "SN (see also Range) or CQ"
          },
          {
            "identity": "rim",
            "map": "PQ, IVL<PQ>, MO, CO, depending on the values"
          }
        ]
      },
      {
        "path": "Contract.term.group",
        "name": "ConsentDirective.term.group",
        "short": "Nested Consent DirectiveTerm Group",
        "definition": "Nested group of Consent Directive Provision.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.term.group",
          "min": 0,
          "max": "*"
        },
        "nameReference": "term"
      },
      {
        "path": "Contract.binding[x]",
        "name": "ConsentDirective.binding[x]",
        "short": "Binding Consent Directive",
        "definition": "Legally binding onsent Directive Provision.  This is the signed and legally recognized representation of the Consent Directive. that is considered the \"source of truth\", which would be the basis for legal action related to enforcement of the onsent Directive Provision.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Contract.binding[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Attachment"
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Composition"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/DocumentReference"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "FriendlyLanguage"
          }
        ],
        "path": "Contract.friendly",
        "name": "ConsentDirective.friendly",
        "short": "Consent Directive Friendly Language",
        "definition": "The \"patient friendly language\" versionof the Consent Directive in whole or in parts. \"Patient friendly language\" 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": 0,
        "max": "*",
        "base": {
          "path": "Contract.friendly",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "path": "Contract.friendly.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.friendly.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.friendly.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.friendly.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.friendly.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.friendly.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Contract.friendly.content[x]",
        "name": "ConsentDirective.friendly.content[x]",
        "short": "Easily comprehended representation of this Consent Directive",
        "definition": "Human readable rendering of this  Consent Directive in a format and representation intended to enhance comprehension and ensure understandability.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Contract.friendly.content[x]",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Attachment"
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Composition"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/DocumentReference"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "LegalLanguage"
          }
        ],
        "path": "Contract.legal",
        "name": "ConsentDirective.legal",
        "short": "Consent Directive Legal Language",
        "definition": "List of Legal expressions or representations of this  Consent Directive.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.legal",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "path": "Contract.legal.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.legal.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.legal.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.legal.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.legal.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.legal.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Contract.legal.content[x]",
        "name": "ConsentDirective.legal.content[x]",
        "short": "Consent Directive Legal Text",
        "definition": "Legal  Consent Directive text in human renderable form.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Contract.legal.content[x]",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Attachment"
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Composition"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/DocumentReference"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "ComputableLanguage"
          }
        ],
        "path": "Contract.rule",
        "name": "ConsentDirective.rule",
        "short": "Computable Consent Directive Language",
        "definition": "List of Computable Policy Rule Language Representations of this  Consent Directive.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.rule",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "path": "Contract.rule.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Contract.rule.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.rule.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.rule.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Contract.rule.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contract.rule.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Contract.rule.content[x]",
        "name": "ConsentDirective.rule.content[x]",
        "short": "Computable Consent Directive Rules",
        "definition": "Computable Consent Directive conveyed using a policy rule language (e.g. XACML, DKAL, SecPal).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Contract.rule.content[x]",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Attachment"
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/DocumentReference"
            ]
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "path": "Contract",
        "name": "ConsentDirective",
        "short": "Consent Directive",
        "definition": "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 may or may not be backed up by a signed document (paper or electronic). [HITSP TP30].",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Contract"
          }
        ]
      },
      {
        "path": "Contract.identifier",
        "name": "ConsentDirective.identifier",
        "short": "Consent Directive identifier",
        "definition": "Unique identifier for this Consent Directive.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "path": "Contract.issued",
        "name": "ConsentDirective.issued",
        "short": "When this Consent Directive was issued",
        "definition": "Date and time when this Consent Directive was executed and became effective.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "path": "Contract.applies",
        "name": "ConsentDirective.applies",
        "short": "Effective time",
        "definition": "Time period during which this Consent Directive is in effect.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "path": "Contract.subject",
        "name": "ConsentDirective.subject",
        "short": "Subject of this Consent Directive",
        "definition": "Patient information and actions taken on that information that are governed by this Consent Directive.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Resource"
            ]
          }
        ]
      },
      {
        "path": "Contract.authority",
        "name": "ConsentDirective.authority",
        "short": "Authority under which this Consent Directive has standing",
        "definition": "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": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ]
      },
      {
        "path": "Contract.domain",
        "name": "ConsentDirective.domain",
        "short": "Domain in which this Consent Directive applies",
        "definition": "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": [
          "scope of governance jurisdiction"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Location"
            ]
          }
        ]
      },
      {
        "path": "Contract.type",
        "name": "ConsentDirective.type",
        "short": "Consent Directive Type",
        "definition": "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": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "path": "Contract.subType",
        "name": "ConsentDirective.subType",
        "short": "Consent Directive Subtype",
        "definition": "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": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "path": "Contract.action",
        "name": "ConsentDirective.action",
        "short": "Consent Directive Action",
        "definition": "Action stipulated by this Consent Directive.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "path": "Contract.actionReason",
        "name": "ConsentDirective.actionReason",
        "short": "Consent Directive Action Reason",
        "definition": "Reason for action stipulated by this Consent Directive.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "path": "Contract.actor",
        "name": "ConsentDirective.actor",
        "short": "Consent Directive Actor",
        "definition": "List of Consent Directive actors.",
        "min": 0,
        "max": "*"
      },
      {
        "path": "Contract.actor.entity",
        "name": "ConsentDirective.actor.entity",
        "short": "Consent Directive Actor Type",
        "definition": "Who or what actors are assigned roles in this Consent Directive.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Contract"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Device"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Group"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Location"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Substance"
            ]
          }
        ]
      },
      {
        "path": "Contract.actor.role",
        "name": "ConsentDirective.actor.role",
        "short": "Consent Directive Actor Role",
        "definition": "Role type of actors assigned roles in this Consent Directive.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "path": "Contract.valuedItem",
        "name": "ConsentDirective.valuedItem",
        "short": "Contract Valued Item",
        "definition": "Contract Valued Item List.",
        "min": 0,
        "max": "0"
      },
      {
        "path": "Contract.valuedItem.entity[x]",
        "name": "ConsentDirective.valuedItem.entity[x]",
        "short": "Contract Valued Item Type",
        "definition": "Specific type of Contract Valued Item that may be priced.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Resource"
            ]
          }
        ]
      },
      {
        "path": "Contract.valuedItem.identifier",
        "name": "ConsentDirective.valuedItem.identifier",
        "short": "Contract Valued Item Identifier",
        "definition": "Identifies a Contract Valued Item instance.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.effectiveTime",
        "name": "ConsentDirective.valuedItem.effectiveTime",
        "short": "Contract Valued Item Effective Time",
        "definition": "Indicates the time during which this Contract ValuedItem information is effective.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.quantity",
        "name": "ConsentDirective.valuedItem.quantity",
        "short": "Count of Contract Valued Items",
        "definition": "Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
            ]
          }
        ]
      },
      {
        "path": "Contract.valuedItem.unitPrice",
        "name": "ConsentDirective.valuedItem.unitprice",
        "short": "Contract Valued Item fee, charge, or cost.",
        "definition": "A Contract Valued Item unit valuation measure.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Money"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "F12"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.factor",
        "name": "ConsentDirective.valuedItem.factor",
        "short": "Contract Valued Item Price Scaling Factor",
        "definition": "A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "F13/F14"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.points",
        "name": "ConsentDirective.valuedItem.points",
        "short": "Contract Valued Item Difficulty Scaling Factor",
        "definition": "An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "F13/F14"
          }
        ]
      },
      {
        "path": "Contract.valuedItem.net",
        "name": "ConsentDirective.valuedItem.net",
        "short": "Total Contract Valued Item Value",
        "definition": "Expresses the product of the Contract 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": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Money"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "F13/F14"
          }
        ]
      },
      {
        "path": "Contract.signer",
        "name": "ConsentDirective.signer",
        "short": "Consent Directive Signer",
        "definition": "Party signing this Consent Directive.",
        "min": 0,
        "max": "*"
      },
      {
        "path": "Contract.signer.type",
        "name": "ConsentDirective.signer.type",
        "short": "Consent Directive Signer Type",
        "definition": "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": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "path": "Contract.signer.party",
        "name": "ConsentDirective.signer.party",
        "short": "Consent Directive Signatory party",
        "definition": "Party which is a signatory to this Consent Directive.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
            ]
          }
        ]
      },
      {
        "path": "Contract.signer.signature",
        "name": "ConsentDirective.signer.signature",
        "short": "Consent Directive Documentation Signature",
        "definition": "Legally binding Consent Directive DSIG signature contents in Base64.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "path": "Contract.term",
        "name": "ConsentDirective.term",
        "short": "Consent Directive Term List",
        "definition": "One or more Consent DirectiveProvisions, which may be related and conveyed as a group, and may contain nested groups.",
        "min": 0,
        "max": "*"
      },
      {
        "path": "Contract.term.identifier",
        "name": "ConsentDirective.term.identifier",
        "short": "Consent Directive Term identifier",
        "definition": "Unique identifier for this particular Consent Directive Provision.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "path": "Contract.term.issued",
        "name": "ConsentDirective.term.issued",
        "short": "Consent Directive Term Issue Date Time",
        "definition": "When this Consent Directive Provision was issued.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "path": "Contract.term.applies",
        "name": "ConsentDirective.term.applies",
        "short": "Consent Directive Term Effective Time",
        "definition": "Relevant time or time-period when this Consent Directive Provision is applicable.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "path": "Contract.term.type",
        "name": "ConsentDirective.term.type",
        "short": "Consent Directive Term Type",
        "definition": "Type of Consent Directive Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "path": "Contract.term.subType",
        "name": "ConsentDirective.term.subType",
        "short": "Consent Directive Term Subtype",
        "definition": "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": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "path": "Contract.term.subject",
        "name": "ConsentDirective.term.subject",
        "short": "Subject  of this Consent Directive Term",
        "definition": "Who or what this Consent Directive Provision is about.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Resource"
            ]
          }
        ]
      },
      {
        "path": "Contract.term.action",
        "name": "ConsentDirective.term.action",
        "short": "Consent Directive Term Action",
        "definition": "Action stipulated by this Consent Directive Provision.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "path": "Contract.term.actionReason",
        "name": "ConsentDirective.term.actionReason",
        "short": "Consent Directive Term Action Reason",
        "definition": "Reason or purpose for the action stipulated by this Consent Directive Provision.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "path": "Contract.term.actor",
        "name": "ConsentDirective.term.actor",
        "short": "Consent Directive  Term Actor List",
        "definition": "List of actors participating in this Consent Directive Provision.",
        "min": 0,
        "max": "*"
      },
      {
        "path": "Contract.term.actor.entity",
        "name": "ConsentDirective.term.actor.entity",
        "short": "Consent Directive Term Actor",
        "definition": "The actor assigned a role in this Consent Directive Provision.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Contract"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Device"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Group"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Location"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Substance"
            ]
          }
        ]
      },
      {
        "path": "Contract.term.actor.role",
        "name": "ConsentDirective.term.actor.role",
        "short": "Consent Directive Term Actor Role",
        "definition": "Role played by the actor assigned this role in this Consent Directive Provision.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "path": "Contract.term.text",
        "name": "ConsentDirective.term.text",
        "short": "Human readable Consent Directive term text",
        "definition": "Human readable form of this Consent Directive Provision.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem",
        "name": "ConsentDirective.term.valuedItem",
        "short": "Contract Term Valued Item",
        "definition": "Contract Provision Valued Item List.",
        "min": 0,
        "max": "0"
      },
      {
        "path": "Contract.term.valuedItem.entity[x]",
        "name": "ConsentDirective.term.valuedItem.entity[x]",
        "short": "Contract Term Valued Item Type",
        "definition": "Specific type of Contract Provision Valued Item that may be priced.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Resource"
            ]
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.identifier",
        "name": "ConsentDirective.term.valuedItem.",
        "short": "Contract Term Valued Item Identifier",
        "definition": "Identifies a Contract Provision Valued Item instance.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.effectiveTime",
        "name": "ConsentDirective.term.valuedItem.effectiveTime",
        "short": "Contract Term Valued Item Effective Time",
        "definition": "Indicates the time during which this Contract Term ValuedItem information is effective.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.quantity",
        "name": "ConsentDirective.term.valuedItem.quantity",
        "short": "Contract Term Valued Item Count",
        "definition": "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": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
            ]
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.unitPrice",
        "name": "ConsentDirective.term.valuedItem.unitPrice",
        "short": "Contract Term Valued Item fee, charge, or cost.",
        "definition": "A Contract Provision Valued Item unit valuation measure.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Money"
            ]
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.factor",
        "name": "ConsentDirective.term.valuedItem.factor",
        "short": "Contract Term Valued Item Price Scaling Factor",
        "definition": "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": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.points",
        "name": "ConsentDirective.term.valuedItem.points",
        "short": "Contract Term Valued Item Difficulty Scaling Factor",
        "definition": "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": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ]
      },
      {
        "path": "Contract.term.valuedItem.net",
        "name": "ConsentDirective.term.valuedItem.net",
        "short": "Total Contract Term Valued Item Value",
        "definition": "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": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Money"
            ]
          }
        ]
      },
      {
        "path": "Contract.term.group",
        "name": "ConsentDirective.term.group",
        "short": "Nested Consent DirectiveTerm Group",
        "definition": "Nested group of Consent Directive Provision.",
        "min": 0,
        "max": "*",
        "nameReference": "ConsentDirective.term"
      },
      {
        "path": "Contract.binding[x]",
        "name": "ConsentDirective.binding[x]",
        "short": "Binding Consent Directive",
        "definition": "Legally binding onsent Directive Provision.  This is the signed and legally recognized representation of the Consent Directive. that is considered the \"source of truth\", which would be the basis for legal action related to enforcement of the onsent Directive Provision.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Attachment"
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Composition"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/DocumentReference"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
            ]
          }
        ]
      },
      {
        "path": "Contract.friendly",
        "name": "ConsentDirective.friendly",
        "short": "Consent Directive Friendly Language",
        "definition": "The \"patient friendly language\" versionof the Consent Directive in whole or in parts. \"Patient friendly language\" 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": 0,
        "max": "*"
      },
      {
        "path": "Contract.friendly.content[x]",
        "name": "ConsentDirective.friendly.content[x]",
        "short": "Easily comprehended representation of this Consent Directive",
        "definition": "Human readable rendering of this  Consent Directive in a format and representation intended to enhance comprehension and ensure understandability.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Attachment"
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Composition"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/DocumentReference"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
            ]
          }
        ]
      },
      {
        "path": "Contract.legal",
        "name": "ConsentDirective.legal",
        "short": "Consent Directive Legal Language",
        "definition": "List of Legal expressions or representations of this  Consent Directive.",
        "min": 0,
        "max": "*"
      },
      {
        "path": "Contract.legal.content[x]",
        "name": "ConsentDirective.legal.content[x]",
        "short": "Consent Directive Legal Text",
        "definition": "Legal  Consent Directive text in human renderable form.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Attachment"
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Composition"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/DocumentReference"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
            ]
          }
        ]
      },
      {
        "path": "Contract.rule",
        "name": "ConsentDirective.rule",
        "short": "Computable Consent Directive Language",
        "definition": "List of Computable Policy Rule Language Representations of this  Consent Directive.",
        "min": 0,
        "max": "*"
      },
      {
        "path": "Contract.rule.content[x]",
        "name": "ConsentDirective.rule.content[x]",
        "short": "Computable Consent Directive Rules",
        "definition": "Computable Consent Directive conveyed using a policy rule language (e.g. XACML, DKAL, SecPal).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Attachment"
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/DocumentReference"
            ]
          }
        ]
      }
    ]
  }
}