PackagesCanonicalsLogsProblems
    Packages
    BC@BCY_IDS.01-1.0.0
    http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/Consent
description: null
package_name: BC
derivation: constraint
name: Consent
type: Consent
elements:
  patient:
    elements:
      id: {index: 43}
      reference: {index: 44}
      type: {index: 45}
      identifier: {index: 46}
      display: {index: 47}
    required: [reference]
  category:
    elements:
      id: {index: 35}
      coding:
        elements:
          id: {index: 36}
          system:
            code:
            - {system: 'http://loinc.org'}
            index: 37
          version: {index: 38}
          code: {index: 39}
          display: {index: 40}
          userSelected: {index: 41}
        required: [system, code]
      text: {index: 42}
  provision:
    index: 69
    elements:
      provision: {index: 125}
      purpose: {index: 111}
      dataPeriod: {index: 123}
      type: {index: 71}
      id: {index: 70}
      class: {index: 112}
      code:
        index: 113
        elements:
          id: {index: 114}
          coding:
            index: 115
            elements:
              id: {index: 116}
              system: {index: 117}
              version: {index: 118}
              code: {index: 119}
              display: {index: 120}
              userSelected: {index: 121}
            required: [display, system, code]
          text: {index: 122}
        required: [coding]
      action:
        short: Consent or Refusal
        index: 91
        elements:
          id: {index: 92}
          coding:
            index: 93
            elements:
              id: {index: 94}
            slicing:
              rules: open
              discriminator:
              - {path: code, type: value}
              min: 1
              slices:
                sliceConsentInstruction:
                  match: {code: null}
                  schema:
                    _required: true
                    index: 95
                    elements:
                      id: {index: 96}
                      system:
                        code:
                        - {system: 'http://hl7.org/fhir/sid/icd9'}
                        index: 97
                      version: {index: 98}
                      code: {index: 99}
                      display: {index: 100}
                      userSelected: {index: 101}
                    required: [display, system, code]
                sliceConsentRefusalReaason:
                  match: {code: null}
                  schema:
                    _required: true
                    index: 102
                    elements:
                      id: {index: 103}
                      system:
                        code:
                        - {system: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-bc-panorama-consent-refusal-reason'}
                        index: 104
                      version: {index: 105}
                      code: {index: 106}
                      display: {index: 107}
                      userSelected: {index: 108}
                    required: [display, system, code]
          text: {index: 109}
        required: [coding]
      period:
        index: 72
        elements:
          id: {index: 73}
          start: {index: 74}
          end: {index: 75}
        required: [start]
      securityLabel: {index: 110}
      actor:
        elements:
          id: {index: 76}
          role:
            elements:
              id: {index: 77}
              coding:
                index: 78
                elements:
                  id: {index: 79}
                  system:
                    code:
                    - {system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                    index: 80
                  version: {index: 81}
                  code: {index: 82}
                  display: {index: 83}
                  userSelected: {index: 84}
                required: [system, code]
              text: {index: 85}
            required: [coding]
          reference:
            elements:
              id: {index: 86}
              reference: {index: 87}
              type: {index: 88}
              identifier: {index: 89}
              display: {index: 90}
            required: [reference]
      data: {index: 124}
    required: [action, period, code]
  meta:
    index: 1
    elements:
      id: {index: 2}
      versionId: {index: 3}
      lastUpdated: {index: 4}
      source: {index: 5}
      profile: {index: 6}
      security: {index: 7}
      tag: {index: 8}
    required: [profile]
  implicitRules: {index: 9}
  organization: {index: 55}
  verification: {index: 68}
  source:
    choices: []
    index: 57
  scope:
    elements:
      id: {index: 26}
      coding:
        index: 27
        elements:
          id: {index: 28}
          system:
            code:
            - {system: 'http://terminology.hl7.org/CodeSystem/consentscope'}
            index: 29
          version: {index: 30}
          code: {index: 31}
          display: {index: 32}
          userSelected: {index: 33}
        required: [system, code]
      text: {index: 34}
    required: [coding]
  policy: {index: 58}
  dateTime: {index: 48}
  extension:
    type: Extension
    url: http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/consent-type-form-doses-comments
    index: 13
    slicing:
      slices:
        consentExtension:
          match: {}
          schema: {type: Extension, url: 'http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/consent-type-form-doses-comments', index: 13}
  contained: {type: Resource, index: 12}
  status:
    code:
    - {code: active, system: 'http://hl7.org/fhir/ValueSet/consent-state-codes'}
    index: 25
  language: {index: 10}
  id: {index: 0}
  policyRule:
    index: 59
    elements:
      id: {index: 60}
      coding:
        index: 61
        elements:
          id: {index: 62}
          system:
            code:
            - {system: 'http://terminology.hl7.org/CodeSystem/consentpolicycodes'}
            index: 63
          version: {index: 64}
          code: {index: 65}
          display: {index: 66}
          userSelected: {index: 67}
        required: [system, code]
    required: [coding]
  identifier:
    index: 14
    elements:
      id: {index: 15}
      use: {index: 16}
      type:
        index: 17
        elements:
          id: {index: 18}
          coding: {index: 19}
          text: {index: 20}
        required: [text]
      system: {index: 21}
      value: {index: 22}
      period: {index: 23}
      assigner: {index: 24}
    required: [value, type, system]
  performer:
    index: 49
    elements:
      id: {index: 50}
      reference: {index: 51}
      type: {index: 52}
      identifier: {index: 53}
      display: {index: 54}
    required: [reference]
  text: {index: 11}
package_version: BCY_IDS.01-1.0.0
extensions:
  consentExtension: {url: 'http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/consent-type-form-doses-comments', type: Extension, index: 13}
class: profile
kind: resource
url: http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/Consent
base: http://hl7.org/fhir/StructureDefinition/Consent
version: null
required: [policyRule, id, identifier, provision, contained]