PackagesCanonicalsLogsProblems
    Packages
    ca.on.consent.r4@0.10.11
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-consent-pcoi-profile-Consent
description: null
package_name: 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
            index: 12
          code:
            pattern: {type: Code, value: INFA}
            mustSupport: true
            index: 13
          display:
            pattern: {type: String, value: information access}
            mustSupport: true
            index: 14
        required: [display, system, code]
    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
        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
                    index: 29
                  code:
                    pattern: {type: Code, value: IRCP}
                    mustSupport: true
                    index: 30
                  display:
                    pattern: {type: String, value: information recipient}
                    mustSupport: true
                    index: 31
                required: [display, system, code]
            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: {index: 34}
      purpose:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/consent-pcoi-override-reason'}
        mustSupport: true
        index: 35
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActReason'}
            mustSupport: true
            index: 36
          code: {mustSupport: true, index: 37}
          display: {mustSupport: true, index: 38}
        required: [display, system, code]
      class:
        mustSupport: true
        index: 39
        elements:
          system:
            pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
            mustSupport: true
            index: 40
          code: {mustSupport: true, index: 41}
          display: {mustSupport: true, index: 42}
        required: [display, system, code]
    required: [class, type, actor, purpose]
  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
            index: 7
          code:
            pattern: {type: Code, value: patient-privacy}
            mustSupport: true
            index: 8
          display:
            pattern: {type: String, value: Privacy Consent}
            mustSupport: true
            index: 9
        required: [display, system, code]
    required: [coding]
  policy:
    mustSupport: true
    index: 21
    elements:
      authority:
        pattern: {type: Uri, value: 'http://www.ontario.ca'}
        mustSupport: true
        index: 22
    required: [authority]
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/consent-state-codes'}
    pattern: {type: Code, value: active}
    mustSupport: true
    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.11
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-consent-pcoi-profile-Consent
base: http://hl7.org/fhir/StructureDefinition/Consent
version: null
required: [policy, meta, patient, provision, organization, performer]