PackagesCanonicalsLogsProblems
    Packages
    ca.on.phsd.r4-alpha@1.1.0-TU-snapshot2
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-submission-profile-HealthcareService
description: Defines the HealthcareService resource in a HealthcareService Submission during bulk import.
package_name: ca.on.phsd.r4-alpha
derivation: constraint
name: HealthcareServiceSubmission
type: HealthcareService
elements:
  coverageArea:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-profile-Location-coverage']
    index: 91
    elements:
      reference: {mustSupport: true, index: 92}
      display:
        mustSupport: true
        index: 93
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 94
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 96
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 98
              content:
                url: null
                mustSupport: true
                index: 99
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 101
            elements:
              extension:
                array: true
                min: 2
                index: 95
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 96
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 98
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 99
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 101
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 94
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 94
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 96
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 98
                      content:
                        url: null
                        mustSupport: true
                        index: 99
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 101
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 95
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 96
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 98
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 99
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 101
  category:
    mustSupport: true
    index: 26
    elements:
      coding:
        mustSupport: true
        index: 27
        elements:
          system: {mustSupport: true, index: 28}
          code: {mustSupport: true, index: 29}
          display:
            mustSupport: true
            index: 30
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 31
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 33
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        choices: []
                        index: 35
                  content:
                    url: null
                    mustSupport: true
                    index: 36
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 38
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 32
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 33
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 35
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 36
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 38
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 31
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 31
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 33
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 35
                          content:
                            url: null
                            mustSupport: true
                            index: 36
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 38
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 32
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 33
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 35
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 36
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 38
    slicing:
      rules: open
      discriminator:
      - {path: coding, type: value}
      min: 1
      slices:
        eServices:
          match: {coding: null}
          schema:
            binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-eServices'}
            mustSupport: true
            index: 39
        eConsult:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-eConsult'}
            mustSupport: true
            index: 40
          max: 1
        eVisit:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-eVisit'}
            mustSupport: true
            index: 41
          max: 1
        Connex-THLN:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-connex-thln'}
            mustSupport: true
            index: 42
  availableTime:
    mustSupport: true
    index: 173
    extensions:
      availableTimeString:
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string
        type: Extension
        isModifier: false
        mustSupport: true
        index: 174
        elements:
          value:
            extensions: {}
            elements:
              extension:
                extensions: {}
                elements:
                  extension:
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 184
          value[x]:
            extensions: {}
            elements:
              extension:
                extensions:
                  content: {url: null, mustSupport: true, index: 182}
                elements:
                  extension:
                    mustSupport: true
                    index: 182
                    slicing:
                      slices:
                        content:
                          match: {}
                          schema: {mustSupport: true, index: 182}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string
        index: 174
        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: 174
                elements:
                  value:
                    extensions: {}
                    elements:
                      extension:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 184
                  value[x]:
                    extensions: {}
                    elements:
                      extension:
                        extensions:
                          content: {url: null, mustSupport: true, index: 182}
                        elements:
                          extension:
                            mustSupport: true
                            index: 182
                            slicing:
                              slices:
                                content:
                                  match: {}
                                  schema: {mustSupport: true, index: 182}
  meta:
    mustSupport: true
    index: 1
    elements:
      lastUpdated: {mustSupport: true, index: 2}
      profile: {mustSupport: true, index: 3}
      security: {mustSupport: true, index: 4}
    required: [profile]
  specialty:
    mustSupport: false
    index: 59
    elements:
      coding:
        mustSupport: false
        index: 60
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            mustSupport: false
            index: 61
          code: {mustSupport: false, index: 62}
          display: {mustSupport: false, index: 63}
        required: [system, code]
      text: {mustSupport: false, index: 64}
    required: [coding]
  name:
    mustSupport: true
    index: 68
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 69
        extensions:
          lang:
            url: null
            mustSupport: true
            index: 71
            elements:
              value:
                pattern: {type: Code, value: fr}
                mustSupport: true
                choices: []
                index: 73
          content:
            url: null
            mustSupport: true
            index: 74
            elements:
              value:
                mustSupport: true
                choices: []
                index: 76
        elements:
          extension:
            array: true
            min: 2
            index: 70
            slicing:
              slices:
                lang:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 71
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 73
                content:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 74
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 76
      dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', type: Extension, isModifier: false, mustSupport: true, index: 77}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 69
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 69
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 71
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 73
                  content:
                    url: null
                    mustSupport: true
                    index: 74
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 76
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 70
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 71
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 73
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 74
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 76
            dataAbsentReason:
              match: {}
              schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 77}
  providedBy:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-organization-submission-profile-Organization']
    index: 21
    elements:
      reference: {mustSupport: true, index: 22}
      identifier:
        mustSupport: true
        index: 23
        elements:
          system: {mustSupport: true, index: 24}
          value: {mustSupport: true, index: 25}
        required: [value, system]
  type:
    mustSupport: true
    index: 43
    extensions:
      dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', type: Extension, isModifier: false, mustSupport: true, index: 44}
      serviceCapability: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-service-capability', type: Extension, isModifier: false, mustSupport: true, index: 45}
      autoSplitIndicator: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-auto-split-indicator', type: Extension, index: 46}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        index: 44
        slicing:
          slices:
            dataAbsentReason:
              match: {}
              schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 44}
            serviceCapability:
              match: {}
              schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-service-capability', index: 45}
            autoSplitIndicator:
              match: {}
              schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-auto-split-indicator', index: 46}
      coding:
        mustSupport: true
        index: 47
        elements:
          system: {mustSupport: true, index: 48}
          code: {mustSupport: true, index: 49}
          display:
            mustSupport: true
            index: 50
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 51
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 53
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 55
                  content:
                    url: null
                    mustSupport: true
                    index: 56
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 58
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 52
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 53
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 55
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 56
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 58
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 51
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 51
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 53
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 55
                          content:
                            url: null
                            mustSupport: true
                            index: 56
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 58
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 52
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 53
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 55
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 56
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 58
  eligibility:
    mustSupport: true
    index: 112
    elements:
      code:
        mustSupport: true
        index: 113
        elements:
          text:
            mustSupport: true
            index: 114
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 115
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 117
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 119
                  content:
                    url: null
                    mustSupport: true
                    index: 120
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 122
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 116
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 117
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 119
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 120
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 122
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 115
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 115
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 117
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 119
                          content:
                            url: null
                            mustSupport: true
                            index: 120
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 122
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 116
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 117
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 119
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 120
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 122
        required: [text]
      comment:
        mustSupport: true
        index: 123
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 124
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 126
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 128
              content:
                url: null
                mustSupport: true
                index: 129
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 131
            elements:
              extension:
                array: true
                min: 2
                index: 125
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 126
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 128
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 129
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 131
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 124
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 124
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 126
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 128
                      content:
                        url: null
                        mustSupport: true
                        index: 129
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 131
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 125
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 126
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 128
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 129
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 131
    required: [code]
  extraDetails:
    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
  characteristic:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/CodeSystem/service-accessibility-characteristic'}
    mustSupport: true
    index: 145
    elements:
      text:
        mustSupport: true
        index: 146
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 147
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 149
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 151
              content:
                url: null
                mustSupport: true
                index: 152
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 154
            elements:
              extension:
                array: true
                min: 2
                index: 148
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 149
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 151
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 152
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 154
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 147
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 147
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 149
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 151
                      content:
                        url: null
                        mustSupport: true
                        index: 152
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 154
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 148
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 149
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 151
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 152
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 154
    required: [text]
  active: {mustSupport: true, index: 20}
  communication:
    binding: {strength: preferred, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/human-language'}
    mustSupport: true
    index: 155
    elements:
      coding:
        mustSupport: true
        index: 156
        elements:
          system:
            pattern: {type: Uri, value: 'urn:ietf:bcp:47'}
            mustSupport: true
            index: 157
          code: {mustSupport: true, index: 158}
        required: [system, code]
    required: [coding]
  id: {index: 0}
  comment:
    mustSupport: true
    index: 78
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 79
        extensions: {}
        elements:
          extension: {array: true, min: 2, index: 80}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 79
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 79
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 80}
  identifier:
    mustSupport: true
    index: 7
    elements:
      use:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-identifier-use'}
        index: 8
      system: {mustSupport: true, index: 9}
      value: {mustSupport: true, index: 10}
      assigner: {mustSupport: false, index: 11}
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        oh-upi:
          match: {system: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-provider-upi'}
          schema:
            mustSupport: true
            index: 12
            elements:
              use:
                pattern: {type: Code, value: official}
                mustSupport: true
                index: 13
              system:
                pattern: {type: Uri, value: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-provider-upi'}
                mustSupport: true
                index: 14
              value: {mustSupport: true, index: 15}
        other-identifiers:
          match: {system: 'http://ehealthontario.ca/NamingSystem/id-connex-healthcareservice'}
          schema:
            mustSupport: true
            index: 16
            elements:
              use:
                pattern: {type: Code, value: secondary}
                mustSupport: true
                index: 17
              system:
                pattern: {type: Uri, value: 'http://ehealthontario.ca/NamingSystem/id-connex-healthcareservice'}
                mustSupport: true
                index: 18
              value: {mustSupport: true, index: 19}
            required: [value, system]
  serviceProvisionCode:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/CodeSystem/payment-method'}
    mustSupport: true
    index: 102
    elements:
      text:
        mustSupport: true
        index: 103
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 104
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 106
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 108
              content:
                url: null
                mustSupport: true
                index: 109
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 111
            elements:
              extension:
                array: true
                min: 2
                index: 105
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 106
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 108
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 109
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 111
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 104
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 104
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 106
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 108
                      content:
                        url: null
                        mustSupport: true
                        index: 109
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 111
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 105
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 106
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 108
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 109
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 111
    required: [text]
  appointmentRequired: {mustSupport: true, index: 172}
  referralMethod:
    mustSupport: true
    index: 159
    elements:
      coding:
        mustSupport: true
        index: 160
        elements:
          system: {index: 161}
          code: {index: 162}
        required: [system, code]
      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
    required: [coding, text]
  telecom: {type: ContactPoint, mustSupport: true, index: 90}
  location:
    mustSupport: true
    index: 65
    elements:
      reference: {mustSupport: true, index: 66}
      identifier: {mustSupport: true, index: 67}
    required: [reference]
  program:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/phsd-programs'}
    mustSupport: true
    index: 132
    elements:
      coding:
        mustSupport: true
        index: 133
        elements:
          system:
            pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/phsd-programs'}
            mustSupport: true
            index: 134
          code: {mustSupport: true, index: 135}
          display:
            mustSupport: true
            index: 136
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 137
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 139
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 141
                  content:
                    url: null
                    mustSupport: true
                    index: 142
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 144
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 138
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 139
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 141
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 142
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 144
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 137
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 137
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 139
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 141
                          content:
                            url: null
                            mustSupport: true
                            index: 142
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 144
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 138
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 139
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 141
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 142
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 144
        required: [system, code]
    required: [coding]
  endpoint:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-profile-Endpoint']
    index: 185
    elements:
      reference: {mustSupport: true, index: 186}
      type: {mustSupport: false, index: 187}
      identifier:
        mustSupport: true
        index: 188
        elements:
          system: {mustSupport: true, index: 189}
          value: {mustSupport: true, index: 190}
        required: [value, system]
      display: {mustSupport: false, index: 191}
  text:
    mustSupport: false
    index: 5
    elements:
      div: {mustSupport: false, index: 6}
package_version: 1.1.0-TU-snapshot2
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-submission-profile-HealthcareService
base: http://hl7.org/fhir/StructureDefinition/HealthcareService
version: 1.0.0
required: [providedBy, name, identifier, type, meta, category, active]