PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.be.core@2.2.0
    https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-patient
description: 'Belgian federal profile for a patient. Initially based on the functional description of the NIHDI. Special remarks for KMEHR users: following elements in KMEHR are not available in this FHIR resource. If needed, an extension can be defined in a future iteration of these specifications: the ''deathlocation'' (location is not available but the death of the patient is expressed by either date or Boolean cfr. infra.), the ''insurancystatus'' (covered in a seperate FHIR resource: Coverage), ''insurancymembership'' (covered in a seperate FHIR resource: Coverage) and ''profession'' (covered in a possible future FHIR resource: OccupationalData.)'
package_name: hl7.fhir.be.core
derivation: constraint
name: BePatient
type: Patient
elements:
  address: {type: Address, index: 17}
  managingOrganization:
    type: Reference
    refers: ['https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization']
    index: 25
  name: {mustSupport: true, index: 9}
  birthDate:
    index: 12
    extensions:
      birthTime: {url: 'http://hl7.org/fhir/StructureDefinition/patient-birthTime', min: 0, max: 1, type: Extension, index: 14}
    elements:
      extension:
        index: 13
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            birthTime:
              match: {url: null}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/patient-birthTime', index: 14}
              min: 0
              max: 1
  multipleBirth:
    choices: []
    index: 20
  deceased:
    choices: []
    index: 16
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        nationality:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/patient-nationality', index: 1}
          min: 0
        birthPlace:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/patient-birthPlace', index: 2}
          min: 0
          max: 1
        socialGender:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/patient-genderIdentity', index: 3}
          min: 0
          max: 1
        genderAtBirth:
          match: {url: null}
          schema: {type: Extension, url: 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-ext-gender-at-birth', index: 4}
          min: 0
          max: 1
  communication: {index: 23}
  identifier:
    constraint:
      be-inv-SSIN: {human: SINN contains 11 digits without interpunction, source: 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-patient', severity: error, expression: 'Identifier.where(system = ''https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin'').where(value.extension.empty() or value.extension.where(url = ''https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-pseudonymization'').empty()).value.select($this.matches(''\\d{11}'')).allTrue()'}
    mustSupport: true
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        SSIN:
          match: {system: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin'}
          schema:
            array: true
            index: 6
            elements:
              system:
                pattern: {type: Uri, value: 'https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin'}
                index: 7
              value: {index: 8}
            required: [value, system]
  telecom: {index: 10}
  generalPractitioner:
    type: Reference
    refers: ['https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization', 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner', 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitionerrole']
    index: 24
  gender: {index: 11}
  maritalStatus:
    binding: {strength: required, valueSet: 'https://www.ehealth.fgov.be/standards/fhir/core/ValueSet/be-civilstate'}
    index: 18
  contact:
    index: 21
    elements:
      relationship:
        binding: {strength: extensible, valueSet: 'https://www.ehealth.fgov.be/standards/fhir/core/ValueSet/be-contactperson'}
        index: 22
package_version: 2.2.0
extensions:
  nationality: {url: 'http://hl7.org/fhir/StructureDefinition/patient-nationality', min: 0, type: Extension, index: 1}
  birthPlace: {url: 'http://hl7.org/fhir/StructureDefinition/patient-birthPlace', min: 0, max: 1, type: Extension, index: 2}
  socialGender: {url: 'http://hl7.org/fhir/StructureDefinition/patient-genderIdentity', min: 0, max: 1, type: Extension, index: 3}
  genderAtBirth: {url: 'https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-ext-gender-at-birth', min: 0, max: 1, type: Extension, index: 4}
class: profile
kind: resource
url: https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 2.2.0