PackagesCanonicalsLogsProblems
    Packages
    rs/ca.on.consent.r4@0.10.21
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-consent-pcoi-profile-Consent
description: null
package_name: rs/ca.on.consent.r4
derivation: constraint
name: Consent
type: Consent
elements:
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-consent-pcoi-profile-Patient']
    index: 15
    elements:
      reference: {mustSupport: true, index: 16}
    required: [reference]
  category:
    mustSupport: true
    index: 10
    elements:
      coding:
        mustSupport: true
        index: 11
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
            mustSupport: true
            type: uri
            index: 12
          code:
            pattern: {type: code, value: INFA}
            mustSupport: true
            type: code
            index: 13
          display:
            pattern: {type: string, value: information access}
            mustSupport: true
            type: string
            index: 14
        required: [code, display, system]
    required: [coding]
  provision:
    mustSupport: true
    index: 23
    elements:
      type:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/consent-provision-type'}
        pattern: {type: code, value: permit}
        mustSupport: true
        type: code
        index: 24
      period: {index: 25}
      actor:
        mustSupport: true
        index: 26
        elements:
          role:
            mustSupport: true
            index: 27
            elements:
              coding:
                mustSupport: true
                index: 28
                elements:
                  system:
                    pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'}
                    mustSupport: true
                    type: uri
                    index: 29
                  code:
                    pattern: {type: code, value: IRCP}
                    mustSupport: true
                    type: code
                    index: 30
                  display:
                    pattern: {type: string, value: information recipient}
                    mustSupport: true
                    type: string
                    index: 31
                required: [code, display, system]
            required: [coding]
          reference:
            type: Reference
            mustSupport: true
            refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-consent-pcoi-profile-Practitioner']
            index: 32
            elements:
              reference: {mustSupport: true, index: 33}
            required: [reference]
      action:
        mustSupport: true
        index: 34
        elements:
          coding:
            mustSupport: true
            index: 35
            elements:
              system:
                pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/consentaction'}
                mustSupport: true
                type: uri
                index: 36
              code:
                pattern: {type: code, value: use}
                mustSupport: true
                type: code
                index: 37
              display:
                pattern: {type: string, value: Use}
                mustSupport: true
                type: string
                index: 38
            required: [code, display, system]
        required: [coding]
      purpose:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/consent-pcoi-override-reason'}
        mustSupport: true
        index: 39
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActReason'}
            mustSupport: true
            type: uri
            index: 40
          code: {mustSupport: true, index: 41}
          display: {mustSupport: true, index: 42}
        required: [code, display, system]
      class:
        mustSupport: true
        index: 43
        elements:
          system:
            pattern: {type: uri, value: 'urn:ietf:rfc:3986'}
            mustSupport: true
            type: uri
            index: 44
          code: {mustSupport: true, index: 45}
          display: {mustSupport: true, index: 46}
        required: [code, display, system]
    required: [actor, class, purpose, type]
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
    required: [profile]
  organization:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-consent-pcoi-profile-Organization']
    index: 19
    elements:
      reference: {mustSupport: true, index: 20}
    required: [reference]
  scope:
    mustSupport: true
    index: 5
    elements:
      coding:
        mustSupport: true
        index: 6
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/consentscope'}
            mustSupport: true
            type: uri
            index: 7
          code:
            pattern: {type: code, value: patient-privacy}
            mustSupport: true
            type: code
            index: 8
          display:
            pattern: {type: string, value: Privacy Consent}
            mustSupport: true
            type: string
            index: 9
        required: [code, display, system]
    required: [coding]
  policy:
    mustSupport: true
    index: 21
    elements:
      authority:
        pattern: {type: uri, value: 'http://www.ontario.ca'}
        mustSupport: true
        type: uri
        index: 22
    required: [authority]
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/consent-state-codes|4.0.1'}
    pattern: {type: code, value: active}
    mustSupport: true
    type: code
    index: 4
  identifier:
    mustSupport: false
    index: 2
    elements:
      use:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-use'}
        index: 3
  performer:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-consent-pcoi-profile-Organization', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-consent-pcoi-profile-Patient', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-consent-pcoi-profile-Practitioner', 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-consent-pcoi-profile-RelatedPerson']
    index: 17
    elements:
      reference: {mustSupport: true, index: 18}
    required: [reference]
package_version: 0.10.21
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-consent-pcoi-profile-Consent
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 2.0.0
required: [meta, organization, patient, performer, policy, provision]