PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-pdex@2.1.0
    http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-provider-consent
description: The PDex Provider Access Consent Profile enables a member to express their preference for the sharing of their healthcare information to providers through the Provider Access API. A member has to actively choose to opt-out of sharing their data.
package_name: hl7.fhir.us.davinci-pdex
derivation: constraint
name: PDexProviderSharingConsent
type: Consent
elements:
  status:
    pattern: {type: code, value: active}
    mustSupport: true
    type: code
    index: 0
  scope:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: patient-privacy, system: 'http://terminology.hl7.org/CodeSystem/consentscope'}
    type: CodeableConcept
    index: 1
  category:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        disclosure:
          match:
            coding:
            - {code: IDSCL, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
          schema:
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: IDSCL, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
            _required: true
            type: CodeableConcept
            index: 3
          min: 1
          max: 1
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|7.0.0']
    index: 4
  performer:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']
    index: 5
  organization:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization']
    index: 6
  policyRule:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: cric, system: 'http://terminology.hl7.org/CodeSystem/consentpolicycodes', display: Common Rule Informed Consent}
    type: CodeableConcept
    index: 7
  provision:
    mustSupport: true
    index: 8
    elements:
      type: {mustSupport: true, index: 9}
      period:
        mustSupport: true
        index: 10
        elements:
          start: {mustSupport: true, index: 11}
        required: [start]
      actor:
        index: 12
        slicing:
          rules: open
          discriminator:
          - {path: role, type: pattern}
          min: 1
          slices:
            source:
              match:
                role:
                  coding:
                  - {code: performer, system: 'http://terminology.hl7.org/CodeSystem/provenance-participant-type'}
              schema:
                short: Authorized or Not to disclose
                mustSupport: true
                array: true
                min: 1
                _required: true
                index: 13
                elements:
                  role:
                    mustSupport: true
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: performer, system: 'http://terminology.hl7.org/CodeSystem/provenance-participant-type'}
                    type: CodeableConcept
                    index: 14
                  reference:
                    type: Reference
                    mustSupport: true
                    refers: ['http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization']
                    index: 15
      action:
        pattern:
          type: CodeableConcept
          value:
            coding:
            - {code: disclose, system: 'http://terminology.hl7.org/CodeSystem/consentaction'}
        type: CodeableConcept
        index: 16
    required: [action, actor, period, type]
package_version: 2.1.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-provider-consent
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 2.1.0
required: [organization, patient, performer, provision]