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.
package_name: hl7.fhir.r4.id.core
derivation: specialization
name: Consent
type: Consent
elements:
  patient:
    short: Who the consent applies to
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    type: Reference
    isSummary: true
    index: 4
  category:
    short: Classification of the consent statement - for indexing/retrieval
    type: CodeableConcept
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/consent-category'}
    isSummary: true
    index: 3
  provision:
    type: BackboneElement
    short: Constraints to the base Consent.policyRule
    isSummary: true
    index: 20
    elements:
      provision:
        short: Nested Exception Rules
        elementReference: ['https://fhir.kemkes.go.id/r4/StructureDefinition/Consent', elements, provision]
        array: true
        index: 35
      purpose:
        type: Coding
        short: Context of activities covered by this rule
        binding: {strength: extensible, valueSet: 'http://terminology.hl7.org/ValueSet/v3-PurposeOfUse'}
        isSummary: true
        index: 28
      dataPeriod: {type: Period, short: Timeframe for data controlled by this rule, isSummary: true, index: 31}
      type:
        type: code
        short: deny | permit
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/consent-provision-type|4.0.1'}
        isSummary: true
        index: 21
      class:
        type: Coding
        short: e.g. Resource Type, Profile, CDA, etc.
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/consent-content-class'}
        isSummary: true
        index: 29
      code:
        type: 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'}
        isSummary: true
        index: 30
      action:
        short: Actions controlled by this rule
        type: CodeableConcept
        meaningWhenMissing: all actions
        binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/consent-action'}
        isSummary: true
        index: 26
      period: {type: Period, short: Timeframe for this rule, isSummary: true, index: 22}
      securityLabel:
        type: Coding
        short: Security Labels that define affected resources
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/security-labels'}
        isSummary: true
        index: 27
      actor:
        type: BackboneElement
        short: Who|what controlled by this rule (or group, by role)
        meaningWhenMissing: There is no specific actor associated with the exception
        index: 23
        elements:
          role:
            type: CodeableConcept
            short: How the actor is involved
            binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/security-role-type'}
            index: 24
          reference:
            type: Reference
            short: Resource for the actor (or group, by role)
            refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
            index: 25
        required: [role, reference]
      data:
        short: Data controlled by this rule
        type: BackboneElement
        meaningWhenMissing: all data
        isSummary: true
        index: 32
        elements:
          meaning:
            short: instance | related | dependents | authoredby
            type: code
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/consent-data-meaning|4.0.1'}
            isSummary: true
            index: 33
          reference:
            short: The actual data reference
            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
            type: Reference
            isSummary: true
            index: 34
        required: [meaning, reference]
  sourceAttachment: {short: Source from which this consent is taken, type: Attachment, choiceOf: source, isSummary: true, index: 10}
  organization:
    short: Custodian of the consent
    refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
    type: Reference
    isSummary: true
    index: 7
  verification:
    type: BackboneElement
    short: Consent Verified by patient or family
    isSummary: true
    index: 16
    elements:
      verified: {type: boolean, short: Has been verified, isSummary: true, index: 17}
      verifiedWith:
        type: Reference
        short: Person who verified
        refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
        index: 18
      verificationDate: {type: dateTime, short: When consent verified, index: 19}
    required: [verified]
  source:
    short: Source from which this consent is taken
    choices: [sourceAttachment, sourceReference]
    isSummary: true
    index: 9
  scope:
    isModifier: true
    short: Which of the four areas this resource covers (extensible)
    type: CodeableConcept
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/consent-scope'}
    isModifierReason: Allows changes to codes based on scope selection
    isSummary: true
    index: 2
  policy:
    type: BackboneElement
    short: Policies covered by this consent
    index: 12
    elements:
      authority: {type: uri, short: Enforcement source for policy, index: 13}
      uri: {type: uri, short: Specific policy covered by this consent, index: 14}
  sourceReference:
    short: Source from which this consent is taken
    refers: ['http://hl7.org/fhir/StructureDefinition/Consent', 'http://hl7.org/fhir/StructureDefinition/Contract', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse']
    type: Reference
    choiceOf: source
    isSummary: true
    index: 11
  dateTime: {short: When this Consent was created or indexed, type: dateTime, isSummary: true, index: 5}
  status:
    isModifier: true
    short: draft | proposed | active | rejected | inactive | entered-in-error
    type: code
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/consent-state-codes|4.0.1'}
    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
    index: 1
  policyRule:
    short: Regulation that this consents to
    type: CodeableConcept
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/consent-policy'}
    isSummary: true
    index: 15
  identifier: {short: Identifier for this record (external references), type: Identifier, isSummary: true, index: 0}
  performer:
    short: Who is agreeing to the policy and rules
    refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    type: Reference
    isSummary: true
    index: 6
package_version: 0.1.0
class: resource
kind: resource
url: https://fhir.kemkes.go.id/r4/StructureDefinition/Consent
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 4.0.1
required: [status, scope, category]