PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r4.id.core@0.1.0
    https://fhir.kemkes.go.id/r4/StructureDefinition/Consent
{
  "description": "A record of a healthcare consumer’s  choices, which permits or denies identified recipient(s) or recipient role(s) to perform one or more actions within a given policy context, for specific purposes and periods of time.",
  "_filename": "Consent.json",
  "package_name": "hl7.fhir.r4.id.core",
  "date": "2019-11-01T09:29:23+11:00",
  "derivation": "specialization",
  "meta": {
    "lastUpdated": "2022-01-10T02:47:23.162+00:00"
  },
  "publisher": "Health Level Seven International (Community Based Collaborative Care)",
  "fhirVersion": "4.0.1",
  "name": "Consent",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  } ],
  "abstract": false,
  "type": "Consent",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "0.1.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
    "valueString": "Foundation.Security"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode": "trial-use"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger": 2
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
    "valueCode": "patient"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "cbcc"
  } ],
  "status": "draft",
  "id": "fad6628d-790b-42dc-9f62-45a353d0e343",
  "kind": "resource",
  "url": "https://fhir.kemkes.go.id/r4/StructureDefinition/Consent",
  "version": "4.0.1",
  "differential": {
    "element": [ {
      "id": "Consent",
      "path": "Consent",
      "short": "A healthcare consumer's  choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time",
      "comment": "Broadly, there are 3 key areas of consent for patients: Consent around sharing information (aka Privacy Consent Directive - Authorization to Collect, Use, or Disclose information), consent for specific treatment, or kinds of treatment, and general advance care directives.",
      "mapping": [ {
        "map": "Event",
        "identity": "workflow"
      }, {
        "map": "CON",
        "identity": "v2"
      }, {
        "map": "FinancialConsent",
        "identity": "rim"
      } ],
      "constraint": [ {
        "key": "ppc-4",
        "human": "IF Scope=adr, there must be a patient",
        "xpath": "exists(f:patient) or not(exists(f:scope/f:coding[f:system/@value='something' and f:code/@value='adr'])))",
        "source": "http://hl7.org/fhir/StructureDefinition/Consent",
        "severity": "error",
        "expression": "patient.exists() or scope.coding.where(system='something' and code='adr').exists().not()"
      }, {
        "key": "ppc-5",
        "human": "IF Scope=treatment, there must be a patient",
        "xpath": "exists(f:patient) or not(exists(f:scope/f:coding[f:system/@value='something' and f:code/@value='treatment'])))",
        "source": "http://hl7.org/fhir/StructureDefinition/Consent",
        "severity": "error",
        "expression": "patient.exists() or scope.coding.where(system='something' and code='treatment').exists().not()"
      }, {
        "key": "ppc-2",
        "human": "IF Scope=privacy, there must be a patient",
        "xpath": "exists(f:patient) or not(exists(f:scope/f:coding[f:system/@value='something' and f:code/@value='patient-privacy'])))",
        "source": "http://hl7.org/fhir/StructureDefinition/Consent",
        "severity": "error",
        "expression": "patient.exists() or scope.coding.where(system='something' and code='patient-privacy').exists().not()"
      }, {
        "key": "ppc-3",
        "human": "IF Scope=research, there must be a patient",
        "xpath": "exists(f:patient) or not(exists(f:scope/f:coding[f:system/@value='something' and f:code/@value='research'])))",
        "source": "http://hl7.org/fhir/StructureDefinition/Consent",
        "severity": "error",
        "expression": "patient.exists() or scope.coding.where(system='something' and code='research').exists().not()"
      }, {
        "key": "ppc-1",
        "human": "Either a Policy or PolicyRule",
        "xpath": "exists(f:policy) or exists(f:policyRule)",
        "source": "http://hl7.org/fhir/StructureDefinition/Consent",
        "severity": "error",
        "expression": "policy.exists() or policyRule.exists()"
      } ],
      "definition": "A record of a healthcare consumer’s  choices, which permits or denies identified recipient(s) or recipient role(s) to perform one or more actions within a given policy context, for specific purposes and periods of time."
    }, {
      "path": "Consent.identifier",
      "definition": "Unique identifier for this copy of the Consent Statement.",
      "short": "Identifier for this record (external references)",
      "mapping": [ {
        "map": "Event.identifier",
        "identity": "workflow"
      }, {
        "map": "FiveWs.identifier",
        "identity": "w5"
      }, {
        "map": ".id",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "id": "Consent.identifier",
      "comment": "This identifier identifies this copy of the consent. Where this identifier is also used elsewhere as the identifier for a consent record (e.g. a CDA consent document) then the consent details are expected to be the same.",
      "example": [ {
        "label": "General",
        "valueIdentifier": {
          "value": "Local eCMS identifier",
          "system": "urn:ietf:rfc:3986"
        }
      } ],
      "isSummary": true
    }, {
      "path": "Consent.status",
      "requirements": "The Consent Directive that is pointed to might be in various lifecycle states, e.g., a revoked Consent Directive.",
      "min": 1,
      "definition": "Indicates the current state of this consent.",
      "isModifier": true,
      "short": "draft | proposed | active | rejected | inactive | entered-in-error",
      "mapping": [ {
        "map": "Event.status",
        "identity": "workflow"
      }, {
        "map": "FiveWs.status",
        "identity": "w5"
      }, {
        "map": "HL7 Table 0498 - Consent Status",
        "identity": "v2"
      }, {
        "map": ".statusCode",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/consent-state-codes|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConsentState"
        } ],
        "description": "Indicates the state of the consent."
      },
      "max": "1",
      "id": "Consent.status",
      "comment": "This element is labeled as a modifier because the status contains the codes rejected and entered-in-error that mark the Consent as not currently valid.",
      "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
      "isSummary": true
    }, {
      "path": "Consent.scope",
      "min": 1,
      "definition": "A selector of the type of consent being presented: ADR, Privacy, Treatment, Research.  This list is now extensible.",
      "isModifier": true,
      "short": "Which of the four areas this resource covers (extensible)",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "valueSet": "http://hl7.org/fhir/ValueSet/consent-scope",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConsentScope"
        } ],
        "description": "The four anticipated uses for the Consent Resource."
      },
      "max": "1",
      "id": "Consent.scope",
      "isModifierReason": "Allows changes to codes based on scope selection",
      "isSummary": true
    }, {
      "path": "Consent.category",
      "min": 1,
      "definition": "A classification of the type of consents found in the statement. This element supports indexing and retrieval of consent statements.",
      "short": "Classification of the consent statement - for indexing/retrieval",
      "mapping": [ {
        "map": "Event.code",
        "identity": "workflow"
      }, {
        "map": "FiveWs.class",
        "identity": "w5"
      }, {
        "map": "HL7 Table 0497 - Consent Type",
        "identity": "v2"
      }, {
        "map": "CNTRCT",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "valueSet": "http://hl7.org/fhir/ValueSet/consent-category",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConsentCategory"
        } ],
        "description": "A classification of the type of consents found in a consent statement."
      },
      "id": "Consent.category",
      "isSummary": true
    }, {
      "path": "Consent.patient",
      "definition": "The patient/healthcare consumer to whom this consent applies.",
      "short": "Who the consent applies to",
      "mapping": [ {
        "map": "Event.subject",
        "identity": "workflow"
      }, {
        "map": "FiveWs.subject[x]",
        "identity": "w5"
      }, {
        "map": "Role",
        "identity": "rim"
      }, {
        "map": "FiveWs.subject",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ]
      } ],
      "max": "1",
      "id": "Consent.patient",
      "comment": "Commonly, the patient the consent pertains to is the author, but for young and old people, it may be some other person.",
      "isSummary": true
    }, {
      "path": "Consent.dateTime",
      "definition": "When this  Consent was issued / created / indexed.",
      "short": "When this Consent was created or indexed",
      "mapping": [ {
        "map": "Event.occurrence[x]",
        "identity": "workflow"
      }, {
        "map": "FiveWs.recorded",
        "identity": "w5"
      }, {
        "map": "Field 13/ Consent Decision Date",
        "identity": "v2"
      }, {
        "map": "FinancialConsent effectiveTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "Consent.dateTime",
      "comment": "This is not the time of the original consent, but the time that this statement was made or derived.",
      "isSummary": true
    }, {
      "path": "Consent.performer",
      "definition": "Either the Grantor, which is the entity responsible for granting the rights listed in a Consent Directive or the Grantee, which is the entity responsible for complying with the Consent Directive, including any obligations or limitations on authorizations and enforcement of prohibitions.",
      "short": "Who is agreeing to the policy and rules",
      "mapping": [ {
        "map": "Event.performer",
        "identity": "workflow"
      }, {
        "map": "FiveWs.actor",
        "identity": "w5"
      }, {
        "map": "Field 24/ ConsenterID",
        "identity": "v2"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ]
      } ],
      "alias": [ "consentor" ],
      "id": "Consent.performer",
      "comment": "Commonly, the patient the consent pertains to is the consentor, but particularly for young and old people, it may be some other person - e.g. a legal guardian.",
      "isSummary": true
    }, {
      "id": "Consent.organization",
      "path": "Consent.organization",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "alias": [ "custodian" ],
      "short": "Custodian of the consent",
      "mapping": [ {
        "map": "Event.performer",
        "identity": "workflow"
      }, {
        "map": "FiveWs.witness",
        "identity": "w5"
      } ],
      "isSummary": true,
      "definition": "The organization that manages the consent, and the framework within which it is executed."
    }, {
      "path": "Consent.source[x]",
      "definition": "The source on which this consent statement is based. The source might be a scanned original paper form, or a reference to a consent that links back to such a source, a reference to a document repository (e.g. XDS) that stores the original consent document.",
      "short": "Source from which this consent is taken",
      "mapping": [ {
        "map": "Field 19 Informational Material Supplied Indicator",
        "identity": "v2"
      } ],
      "type": [ {
        "code": "Attachment"
      }, {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Consent", "http://hl7.org/fhir/StructureDefinition/DocumentReference", "http://hl7.org/fhir/StructureDefinition/Contract", "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" ]
      } ],
      "max": "1",
      "id": "Consent.source[x]",
      "comment": "The source can be contained inline (Attachment), referenced directly (Consent), referenced in a consent repository (DocumentReference), or simply by an identifier (Identifier), e.g. a CDA document id.",
      "isSummary": true
    }, {
      "id": "Consent.policy",
      "path": "Consent.policy",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Policies covered by this consent",
      "definition": "The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law."
    }, {
      "id": "Consent.policy.authority",
      "max": "1",
      "path": "Consent.policy.authority",
      "type": [ {
        "code": "uri"
      } ],
      "short": "Enforcement source for policy",
      "condition": [ "ppc-1" ],
      "definition": "Entity or Organization having regulatory jurisdiction or accountability for  enforcing policies pertaining to Consent Directives."
    }, {
      "id": "Consent.policy.uri",
      "max": "1",
      "path": "Consent.policy.uri",
      "type": [ {
        "code": "uri"
      } ],
      "short": "Specific policy covered by this consent",
      "comment": "This element is for discoverability / documentation and does not modify or qualify the policy rules.",
      "condition": [ "ppc-1" ],
      "definition": "The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law."
    }, {
      "path": "Consent.policyRule",
      "requirements": "Might be a unique identifier of a policy set in XACML, or other rules engine.",
      "definition": "A reference to the specific base computable regulation or policy.",
      "short": "Regulation that this consents to",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "valueSet": "http://hl7.org/fhir/ValueSet/consent-policy",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConsentPolicyRule"
        } ],
        "description": "Regulatory policy examples."
      },
      "max": "1",
      "id": "Consent.policyRule",
      "condition": [ "ppc-1" ],
      "comment": "If the policyRule is absent, computable consent would need to be constructed from the elements of the Consent resource.",
      "isSummary": true
    }, {
      "id": "Consent.verification",
      "path": "Consent.verification",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Consent Verified by patient or family",
      "isSummary": true,
      "definition": "Whether a treatment instruction (e.g. artificial respiration yes or no) was verified with the patient, his/her family or another authorized person."
    }, {
      "id": "Consent.verification.verified",
      "max": "1",
      "min": 1,
      "path": "Consent.verification.verified",
      "type": [ {
        "code": "boolean"
      } ],
      "short": "Has been verified",
      "isSummary": true,
      "definition": "Has the instruction been verified."
    }, {
      "id": "Consent.verification.verifiedWith",
      "max": "1",
      "path": "Consent.verification.verifiedWith",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]
      } ],
      "short": "Person who verified",
      "definition": "Who verified the instruction (Patient, Relative or other Authorized Person)."
    }, {
      "id": "Consent.verification.verificationDate",
      "max": "1",
      "path": "Consent.verification.verificationDate",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "When consent verified",
      "definition": "Date verification was collected."
    }, {
      "id": "Consent.provision",
      "max": "1",
      "path": "Consent.provision",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Constraints to the base Consent.policyRule",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString": "provision"
      } ],
      "isSummary": true,
      "definition": "An exception to the base policy of this consent. An exception can be an addition or removal of access permissions."
    }, {
      "id": "Consent.provision.type",
      "max": "1",
      "path": "Consent.provision.type",
      "type": [ {
        "code": "code"
      } ],
      "short": "deny | permit",
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/consent-provision-type|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConsentProvisionType"
        } ],
        "description": "How a rule statement is applied, such as adding additional consent or removing consent."
      },
      "isSummary": true,
      "definition": "Action  to take - permit or deny - when the rule conditions are met.  Not permitted in root rule, required in all nested rules."
    }, {
      "id": "Consent.provision.period",
      "max": "1",
      "path": "Consent.provision.period",
      "type": [ {
        "code": "Period"
      } ],
      "short": "Timeframe for this rule",
      "isSummary": true,
      "definition": "The timeframe in this rule is valid."
    }, {
      "id": "Consent.provision.actor",
      "path": "Consent.provision.actor",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Who|what controlled by this rule (or group, by role)",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString": "provisionActor"
      } ],
      "definition": "Who or what is controlled by this rule. Use group to identify a set of actors by some property they share (e.g. 'admitting officers').",
      "meaningWhenMissing": "There is no specific actor associated with the exception"
    }, {
      "id": "Consent.provision.actor.role",
      "max": "1",
      "min": 1,
      "path": "Consent.provision.actor.role",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "How the actor is involved",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://hl7.org/fhir/ValueSet/security-role-type",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConsentActorRole"
        } ],
        "description": "How an actor is involved in the consent considerations."
      },
      "definition": "How the individual is involved in the resources content that is described in the exception."
    }, {
      "id": "Consent.provision.actor.reference",
      "max": "1",
      "min": 1,
      "path": "Consent.provision.actor.reference",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Group", "http://hl7.org/fhir/StructureDefinition/CareTeam", "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ]
      } ],
      "short": "Resource for the actor (or group, by role)",
      "definition": "The resource that identifies the actor. To identify actors by type, use group to identify a set of actors by some property they share (e.g. 'admitting officers')."
    }, {
      "path": "Consent.provision.action",
      "definition": "Actions controlled by this Rule.",
      "short": "Actions controlled by this rule",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "meaningWhenMissing": "all actions",
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/consent-action",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConsentAction"
        } ],
        "description": "Detailed codes for the consent action."
      },
      "id": "Consent.provision.action",
      "comment": "Note that this is the direct action (not the grounds for the action covered in the purpose element). At present, the only action in the understood and tested scope of this resource is 'read'.",
      "isSummary": true
    }, {
      "id": "Consent.provision.securityLabel",
      "path": "Consent.provision.securityLabel",
      "type": [ {
        "code": "Coding"
      } ],
      "short": "Security Labels that define affected resources",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://hl7.org/fhir/ValueSet/security-labels",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SecurityLabels"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Security Labels from the Healthcare Privacy and Security Classification System."
      },
      "comment": "If the consent specifies a security label of \"R\" then it applies to all resources that are labeled \"R\" or lower. E.g. for Confidentiality, it's a high water mark. For other kinds of security labels, subsumption logic applies. When the purpose of use tag is on the data, access request purpose of use shall not conflict.",
      "isSummary": true,
      "definition": "A security label, comprised of 0..* security label fields (Privacy tags), which define which resources are controlled by this exception."
    }, {
      "id": "Consent.provision.purpose",
      "path": "Consent.provision.purpose",
      "type": [ {
        "code": "Coding"
      } ],
      "short": "Context of activities covered by this rule",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-PurposeOfUse",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "PurposeOfUse"
        } ],
        "description": "What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels."
      },
      "comment": "When the purpose of use tag is on the data, access request purpose of use shall not conflict.",
      "isSummary": true,
      "definition": "The context of the activities a user is taking - why the user is accessing the data - that are controlled by this rule."
    }, {
      "id": "Consent.provision.class",
      "path": "Consent.provision.class",
      "type": [ {
        "code": "Coding"
      } ],
      "short": "e.g. Resource Type, Profile, CDA, etc.",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://hl7.org/fhir/ValueSet/consent-content-class",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConsentContentClass"
        } ],
        "description": "The class (type) of information a consent rule covers."
      },
      "comment": "Multiple types are or'ed together. The intention of the contentType element is that the codes refer to profiles or document types defined in a standard or an implementation guide somewhere.",
      "isSummary": true,
      "definition": "The class of information covered by this rule. The type can be a FHIR resource type, a profile on a type, or a CDA document, or some other type that indicates what sort of information the consent relates to."
    }, {
      "id": "Consent.provision.code",
      "path": "Consent.provision.code",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "e.g. LOINC or SNOMED CT code, etc. in the content",
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/consent-content-code",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConsentContentCode"
        } ],
        "description": "If this code is found in an instance, then the exception applies."
      },
      "comment": "Typical use of this is a Document code with class = CDA.",
      "isSummary": true,
      "definition": "If this code is found in an instance, then the rule applies."
    }, {
      "id": "Consent.provision.dataPeriod",
      "max": "1",
      "path": "Consent.provision.dataPeriod",
      "type": [ {
        "code": "Period"
      } ],
      "short": "Timeframe for data controlled by this rule",
      "comment": "This has a different sense to the Consent.period - that is when the consent agreement holds. This is the time period of the data that is controlled by the agreement.",
      "isSummary": true,
      "definition": "Clinical or Operational Relevant period of time that bounds the data controlled by this rule."
    }, {
      "path": "Consent.provision.data",
      "definition": "The resources controlled by this rule if specific resources are referenced.",
      "short": "Data controlled by this rule",
      "mapping": [ {
        "map": "Role",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "meaningWhenMissing": "all data",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString": "provisionData"
      } ],
      "id": "Consent.provision.data",
      "isSummary": true
    }, {
      "path": "Consent.provision.data.meaning",
      "min": 1,
      "definition": "How the resource reference is interpreted when testing consent restrictions.",
      "short": "instance | related | dependents | authoredby",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/consent-data-meaning|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ConsentDataMeaning"
        } ],
        "description": "How a resource reference is interpreted when testing consent restrictions."
      },
      "max": "1",
      "id": "Consent.provision.data.meaning",
      "isSummary": true
    }, {
      "id": "Consent.provision.data.reference",
      "max": "1",
      "min": 1,
      "path": "Consent.provision.data.reference",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
      } ],
      "short": "The actual data reference",
      "isSummary": true,
      "definition": "A reference to a specific resource that defines which resources are covered by this consent."
    }, {
      "id": "Consent.provision.provision",
      "max": "*",
      "min": 0,
      "path": "Consent.provision.provision",
      "short": "Nested Exception Rules",
      "definition": "Rules which provide exceptions to the base rule or subrules.",
      "contentReference": "#Consent.provision"
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "http://hl7.org/fhir",
      "system": "url"
    } ]
  }, {
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/homehealth/index.cfm",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}