PackagesCanonicalsLogsProblems
    Packages
    ca.on.ppr.r4@1.2.0
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-profile-HealthcareService
description: HealthcareService contains the details of a healthcare service available at a location.
package_name: ca.on.ppr.r4
derivation: constraint
name: HealthcareService
type: HealthcareService
elements:
  coverageArea:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phpd-profile-Location-coverage']
    index: 150
    elements:
      reference: {mustSupport: true, index: 151}
      display:
        mustSupport: true
        index: 152
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 154
            extensions:
              lang:
                url: null
                mustSupport: true
                _required: true
                index: 156
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 158
              content:
                url: null
                mustSupport: true
                _required: true
                index: 159
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 161
            elements:
              extension:
                array: true
                min: 2
                index: 155
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 2
                  slices:
                    lang:
                      match: {url: null}
                      schema:
                        mustSupport: true
                        _required: true
                        index: 156
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 158
                    content:
                      match: {url: null}
                      schema:
                        mustSupport: true
                        _required: true
                        index: 159
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 161
        elements:
          extension:
            index: 153
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                translation:
                  match: {url: null}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 154
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        _required: true
                        index: 156
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 158
                      content:
                        url: null
                        mustSupport: true
                        _required: true
                        index: 159
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 161
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 155
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 2
                          slices:
                            lang:
                              match: {url: null}
                              schema:
                                mustSupport: true
                                _required: true
                                index: 156
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 158
                            content:
                              match: {url: null}
                              schema:
                                mustSupport: true
                                _required: true
                                index: 159
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 161
  category:
    mustSupport: true
    index: 28
    slicing:
      rules: open
      discriminator:
      - {path: coding, type: value}
      min: null
      slices:
        eServices:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-category-eServices'}
            index: 29
        eConsult:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-category-eConsult'}
            index: 30
          max: 1
        eVisit:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-category-eVisit'}
            index: 31
          max: 1
        Connex:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-type-connex'}
            mustSupport: true
            index: 32
            elements:
              coding:
                elements:
                  display:
                    pattern: {type: String, value: focus}
                    mustSupport: true
                    index: 33
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        isModifier: false
                        index: 35
                        extensions:
                          lang:
                            url: null
                            _required: true
                            index: 37
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 39
                          content:
                            url: null
                            _required: true
                            index: 40
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 42
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 36
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 2
                              slices:
                                lang:
                                  match: {url: null}
                                  schema:
                                    _required: true
                                    index: 37
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 39
                                content:
                                  match: {url: null}
                                  schema:
                                    _required: true
                                    index: 40
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 42
                    elements:
                      extension:
                        index: 34
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            translation:
                              match: {url: null}
                              schema:
                                type: Extension
                                isModifier: false
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 35
                                extensions:
                                  lang:
                                    url: null
                                    _required: true
                                    index: 37
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 39
                                  content:
                                    url: null
                                    _required: true
                                    index: 40
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 42
                                elements:
                                  extension:
                                    array: true
                                    min: 2
                                    index: 36
                                    slicing:
                                      rules: open
                                      discriminator:
                                      - {path: url, type: value}
                                      min: 2
                                      slices:
                                        lang:
                                          match: {url: null}
                                          schema:
                                            _required: true
                                            index: 37
                                            elements:
                                              value:
                                                pattern: {type: Code, value: fr}
                                                mustSupport: true
                                                choices: []
                                                index: 39
                                        content:
                                          match: {url: null}
                                          schema:
                                            _required: true
                                            index: 40
                                            elements:
                                              value:
                                                mustSupport: true
                                                choices: []
                                                index: 42
        THLN:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-category-thln'}
            mustSupport: true
            index: 43
            elements:
              coding:
                binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-category-thln'}
                mustSupport: true
                index: 44
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/service-category-thln'}
                    mustSupport: true
                    index: 45
                  code: {mustSupport: true, index: 46}
                  display:
                    mustSupport: true
                    index: 47
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        isModifier: false
                        index: 49
                        extensions:
                          lang:
                            url: null
                            _required: true
                            index: 51
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 53
                          content:
                            url: null
                            _required: true
                            index: 54
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 56
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 50
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 2
                              slices:
                                lang:
                                  match: {url: null}
                                  schema:
                                    _required: true
                                    index: 51
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 53
                                content:
                                  match: {url: null}
                                  schema:
                                    _required: true
                                    index: 54
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 56
                    elements:
                      extension:
                        index: 48
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            translation:
                              match: {url: null}
                              schema:
                                type: Extension
                                isModifier: false
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 49
                                extensions:
                                  lang:
                                    url: null
                                    _required: true
                                    index: 51
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 53
                                  content:
                                    url: null
                                    _required: true
                                    index: 54
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 56
                                elements:
                                  extension:
                                    array: true
                                    min: 2
                                    index: 50
                                    slicing:
                                      rules: open
                                      discriminator:
                                      - {path: url, type: value}
                                      min: 2
                                      slices:
                                        lang:
                                          match: {url: null}
                                          schema:
                                            _required: true
                                            index: 51
                                            elements:
                                              value:
                                                pattern: {type: Code, value: fr}
                                                mustSupport: true
                                                choices: []
                                                index: 53
                                        content:
                                          match: {url: null}
                                          schema:
                                            _required: true
                                            index: 54
                                            elements:
                                              value:
                                                mustSupport: true
                                                choices: []
                                                index: 56
                required: [system, code]
            required: [coding]
        AllCategory:
          match: {coding: null}
          schema: {index: 57}
  availableTime:
    mustSupport: true
    index: 219
    extensions:
      availableTimeString: {url: 'https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string', min: 0, type: Extension, isModifier: false, index: 221}
    elements:
      extension:
        index: 220
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            availableTimeString:
              match: {url: null}
              schema: {type: Extension, isModifier: false, url: 'https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string', index: 221}
              min: 0
  meta:
    mustSupport: true
    index: 1
    elements:
      lastUpdated: {mustSupport: true, index: 2}
      profile: {mustSupport: true, index: 3}
    required: [profile]
  specialty:
    binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ppr-qualified-expertise-role-type'}
    mustSupport: true
    index: 94
    extensions:
      subspecialty-indicator: {url: 'https://ehealthontario.ca/fhir/StructureDefinition/ca-on-phpd-ext-base-subspecialty-ind', min: 0, max: 1, short: Subspecialty Indicator, type: Extension, mustSupport: true, index: 96}
      selfdeclared-specialty-indicator: {url: 'https://ehealthontario.ca/fhir/StructureDefinition/ca-on-phpd-ext-selfdeclared-specialty-ind', min: 0, max: 1, short: Self-declared Specialty Indicator, type: Extension, mustSupport: true, index: 97}
    elements:
      extension:
        index: 95
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            subspecialty-indicator:
              match: {url: null}
              schema: {short: Subspecialty Indicator, type: Extension, mustSupport: true, url: 'https://ehealthontario.ca/fhir/StructureDefinition/ca-on-phpd-ext-base-subspecialty-ind', index: 96}
              min: 0
              max: 1
            selfdeclared-specialty-indicator:
              match: {url: null}
              schema: {short: Self-declared Specialty Indicator, type: Extension, mustSupport: true, url: 'https://ehealthontario.ca/fhir/StructureDefinition/ca-on-phpd-ext-selfdeclared-specialty-ind', index: 97}
              min: 0
              max: 1
      coding:
        binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ppr-qualified-expertise-role-type'}
        mustSupport: true
        index: 98
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            index: 99
          code: {mustSupport: true, index: 100}
          display:
            mustSupport: true
            index: 101
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 103
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    _required: true
                    index: 105
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 107
                  content:
                    url: null
                    mustSupport: true
                    _required: true
                    index: 108
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 110
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 104
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 2
                      slices:
                        lang:
                          match: {url: null}
                          schema:
                            mustSupport: true
                            _required: true
                            index: 105
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 107
                        content:
                          match: {url: null}
                          schema:
                            mustSupport: true
                            _required: true
                            index: 108
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 110
            elements:
              extension:
                index: 102
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    translation:
                      match: {url: null}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 103
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            _required: true
                            index: 105
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 107
                          content:
                            url: null
                            mustSupport: true
                            _required: true
                            index: 108
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 110
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 104
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 2
                              slices:
                                lang:
                                  match: {url: null}
                                  schema:
                                    mustSupport: true
                                    _required: true
                                    index: 105
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 107
                                content:
                                  match: {url: null}
                                  schema:
                                    mustSupport: true
                                    _required: true
                                    index: 108
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 110
      text:
        mustSupport: true
        index: 111
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            index: 113
            extensions:
              lang:
                url: null
                mustSupport: true
                _required: true
                index: 115
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 117
              content:
                url: null
                mustSupport: true
                _required: true
                index: 118
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 120
            elements:
              extension:
                array: true
                min: 2
                index: 114
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 2
                  slices:
                    lang:
                      match: {url: null}
                      schema:
                        mustSupport: true
                        _required: true
                        index: 115
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 117
                    content:
                      match: {url: null}
                      schema:
                        mustSupport: true
                        _required: true
                        index: 118
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 120
        elements:
          extension:
            index: 112
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                translation:
                  match: {url: null}
                  schema:
                    type: Extension
                    isModifier: false
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 113
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        _required: true
                        index: 115
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 117
                      content:
                        url: null
                        mustSupport: true
                        _required: true
                        index: 118
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 120
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 114
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 2
                          slices:
                            lang:
                              match: {url: null}
                              schema:
                                mustSupport: true
                                _required: true
                                index: 115
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 117
                            content:
                              match: {url: null}
                              schema:
                                mustSupport: true
                                _required: true
                                index: 118
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 120
  name:
    mustSupport: true
    index: 123
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        index: 125
        extensions:
          lang:
            url: null
            _required: true
            index: 127
            elements:
              value:
                pattern: {type: Code, value: fr}
                mustSupport: true
                choices: []
                index: 129
        elements:
          extension:
            array: true
            min: 2
            index: 126
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: 2
              slices:
                lang:
                  match: {url: null}
                  schema:
                    _required: true
                    index: 127
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 129
    elements:
      extension:
        index: 124
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            translation:
              match: {url: null}
              schema:
                type: Extension
                isModifier: false
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 125
                extensions:
                  lang:
                    url: null
                    _required: true
                    index: 127
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 129
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 126
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 2
                      slices:
                        lang:
                          match: {url: null}
                          schema:
                            _required: true
                            index: 127
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 129
  providedBy:
    mustSupport: true
    index: 26
    elements:
      reference: {mustSupport: true, index: 27}
  type:
    mustSupport: true
    index: 58
    elements:
      coding:
        mustSupport: true
        index: 59
        elements:
          system: {mustSupport: true, index: 60}
          code: {mustSupport: true, index: 61}
          display:
            mustSupport: true
            index: 62
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                index: 64
                extensions:
                  lang:
                    url: null
                    _required: true
                    index: 66
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        choices: []
                        index: 68
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 65
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 2
                      slices:
                        lang:
                          match: {url: null}
                          schema:
                            _required: true
                            index: 66
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 68
            elements:
              extension:
                index: 63
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    translation:
                      match: {url: null}
                      schema:
                        type: Extension
                        isModifier: false
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 64
                        extensions:
                          lang:
                            url: null
                            _required: true
                            index: 66
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 68
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 65
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 2
                              slices:
                                lang:
                                  match: {url: null}
                                  schema:
                                    _required: true
                                    index: 66
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 68
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: null
      slices:
        eServices:
          match: {}
          schema: {index: 69}
        eConsult:
          match: {}
          schema: {index: 70}
        eVisit:
          match: {}
          schema: {index: 71}
        Connex:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-type-connex'}
            mustSupport: true
            index: 72
            elements:
              coding:
                binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-type-connex'}
                mustSupport: true
                index: 73
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/service-type-connex'}
                    mustSupport: true
                    index: 74
                  code: {mustSupport: false, index: 75}
                  display:
                    mustSupport: true
                    index: 76
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        isModifier: false
                        index: 78
                        extensions:
                          lang:
                            url: null
                            _required: true
                            index: 80
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 82
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 79
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 2
                              slices:
                                lang:
                                  match: {url: null}
                                  schema:
                                    _required: true
                                    index: 80
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 82
                    elements:
                      extension:
                        index: 77
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            translation:
                              match: {url: null}
                              schema:
                                type: Extension
                                isModifier: false
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 78
                                extensions:
                                  lang:
                                    url: null
                                    _required: true
                                    index: 80
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 82
                                elements:
                                  extension:
                                    array: true
                                    min: 2
                                    index: 79
                                    slicing:
                                      rules: open
                                      discriminator:
                                      - {path: url, type: value}
                                      min: 2
                                      slices:
                                        lang:
                                          match: {url: null}
                                          schema:
                                            _required: true
                                            index: 80
                                            elements:
                                              value:
                                                pattern: {type: Code, value: fr}
                                                choices: []
                                                index: 82
        THLN:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-type-thln'}
            index: 83
            elements:
              coding:
                binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-type-thln'}
                mustSupport: true
                index: 84
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/service-type-thln'}
                    mustSupport: true
                    index: 85
                  code: {mustSupport: true, index: 86}
                  display:
                    mustSupport: true
                    index: 87
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        isModifier: false
                        index: 89
                        extensions:
                          lang:
                            url: null
                            _required: true
                            index: 91
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 93
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 90
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 2
                              slices:
                                lang:
                                  match: {url: null}
                                  schema:
                                    _required: true
                                    index: 91
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 93
                    elements:
                      extension:
                        index: 88
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            translation:
                              match: {url: null}
                              schema:
                                type: Extension
                                isModifier: false
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 89
                                extensions:
                                  lang:
                                    url: null
                                    _required: true
                                    index: 91
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 93
                                elements:
                                  extension:
                                    array: true
                                    min: 2
                                    index: 90
                                    slicing:
                                      rules: open
                                      discriminator:
                                      - {path: url, type: value}
                                      min: 2
                                      slices:
                                        lang:
                                          match: {url: null}
                                          schema:
                                            _required: true
                                            index: 91
                                            elements:
                                              value:
                                                pattern: {type: Code, value: fr}
                                                choices: []
                                                index: 93
  eligibility:
    mustSupport: true
    index: 173
    elements:
      code:
        mustSupport: true
        index: 174
        elements:
          text:
            mustSupport: true
            index: 175
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                index: 177
                extensions:
                  lang:
                    url: null
                    _required: true
                    index: 179
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        choices: []
                        index: 181
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 178
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 2
                      slices:
                        lang:
                          match: {url: null}
                          schema:
                            _required: true
                            index: 179
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 181
            elements:
              extension:
                index: 176
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    translation:
                      match: {url: null}
                      schema:
                        type: Extension
                        isModifier: false
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 177
                        extensions:
                          lang:
                            url: null
                            _required: true
                            index: 179
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 181
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 178
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 2
                              slices:
                                lang:
                                  match: {url: null}
                                  schema:
                                    _required: true
                                    index: 179
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 181
      comment:
        mustSupport: true
        index: 182
        extensions:
          translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, max: 1, type: Extension, isModifier: false, index: 184}
        elements:
          extension:
            index: 183
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                translation:
                  match: {url: null}
                  schema: {type: Extension, isModifier: false, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 184}
                  min: 0
                  max: 1
  extraDetails:
    mustSupport: true
    index: 131
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        index: 133
        extensions:
          lang:
            url: null
            _required: true
            index: 135
            elements:
              value:
                pattern: {type: Code, value: fr}
                mustSupport: true
                choices: []
                index: 137
        elements:
          extension:
            array: true
            min: 2
            index: 134
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: 2
              slices:
                lang:
                  match: {url: null}
                  schema:
                    _required: true
                    index: 135
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 137
    elements:
      extension:
        index: 132
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            translation:
              match: {url: null}
              schema:
                type: Extension
                isModifier: false
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 133
                extensions:
                  lang:
                    url: null
                    _required: true
                    index: 135
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 137
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 134
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 2
                      slices:
                        lang:
                          match: {url: null}
                          schema:
                            _required: true
                            index: 135
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 137
  characteristic:
    mustSupport: true
    index: 196
    elements:
      text:
        mustSupport: true
        index: 197
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 199
            extensions:
              lang:
                url: null
                mustSupport: true
                _required: true
                index: 201
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 203
              content:
                url: null
                _required: true
                index: 204
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 206
            elements:
              extension:
                array: true
                min: 2
                index: 200
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 2
                  slices:
                    lang:
                      match: {url: null}
                      schema:
                        mustSupport: true
                        _required: true
                        index: 201
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 203
                    content:
                      match: {url: null}
                      schema:
                        _required: true
                        index: 204
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 206
        elements:
          extension:
            index: 198
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                translation:
                  match: {url: null}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 199
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        _required: true
                        index: 201
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 203
                      content:
                        url: null
                        _required: true
                        index: 204
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 206
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 200
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 2
                          slices:
                            lang:
                              match: {url: null}
                              schema:
                                mustSupport: true
                                _required: true
                                index: 201
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 203
                            content:
                              match: {url: null}
                              schema:
                                _required: true
                                index: 204
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 206
  active: {mustSupport: true, index: 25}
  communication:
    binding: {strength: preferred, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/human-language'}
    mustSupport: true
    index: 207
    elements:
      coding:
        mustSupport: true
        index: 208
        elements:
          system:
            pattern: {type: Uri, value: 'urn:ietf:bcp:47'}
            mustSupport: true
            index: 209
          code: {mustSupport: true, index: 210}
  id: {index: 0}
  comment: {mustSupport: true, index: 130}
  identifier:
    mustSupport: true
    index: 6
    elements:
      use:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-identifier-use'}
        index: 7
      system: {mustSupport: true, index: 8}
      value: {mustSupport: true, index: 9}
      assigner: {mustSupport: false, index: 10}
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        oh-upi:
          match: {system: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-provider-upi'}
          schema:
            mustSupport: true
            index: 11
            elements:
              use:
                pattern: {type: Code, value: official}
                mustSupport: true
                index: 12
              system:
                pattern: {type: Uri, value: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-provider-upi'}
                mustSupport: true
                index: 13
              value: {mustSupport: true, index: 14}
        oh-connex:
          match: {system: 'http://ehealthontario.ca/NamingSystem/id-connex-healthcareservice'}
          schema:
            mustSupport: true
            index: 15
            elements:
              use:
                pattern: {type: Code, value: secondary}
                mustSupport: true
                index: 16
              system:
                pattern: {type: Uri, value: 'http://ehealthontario.ca/NamingSystem/id-connex-healthcareservice'}
                mustSupport: true
                index: 17
              value: {mustSupport: true, index: 18}
            required: [value, system]
        oh-thln:
          match: {system: 'http://ehealthontario.ca/NamingSystem/id-thln-healthcareservice'}
          schema:
            mustSupport: true
            index: 19
            elements:
              use:
                pattern: {type: Code, value: secondary}
                mustSupport: true
                index: 20
              type:
                mustSupport: false
                index: 21
                elements:
                  coding: {mustSupport: true, index: 22}
              system:
                pattern: {type: Uri, value: 'http://ehealthontario.ca/NamingSystem/id-thln-healthcareservice'}
                mustSupport: true
                index: 23
              value: {mustSupport: true, index: 24}
            required: [value, system]
  serviceProvisionCode:
    mustSupport: true
    index: 162
    elements:
      text:
        mustSupport: true
        index: 163
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 165
            extensions:
              lang:
                url: null
                mustSupport: true
                _required: true
                index: 167
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 169
              content:
                url: null
                _required: true
                index: 170
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 172
            elements:
              extension:
                array: true
                min: 2
                index: 166
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 2
                  slices:
                    lang:
                      match: {url: null}
                      schema:
                        mustSupport: true
                        _required: true
                        index: 167
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 169
                    content:
                      match: {url: null}
                      schema:
                        _required: true
                        index: 170
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 172
        elements:
          extension:
            index: 164
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                translation:
                  match: {url: null}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 165
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        _required: true
                        index: 167
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 169
                      content:
                        url: null
                        _required: true
                        index: 170
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 172
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 166
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 2
                          slices:
                            lang:
                              match: {url: null}
                              schema:
                                mustSupport: true
                                _required: true
                                index: 167
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 169
                            content:
                              match: {url: null}
                              schema:
                                _required: true
                                index: 170
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 172
  appointmentRequired: {mustSupport: true, index: 218}
  referralMethod:
    mustSupport: true
    index: 211
    elements:
      text:
        mustSupport: true
        index: 212
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 214
            extensions:
              lang: {url: null, min: 1, mustSupport: true, _required: true, index: 216}
              content: {url: null, min: 1, mustSupport: true, _required: true, index: 217}
            elements:
              extension:
                array: true
                min: 2
                index: 215
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 2
                  slices:
                    lang:
                      match: {url: null}
                      schema: {mustSupport: true, _required: true, index: 216}
                      min: 1
                    content:
                      match: {url: null}
                      schema: {mustSupport: true, _required: true, index: 217}
                      min: 1
        elements:
          extension:
            index: 213
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                translation:
                  match: {url: null}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 214
                    extensions:
                      lang: {url: null, min: 1, mustSupport: true, _required: true, index: 216}
                      content: {url: null, min: 1, mustSupport: true, _required: true, index: 217}
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 215
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 2
                          slices:
                            lang:
                              match: {url: null}
                              schema: {mustSupport: true, _required: true, index: 216}
                              min: 1
                            content:
                              match: {url: null}
                              schema: {mustSupport: true, _required: true, index: 217}
                              min: 1
  telecom:
    mustSupport: true
    index: 138
    extensions:
      contactPurpose:
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-contact-purpose
        type: Extension
        isModifier: false
        index: 140
        elements:
          value:
            mustSupport: true
            choices: []
            index: 142
          value[x]:
            extensions:
              translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, type: Extension, isModifier: false, index: 144}
            elements:
              extension:
                index: 143
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    translation:
                      match: {url: null}
                      schema: {type: Extension, isModifier: false, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 144}
                      min: 0
    elements:
      extension:
        index: 139
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            contactPurpose:
              match: {url: null}
              schema:
                type: Extension
                isModifier: false
                url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-contact-purpose
                index: 140
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 142
                  value[x]:
                    extensions:
                      translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, type: Extension, isModifier: false, index: 144}
                    elements:
                      extension:
                        index: 143
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: 0
                          slices:
                            translation:
                              match: {url: null}
                              schema: {type: Extension, isModifier: false, url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 144}
                              min: 0
      system: {mustSupport: true, index: 145}
      value: {mustSupport: true, index: 146}
      use:
        pattern: {type: Code, value: work}
        mustSupport: true
        index: 147
      period:
        mustSupport: true
        index: 148
        elements:
          start: {mustSupport: true, index: 149}
  location:
    mustSupport: true
    index: 121
    elements:
      reference: {mustSupport: true, index: 122}
  program:
    binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/phsd-programs'}
    mustSupport: true
    index: 185
    elements:
      coding:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/phsd-programs'}
        mustSupport: true
        index: 186
        elements:
          system:
            pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/phsd-programs'}
            mustSupport: true
            index: 187
          code: {mustSupport: true, index: 188}
          display:
            mustSupport: true
            index: 189
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                index: 191
                extensions:
                  lang:
                    url: null
                    _required: true
                    index: 193
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        choices: []
                        index: 195
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 192
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 2
                      slices:
                        lang:
                          match: {url: null}
                          schema:
                            _required: true
                            index: 193
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 195
            elements:
              extension:
                index: 190
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    translation:
                      match: {url: null}
                      schema:
                        type: Extension
                        isModifier: false
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 191
                        extensions:
                          lang:
                            url: null
                            _required: true
                            index: 193
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 195
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 192
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: 2
                              slices:
                                lang:
                                  match: {url: null}
                                  schema:
                                    _required: true
                                    index: 193
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 195
        required: [system, code]
    required: [coding]
  endpoint:
    elements:
      reference: {mustSupport: false, index: 222}
      type: {mustSupport: false, index: 223}
      identifier: {mustSupport: false, index: 224}
      display: {mustSupport: false, index: 225}
  text:
    mustSupport: false
    index: 4
    elements:
      div: {mustSupport: false, index: 5}
package_version: 1.2.0
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-profile-HealthcareService
base: http://hl7.org/fhir/StructureDefinition/HealthcareService
version: 1.0.0
required: [identifier, meta, active]