PackagesCanonicalsLogsProblems
    Packages
    OntarioContextManagement.core@0.1.0
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-cms-profile-Location
description: Please see ://simplifier.net/guide/OntarioContextManagement/ConformanceRules\" target=\"_blank\">Conformance Rules  for the expected behavior of MustSupport.
package_name: OntarioContextManagement.core
derivation: constraint
name: CMSLocation
type: Location
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
    required: [profile]
  identifier:
    mustSupport: true
    index: 2
    elements:
      system: {mustSupport: true, index: 3}
      value: {mustSupport: true, index: 4}
    required: [value, system]
  name: {mustSupport: true, index: 5}
  alias:
    mustSupport: true
    index: 6
    extensions:
      OrganizationNameType:
        url: http://ehealthontario.on.ca/fhir/StructureDefinition/cms-ext-OrganizationNameType
        type: Extension
        mustSupport: true
        index: 8
        elements:
          value:
            choices: []
            index: 10
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                valueCoding:
                  match: {}
                  schema:
                    mustSupport: true
                    choices: []
                    index: 12
          value[x]:
            elements:
              system: {mustSupport: true, index: 13}
              code:
                binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/organization-name-type'}
                mustSupport: true
                index: 14
              display: {mustSupport: true, index: 15}
      HumanLanguage:
        url: http://ehealthontario.on.ca/fhir/StructureDefinition/cms-ext-human-language
        type: Extension
        mustSupport: true
        index: 16
        elements:
          value:
            mustSupport: true
            choices: []
            index: 18
          value[x]:
            elements:
              system: {mustSupport: true, index: 19}
              code: {mustSupport: true, index: 20}
              display: {mustSupport: true, index: 21}
    elements:
      extension:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            OrganizationNameType:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://ehealthontario.on.ca/fhir/StructureDefinition/cms-ext-OrganizationNameType
                index: 8
                elements:
                  value:
                    choices: []
                    index: 10
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            mustSupport: true
                            choices: []
                            index: 12
                  value[x]:
                    elements:
                      system: {mustSupport: true, index: 13}
                      code:
                        binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/organization-name-type'}
                        mustSupport: true
                        index: 14
                      display: {mustSupport: true, index: 15}
            HumanLanguage:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://ehealthontario.on.ca/fhir/StructureDefinition/cms-ext-human-language
                index: 16
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 18
                  value[x]:
                    elements:
                      system: {mustSupport: true, index: 19}
                      code: {mustSupport: true, index: 20}
                      display: {mustSupport: true, index: 21}
  type:
    mustSupport: true
    index: 22
    elements:
      coding:
        binding: {strength: extensible, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType'}
        mustSupport: true
        index: 23
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
            mustSupport: true
            index: 24
          code: {mustSupport: true, index: 25}
          display: {mustSupport: true, index: 26}
        required: [display, system, code]
  telecom:
    mustSupport: true
    index: 27
    elements:
      system: {mustSupport: true, index: 28}
      value: {mustSupport: true, index: 29}
    required: [value, system]
  address:
    mustSupport: true
    index: 30
    elements:
      use:
        pattern: {type: Code, value: work}
        mustSupport: true
        index: 31
      type:
        pattern: {type: Code, value: physical}
        mustSupport: true
        index: 32
      line: {mustSupport: true, index: 33}
      city: {mustSupport: true, index: 34}
      state: {mustSupport: true, index: 35}
      postalCode: {mustSupport: true, index: 36}
      country: {mustSupport: true, index: 37}
  managingOrganization:
    type: Reference
    mustSupport: true
    refers: ['https://simplifier.net/ontariocontextmanagement/cmsorganization']
    index: 38
package_version: 0.1.0
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-cms-profile-Location
base: http://hl7.org/fhir/StructureDefinition/Location
version: null
required: [meta]