PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.ps@0.1.0-preview
    http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-organization
description: This profile sets minimum expectations for an Organization resource in the context of a patient summary in an Australian context. It is based on the [AU Base Organization](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-organization.html) profile, and applies the constraints of [AU Core Organization](http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization) and [Organization (IPS)](http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-uv-ips).
package_name: hl7.fhir.au.ps
derivation: constraint
name: AUPSOrganization
type: Organization
elements:
  identifier:
    constraint:
      au-core-org-01: {human: A National Organisation Identifier (type=NOI) shall be an HPI-O or PAI-O, severity: error, expression: 'type.coding.where(code=''NOI'').exists() implies ((system=''http://ns.electronichealth.net.au/id/hi/hpio/1.0'') or (system=''http://ns.electronichealth.net.au/id/pcehr/paio/1.0''))'}
    mustSupport: true
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: system, type: pattern}
      min: null
      slices:
        hpio:
          match: {system: null}
          schema: {type: Identifier, mustSupport: true, index: 1}
          max: 1
        abn:
          match: {system: null}
          schema: {type: Identifier, mustSupport: true, index: 2}
  type: {mustSupport: true, index: 3}
  name: {mustSupport: true, index: 4}
  telecom: {mustSupport: true, index: 5}
  address: {mustSupport: true, index: 6}
package_version: 0.1.0-preview
class: profile
kind: resource
url: http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-organization
base: http://hl7.org.au/fhir/StructureDefinition/au-organization
version: 0.1.0-preview
required: [name]