PackagesCanonicalsLogsProblems
    Packages
    ca.ab.fhir.psab@0.3.0-pre11
    https://www.alberta.ca/fhir/psab/StructureDefinition/LocationPSAB
description: This profile defines a set of constraints to the FHIR Location resource for use in Alberta Patient Summaries (PS-AB). It includes constraints that represent the minimum expectations for the Location resource when used in the PS-AB Organization profile or in one of the referred resources.
package_name: ca.ab.fhir.psab
derivation: constraint
name: LocationPSAB
type: Location
elements:
  identifier:
    index: 0
    elements:
      type: {label: 'Must be a valid delivery site type (''domain'') associated to the submitted identifier value ''AHWFACID'' for AH Billing ID type, ''DPHIEXSTKID'' for site WDFA key type', mustSupport: true, index: 1}
      system: {mustSupport: true, index: 2}
      value: {label: 'Must be a valid provincially-assigned delivery site identifier (Site WDFA key, AH Billing ID, or other approved identifier)', mustSupport: true, index: 3}
    required: [value, type, system]
  status: {index: 4}
  name: {index: 5}
  telecom:
    index: 6
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        Phone:
          match: {system: phone}
          schema:
            mustSupport: true
            array: true
            min: 1
            _required: true
            index: 7
            elements:
              system:
                mustSupport: true
                pattern: {type: Code, value: phone}
                index: 8
              value: {mustSupport: true, index: 9}
            required: [value, system]
        Fax:
          match: {system: fax}
          schema:
            array: true
            index: 10
            elements:
              system:
                mustSupport: true
                pattern: {type: Code, value: fax}
                index: 11
              value: {mustSupport: true, index: 12}
            required: [value, system]
  address:
    mustSupport: true
    index: 13
    elements:
      line: {mustSupport: true, index: 14}
      city: {mustSupport: true, index: 15}
      state: {mustSupport: true, index: 16}
      postalCode: {mustSupport: true, index: 17}
    required: [city, postalCode, line, state]
  partOf:
    type: Reference
    refers: ['https://www.alberta.ca/fhir/psab/StructureDefinition/LocationPSAB']
    index: 18
package_version: 0.3.0-pre11
class: profile
kind: resource
url: https://www.alberta.ca/fhir/psab/StructureDefinition/LocationPSAB
base: http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-location
version: null
required: [name, address, identifier, telecom]