PackagesCanonicalsLogsProblems
    Packages
    ca.on.consent.r4@0.10.2
    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: 14
    elements:
      reference: {mustSupport: true, index: 15}
    required: [reference]
  category:
    mustSupport: true
    index: 9
    elements:
      coding:
        mustSupport: true
        index: 10
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
            mustSupport: true
            index: 11
          code:
            pattern: {type: Code, value: INFA}
            mustSupport: true
            index: 12
          display:
            pattern: {type: String, value: information access}
            mustSupport: true
            index: 13
        required: [display, system, code]
    required: [coding]
  provision:
    mustSupport: true
    index: 22
    elements:
      type:
        pattern: {type: Code, value: permit}
        mustSupport: true
        index: 23
      period: {index: 24}
      actor:
        mustSupport: true
        index: 25
        elements:
          role:
            mustSupport: true
            index: 26
            elements:
              coding:
                mustSupport: true
                index: 27
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'}
                    mustSupport: true
                    index: 28
                  code:
                    pattern: {type: Code, value: IRCP}
                    mustSupport: true
                    index: 29
                  display:
                    pattern: {type: String, value: information recipient}
                    mustSupport: true
                    index: 30
                required: [display, system, code]
            required: [coding]
          reference:
            type: Reference
            mustSupport: true
            refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-consent-pcoi-profile-Practitioner']
            index: 31
            elements:
              reference: {mustSupport: true, index: 32}
            required: [reference]
      action: {index: 33}
      purpose:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/consent-pcoi-override-reason'}
        mustSupport: true
        index: 34
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActReason'}
            mustSupport: true
            index: 35
          code: {mustSupport: true, index: 36}
          display: {mustSupport: true, index: 37}
        required: [display, system, code]
      class:
        mustSupport: true
        index: 38
        elements:
          system:
            pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
            mustSupport: true
            index: 39
          code: {mustSupport: true, index: 40}
          display: {mustSupport: true, index: 41}
        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: 18
    elements:
      reference: {mustSupport: true, index: 19}
    required: [reference]
  scope:
    mustSupport: true
    index: 4
    elements:
      coding:
        mustSupport: true
        index: 5
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/consentscope'}
            mustSupport: true
            index: 6
          code:
            pattern: {type: Code, value: patient-privacy}
            mustSupport: true
            index: 7
          display:
            pattern: {type: String, value: Privacy Consent}
            mustSupport: true
            index: 8
        required: [display, system, code]
    required: [coding]
  policy:
    mustSupport: true
    index: 20
    elements:
      authority:
        pattern: {type: Uri, value: 'http://www.ontario.ca'}
        mustSupport: true
        index: 21
    required: [authority]
  status:
    pattern: {type: Code, value: active}
    mustSupport: true
    index: 3
  identifier: {mustSupport: false, index: 2}
  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: 16
    elements:
      reference: {mustSupport: true, index: 17}
    required: [reference]
package_version: 0.10.2
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]