PackagesCanonicalsLogsProblems
    Packages
    ca.on.phsd.r4-alpha@1.0.0-BallotDraft
    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: 108
    elements:
      reference: {mustSupport: true, index: 109}
      display:
        mustSupport: true
        index: 110
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 111
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 113
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 115
              content:
                url: null
                mustSupport: true
                index: 116
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 118
            elements:
              extension:
                array: true
                min: 2
                index: 112
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 113
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 115
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 116
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 118
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 111
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 111
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 113
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 115
                      content:
                        url: null
                        mustSupport: true
                        index: 116
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 118
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 112
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 113
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 115
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 116
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 118
  category:
    mustSupport: true
    index: 25
    elements:
      coding:
        mustSupport: true
        index: 26
        elements:
          system: {mustSupport: true, index: 27}
          code: {mustSupport: true, index: 28}
          display:
            mustSupport: true
            index: 29
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 30
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 32
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        choices: []
                        index: 34
                  content:
                    url: null
                    mustSupport: true
                    index: 35
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 37
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 31
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 32
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 34
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 35
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 37
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 30
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 30
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 32
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                choices: []
                                index: 34
                          content:
                            url: null
                            mustSupport: true
                            index: 35
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 37
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 31
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 32
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        choices: []
                                        index: 34
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 35
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 37
    slicing:
      rules: open
      discriminator:
      - {path: coding, type: value}
      min: 1
      slices:
        eServices:
          match: {coding: null}
          schema:
            binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-eServices'}
            mustSupport: true
            index: 38
        eConsult:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-eConsult'}
            mustSupport: true
            index: 39
          max: 1
        eVisit:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-eVisit'}
            mustSupport: true
            index: 40
          max: 1
        Connex-THLN:
          match: {coding: null}
          schema:
            binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/service-category-connex-thln'}
            mustSupport: true
            index: 41
  availableTime:
    mustSupport: true
    index: 190
    extensions:
      availableTimeString:
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string
        type: Extension
        isModifier: false
        mustSupport: true
        index: 191
        elements:
          value:
            extensions: {}
            elements:
              extension:
                extensions: {}
                elements:
                  extension:
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 201
          value[x]:
            extensions: {}
            elements:
              extension:
                extensions:
                  content: {url: null, mustSupport: true, index: 199}
                elements:
                  extension:
                    mustSupport: true
                    index: 199
                    slicing:
                      slices:
                        content:
                          match: {}
                          schema: {mustSupport: true, index: 199}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: https://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-available-time-string
        index: 191
        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: 191
                elements:
                  value:
                    extensions: {}
                    elements:
                      extension:
                        extensions: {}
                        elements:
                          extension:
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 201
                  value[x]:
                    extensions: {}
                    elements:
                      extension:
                        extensions:
                          content: {url: null, mustSupport: true, index: 199}
                        elements:
                          extension:
                            mustSupport: true
                            index: 199
                            slicing:
                              slices:
                                content:
                                  match: {}
                                  schema: {mustSupport: true, index: 199}
  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: 57
    extensions:
      subspecialty-indicator:
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind
        type: Extension
        short: Subspecialty Indicator
        mustSupport: true
        index: 58
        elements:
          url:
            pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind'}
            index: 59
      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: 60
        elements:
          url:
            pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-selfdeclared-specialty-ind'}
            index: 61
    elements:
      extension:
        type: Extension
        short: Subspecialty Indicator
        mustSupport: true
        url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind
        index: 58
        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: 58
                elements:
                  url:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-base-subspecialty-ind'}
                    index: 59
            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: 60
                elements:
                  url:
                    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-selfdeclared-specialty-ind'}
                    index: 61
      coding:
        binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/qualified-expertise-role-type'}
        mustSupport: true
        index: 62
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            index: 63
          code: {mustSupport: true, index: 64}
          display:
            mustSupport: true
            index: 65
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 66
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 68
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 70
                  content:
                    url: null
                    mustSupport: true
                    index: 71
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 73
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 67
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 68
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 70
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 71
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 73
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 66
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 66
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 68
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 70
                          content:
                            url: null
                            mustSupport: true
                            index: 71
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 73
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 67
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 68
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 70
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 71
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 73
        required: [system, code]
      text:
        mustSupport: true
        index: 74
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 75
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 77
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 79
              content:
                url: null
                mustSupport: true
                index: 80
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 82
            elements:
              extension:
                array: true
                min: 2
                index: 76
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 77
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 79
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 80
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 82
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 75
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 75
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 77
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 79
                      content:
                        url: null
                        mustSupport: true
                        index: 80
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 82
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 76
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 77
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 79
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 80
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 82
    required: [coding]
  name:
    mustSupport: true
    index: 85
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 86
        extensions:
          lang:
            url: null
            mustSupport: true
            index: 88
            elements:
              value:
                pattern: {type: Code, value: fr}
                mustSupport: true
                choices: []
                index: 90
          content:
            url: null
            mustSupport: true
            index: 91
            elements:
              value:
                mustSupport: true
                choices: []
                index: 93
        elements:
          extension:
            array: true
            min: 2
            index: 87
            slicing:
              slices:
                lang:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 88
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 90
                content:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 91
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 93
      dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', type: Extension, isModifier: false, mustSupport: true, index: 94}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 86
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 86
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 88
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 90
                  content:
                    url: null
                    mustSupport: true
                    index: 91
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 93
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 87
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 88
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 90
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 91
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 93
            dataAbsentReason:
              match: {}
              schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 94}
  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}
      identifier:
        mustSupport: true
        index: 22
        elements:
          system: {mustSupport: true, index: 23}
          value: {mustSupport: true, index: 24}
        required: [value, system]
  type:
    mustSupport: true
    index: 42
    extensions:
      dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', type: Extension, isModifier: false, mustSupport: true, index: 43}
      serviceCapability: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-service-capability', type: Extension, isModifier: false, mustSupport: true, index: 44}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        index: 43
        slicing:
          slices:
            dataAbsentReason:
              match: {}
              schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 43}
            serviceCapability:
              match: {}
              schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-ext-service-capability', index: 44}
      coding:
        mustSupport: true
        index: 45
        elements:
          system: {mustSupport: true, index: 46}
          code: {mustSupport: true, index: 47}
          display:
            mustSupport: true
            index: 48
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 49
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 51
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 53
                  content:
                    url: null
                    mustSupport: true
                    index: 54
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 56
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 50
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 51
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 53
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 54
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 56
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 49
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 49
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 51
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 53
                          content:
                            url: null
                            mustSupport: true
                            index: 54
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 56
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 50
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 51
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 53
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 54
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 56
  eligibility:
    mustSupport: true
    index: 129
    elements:
      code:
        mustSupport: true
        index: 130
        elements:
          text:
            mustSupport: true
            index: 131
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 132
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 134
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 136
                  content:
                    url: null
                    mustSupport: true
                    index: 137
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 139
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 133
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 134
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 136
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 137
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 139
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 132
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 132
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 134
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 136
                          content:
                            url: null
                            mustSupport: true
                            index: 137
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 139
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 133
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 134
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 136
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 137
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 139
        required: [text]
      comment:
        mustSupport: true
        index: 140
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 141
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 143
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 145
              content:
                url: null
                mustSupport: true
                index: 146
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 148
            elements:
              extension:
                array: true
                min: 2
                index: 142
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 143
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 145
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 146
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 148
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 141
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 141
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 143
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 145
                      content:
                        url: null
                        mustSupport: true
                        index: 146
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 148
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 142
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 143
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 145
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 146
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 148
    required: [code]
  extraDetails:
    mustSupport: true
    index: 98
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 99
        extensions:
          lang:
            url: null
            mustSupport: true
            index: 101
            elements:
              value:
                pattern: {type: Code, value: fr}
                mustSupport: true
                choices: []
                index: 103
          content:
            url: null
            mustSupport: true
            index: 104
            elements:
              value:
                mustSupport: true
                choices: []
                index: 106
        elements:
          extension:
            array: true
            min: 2
            index: 100
            slicing:
              slices:
                lang:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 101
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 103
                content:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 104
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 106
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 99
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 99
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 101
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 103
                  content:
                    url: null
                    mustSupport: true
                    index: 104
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 106
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 100
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 101
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 103
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 104
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 106
  characteristic:
    mustSupport: true
    index: 162
    elements:
      text:
        mustSupport: true
        index: 163
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 164
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 166
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 168
              content:
                url: null
                mustSupport: true
                index: 169
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 171
            elements:
              extension:
                array: true
                min: 2
                index: 165
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 166
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 168
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 169
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 171
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 164
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 164
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 166
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 168
                      content:
                        url: null
                        mustSupport: true
                        index: 169
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 171
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 165
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 166
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 168
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 169
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 171
    required: [text]
  active: {mustSupport: true, index: 19}
  communication:
    binding: {strength: preferred, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/human-language'}
    mustSupport: true
    index: 172
    elements:
      coding:
        mustSupport: true
        index: 173
        elements:
          system:
            pattern: {type: Uri, value: 'urn:ietf:bcp:47'}
            mustSupport: true
            index: 174
          code: {mustSupport: true, index: 175}
        required: [system, code]
    required: [coding]
  id: {index: 0}
  comment:
    mustSupport: true
    index: 95
    extensions:
      translation:
        url: http://hl7.org/fhir/StructureDefinition/translation
        type: Extension
        isModifier: false
        mustSupport: true
        index: 96
        extensions: {}
        elements:
          extension: {array: true, min: 2, index: 97}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/translation
        index: 96
        slicing:
          slices:
            translation:
              match: {}
              schema:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 96
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 97}
  identifier:
    mustSupport: true
    index: 6
    elements:
      use:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ereferral-identifier-use'}
        index: 7
      system: {mustSupport: true, index: 8}
      value: {mustSupport: true, index: 9}
      assigner: {mustSupport: false, index: 10}
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        oh-upi:
          match: {system: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-provider-upi'}
          schema:
            mustSupport: true
            index: 11
            elements:
              use:
                pattern: {type: Code, value: official}
                mustSupport: true
                index: 12
              system:
                pattern: {type: Uri, value: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-provider-upi'}
                mustSupport: true
                index: 13
              value: {mustSupport: true, index: 14}
        other-identifiers:
          match: {system: '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: 119
    elements:
      text:
        mustSupport: true
        index: 120
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 121
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 123
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 125
              content:
                url: null
                mustSupport: true
                index: 126
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 128
            elements:
              extension:
                array: true
                min: 2
                index: 122
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 123
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 125
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 126
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 128
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 121
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 121
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 123
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 125
                      content:
                        url: null
                        mustSupport: true
                        index: 126
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 128
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 122
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 123
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 125
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 126
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 128
    required: [text]
  appointmentRequired: {mustSupport: true, index: 189}
  referralMethod:
    mustSupport: true
    index: 176
    elements:
      coding:
        index: 177
        elements:
          system: {index: 178}
          code: {index: 179}
        required: [system, code]
      text:
        mustSupport: true
        index: 180
        extensions:
          translation:
            url: http://hl7.org/fhir/StructureDefinition/translation
            type: Extension
            isModifier: false
            mustSupport: true
            index: 181
            extensions:
              lang:
                url: null
                mustSupport: true
                index: 183
                elements:
                  value:
                    pattern: {type: Code, value: fr}
                    mustSupport: true
                    choices: []
                    index: 185
              content:
                url: null
                mustSupport: true
                index: 186
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 188
            elements:
              extension:
                array: true
                min: 2
                index: 182
                slicing:
                  slices:
                    lang:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 183
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 185
                    content:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 186
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 188
        elements:
          extension:
            type: Extension
            isModifier: false
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/translation
            index: 181
            slicing:
              slices:
                translation:
                  match: {}
                  schema:
                    type: Extension
                    isModifier: false
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/translation
                    index: 181
                    extensions:
                      lang:
                        url: null
                        mustSupport: true
                        index: 183
                        elements:
                          value:
                            pattern: {type: Code, value: fr}
                            mustSupport: true
                            choices: []
                            index: 185
                      content:
                        url: null
                        mustSupport: true
                        index: 186
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 188
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 182
                        slicing:
                          slices:
                            lang:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 183
                                elements:
                                  value:
                                    pattern: {type: Code, value: fr}
                                    mustSupport: true
                                    choices: []
                                    index: 185
                            content:
                              match: {}
                              schema:
                                mustSupport: true
                                index: 186
                                elements:
                                  value:
                                    mustSupport: true
                                    choices: []
                                    index: 188
    required: [coding, text]
  telecom: {type: ContactPoint, mustSupport: true, index: 107}
  location:
    mustSupport: true
    index: 83
    elements:
      reference: {mustSupport: true, index: 84}
    required: [reference]
  program:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/phsd-programs'}
    mustSupport: true
    index: 149
    elements:
      coding:
        mustSupport: true
        index: 150
        elements:
          system:
            pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/CodeSystem/phsd-programs'}
            mustSupport: true
            index: 151
          code: {mustSupport: true, index: 152}
          display:
            mustSupport: true
            index: 153
            extensions:
              translation:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                isModifier: false
                mustSupport: true
                index: 154
                extensions:
                  lang:
                    url: null
                    mustSupport: true
                    index: 156
                    elements:
                      value:
                        pattern: {type: Code, value: fr}
                        mustSupport: true
                        choices: []
                        index: 158
                  content:
                    url: null
                    mustSupport: true
                    index: 159
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 161
                elements:
                  extension:
                    array: true
                    min: 2
                    index: 155
                    slicing:
                      slices:
                        lang:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 156
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 158
                        content:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 159
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 161
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/translation
                index: 154
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        type: Extension
                        isModifier: false
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 154
                        extensions:
                          lang:
                            url: null
                            mustSupport: true
                            index: 156
                            elements:
                              value:
                                pattern: {type: Code, value: fr}
                                mustSupport: true
                                choices: []
                                index: 158
                          content:
                            url: null
                            mustSupport: true
                            index: 159
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 161
                        elements:
                          extension:
                            array: true
                            min: 2
                            index: 155
                            slicing:
                              slices:
                                lang:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 156
                                    elements:
                                      value:
                                        pattern: {type: Code, value: fr}
                                        mustSupport: true
                                        choices: []
                                        index: 158
                                content:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 159
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 161
        required: [system, code]
    required: [coding]
  endpoint:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-profile-Endpoint']
    index: 202
    elements:
      reference: {mustSupport: true, index: 203}
      type: {mustSupport: false, index: 204}
      identifier:
        mustSupport: true
        index: 205
        elements:
          system: {mustSupport: true, index: 206}
          value: {mustSupport: true, index: 207}
        required: [value, system]
      display: {mustSupport: false, index: 208}
  text:
    mustSupport: false
    index: 4
    elements:
      div: {mustSupport: false, index: 5}
package_version: 1.0.0-BallotDraft
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-phsd-submission-profile-HealthcareService
base: http://hl7.org/fhir/StructureDefinition/HealthcareService
version: 1.0.0
required: [providedBy, name, identifier, type, meta, category, active]