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