PackagesCanonicalsLogsProblems
    Packages
    ee.fhir.base@1.1.3
    https://fhir.ee/base/StructureDefinition/ee-patient
description: Patient is a FHIR resource intended for documenting demographical and/or administrative information about the individual on the receiving end of healthcare services. In context of Estonian healthcare data exchange, the patient MUST be identifiable by Person Identity System.
package_name: ee.fhir.base
derivation: constraint
name: EEBasePatient
type: Patient
elements:
  address: {type: Address, mustSupport: true, index: 40}
  managingOrganization:
    type: Reference
    refers: ['https://fhir.ee/base/StructureDefinition/ee-organization']
    index: 44
  name:
    short: Patient name
    mustSupport: true
    index: 6
    elements:
      use: {mustSupport: true, index: 7}
      text: {mustSupport: true, index: 8}
      family: {mustSupport: true, index: 9}
      given: {mustSupport: true, index: 10}
    required: [use]
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      min: null
      slices:
        official:
          match: {use: official}
          schema:
            short: Ametlik nimi
            mustSupport: true
            index: 11
            elements:
              use:
                pattern: {type: code, value: official}
                type: code
                index: 12
              family: {short: Perekonnanimi, index: 13}
              given: {short: Eesnimi, index: 14}
              prefix: {mustSupport: true, index: 15}
              period: {mustSupport: true, index: 16}
            required: [family, given]
        nickname:
          match: {use: nickname}
          schema:
            short: Tundmatu või anonüümse patsiendi nimi
            mustSupport: true
            index: 17
            elements:
              use:
                pattern: {type: code, value: nickname}
                type: code
                index: 18
              text: {short: Tundmatu patsiendi hüüdnimi, index: 19}
              family: {index: 20}
              given: {index: 21}
              prefix: {index: 22}
              suffix: {index: 23}
            required: [text]
  birthDate:
    mustSupport: true
    index: 30
    extensions:
      birthTime:
        url: http://hl7.org/fhir/StructureDefinition/patient-birthTime
        type: Extension
        short: Sünniaeg
        mustSupport: true
        index: 32
        elements:
          value:
            mustSupport: true
            choices: []
            index: 34
      age: {url: 'https://fhir.ee/base/StructureDefinition/ee-patient-age', min: 0, max: 1, type: Extension, short: Vanus, index: 35}
      accuracyIndicator: {url: 'https://fhir.ee/base/StructureDefinition/ee-date-accuracy-indicator', min: 0, max: 1, type: Extension, short: Kuupäeva täpsuse indikaator, index: 36}
    elements:
      extension:
        index: 31
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            birthTime:
              match: {url: null}
              schema:
                type: Extension
                short: Sünniaeg
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/patient-birthTime
                index: 32
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 34
            age:
              match: {url: null}
              schema: {type: Extension, short: Vanus, url: 'https://fhir.ee/base/StructureDefinition/ee-patient-age', index: 35}
              min: 0
              max: 1
            accuracyIndicator:
              match: {url: null}
              schema: {type: Extension, short: Kuupäeva täpsuse indikaator, url: 'https://fhir.ee/base/StructureDefinition/ee-date-accuracy-indicator', index: 36}
              min: 0
              max: 1
  deceased:
    mustSupport: true
    choices: []
    index: 38
  deceased[x]:
    extensions:
      accuracyIndicator: {url: 'https://fhir.ee/base/StructureDefinition/ee-date-accuracy-indicator', min: 0, max: 1, type: Extension, index: 39}
    elements:
      extension:
        type: Extension
        url: https://fhir.ee/base/StructureDefinition/ee-date-accuracy-indicator
        index: 39
        slicing:
          slices:
            accuracyIndicator:
              match: {}
              schema: {type: Extension, url: 'https://fhir.ee/base/StructureDefinition/ee-date-accuracy-indicator', index: 39}
              min: 0
              max: 1
  link:
    mustSupport: true
    index: 45
    elements:
      other:
        type: Reference
        refers: ['https://fhir.ee/base/StructureDefinition/ee-patient', 'https://fhir.ee/base/StructureDefinition/ee-related-person']
        index: 46
  active: {mustSupport: true, index: 5}
  identifier:
    mustSupport: true
    index: 0
    elements:
      system:
        binding: {strength: required, valueSet: 'https://fhir.ee/ValueSet/patient-identifier-domain'}
        mustSupport: true
        index: 1
      value: {short: Patient identification code or document number., mustSupport: true, index: 2}
      period: {short: Validity period of the identifier of identification document., index: 3}
      assigner: {short: Organization that issued the document. Can be used as a reference to an organization or as free text., index: 4}
    required: [system, value]
  telecom:
    mustSupport: true
    index: 24
    elements:
      system: {mustSupport: true, index: 25}
      value: {mustSupport: true, index: 26}
      use: {mustSupport: true, index: 27}
      period: {mustSupport: true, index: 28}
    required: [system, value]
  generalPractitioner:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.ee/base/StructureDefinition/ee-practitioner', 'https://fhir.ee/base/StructureDefinition/ee-practitioner-role']
    index: 43
  gender:
    binding: {strength: required, valueSet: 'https://fhir.ee/ValueSet/administrative-gender'}
    mustSupport: true
    isModifierReason: Needed for proper reference ranges
    index: 29
  contact:
    elements:
      address: {type: Address, index: 41}
      organization:
        type: Reference
        refers: ['https://fhir.ee/base/StructureDefinition/ee-organization']
        index: 42
package_version: 1.1.3
class: profile
kind: resource
url: https://fhir.ee/base/StructureDefinition/ee-patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.1.3
required: [active, identifier]