PackagesCanonicalsLogsProblems
    Packages
    ca.on.phsd.r4@alpha-0.1.0
    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
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: 30
    slicing:
      rules: open
      discriminator:
      - {path: coding, type: value}
      min: null
      slices:
        eServices:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-eServices'}
            index: 31
        eConsult:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-eConsult'}
            index: 32
          max: 1
        eVisit:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-eVisit'}
            index: 33
          max: 1
        Connex-THLN:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-thln'}
            mustSupport: true
            index: 34
            elements:
              text:
                binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-category-connex-thln'}
                mustSupport: true
                index: 35
                extensions:
                  translation:
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    index: 36
                    extensions: {}
                    elements:
                      extension: {array: true, min: 2, index: 37}
                elements:
                  extension:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 36
                    slicing:
                      slices:
                        translation:
                          match: {}
                          schema:
                            type: Extension
                            isModifier: false
                            mustSupport: true
                            url: http://hl7.org/fhir/StructureDefinition/translation
                            index: 36
                            extensions: {}
                            elements:
                              extension: {array: true, min: 2, index: 37}
            required: [text]
        AllCategory:
          match: {coding: null}
          schema: {index: 38}
  availableTime:
    mustSupport: true
    index: 213
    extensions:
      availableTimeString:
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string
        type: Extension
        isModifier: false
        mustSupport: true
        index: 214
        elements:
          url:
            pattern: {type: Uri, value: 'https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string'}
            index: 215
          value:
            extensions: {}
            elements:
              extension:
                extensions: {}
                elements:
                  extension:
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 225
          value[x]:
            extensions: {}
            elements:
              extension:
                extensions:
                  content: {url: null, mustSupport: true, index: 223}
                elements:
                  extension:
                    mustSupport: true
                    index: 223
                    slicing:
                      slices:
                        content:
                          match: {}
                          schema: {mustSupport: true, index: 223}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string
        index: 214
        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: 214
                elements:
                  url:
                    pattern: {type: Uri, value: 'https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string'}
                    index: 215
                  value:
                    extensions: {}
                    elements:
                      extension:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 225
                  value[x]:
                    extensions: {}
                    elements:
                      extension:
                        extensions:
                          content: {url: null, mustSupport: true, index: 223}
                        elements:
                          extension:
                            mustSupport: true
                            index: 223
                            slicing:
                              slices:
                                content:
                                  match: {}
                                  schema: {mustSupport: true, index: 223}
  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: 75
    extensions:
      subspecialty-indicator:
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind
        type: Extension
        short: Subspecialty Indicator
        mustSupport: true
        index: 76
        elements:
          url:
            pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind'}
            index: 77
      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: 78
        elements:
          url:
            pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-selfdeclared-specialty-ind'}
            index: 79
    elements:
      extension:
        type: Extension
        short: Subspecialty Indicator
        mustSupport: true
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind
        index: 76
        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: 76
                elements:
                  url:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind'}
                    index: 77
            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: 78
                elements:
                  url:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-selfdeclared-specialty-ind'}
                    index: 79
      coding:
        binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/qualified-expertise-role-type'}
        mustSupport: true
        index: 80
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            index: 81
          code: {mustSupport: true, index: 82}
          display:
            mustSupport: true
            index: 83
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 84
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 86
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 88
                  content:
                    url: null
                    mustSupport: true
                    index: 89
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 91
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 85
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 86
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 88
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 89
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 91
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 84
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 84
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 86
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 88
                          content:
                            url: null
                            mustSupport: true
                            index: 89
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 91
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 85
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 86
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 88
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 89
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 91
      text:
        mustSupport: true
        index: 92
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 93
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 95
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 97
              content:
                url: null
                mustSupport: true
                index: 98
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 100
            elements:
              extension:
                array: true
                min: 2
                index: 94
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 95
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 97
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 98
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 100
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 93
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 93
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 95
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 97
                      content:
                        url: null
                        mustSupport: true
                        index: 98
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 100
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 94
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 95
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 97
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 98
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 100
  name:
    mustSupport: true
    index: 103
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 104
        extensions:
          lang:
            url: null
            mustSupport: true
            index: 106
            elements:
              value:
                pattern: {type: Code, value: fr}
                mustSupport: true
                choices: []
                index: 108
          content:
            url: null
            mustSupport: true
            index: 109
            elements:
              value:
                mustSupport: true
                choices: []
                index: 111
        elements:
          extension:
            array: true
            min: 2
            index: 105
            slicing:
              slices:
                lang:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 106
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 108
                content:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 109
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 111
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 104
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 104
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 106
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 108
                  content:
                    url: null
                    mustSupport: true
                    index: 109
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 111
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 105
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 106
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 108
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 109
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 111
  providedBy:
    mustSupport: true
    index: 28
    elements:
      reference: {mustSupport: true, index: 29}
  type:
    mustSupport: true
    index: 39
    elements:
      coding:
        mustSupport: true
        index: 40
        elements:
          system: {mustSupport: true, index: 41}
          code: {mustSupport: true, index: 42}
          display:
            mustSupport: true
            index: 43
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 44
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 46
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 48
                  content:
                    url: null
                    mustSupport: true
                    index: 49
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 51
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 45
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 46
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 48
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 49
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 51
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 44
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 44
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 46
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 48
                          content:
                            url: null
                            mustSupport: true
                            index: 49
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 51
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 45
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 46
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 48
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 49
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 51
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: null
      slices:
        eServices:
          match: {}
          schema: {index: 52}
        eConsult:
          match: {}
          schema: {index: 53}
        eVisit:
          match: {}
          schema: {index: 54}
        Connex:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-type-connex'}
            mustSupport: true
            index: 55
            elements:
              coding:
                binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-type-connex'}
                mustSupport: true
                index: 56
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/CodeSystem/service-type-connex'}
                    mustSupport: true
                    index: 57
                  code: {mustSupport: false, index: 58}
                  display:
                    mustSupport: true
                    index: 59
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        isModifier: false
                        index: 60
                        extensions:
                          lang:
                            url: null
                            index: 62
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 64
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 61
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    index: 62
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 64
                    elements:
                      extension:
                        type: Extension
                        isModifier: false
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 60
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                type: Extension
                                isModifier: false
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 60
                                extensions:
                                  lang:
                                    url: null
                                    index: 62
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 64
                                elements:
                                  extension:
                                    array: true
                                    min: 2
                                    index: 61
                                    slicing:
                                      slices:
                                        lang:
                                          match: {}
                                          schema:
                                            index: 62
                                            elements:
                                              value:
                                                pattern: {type: Code, value: fr}
                                                choices: []
                                                index: 64
        THLN:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-type-thln'}
            index: 65
            elements:
              coding:
                binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/service-type-thln'}
                mustSupport: true
                index: 66
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/CodeSystem/service-type-thln'}
                    mustSupport: true
                    index: 67
                  code: {mustSupport: true, index: 68}
                  display:
                    mustSupport: true
                    index: 69
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        isModifier: false
                        index: 70
                        extensions:
                          lang:
                            url: null
                            index: 72
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 74
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 71
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    index: 72
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 74
                    elements:
                      extension:
                        type: Extension
                        isModifier: false
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 70
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                type: Extension
                                isModifier: false
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 70
                                extensions:
                                  lang:
                                    url: null
                                    index: 72
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 74
                                elements:
                                  extension:
                                    array: true
                                    min: 2
                                    index: 71
                                    slicing:
                                      slices:
                                        lang:
                                          match: {}
                                          schema:
                                            index: 72
                                            elements:
                                              value:
                                                pattern: {type: Code, value: fr}
                                                choices: []
                                                index: 74
  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
      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
  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
  extension:
    type: Extension
    isModifier: false
    url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-wait-times
    index: 6
    slicing:
      slices:
        wait-times:
          match: {}
          schema:
            type: Extension
            isModifier: false
            url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-wait-times
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-wait-times'}
                index: 7
  active: {mustSupport: true, index: 27}
  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}
  id: {index: 0}
  comment: {mustSupport: true, index: 112}
  identifier:
    mustSupport: true
    index: 8
    elements:
      use:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-identifier-use'}
        index: 9
      system: {mustSupport: true, index: 10}
      value: {mustSupport: true, index: 11}
      assigner: {mustSupport: false, index: 12}
    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: 13
            elements:
              use:
                pattern: {type: Code, value: official}
                mustSupport: true
                index: 14
              system:
                pattern: {type: Uri, value: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-provider-upi'}
                mustSupport: true
                index: 15
              value: {mustSupport: true, index: 16}
        oh-connex:
          match: {system: 'http://ehealthontario.ca/NamingSystem/id-connex-healthcareservice'}
          schema:
            mustSupport: true
            index: 17
            elements:
              use:
                pattern: {type: Code, value: secondary}
                mustSupport: true
                index: 18
              system:
                pattern: {type: Uri, value: 'http://ehealthontario.ca/NamingSystem/id-connex-healthcareservice'}
                mustSupport: true
                index: 19
              value: {mustSupport: true, index: 20}
            required: [value, system]
        oh-thln:
          match: {system: 'http://ehealthontario.ca/NamingSystem/id-thln-healthcareservice'}
          schema:
            mustSupport: true
            index: 21
            elements:
              use:
                pattern: {type: Code, value: secondary}
                mustSupport: true
                index: 22
              type:
                mustSupport: false
                index: 23
                elements:
                  coding: {mustSupport: true, index: 24}
              system:
                pattern: {type: Uri, value: 'http://ehealthontario.ca/NamingSystem/id-thln-healthcareservice'}
                mustSupport: true
                index: 25
              value: {mustSupport: true, index: 26}
            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
  appointmentRequired: {mustSupport: true, index: 212}
  referralMethod:
    mustSupport: true
    index: 202
    elements:
      text:
        mustSupport: true
        index: 203
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 204
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 206
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 208
              content:
                url: null
                mustSupport: true
                index: 209
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 211
            elements:
              extension:
                array: true
                min: 2
                index: 205
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 206
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 208
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 209
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 211
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 204
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 204
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 206
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 208
                      content:
                        url: null
                        mustSupport: true
                        index: 209
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 211
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 205
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 206
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 208
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 209
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 211
  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}
  location:
    mustSupport: true
    index: 101
    elements:
      reference: {mustSupport: true, index: 102}
  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:
    elements:
      reference: {mustSupport: false, index: 226}
      type: {mustSupport: false, index: 227}
      identifier: {mustSupport: false, index: 228}
      display: {mustSupport: false, index: 229}
  text:
    mustSupport: false
    index: 4
    elements:
      div: {mustSupport: false, index: 5}
package_version: alpha-0.1.0
extensions:
  wait-times:
    url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-wait-times
    type: Extension
    isModifier: false
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-wait-times'}
        index: 7
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: [identifier, meta, active]