PackagesCanonicalsLogsProblems
    Packages
    ca.on.phsd.r4-alpha@0.1.2
    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: 134
    elements:
      reference: {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
  category:
    mustSupport: true
    index: 22
    slicing:
      rules: open
      discriminator:
      - {path: coding, type: value}
      min: 1
      slices:
        eServices:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-eServices'}
            index: 23
        eConsult:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-eConsult'}
            index: 24
          max: 1
        eVisit:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-eVisit'}
            index: 25
          max: 1
        Connex-THLN:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-thln'}
            mustSupport: true
            index: 26
            elements:
              text:
                binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-category-connex-thln'}
                mustSupport: true
                index: 27
                extensions:
                  translation:
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    index: 28
                    extensions: {}
                    elements:
                      extension: {array: true, min: 2, index: 29}
                elements:
                  extension:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 28
                    slicing:
                      slices:
                        translation:
                          match: {}
                          schema:
                            type: Extension
                            isModifier: false
                            mustSupport: true
                            url: http://hl7.org/fhir/StructureDefinition/translation
                            index: 28
                            extensions: {}
                            elements:
                              extension: {array: true, min: 2, index: 29}
            required: [text]
        AllCategory:
          match: {coding: null}
          schema: {index: 30}
  availableTime:
    mustSupport: true
    index: 216
    extensions:
      availableTimeString:
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string
        type: Extension
        isModifier: false
        mustSupport: true
        index: 217
        elements:
          value:
            extensions: {}
            elements:
              extension:
                extensions: {}
                elements:
                  extension:
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 227
          value[x]:
            extensions: {}
            elements:
              extension:
                extensions:
                  content: {url: null, mustSupport: true, index: 225}
                elements:
                  extension:
                    mustSupport: true
                    index: 225
                    slicing:
                      slices:
                        content:
                          match: {}
                          schema: {mustSupport: true, index: 225}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string
        index: 217
        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: 217
                elements:
                  value:
                    extensions: {}
                    elements:
                      extension:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 227
                  value[x]:
                    extensions: {}
                    elements:
                      extension:
                        extensions:
                          content: {url: null, mustSupport: true, index: 225}
                        elements:
                          extension:
                            mustSupport: true
                            index: 225
                            slicing:
                              slices:
                                content:
                                  match: {}
                                  schema: {mustSupport: true, index: 225}
  meta:
    mustSupport: true
    index: 1
    elements:
      lastUpdated: {mustSupport: true, index: 2}
      profile: {mustSupport: true, index: 3}
    required: [profile]
  specialty:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/qualified-expertise-role-type'}
    mustSupport: true
    index: 74
    extensions:
      subspecialty-indicator:
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind
        type: Extension
        short: Subspecialty Indicator
        mustSupport: true
        index: 75
        elements:
          url:
            pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind'}
            index: 76
      selfdeclared-specialty-indicator:
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-selfdeclared-specialty-ind
        type: Extension
        short: Self-declared Specialty Indicator
        mustSupport: true
        index: 77
        elements:
          url:
            pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-selfdeclared-specialty-ind'}
            index: 78
    elements:
      extension:
        type: Extension
        short: Subspecialty Indicator
        mustSupport: true
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind
        index: 75
        slicing:
          slices:
            subspecialty-indicator:
              match: {}
              schema:
                type: Extension
                short: Subspecialty Indicator
                mustSupport: true
                url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind
                index: 75
                elements:
                  url:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind'}
                    index: 76
            selfdeclared-specialty-indicator:
              match: {}
              schema:
                type: Extension
                short: Self-declared Specialty Indicator
                mustSupport: true
                url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-selfdeclared-specialty-ind
                index: 77
                elements:
                  url:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-selfdeclared-specialty-ind'}
                    index: 78
      coding:
        binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/qualified-expertise-role-type'}
        mustSupport: true
        index: 79
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            index: 80
          code: {mustSupport: true, index: 81}
          display:
            mustSupport: true
            index: 82
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 83
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 85
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 87
                  content:
                    url: null
                    mustSupport: true
                    index: 88
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 90
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 84
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 85
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 87
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 88
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 90
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 83
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 83
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 85
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 87
                          content:
                            url: null
                            mustSupport: true
                            index: 88
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 90
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 84
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 85
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 87
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 88
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 90
        required: [system, code]
      text:
        mustSupport: true
        index: 91
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 92
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 94
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 96
              content:
                url: null
                mustSupport: true
                index: 97
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 99
            elements:
              extension:
                array: true
                min: 2
                index: 93
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 94
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 96
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 97
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 99
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 92
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 92
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 94
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 96
                      content:
                        url: null
                        mustSupport: true
                        index: 97
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 99
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 93
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 94
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 96
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 97
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 99
    required: [coding]
  name:
    mustSupport: true
    index: 102
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 103
        extensions:
          lang:
            url: null
            mustSupport: true
            index: 105
            elements:
              value:
                pattern: {type: Code, value: fr}
                mustSupport: true
                choices: []
                index: 107
          content:
            url: null
            mustSupport: true
            index: 108
            elements:
              value:
                mustSupport: true
                choices: []
                index: 110
        elements:
          extension:
            array: true
            min: 2
            index: 104
            slicing:
              slices:
                lang:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 105
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 107
                content:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 108
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 110
      dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', type: Extension, isModifier: false, mustSupport: true, index: 111}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 103
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 103
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 105
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 107
                  content:
                    url: null
                    mustSupport: true
                    index: 108
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 110
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 104
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 105
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 107
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 108
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 110
            dataAbsentReason:
              match: {}
              schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 111}
  providedBy:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-organization-submission-profile-Organization']
    index: 20
    elements:
      reference: {mustSupport: true, index: 21}
    required: [reference]
  type:
    mustSupport: true
    index: 31
    extensions:
      dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', type: Extension, isModifier: false, mustSupport: true, index: 32}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        index: 32
        slicing:
          slices:
            dataAbsentReason:
              match: {}
              schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 32}
      coding:
        mustSupport: true
        index: 33
        elements:
          system: {mustSupport: true, index: 34}
          code: {mustSupport: true, index: 35}
          display:
            mustSupport: true
            index: 36
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 37
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 39
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 41
                  content:
                    url: null
                    mustSupport: true
                    index: 42
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 44
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 38
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 39
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 41
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 42
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 44
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 37
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 37
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 39
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 41
                          content:
                            url: null
                            mustSupport: true
                            index: 42
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 44
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 38
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 39
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 41
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 42
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 44
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: 1
      slices:
        eServices:
          match: {}
          schema: {index: 45}
        eConsult:
          match: {}
          schema: {index: 46}
        eVisit:
          match: {}
          schema: {index: 47}
        Connex:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-type-connex'}
            mustSupport: true
            index: 48
            elements:
              coding:
                binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-type-connex'}
                mustSupport: true
                index: 49
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/CodeSystem/service-type-connex'}
                    mustSupport: true
                    index: 50
                  code: {mustSupport: false, index: 51}
                  display:
                    mustSupport: true
                    index: 52
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        isModifier: false
                        index: 53
                        extensions:
                          lang:
                            url: null
                            index: 55
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 57
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 54
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    index: 55
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 57
                    elements:
                      extension:
                        type: Extension
                        isModifier: false
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 53
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                type: Extension
                                isModifier: false
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 53
                                extensions:
                                  lang:
                                    url: null
                                    index: 55
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 57
                                elements:
                                  extension:
                                    array: true
                                    min: 2
                                    index: 54
                                    slicing:
                                      slices:
                                        lang:
                                          match: {}
                                          schema:
                                            index: 55
                                            elements:
                                              value:
                                                pattern: {type: Code, value: fr}
                                                choices: []
                                                index: 57
        THLN:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-type-thln'}
            index: 58
            elements:
              coding:
                binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-type-thln'}
                mustSupport: true
                index: 59
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/CodeSystem/service-type-thln'}
                    mustSupport: true
                    index: 60
                  code: {mustSupport: true, index: 61}
                  display:
                    mustSupport: true
                    index: 62
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        isModifier: false
                        index: 63
                        extensions:
                          lang:
                            url: null
                            index: 65
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 67
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 64
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    index: 65
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 67
                    elements:
                      extension:
                        type: Extension
                        isModifier: false
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 63
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                type: Extension
                                isModifier: false
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 63
                                extensions:
                                  lang:
                                    url: null
                                    index: 65
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 67
                                elements:
                                  extension:
                                    array: true
                                    min: 2
                                    index: 64
                                    slicing:
                                      slices:
                                        lang:
                                          match: {}
                                          schema:
                                            index: 65
                                            elements:
                                              value:
                                                pattern: {type: Code, value: fr}
                                                choices: []
                                                index: 67
        WaitTimeType:
          match: {}
          schema:
            binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/wait-time-service-type'}
            mustSupport: true
            index: 68
            extensions:
              waitTimesExtension: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-wait-times', type: Extension, isModifier: false, mustSupport: true, index: 69}
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-wait-times
                index: 69
                slicing:
                  slices:
                    waitTimesExtension:
                      match: {}
                      schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-wait-times', index: 69}
              coding:
                mustSupport: true
                index: 70
                elements:
                  system: {mustSupport: true, index: 71}
                  code: {mustSupport: true, index: 72}
                  display: {mustSupport: true, index: 73}
                required: [display, system, code]
            required: [coding]
  eligibility:
    mustSupport: true
    index: 155
    elements:
      code:
        mustSupport: true
        index: 156
        elements:
          text:
            mustSupport: true
            index: 157
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 158
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 160
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 162
                  content:
                    url: null
                    mustSupport: true
                    index: 163
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 165
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 159
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 160
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 162
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 163
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 165
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 158
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 158
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 160
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 162
                          content:
                            url: null
                            mustSupport: true
                            index: 163
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 165
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 159
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 160
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 162
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 163
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 165
        required: [text]
      comment:
        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: [code]
  extraDetails:
    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
  characteristic:
    mustSupport: true
    index: 188
    elements:
      text:
        mustSupport: true
        index: 189
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 190
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 192
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 194
              content:
                url: null
                mustSupport: true
                index: 195
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 197
            elements:
              extension:
                array: true
                min: 2
                index: 191
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 192
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 194
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 195
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 197
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 190
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 190
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 192
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 194
                      content:
                        url: null
                        mustSupport: true
                        index: 195
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 197
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 191
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 192
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 194
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 195
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 197
    required: [text]
  active: {mustSupport: true, index: 19}
  communication:
    binding: {strength: preferred, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/human-language'}
    mustSupport: true
    index: 198
    elements:
      coding:
        mustSupport: true
        index: 199
        elements:
          system:
            pattern: {type: Uri, value: 'urn:ietf:bcp:47'}
            mustSupport: true
            index: 200
          code: {mustSupport: true, index: 201}
        required: [system, code]
    required: [coding]
  id: {index: 0}
  comment: {mustSupport: true, index: 112}
  identifier:
    mustSupport: true
    index: 6
    elements:
      use:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-identifier-use'}
        index: 7
      system: {mustSupport: true, index: 8}
      value: {mustSupport: true, index: 9}
      assigner: {mustSupport: false, index: 10}
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        oh-upi:
          match: {system: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-provider-upi'}
          schema:
            mustSupport: true
            index: 11
            elements:
              use:
                pattern: {type: Code, value: official}
                mustSupport: true
                index: 12
              system:
                pattern: {type: Uri, value: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-provider-upi'}
                mustSupport: true
                index: 13
              value: {mustSupport: true, index: 14}
        other-identifiers:
          match: {system: 'http://ehealthontario.ca/NamingSystem/id-connex-healthcareservice'}
          schema:
            mustSupport: true
            index: 15
            elements:
              use:
                pattern: {type: Code, value: secondary}
                mustSupport: true
                index: 16
              system:
                pattern: {type: Uri, value: 'http://ehealthontario.ca/NamingSystem/id-connex-healthcareservice'}
                mustSupport: true
                index: 17
              value: {mustSupport: true, index: 18}
            required: [value, system]
  serviceProvisionCode:
    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]
  appointmentRequired: {mustSupport: true, index: 215}
  referralMethod:
    mustSupport: true
    index: 202
    elements:
      coding:
        index: 203
        elements:
          system: {index: 204}
          code: {index: 205}
        required: [system, code]
      text:
        mustSupport: true
        index: 206
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 207
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 209
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 211
              content:
                url: null
                mustSupport: true
                index: 212
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 214
            elements:
              extension:
                array: true
                min: 2
                index: 208
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 209
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 211
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 212
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 214
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 207
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 207
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 209
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 211
                      content:
                        url: null
                        mustSupport: true
                        index: 212
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 214
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 208
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 209
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 211
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 212
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 214
    required: [coding, text]
  telecom:
    mustSupport: true
    index: 122
    extensions:
      contactPurpose:
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-contact-purpose
        type: Extension
        isModifier: false
        index: 123
        elements:
          url:
            pattern: {type: Uri, value: 'https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-contact-purpose'}
            index: 124
          value:
            mustSupport: true
            choices: []
            index: 126
          value[x]:
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                index: 127
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 128}
            elements:
              extension:
                type: Extension
                isModifier: false
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 127
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 127
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 128}
    elements:
      extension:
        type: Extension
        isModifier: false
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-contact-purpose
        index: 123
        slicing:
          slices:
            contactPurpose:
              match: {}
              schema:
                type: Extension
                isModifier: false
                url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-contact-purpose
                index: 123
                elements:
                  url:
                    pattern: {type: Uri, value: 'https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-contact-purpose'}
                    index: 124
                  value:
                    mustSupport: true
                    choices: []
                    index: 126
                  value[x]:
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        isModifier: false
                        index: 127
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 128}
                    elements:
                      extension:
                        type: Extension
                        isModifier: false
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 127
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                type: Extension
                                isModifier: false
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 127
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 128}
      system: {mustSupport: true, index: 129}
      value: {mustSupport: true, index: 130}
      use:
        pattern: {type: Code, value: work}
        mustSupport: true
        index: 131
      period:
        mustSupport: true
        index: 132
        elements:
          start: {mustSupport: true, index: 133}
    required: [value, system]
  location:
    mustSupport: true
    index: 100
    elements:
      reference: {mustSupport: true, index: 101}
    required: [reference]
  program:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/phsd-programs'}
    mustSupport: true
    index: 175
    elements:
      coding:
        mustSupport: true
        index: 176
        elements:
          system:
            pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/phsd-programs'}
            mustSupport: true
            index: 177
          code: {mustSupport: true, index: 178}
          display:
            mustSupport: true
            index: 179
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 180
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 182
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 184
                  content:
                    url: null
                    mustSupport: true
                    index: 185
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 187
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 181
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 182
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 184
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 185
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 187
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 180
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 180
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 182
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 184
                          content:
                            url: null
                            mustSupport: true
                            index: 185
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 187
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 181
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 182
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 184
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 185
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 187
        required: [system, code]
    required: [coding]
  endpoint:
    mustSupport: true
    index: 228
    elements:
      reference: {mustSupport: true, index: 229}
      type: {mustSupport: false, index: 230}
      identifier: {mustSupport: false, index: 231}
      display: {mustSupport: false, index: 232}
    required: [reference]
  text:
    mustSupport: false
    index: 4
    elements:
      div: {mustSupport: false, index: 5}
package_version: 0.1.2
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]