PackagesCanonicalsLogsProblems
    Packages
    ca.on.phsd.r4-alpha@1.0.0-BallotDraft
    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: 108
    elements:
      reference: {mustSupport: true, index: 109}
      display:
        mustSupport: true
        index: 110
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 111
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 113
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 115
              content:
                url: null
                mustSupport: true
                index: 116
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 118
            elements:
              extension:
                array: true
                min: 2
                index: 112
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 113
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 115
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 116
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 118
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 111
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 111
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 113
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 115
                      content:
                        url: null
                        mustSupport: true
                        index: 116
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 118
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 112
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 113
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 115
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 116
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 118
  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
  availableTime:
    mustSupport: true
    index: 187
    extensions:
      availableTimeString:
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string
        type: Extension
        isModifier: false
        mustSupport: true
        index: 188
        elements:
          value:
            extensions: {}
            elements:
              extension:
                extensions: {}
                elements:
                  extension:
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 198
          value[x]:
            extensions: {}
            elements:
              extension:
                extensions:
                  content: {url: null, mustSupport: true, index: 196}
                elements:
                  extension:
                    mustSupport: true
                    index: 196
                    slicing:
                      slices:
                        content:
                          match: {}
                          schema: {mustSupport: true, index: 196}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string
        index: 188
        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: 188
                elements:
                  value:
                    extensions: {}
                    elements:
                      extension:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 198
                  value[x]:
                    extensions: {}
                    elements:
                      extension:
                        extensions:
                          content: {url: null, mustSupport: true, index: 196}
                        elements:
                          extension:
                            mustSupport: true
                            index: 196
                            slicing:
                              slices:
                                content:
                                  match: {}
                                  schema: {mustSupport: true, index: 196}
  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: 55
    extensions:
      subspecialty-indicator:
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind
        type: Extension
        short: Subspecialty Indicator
        mustSupport: true
        index: 56
        elements:
          url:
            pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind'}
            index: 57
      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: 58
        elements:
          url:
            pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-selfdeclared-specialty-ind'}
            index: 59
    elements:
      extension:
        type: Extension
        short: Subspecialty Indicator
        mustSupport: true
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind
        index: 56
        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: 56
                elements:
                  url:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind'}
                    index: 57
            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: 58
                elements:
                  url:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-selfdeclared-specialty-ind'}
                    index: 59
      coding:
        binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/qualified-expertise-role-type'}
        mustSupport: true
        index: 60
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            index: 61
          code: {mustSupport: true, index: 62}
          display:
            mustSupport: true
            index: 63
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 64
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 66
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 68
                  content:
                    url: null
                    mustSupport: true
                    index: 69
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 71
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 65
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 66
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 68
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 69
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 71
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 64
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 64
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 66
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 68
                          content:
                            url: null
                            mustSupport: true
                            index: 69
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 71
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 65
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 66
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 68
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 69
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 71
      text:
        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
  name:
    mustSupport: true
    index: 83
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 84
        extensions:
          lang:
            url: null
            mustSupport: true
            index: 86
            elements:
              value:
                pattern: {type: Code, value: fr}
                mustSupport: true
                choices: []
                index: 88
          content:
            url: null
            mustSupport: true
            index: 89
            elements:
              value:
                mustSupport: true
                choices: []
                index: 91
        elements:
          extension:
            array: true
            min: 2
            index: 85
            slicing:
              slices:
                lang:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 86
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 88
                content:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 89
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 91
      dataAbsentReason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        isModifier: false
        mustSupport: true
        index: 92
        elements:
          value:
            pattern: {type: Code, value: unknown}
            mustSupport: true
            choices: []
            index: 94
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 84
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 84
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 86
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 88
                  content:
                    url: null
                    mustSupport: true
                    index: 89
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 91
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 85
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 86
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 88
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 89
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 91
            dataAbsentReason:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 92
                elements:
                  value:
                    pattern: {type: Code, value: unknown}
                    mustSupport: true
                    choices: []
                    index: 94
  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: 38
    extensions:
      dataAbsentReason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        isModifier: false
        mustSupport: true
        index: 39
        elements:
          value:
            pattern: {type: Code, value: unknown}
            mustSupport: true
            choices: []
            index: 41
      serviceCapability: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-service-capability', type: Extension, isModifier: false, mustSupport: true, index: 42}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        index: 39
        slicing:
          slices:
            dataAbsentReason:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 39
                elements:
                  value:
                    pattern: {type: Code, value: unknown}
                    mustSupport: true
                    choices: []
                    index: 41
            serviceCapability:
              match: {}
              schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-service-capability', index: 42}
      coding:
        mustSupport: true
        index: 43
        elements:
          system: {mustSupport: true, index: 44}
          code: {mustSupport: true, index: 45}
          display:
            mustSupport: true
            index: 46
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 47
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 49
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 51
                  content:
                    url: null
                    mustSupport: true
                    index: 52
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 54
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 48
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 49
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 51
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 52
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 54
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 47
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 47
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 49
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 51
                          content:
                            url: null
                            mustSupport: true
                            index: 52
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 54
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 48
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 49
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 51
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 52
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 54
  eligibility:
    mustSupport: true
    index: 129
    elements:
      code:
        mustSupport: true
        index: 130
        elements:
          text:
            mustSupport: true
            index: 131
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 132
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 134
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 136
                  content:
                    url: null
                    mustSupport: true
                    index: 137
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 139
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 133
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 134
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 136
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 137
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 139
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 132
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 132
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 134
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 136
                          content:
                            url: null
                            mustSupport: true
                            index: 137
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 139
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 133
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 134
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 136
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 137
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 139
      comment:
        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
  extraDetails:
    mustSupport: true
    index: 98
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 99
        extensions:
          lang:
            url: null
            mustSupport: true
            index: 101
            elements:
              value:
                pattern: {type: Code, value: fr}
                mustSupport: true
                choices: []
                index: 103
          content:
            url: null
            mustSupport: true
            index: 104
            elements:
              value:
                mustSupport: true
                choices: []
                index: 106
        elements:
          extension:
            array: true
            min: 2
            index: 100
            slicing:
              slices:
                lang:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 101
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 103
                content:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 104
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 106
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 99
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 99
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 101
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 103
                  content:
                    url: null
                    mustSupport: true
                    index: 104
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 106
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 100
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 101
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 103
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 104
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 106
  characteristic:
    mustSupport: true
    index: 162
    elements:
      text:
        mustSupport: true
        index: 163
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 164
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 166
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 168
              content:
                url: null
                mustSupport: true
                index: 169
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 171
            elements:
              extension:
                array: true
                min: 2
                index: 165
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 166
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 168
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 169
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 171
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 164
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 164
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 166
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 168
                      content:
                        url: null
                        mustSupport: true
                        index: 169
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 171
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 165
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 166
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 168
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 169
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 171
  active: {mustSupport: true, index: 19}
  communication:
    binding: {strength: preferred, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/human-language'}
    mustSupport: true
    index: 172
    elements:
      coding:
        mustSupport: true
        index: 173
        elements:
          system:
            pattern: {type: Uri, value: 'urn:ietf:bcp:47'}
            mustSupport: true
            index: 174
          code: {mustSupport: true, index: 175}
  id: {index: 0}
  comment:
    mustSupport: true
    index: 95
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 96
        extensions: {}
        elements:
          extension: {array: true, min: 2, index: 97}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 96
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 96
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 97}
  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: 119
    elements:
      text:
        mustSupport: true
        index: 120
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 121
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 123
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 125
              content:
                url: null
                mustSupport: true
                index: 126
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 128
            elements:
              extension:
                array: true
                min: 2
                index: 122
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 123
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 125
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 126
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 128
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 121
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 121
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 123
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 125
                      content:
                        url: null
                        mustSupport: true
                        index: 126
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 128
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 122
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 123
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 125
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 126
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 128
  appointmentRequired: {mustSupport: true, index: 186}
  referralMethod:
    mustSupport: true
    index: 176
    elements:
      text:
        mustSupport: true
        index: 177
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 178
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 180
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 182
              content:
                url: null
                mustSupport: true
                index: 183
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 185
            elements:
              extension:
                array: true
                min: 2
                index: 179
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 180
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 182
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 183
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 185
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 178
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 178
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 180
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 182
                      content:
                        url: null
                        mustSupport: true
                        index: 183
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 185
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 179
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 180
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 182
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 183
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 185
  telecom: {type: ContactPoint, mustSupport: true, index: 107}
  location:
    mustSupport: true
    index: 81
    elements:
      reference: {mustSupport: true, index: 82}
  program:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/phsd-programs'}
    mustSupport: true
    index: 149
    elements:
      coding:
        mustSupport: true
        index: 150
        elements:
          system:
            pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/phsd-programs'}
            mustSupport: true
            index: 151
          code: {mustSupport: true, index: 152}
          display:
            mustSupport: true
            index: 153
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 154
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 156
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 158
                  content:
                    url: null
                    mustSupport: true
                    index: 159
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 161
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 155
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 156
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 158
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 159
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 161
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 154
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 154
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 156
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 158
                          content:
                            url: null
                            mustSupport: true
                            index: 159
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 161
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 155
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 156
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 158
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 159
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 161
        required: [system, code]
    required: [coding]
  endpoint:
    elements:
      type: {mustSupport: false, index: 199}
      display: {mustSupport: false, index: 200}
  text:
    mustSupport: false
    index: 4
    elements:
      div: {mustSupport: false, index: 5}
package_version: 1.0.0-BallotDraft
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]