PackagesCanonicalsLogsProblems
    Packages
    ca.on.phsd.r4-alpha@1.0.0-BallotDraft0.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: 117
    elements:
      reference: {mustSupport: true, index: 118}
      display:
        mustSupport: true
        index: 119
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 120
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 122
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 124
              content:
                url: null
                mustSupport: true
                index: 125
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 127
            elements:
              extension:
                array: true
                min: 2
                index: 121
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 122
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 124
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 125
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 127
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 120
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 120
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 122
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 124
                      content:
                        url: null
                        mustSupport: true
                        index: 125
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 127
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 121
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 122
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 124
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 125
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 127
  category:
    mustSupport: true
    index: 25
    elements:
      coding:
        mustSupport: true
        index: 26
        elements:
          system: {mustSupport: true, index: 27}
          code: {mustSupport: true, index: 28}
          display:
            mustSupport: true
            index: 29
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 30
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 32
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        choices: []
                        index: 34
                  content:
                    url: null
                    mustSupport: true
                    index: 35
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 37
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 31
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 32
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 34
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 35
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 37
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 30
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 30
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 32
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 34
                          content:
                            url: null
                            mustSupport: true
                            index: 35
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 37
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 31
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 32
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 34
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 35
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 37
      text:
        mustSupport: true
        index: 38
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 39
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 41
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 43
              content:
                url: null
                mustSupport: true
                index: 44
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 46
            elements:
              extension:
                array: true
                min: 2
                index: 40
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 41
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 43
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 44
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 46
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 39
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 39
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 41
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 43
                      content:
                        url: null
                        mustSupport: true
                        index: 44
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 46
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 40
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 41
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 43
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 44
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 46
  availableTime:
    mustSupport: true
    index: 196
    extensions:
      availableTimeString:
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string
        type: Extension
        isModifier: false
        mustSupport: true
        index: 197
        elements:
          value:
            extensions: {}
            elements:
              extension:
                extensions: {}
                elements:
                  extension:
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 207
          value[x]:
            extensions: {}
            elements:
              extension:
                extensions:
                  content: {url: null, mustSupport: true, index: 205}
                elements:
                  extension:
                    mustSupport: true
                    index: 205
                    slicing:
                      slices:
                        content:
                          match: {}
                          schema: {mustSupport: true, index: 205}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string
        index: 197
        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: 197
                elements:
                  value:
                    extensions: {}
                    elements:
                      extension:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 207
                  value[x]:
                    extensions: {}
                    elements:
                      extension:
                        extensions:
                          content: {url: null, mustSupport: true, index: 205}
                        elements:
                          extension:
                            mustSupport: true
                            index: 205
                            slicing:
                              slices:
                                content:
                                  match: {}
                                  schema: {mustSupport: true, index: 205}
  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: false
    index: 64
    extensions:
      subspecialty-indicator:
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind
        type: Extension
        short: Subspecialty Indicator
        mustSupport: true
        index: 65
        elements:
          url:
            pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind'}
            index: 66
      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: 67
        elements:
          url:
            pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-selfdeclared-specialty-ind'}
            index: 68
    elements:
      extension:
        type: Extension
        short: Subspecialty Indicator
        mustSupport: true
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind
        index: 65
        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: 65
                elements:
                  url:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind'}
                    index: 66
            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: 67
                elements:
                  url:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-selfdeclared-specialty-ind'}
                    index: 68
      coding:
        binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/qualified-expertise-role-type'}
        mustSupport: true
        index: 69
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            index: 70
          code: {mustSupport: true, index: 71}
          display:
            mustSupport: true
            index: 72
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 73
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 75
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 77
                  content:
                    url: null
                    mustSupport: true
                    index: 78
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 80
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 74
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 75
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 77
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 78
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 80
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 73
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 73
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 75
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 77
                          content:
                            url: null
                            mustSupport: true
                            index: 78
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 80
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 74
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 75
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 77
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 78
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 80
      text:
        mustSupport: true
        index: 81
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 82
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 84
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 86
              content:
                url: null
                mustSupport: true
                index: 87
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 89
            elements:
              extension:
                array: true
                min: 2
                index: 83
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 84
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 86
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 87
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 89
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 82
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 82
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 84
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 86
                      content:
                        url: null
                        mustSupport: true
                        index: 87
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 89
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 83
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 84
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 86
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 87
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 89
  name:
    mustSupport: true
    index: 92
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 93
        extensions:
          lang:
            url: null
            mustSupport: true
            index: 95
            elements:
              value:
                pattern: {type: Code, value: fr}
                mustSupport: true
                choices: []
                index: 97
          content:
            url: null
            mustSupport: true
            index: 98
            elements:
              value:
                mustSupport: true
                choices: []
                index: 100
        elements:
          extension:
            array: true
            min: 2
            index: 94
            slicing:
              slices:
                lang:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 95
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 97
                content:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 98
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 100
      dataAbsentReason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        isModifier: false
        mustSupport: true
        index: 101
        elements:
          value:
            pattern: {type: Code, value: unknown}
            mustSupport: true
            choices: []
            index: 103
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 93
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 93
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 95
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 97
                  content:
                    url: null
                    mustSupport: true
                    index: 98
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 100
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 94
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 95
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 97
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 98
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 100
            dataAbsentReason:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 101
                elements:
                  value:
                    pattern: {type: Code, value: unknown}
                    mustSupport: true
                    choices: []
                    index: 103
  providedBy:
    mustSupport: true
    index: 20
    elements:
      reference: {mustSupport: true, index: 21}
      identifier:
        mustSupport: true
        index: 22
        elements:
          system: {mustSupport: true, index: 23}
          value: {mustSupport: true, index: 24}
        required: [value, system]
  type:
    mustSupport: true
    index: 47
    extensions:
      dataAbsentReason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        isModifier: false
        mustSupport: true
        index: 48
        elements:
          value:
            pattern: {type: Code, value: unknown}
            mustSupport: true
            choices: []
            index: 50
      serviceCapability: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-service-capability', type: Extension, isModifier: false, mustSupport: true, index: 51}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        index: 48
        slicing:
          slices:
            dataAbsentReason:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 48
                elements:
                  value:
                    pattern: {type: Code, value: unknown}
                    mustSupport: true
                    choices: []
                    index: 50
            serviceCapability:
              match: {}
              schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-service-capability', index: 51}
      coding:
        mustSupport: true
        index: 52
        elements:
          system: {mustSupport: true, index: 53}
          code: {mustSupport: true, index: 54}
          display:
            mustSupport: true
            index: 55
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 56
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 58
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 60
                  content:
                    url: null
                    mustSupport: true
                    index: 61
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 63
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 57
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 58
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 60
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 61
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 63
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 56
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 56
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 58
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 60
                          content:
                            url: null
                            mustSupport: true
                            index: 61
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 63
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 57
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 58
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 60
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 61
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 63
  eligibility:
    mustSupport: true
    index: 138
    elements:
      code:
        mustSupport: true
        index: 139
        elements:
          text:
            mustSupport: true
            index: 140
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 141
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 143
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 145
                  content:
                    url: null
                    mustSupport: true
                    index: 146
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 148
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 142
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 143
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 145
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 146
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 148
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 141
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 141
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 143
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 145
                          content:
                            url: null
                            mustSupport: true
                            index: 146
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 148
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 142
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 143
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 145
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 146
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 148
      comment:
        mustSupport: true
        index: 149
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 150
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 152
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 154
              content:
                url: null
                mustSupport: true
                index: 155
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 157
            elements:
              extension:
                array: true
                min: 2
                index: 151
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 152
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 154
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 155
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 157
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 150
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 150
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 152
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 154
                      content:
                        url: null
                        mustSupport: true
                        index: 155
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 157
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 151
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 152
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 154
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 155
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 157
  extraDetails:
    mustSupport: true
    index: 107
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 108
        extensions:
          lang:
            url: null
            mustSupport: true
            index: 110
            elements:
              value:
                pattern: {type: Code, value: fr}
                mustSupport: true
                choices: []
                index: 112
          content:
            url: null
            mustSupport: true
            index: 113
            elements:
              value:
                mustSupport: true
                choices: []
                index: 115
        elements:
          extension:
            array: true
            min: 2
            index: 109
            slicing:
              slices:
                lang:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 110
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 112
                content:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 113
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 115
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 108
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 108
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 110
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 112
                  content:
                    url: null
                    mustSupport: true
                    index: 113
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 115
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 109
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 110
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 112
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 113
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 115
  characteristic:
    mustSupport: true
    index: 171
    elements:
      text:
        mustSupport: true
        index: 172
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 173
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 175
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 177
              content:
                url: null
                mustSupport: true
                index: 178
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 180
            elements:
              extension:
                array: true
                min: 2
                index: 174
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 175
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 177
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 178
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 180
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 173
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 173
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 175
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 177
                      content:
                        url: null
                        mustSupport: true
                        index: 178
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 180
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 174
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 175
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 177
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 178
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 180
  active: {mustSupport: true, index: 19}
  communication:
    binding: {strength: preferred, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/human-language'}
    mustSupport: true
    index: 181
    elements:
      coding:
        mustSupport: true
        index: 182
        elements:
          system:
            pattern: {type: Uri, value: 'urn:ietf:bcp:47'}
            mustSupport: true
            index: 183
          code: {mustSupport: true, index: 184}
  id: {index: 0}
  comment:
    mustSupport: true
    index: 104
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 105
        extensions: {}
        elements:
          extension: {array: true, min: 2, index: 106}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 105
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 105
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 106}
  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}
        other-identifiers:
          match: {system: null}
          schema:
            mustSupport: true
            index: 15
            elements:
              use:
                pattern: {type: Code, value: secondary}
                mustSupport: true
                index: 16
              system: {mustSupport: true, index: 17}
              value: {mustSupport: true, index: 18}
            required: [value, system]
  serviceProvisionCode:
    mustSupport: true
    index: 128
    elements:
      text:
        mustSupport: true
        index: 129
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 130
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 132
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 134
              content:
                url: null
                mustSupport: true
                index: 135
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 137
            elements:
              extension:
                array: true
                min: 2
                index: 131
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 132
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 134
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 135
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 137
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 130
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 130
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 132
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 134
                      content:
                        url: null
                        mustSupport: true
                        index: 135
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 137
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 131
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 132
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 134
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 135
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 137
  appointmentRequired: {mustSupport: true, index: 195}
  referralMethod:
    mustSupport: true
    index: 185
    elements:
      text:
        mustSupport: true
        index: 186
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 187
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 189
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 191
              content:
                url: null
                mustSupport: true
                index: 192
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 194
            elements:
              extension:
                array: true
                min: 2
                index: 188
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 189
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 191
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 192
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 194
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 187
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 187
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 189
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 191
                      content:
                        url: null
                        mustSupport: true
                        index: 192
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 194
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 188
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 189
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 191
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 192
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 194
  telecom: {type: ContactPoint, mustSupport: true, index: 116}
  location:
    mustSupport: true
    index: 90
    elements:
      reference: {mustSupport: true, index: 91}
  program:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/phsd-programs'}
    mustSupport: true
    index: 158
    elements:
      coding:
        mustSupport: true
        index: 159
        elements:
          system:
            pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/phsd-programs'}
            mustSupport: true
            index: 160
          code: {mustSupport: true, index: 161}
          display:
            mustSupport: true
            index: 162
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 163
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 165
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 167
                  content:
                    url: null
                    mustSupport: true
                    index: 168
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 170
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 164
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 165
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 167
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 168
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 170
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 163
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 163
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 165
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 167
                          content:
                            url: null
                            mustSupport: true
                            index: 168
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 170
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 164
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 165
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 167
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 168
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 170
        required: [system, code]
    required: [coding]
  endpoint:
    elements:
      type: {mustSupport: false, index: 208}
      display: {mustSupport: false, index: 209}
  text:
    mustSupport: false
    index: 4
    elements:
      div: {mustSupport: false, index: 5}
package_version: 1.0.0-BallotDraft0.1
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: [name, identifier, type, meta, category, active]