PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.cz.core@0.3.0
    https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core
description: This profile sets minimum expectations for the Patient resource common to most of the use cases. It is based on EU Patient Core.
package_name: hl7.fhir.cz.core
derivation: constraint
name: CZ_PatientCore
type: Patient
elements:
  extension:
    short: Registering primary outpatient healthcare provider
    type: Extension
    url: https://hl7.cz/fhir/core/StructureDefinition/registering-provider-cz
    index: 0
    slicing:
      slices:
        registeringProvider:
          match: {}
          schema: {short: Registering primary outpatient healthcare provider, type: Extension, url: 'https://hl7.cz/fhir/core/StructureDefinition/registering-provider-cz', index: 0}
          min: 0
  identifier:
    constraint:
      cz-pat-3: {human: 'Patient.identifier[OP] MUST has only one with use=official', source: 'https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core', severity: error, expression: where($this is OP and use='official').count() <= 1}
    index: 1
    slicing:
      slices:
        RID:
          match: {}
          schema: {_required: true, index: 2}
          min: 1
  name:
    constraint:
      cz-pat-1: {human: 'Patient.name.given, Patient.name.family, Patient.name.text or data-absent-reason MUST be filled', source: 'https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core', severity: error, expression: 'family.exists() or given.exists() or text.exists() or extension(''http://hl7.org/fhir/StructureDefinition/data-absent-reason'').exists()'}
    index: 3
  birthDate:
    extensions:
      dob-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', min: 0, max: 1, type: Extension, short: Reason for not providing the Date of Birth., index: 4}
    elements:
      extension:
        type: Extension
        short: Reason for not providing the Date of Birth.
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0
        index: 4
        slicing:
          slices:
            dob-absent-reason:
              match: {}
              schema: {type: Extension, short: Reason for not providing the Date of Birth., url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.2.0', index: 4}
              min: 0
              max: 1
  contact:
    elements:
      organization:
        type: Reference
        refers: ['https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core']
        index: 5
  generalPractitioner:
    type: Reference
    refers: ['https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core']
    index: 6
  managingOrganization:
    type: Reference
    refers: ['https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core']
    index: 7
  link:
    elements:
      other:
        type: Reference
        refers: ['https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-relatedPerson-core']
        index: 8
package_version: 0.3.0
extensions:
  registeringProvider: {url: 'https://hl7.cz/fhir/core/StructureDefinition/registering-provider-cz', min: 0, short: Registering primary outpatient healthcare provider, type: Extension, index: 0}
class: profile
kind: resource
url: https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core
base: https://hl7.cz/fhir/core/StructureDefinition/cz-patient-base
version: 0.3.0
required: [identifier]