{
  "resourceType": "StructureDefinition",
  "id": "consentdirective",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">to do</div>"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/consentdirective",
  "name": "Consent Directive",
  "status": "draft",
  "date": "2014-01-31",
  "publisher": "Health Level Seven International (Community Based Collaborative Care)",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://hl7.org/special/committees/Security"
        }
      ]
    }
  ],
  "description": "Consent Directive",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Contract",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Contract",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Contract",
        "path": "Contract",
        "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": "*",
        "mapping": [
          {
            "identity": "rim",
            "map": "FinancialContract"
          },
          {
            "identity": "w5",
            "map": "financial.other"
          }
        ]
      },
      {
        "id": "Contract.actor",
        "path": "Contract.actor",
        "label": "ConsentDirective-actor",
        "short": "Consent Directive Actor",
        "definition": "List of Consent Directive actors.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Contract.actor.entity",
        "path": "Contract.actor.entity",
        "label": "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",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Contract"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance"
          }
        ]
      },
      {
        "id": "Contract.actor.role",
        "path": "Contract.actor.role",
        "label": "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"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the contract actor role.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contract-actorrole"
          }
        }
      },
      {
        "id": "Contract.identifier",
        "path": "Contract.identifier",
        "label": "ConsentDirective-identifier",
        "short": "Consent Directive identifier",
        "definition": "Unique identifier for this Consent Directive.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "FinancialContract id"
          }
        ]
      },
      {
        "id": "Contract.issued",
        "path": "Contract.issued",
        "label": "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"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "FinancialContract effectiveTime"
          }
        ]
      },
      {
        "id": "Contract.applies",
        "path": "Contract.applies",
        "label": "ConsentDirective-applies",
        "short": "Effective time",
        "definition": "Time period during which this Consent Directive is in effect.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "FinancialContract activityTime"
          }
        ]
      },
      {
        "id": "Contract.topic",
        "path": "Contract.topic",
        "label": "ConsentDirective-topic",
        "short": "The Patient is the topic of this Consent Directive",
        "definition": "Patient information and actions taken on that information that are governed by this Consent Directive.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "Role"
          }
        ]
      },
      {
        "id": "Contract.authority",
        "path": "Contract.authority",
        "label": "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",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Role Scoper"
          }
        ]
      },
      {
        "id": "Contract.domain",
        "path": "Contract.domain",
        "label": "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",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
          }
        ]
      },
      {
        "id": "Contract.type",
        "path": "Contract.type",
        "label": "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": 1,
        "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"
          }
        ]
      },
      {
        "id": "Contract.type.coding.code",
        "path": "Contract.type.coding.code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "57016-8",
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "Contract.type.coding.system",
        "path": "Contract.type.coding.system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://loinc.org",
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "Contract.subType",
        "path": "Contract.subType",
        "label": "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"
          }
        ],
        "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"
          }
        ]
      },
      {
        "id": "Contract.action",
        "path": "Contract.action",
        "label": "ConsentDirective-action",
        "short": "Consent Directive Action",
        "definition": "Action stipulated by this Consent Directive.",
        "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"
          }
        ]
      },
      {
        "id": "Contract.actionReason",
        "path": "Contract.actionReason",
        "label": "ConsentDirective-actionReason",
        "short": "Consent Directive Action Reason",
        "definition": "Reason for action stipulated by this Consent Directive.",
        "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"
          }
        ]
      },
      {
        "id": "Contract.signer",
        "path": "Contract.signer",
        "label": "ConsentDirective-signer",
        "short": "Consent Directive Signer",
        "definition": "Party signing this Consent Directive.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Contract.signer.type",
        "path": "Contract.signer.type",
        "label": "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"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "List of parties who may be signing.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contract-signer-type"
          }
        }
      },
      {
        "id": "Contract.signer.party",
        "path": "Contract.signer.party",
        "label": "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",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          }
        ]
      },
      {
        "id": "Contract.signer.signature",
        "path": "Contract.signer.signature",
        "label": "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"
          }
        ]
      },
      {
        "id": "Contract.valuedItem",
        "path": "Contract.valuedItem",
        "label": "ConsentDirective-valuedItem",
        "short": "Contract Valued Item",
        "definition": "Contract Valued Item List.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedItem classCode INVE"
          }
        ]
      },
      {
        "id": "Contract.valuedItem.entity[x]",
        "path": "Contract.valuedItem.entity[x]",
        "label": "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",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedItem code"
          }
        ]
      },
      {
        "id": "Contract.valuedItem.identifier",
        "path": "Contract.valuedItem.identifier",
        "label": "ConsentDirective-valuedItem-identifier",
        "short": "Contract Valued Item Identifier",
        "definition": "Identifies a Contract Valued Item instance.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedItem id"
          }
        ]
      },
      {
        "id": "Contract.valuedItem.effectiveTime",
        "path": "Contract.valuedItem.effectiveTime",
        "label": "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedItem                effectiveTime"
          }
        ]
      },
      {
        "id": "Contract.valuedItem.quantity",
        "path": "Contract.valuedItem.quantity",
        "label": "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedItem unitQuantity"
          }
        ]
      },
      {
        "id": "Contract.valuedItem.unitPrice",
        "path": "Contract.valuedItem.unitPrice",
        "label": "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"
          }
        ]
      },
      {
        "id": "Contract.valuedItem.factor",
        "path": "Contract.valuedItem.factor",
        "label": "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"
          }
        ]
      },
      {
        "id": "Contract.valuedItem.points",
        "path": "Contract.valuedItem.points",
        "label": "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"
          }
        ]
      },
      {
        "id": "Contract.valuedItem.net",
        "path": "Contract.valuedItem.net",
        "label": "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"
          }
        ]
      },
      {
        "id": "Contract.term",
        "path": "Contract.term",
        "label": "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": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Contract.term.actor",
        "path": "Contract.term.actor",
        "label": "ConsentDirective-term-actor",
        "short": "Consent Directive  Term Actor List",
        "definition": "List of actors participating in this Consent Directive Provision.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Contract.term.actor.entity",
        "path": "Contract.term.actor.entity",
        "label": "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",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Contract"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance"
          }
        ]
      },
      {
        "id": "Contract.term.actor.role",
        "path": "Contract.term.actor.role",
        "label": "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"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the contract actor role.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contract-actorrole"
          }
        }
      },
      {
        "id": "Contract.term.identifier",
        "path": "Contract.term.identifier",
        "label": "ConsentDirective-term-identifier",
        "short": "Consent Directive Term identifier",
        "definition": "Unique identifier for this particular Consent Directive Provision.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Contract.term.issued",
        "path": "Contract.term.issued",
        "label": "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"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Contract.term.applies",
        "path": "Contract.term.applies",
        "label": "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"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Contract.term.type",
        "path": "Contract.term.type",
        "label": "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"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the types of contract provisions.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contract-term-type"
          }
        }
      },
      {
        "id": "Contract.term.subType",
        "path": "Contract.term.subType",
        "label": "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"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the subtypes of contract provisions.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contract-term-subtype"
          }
        }
      },
      {
        "id": "Contract.term.topic",
        "path": "Contract.term.topic",
        "label": "ConsentDirective-term-topic",
        "short": "Topic of this Consent Directive Term",
        "definition": "Who or what this Consent Directive Provision is about.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ]
      },
      {
        "id": "Contract.term.action",
        "path": "Contract.term.action",
        "label": "ConsentDirective-term-action",
        "short": "Consent Directive Term Action",
        "definition": "Action stipulated by this Consent Directive Provision.",
        "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"
          }
        }
      },
      {
        "id": "Contract.term.actionReason",
        "path": "Contract.term.actionReason",
        "label": "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"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the contract action reason.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"
          }
        }
      },
      {
        "id": "Contract.term.text",
        "path": "Contract.term.text",
        "label": "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"
          }
        ]
      },
      {
        "id": "Contract.term.valuedItem",
        "path": "Contract.term.valuedItem",
        "label": "ConsentDirective-term-valuedItem",
        "short": "Contract Term Valued Item",
        "definition": "Contract Provision Valued Item List.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedUnitItem classCode INVE"
          }
        ]
      },
      {
        "id": "Contract.term.valuedItem.entity[x]",
        "path": "Contract.term.valuedItem.entity[x]",
        "label": "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",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedUnitItem code"
          }
        ]
      },
      {
        "id": "Contract.term.valuedItem.identifier",
        "path": "Contract.term.valuedItem.identifier",
        "label": "ConsentDirective-term-valuedItem",
        "short": "Contract Term Valued Item Identifier",
        "definition": "Identifies a Contract Provision Valued Item instance.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedUnitItem id"
          }
        ]
      },
      {
        "id": "Contract.term.valuedItem.effectiveTime",
        "path": "Contract.term.valuedItem.effectiveTime",
        "label": "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedUnitItem effectiveTime"
          }
        ]
      },
      {
        "id": "Contract.term.valuedItem.quantity",
        "path": "Contract.term.valuedItem.quantity",
        "label": "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedUnitItem unitQuantity"
          }
        ]
      },
      {
        "id": "Contract.term.valuedItem.unitPrice",
        "path": "Contract.term.valuedItem.unitPrice",
        "label": "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedUnitItem unitPriceAmt"
          }
        ]
      },
      {
        "id": "Contract.term.valuedItem.factor",
        "path": "Contract.term.valuedItem.factor",
        "label": "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedUnitItem factorNumber"
          }
        ]
      },
      {
        "id": "Contract.term.valuedItem.points",
        "path": "Contract.term.valuedItem.points",
        "label": "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "COCT_RM440000UV09 ValuedUnitItem pointNumber"
          }
        ]
      },
      {
        "id": "Contract.term.valuedItem.net",
        "path": "Contract.term.valuedItem.net",
        "label": "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"
          }
        ]
      },
      {
        "id": "Contract.term.group",
        "path": "Contract.term.group",
        "label": "ConsentDirective-term-group",
        "short": "Nested Consent DirectiveTerm Group",
        "definition": "Nested group of Consent Directive Provision.",
        "min": 0,
        "max": "*",
        "contentReference": "#term"
      },
      {
        "id": "Contract.binding[x]",
        "path": "Contract.binding[x]",
        "label": "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",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Composition"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
          }
        ]
      },
      {
        "id": "Contract.friendly",
        "path": "Contract.friendly",
        "label": "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": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Contract.friendly.content[x]",
        "path": "Contract.friendly.content[x]",
        "label": "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",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Composition"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
          }
        ]
      },
      {
        "id": "Contract.legal",
        "path": "Contract.legal",
        "label": "ConsentDirective-legal",
        "short": "Consent Directive Legal Language",
        "definition": "List of Legal expressions or representations of this  Consent Directive.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Contract.legal.content[x]",
        "path": "Contract.legal.content[x]",
        "label": "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",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Composition"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
          }
        ]
      },
      {
        "id": "Contract.rule",
        "path": "Contract.rule",
        "label": "ConsentDirective-rule",
        "short": "Computable Consent Directive Language",
        "definition": "List of Computable Policy Rule Language Representations of this  Consent Directive.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Contract.rule.content[x]",
        "path": "Contract.rule.content[x]",
        "label": "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",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference"
          }
        ]
      }
    ]
  }
}