PackagesCanonicalsLogsProblems
    Packages
    fhir.org.nz.ig.base@2.0.0
    http://hl7.org.nz/fhir/StructureDefinition/NzPatient
description: The base New Zealand Patient profile
package_name: fhir.org.nz.ig.base
derivation: constraint
name: NzPatient
type: Patient
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        ethnicity:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity', index: 1}
          min: 0
        nzCitizen:
          match: {url: null}
          schema: {type: Extension, short: Is this person a New Zealand citizen, url: 'http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship', index: 2}
          min: 0
          max: 1
        dhb:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org.nz/fhir/StructureDefinition/dhb', index: 3}
          min: 0
          max: 1
        domicile-code:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org.nz/fhir/StructureDefinition/domicile-code', index: 4}
          min: 0
          max: 1
        pho:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org.nz/fhir/StructureDefinition/pho', index: 5}
          min: 0
          max: 1
        sex-at-birth:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org.nz/fhir/StructureDefinition/sex-at-birth', index: 6}
          min: 0
          max: 1
        iwi:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org.nz/fhir/StructureDefinition/nz-iwi', index: 7}
          min: 0
  identifier:
    index: 8
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        NHI:
          match: {system: 'https://standards.digital.health.nz/ns/nhi-id'}
          schema:
            array: true
            index: 9
            elements:
              use:
                binding: {strength: required, valueSet: 'https://nzhts.digital.health.nz/fhir/ValueSet/nhi-use-code'}
                index: 10
              system:
                pattern: {type: uri, value: 'https://standards.digital.health.nz/ns/nhi-id'}
                type: uri
                index: 11
            required: [system]
  telecom: {type: ContactPoint, index: 12}
  address: {type: Address, index: 13}
package_version: 2.0.0
extensions:
  ethnicity: {url: 'http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity', min: 0, type: Extension, index: 1}
  nzCitizen: {url: 'http://hl7.org.nz/fhir/StructureDefinition/nz-citizenship', min: 0, max: 1, type: Extension, short: Is this person a New Zealand citizen, index: 2}
  dhb: {url: 'http://hl7.org.nz/fhir/StructureDefinition/dhb', min: 0, max: 1, type: Extension, index: 3}
  domicile-code: {url: 'http://hl7.org.nz/fhir/StructureDefinition/domicile-code', min: 0, max: 1, type: Extension, index: 4}
  pho: {url: 'http://hl7.org.nz/fhir/StructureDefinition/pho', min: 0, max: 1, type: Extension, index: 5}
  sex-at-birth: {url: 'http://hl7.org.nz/fhir/StructureDefinition/sex-at-birth', min: 0, max: 1, type: Extension, index: 6}
  iwi: {url: 'http://hl7.org.nz/fhir/StructureDefinition/nz-iwi', min: 0, type: Extension, index: 7}
class: profile
kind: resource
url: http://hl7.org.nz/fhir/StructureDefinition/NzPatient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 2.0.0