PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.pcare@0.1.0-dft-preballot
    http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/location
description: Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated.
package_name: ca.infoway.io.pcare
derivation: constraint
name: PCareLocation
type: Location
elements:
  description: {index: 15}
  address:
    index: 31
    elements:
      use:
        constraint:
          pcare-loc-4: {human: 'Location.address.use is expected to equal ''work'' for ON:CMS compatibility.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/location', severity: warning, expression: $this = 'work'}
        index: 32
      type:
        constraint:
          pcare-loc-1: {human: 'Location.address.type is expected to equal ''physical'' for ON:CMS compatibility.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/location', severity: warning, expression: $this = 'physical'}
        index: 33
      text: {index: 34}
      line: {index: 35}
      city:
        constraint:
          pcare-loc-3: {human: 'Location.address.city value should not exceed 100 characters for AB:eReC and PS-AB compatibility.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/location', severity: warning, expression: length() <= 100}
        index: 36
      state: {index: 37}
      postalCode: {index: 38}
      country: {index: 39}
  meta:
    index: 0
    elements:
      profile: {index: 1}
  managingOrganization:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/organization']
    index: 40
    elements:
      reference: {index: 41}
  name:
    constraint:
      pcare-loc-2: {human: 'Location.name value should not exceed 100 characters for AB:eReC and PS-AB compatibility.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/location', severity: warning, expression: length() <= 100}
    index: 10
  type:
    index: 16
    elements:
      coding:
        index: 17
        elements:
          system: {index: 18}
          code: {index: 19}
          display: {index: 20}
      text: {index: 21}
  extension:
    type: Extension
    url: http://hl7.org/fhir/StructureDefinition/geolocation|5.3.0
    index: 2
    slicing:
      slices:
        GeoJSON:
          match: {}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/geolocation|5.3.0
            index: 2
            extensions: {}
            elements:
              extension: {array: true, min: 2, index: 3}
        communication:
          match: {}
          schema: {type: Extension, short: Languages used to provide services, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-servicelanguage', index: 4}
          min: 0
  alias:
    index: 11
    extensions:
      HumanLanguage: {url: 'http://ehealthontario.ca/fhir/StructureDefinition/cms-ext-human-language', min: 0, max: 1, type: Extension, index: 13}
      OrganizationNameType: {url: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-organization-name-type', min: 0, type: Extension, index: 14}
    elements:
      extension:
        index: 12
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            HumanLanguage:
              match: {url: null}
              schema: {type: Extension, url: 'http://ehealthontario.ca/fhir/StructureDefinition/cms-ext-human-language', index: 13}
              min: 0
              max: 1
            OrganizationNameType:
              match: {url: null}
              schema: {type: Extension, url: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-organization-name-type', index: 14}
              min: 0
  status: {index: 9}
  identifier:
    index: 5
    elements:
      type: {index: 6}
      system: {index: 7}
      value: {index: 8}
    required: [value, system]
  telecom:
    index: 22
    elements:
      system: {index: 23}
      value: {index: 24}
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        Phone:
          match: {system: phone}
          schema:
            array: true
            index: 25
            elements:
              system:
                pattern: {type: Code, value: phone}
                index: 26
              value: {index: 27}
            required: [value, system]
        Fax:
          match: {system: fax}
          schema:
            array: true
            index: 28
            elements:
              system:
                pattern: {type: Code, value: fax}
                index: 29
              value: {index: 30}
            required: [value, system]
  partOf:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/location']
    index: 42
package_version: 0.1.0-dft-preballot
extensions:
  GeoJSON:
    url: http://hl7.org/fhir/StructureDefinition/geolocation|5.3.0
    type: Extension
    index: 2
    extensions: {}
    elements:
      extension: {array: true, min: 2, index: 3}
  communication: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-servicelanguage', min: 0, type: Extension, short: Languages used to provide services, index: 4}
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/location
base: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/location-ca-core
version: 0.1.0