PackagesCanonicalsLogsProblems
    Packages
    ca.on.phsd.r4-alpha@1.1.0-snapshot
    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: 111
    elements:
      reference: {mustSupport: true, index: 112}
      display:
        mustSupport: true
        index: 113
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 114
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 116
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 118
              content:
                url: null
                mustSupport: true
                index: 119
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 121
            elements:
              extension:
                array: true
                min: 2
                index: 115
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 116
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 118
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 119
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 121
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 114
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 114
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 116
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 118
                      content:
                        url: null
                        mustSupport: true
                        index: 119
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 121
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 115
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 116
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 118
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 119
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 121
  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: 193
    extensions:
      availableTimeString:
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string
        type: Extension
        isModifier: false
        mustSupport: true
        index: 194
        elements:
          value:
            extensions: {}
            elements:
              extension:
                extensions: {}
                elements:
                  extension:
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 204
          value[x]:
            extensions: {}
            elements:
              extension:
                extensions:
                  content: {url: null, mustSupport: true, index: 202}
                elements:
                  extension:
                    mustSupport: true
                    index: 202
                    slicing:
                      slices:
                        content:
                          match: {}
                          schema: {mustSupport: true, index: 202}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string
        index: 194
        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: 194
                elements:
                  value:
                    extensions: {}
                    elements:
                      extension:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 204
                  value[x]:
                    extensions: {}
                    elements:
                      extension:
                        extensions:
                          content: {url: null, mustSupport: true, index: 202}
                        elements:
                          extension:
                            mustSupport: true
                            index: 202
                            slicing:
                              slices:
                                content:
                                  match: {}
                                  schema: {mustSupport: true, index: 202}
  meta:
    mustSupport: true
    index: 1
    elements:
      lastUpdated: {mustSupport: true, index: 2}
      profile: {mustSupport: true, index: 3}
      security: {mustSupport: true, index: 4}
    required: [profile]
  specialty:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/qualified-expertise-role-type'}
    mustSupport: false
    index: 59
    extensions:
      subspecialty-indicator:
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind
        type: Extension
        short: Subspecialty Indicator
        mustSupport: true
        index: 60
        elements:
          url:
            pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind'}
            index: 61
      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: 62
        elements:
          url:
            pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-selfdeclared-specialty-ind'}
            index: 63
    elements:
      extension:
        type: Extension
        short: Subspecialty Indicator
        mustSupport: true
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind
        index: 60
        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: 60
                elements:
                  url:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind'}
                    index: 61
            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: 62
                elements:
                  url:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-selfdeclared-specialty-ind'}
                    index: 63
      coding:
        binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/qualified-expertise-role-type'}
        mustSupport: true
        index: 64
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            index: 65
          code: {mustSupport: true, index: 66}
          display:
            mustSupport: true
            index: 67
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 68
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 70
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 72
                  content:
                    url: null
                    mustSupport: true
                    index: 73
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 75
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 69
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 70
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 72
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 73
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 75
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 68
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 68
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 70
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 72
                          content:
                            url: null
                            mustSupport: true
                            index: 73
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 75
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 69
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 70
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 72
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 73
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 75
        required: [system, code]
      text:
        mustSupport: true
        index: 76
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 77
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 79
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 81
              content:
                url: null
                mustSupport: true
                index: 82
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 84
            elements:
              extension:
                array: true
                min: 2
                index: 78
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 79
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 81
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 82
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 84
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 77
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 77
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 79
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 81
                      content:
                        url: null
                        mustSupport: true
                        index: 82
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 84
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 78
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 79
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 81
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 82
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 84
    required: [coding]
  name:
    mustSupport: true
    index: 88
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 89
        extensions:
          lang:
            url: null
            mustSupport: true
            index: 91
            elements:
              value:
                pattern: {type: Code, value: fr}
                mustSupport: true
                choices: []
                index: 93
          content:
            url: null
            mustSupport: true
            index: 94
            elements:
              value:
                mustSupport: true
                choices: []
                index: 96
        elements:
          extension:
            array: true
            min: 2
            index: 90
            slicing:
              slices:
                lang:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 91
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 93
                content:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 94
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 96
      dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', type: Extension, isModifier: false, mustSupport: true, index: 97}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 89
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 89
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 91
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 93
                  content:
                    url: null
                    mustSupport: true
                    index: 94
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 96
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 90
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 91
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 93
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 94
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 96
            dataAbsentReason:
              match: {}
              schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 97}
  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: 132
    elements:
      code:
        mustSupport: true
        index: 133
        elements:
          text:
            mustSupport: true
            index: 134
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 135
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 137
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 139
                  content:
                    url: null
                    mustSupport: true
                    index: 140
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 142
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 136
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 137
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 139
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 140
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 142
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 135
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 135
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 137
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 139
                          content:
                            url: null
                            mustSupport: true
                            index: 140
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 142
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 136
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 137
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 139
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 140
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 142
        required: [text]
      comment:
        mustSupport: true
        index: 143
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 144
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 146
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 148
              content:
                url: null
                mustSupport: true
                index: 149
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 151
            elements:
              extension:
                array: true
                min: 2
                index: 145
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 146
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 148
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 149
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 151
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 144
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 144
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 146
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 148
                      content:
                        url: null
                        mustSupport: true
                        index: 149
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 151
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 145
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 146
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 148
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 149
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 151
    required: [code]
  extraDetails:
    mustSupport: true
    index: 101
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 102
        extensions:
          lang:
            url: null
            mustSupport: true
            index: 104
            elements:
              value:
                pattern: {type: Code, value: fr}
                mustSupport: true
                choices: []
                index: 106
          content:
            url: null
            mustSupport: true
            index: 107
            elements:
              value:
                mustSupport: true
                choices: []
                index: 109
        elements:
          extension:
            array: true
            min: 2
            index: 103
            slicing:
              slices:
                lang:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 104
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 106
                content:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 107
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 109
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 102
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 102
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 104
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 106
                  content:
                    url: null
                    mustSupport: true
                    index: 107
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 109
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 103
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 104
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 106
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 107
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 109
  characteristic:
    mustSupport: true
    index: 165
    elements:
      text:
        mustSupport: true
        index: 166
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 167
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 169
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 171
              content:
                url: null
                mustSupport: true
                index: 172
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 174
            elements:
              extension:
                array: true
                min: 2
                index: 168
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 169
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 171
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 172
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 174
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 167
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 167
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 169
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 171
                      content:
                        url: null
                        mustSupport: true
                        index: 172
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 174
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 168
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 169
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 171
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 172
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 174
    required: [text]
  active: {mustSupport: true, index: 20}
  communication:
    binding: {strength: preferred, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/human-language'}
    mustSupport: true
    index: 175
    elements:
      coding:
        mustSupport: true
        index: 176
        elements:
          system:
            pattern: {type: Uri, value: 'urn:ietf:bcp:47'}
            mustSupport: true
            index: 177
          code: {mustSupport: true, index: 178}
        required: [system, code]
    required: [coding]
  id: {index: 0}
  comment:
    mustSupport: true
    index: 98
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 99
        extensions: {}
        elements:
          extension: {array: true, min: 2, index: 100}
    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: {}
                elements:
                  extension: {array: true, min: 2, index: 100}
  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:
    mustSupport: true
    index: 122
    elements:
      text:
        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: [text]
  appointmentRequired: {mustSupport: true, index: 192}
  referralMethod:
    mustSupport: true
    index: 179
    elements:
      coding:
        index: 180
        elements:
          system: {index: 181}
          code: {index: 182}
        required: [system, code]
      text:
        mustSupport: true
        index: 183
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 184
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 186
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 188
              content:
                url: null
                mustSupport: true
                index: 189
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 191
            elements:
              extension:
                array: true
                min: 2
                index: 185
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 186
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 188
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 189
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 191
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 184
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 184
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 186
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 188
                      content:
                        url: null
                        mustSupport: true
                        index: 189
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 191
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 185
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 186
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 188
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 189
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 191
    required: [coding, text]
  telecom: {type: ContactPoint, mustSupport: true, index: 110}
  location:
    mustSupport: true
    index: 85
    elements:
      reference: {mustSupport: true, index: 86}
      identifier: {mustSupport: true, index: 87}
    required: [reference]
  program:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/phsd-programs'}
    mustSupport: true
    index: 152
    elements:
      coding:
        mustSupport: true
        index: 153
        elements:
          system:
            pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/phsd-programs'}
            mustSupport: true
            index: 154
          code: {mustSupport: true, index: 155}
          display:
            mustSupport: true
            index: 156
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 157
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 159
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 161
                  content:
                    url: null
                    mustSupport: true
                    index: 162
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 164
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 158
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 159
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 161
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 162
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 164
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 157
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 157
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 159
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 161
                          content:
                            url: null
                            mustSupport: true
                            index: 162
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 164
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 158
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 159
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 161
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 162
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 164
        required: [system, code]
    required: [coding]
  endpoint:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-profile-Endpoint']
    index: 205
    elements:
      reference: {mustSupport: true, index: 206}
      type: {mustSupport: false, index: 207}
      identifier:
        mustSupport: true
        index: 208
        elements:
          system: {mustSupport: true, index: 209}
          value: {mustSupport: true, index: 210}
        required: [value, system]
      display: {mustSupport: false, index: 211}
  text:
    mustSupport: false
    index: 5
    elements:
      div: {mustSupport: false, index: 6}
package_version: 1.1.0-snapshot
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]