PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.ps@0.1.0-preview
    http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient
description: This profile sets minimum expectations for a Patient resource in the context of a patient summary in an Australian context. It is based on the [AU Base Patient](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-patient.html) profile, and applies the constraints of [AU Core Patient](http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient) and [Patient (IPS)](http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips).
package_name: hl7.fhir.au.ps
derivation: constraint
name: AUPSPatient
type: Patient
elements:
  address: {mustSupport: true, index: 15}
  name:
    constraint:
      au-core-pat-03: {human: 'At least text, family name, or given name shall be present, or if neither is available, the Data Absent Reason extension shall be present', severity: error, expression: '(text.exists() or family.exists() or given.exists()) xor extension(''http://hl7.org/fhir/StructureDefinition/data-absent-reason'').exists()'}
      ips-pat-1: {human: 'Patient.name.given, Patient.name.family or Patient.name.text SHALL be present', severity: error, expression: family.exists() or given.exists() or text.exists()}
    mustSupport: true
    index: 7
    elements:
      use: {mustSupport: true, index: 8}
      text: {mustSupport: true, index: 9}
      family: {mustSupport: true, index: 10}
      given: {mustSupport: true, index: 11}
  birthDate: {mustSupport: true, index: 14}
  extension:
    mustSupport: true
    index: 0
    slicing:
      slices:
        indigenousStatus:
          match: {}
          schema: {mustSupport: true, index: 0}
        genderIdentity:
          match: {}
          schema: {short: Gender identity shall be a member of the Gender Identity Response value set if any codes within that value set can apply, mustSupport: true, index: 1}
        individualPronouns:
          match: {}
          schema: {short: Pronouns shall be a member of the Australian Pronouns value set if any codes within that value set can apply, mustSupport: true, index: 2}
  communication:
    mustSupport: true
    index: 16
    elements:
      language: {mustSupport: true, index: 17}
      preferred: {mustSupport: true, index: 18}
  identifier:
    mustSupport: true
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      min: 1
      slices:
        ihi:
          match: {type: null}
          schema: {type: Identifier, mustSupport: true, index: 4}
          max: 1
        medicare:
          match: {type: null}
          schema: {type: Identifier, mustSupport: true, index: 5}
          max: 1
        dva:
          match: {type: null}
          schema: {type: Identifier, mustSupport: true, index: 6}
          max: 1
  telecom: {mustSupport: true, index: 12}
  generalPractitioner: {mustSupport: true, index: 19}
  gender: {mustSupport: true, index: 13}
package_version: 0.1.0-preview
extensions:
  indigenousStatus: {url: null, mustSupport: true, index: 0}
  genderIdentity: {url: null, short: Gender identity shall be a member of the Gender Identity Response value set if any codes within that value set can apply, mustSupport: true, index: 1}
  individualPronouns: {url: null, short: Pronouns shall be a member of the Australian Pronouns value set if any codes within that value set can apply, mustSupport: true, index: 2}
class: profile
kind: resource
url: http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient
base: http://hl7.org.au/fhir/StructureDefinition/au-patient
version: 0.1.0-preview
required: [gender, name, identifier, birthDate]