HL7 Czech Lab Epidemiology Guide
0.0.1 - ci-build

HL7 Czech Lab Epidemiology Guide, published by HL7 Czech Republic. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7-cz/lab-epi/ and changes regularly. See the Directory of published versions

## Resource Profile: Patient – CZ Lab (RID)

Official URL: https://hl7.cz/fhir/lab-epi/StructureDefinition/cz-lab-patient | Version: 0.0.1
Active as of 2025-12-19 | Computable Name: CZ_Lab_Patient

Pacient s RID, adresou a kontaktem; pro message kontext

Usages:

- Refer to this Profile: Specimen – CZ Lab, DiagnosticReport – CZ Lab Report (message payload) and Observation – CZ Lab Result (qual/quant, AST)

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient | C | 0..* | CZ_PatientCore | Czech Patient (base) This profile also imposes the profile Patient (EU core) (2.0.0-ballot) Constraints: cz-pat-2, inv-patient-rid-bd
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for extension |  |  |  | Content/Rules for all slices
extension:birthPlace |  | 0..1 | (Complex) | Place of Birth for patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"
value[x] |  | 1..1 | CZ_Address | Value of extension
extension:sex-for-clinical-use |  | 0..* | (Complex) | Sex for clinical use URL: http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse
extension:patient-citizenship |  | 0..* | (Complex) | Citizenship URL: http://hl7.org/fhir/StructureDefinition/patient-citizenship
extension:patient-nationality |  | 0..* | (Complex) | Nationality URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
extension:registeringProvider |  | 0..* | (Complex) | Registering primary outpatient healthcare provider URL: https://hl7.cz/fhir/core/StructureDefinition/registering-provider-cz
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
Slices for identifier | S Σ C | 1..* | Identifier | Patient identifiers Slice: Unordered, Open by value:system Constraints: cz-pat-3
identifier:RC | Σ | 0..1 | CZ_Rodcis_Identifier | Personal Number
identifier:RID | Σ | 1..1 | CZ_RID_Identifier | National Health Sector Identifier
identifier:CPOJ | Σ | 0..1 | Identifier | Health Insurance Number
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: https://ncez.mzcr.cz/fhir/sid/cpoj
value | Σ | 1..1 | string | The value that is unique Example General: 123456 Example CPOJ Example: 6309211234
identifier:OP | Σ | 0..* | Id_Card_Identifier | National Identity Card Number
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: CZ
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
system | Σ | 1..1 | uri | Name space according to the National ID card issuer. FHIR records namespaces for ID cards in the format - https://ncez.mzcr.cz/fhir/sid/IdCardNumNS-XXX, where XXX is the three-letter country code according to ISO 3166 Binding: Standard namespaces for national identity card (required) Example General: http://www.acme.com/identifiers/patient
value | Σ | 1..1 | string | The value that is unique Example General: 123456
identifier:PAS | Σ | 0..* | CZ_Passport_Identifier | Passport Number
active | ?!Σ | 0..1 | boolean | Whether this patient's record is in active use
name | S Σ C | 1..* | HumanName | A name associated with the patient Constraints: cz-pat-1
Slices for extension |  |  |  | Content/Rules for all slices
extension:name-absent-reason |  | 0..* | code | Reason for not providing the name. URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason Binding: DataAbsentReason (required)
use | ?!Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name.
text | S Σ | 0..1 | string | Text representation of the full name.
family | S Σ | 0..1 | string | Family name. Example spanish: Valero Iglesias
given | S Σ | 1..* | string | Given names. Includes middle names This repeating element order: Given Names appear in the correct order for presenting the name
telecom | S Σ | 0..* | ContactPoint | A contact detail for the individual
gender | S Σ | 0..1 | code | Administrative Gender Binding: Gender for administrative purposes (required)
birthDate | S Σ | 1..1 | date | The date of birth for the patient
Slices for extension |  |  |  | Content/Rules for all slices
extension:birthTime |  | 0..1 | dateTime | Time of day of birth URL: http://hl7.org/fhir/StructureDefinition/patient-birthTime
extension:dob-absent-reason |  | 0..1 | code | Reason for not providing the Date of Birth. URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason Binding: DataAbsentReason (required)
deceased[x] | ?!Σ | 0..1 |  | Death information either by symptom or date of death
deceasedBoolean |  |  | boolean |
deceasedDateTime |  |  | dateTime |
address | S Σ | 0..1 | CZ_Address | An address for the individual
link | ?!Σ | 0..* | BackboneElement | Link to another patient resource that concerns the same actual person
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
other | Σ | 1..1 | Reference(Patient (CZ core) | Related Person (CZ core)) | The other patient or related person resource that the link refers to
type | Σ | 1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another patient resource.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Patient.identifier:CPOJ.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Patient.identifier:OP.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Patient.identifier:OP.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Patient.identifier:OP.​system | Base | required | Standard namespaces for national identity card | 📦0.1.1 | HL7 Czech Terminology Implementation Guide vnull
Patient.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std.
Patient.gender | Base | required | Gender for administrative purposes | 📦0.1.1 | HL7 Czech Terminology Implementation Guide vnull
Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
cz-pat-1 | error | Patient.name | Patient.name.given, Patient.name.family, Patient.name.text or data-absent-reason MUST be filled | `family.exists() or given.exists() or text.exists() or extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()`
cz-pat-2 | error | Patient | A patient can have only one registering physician of a given type | `extension('https://hl7.cz/fhir/core/StructureDefinition/registering-provider-cz').extension('category').isDistinct()`
cz-pat-3 | error | Patient.identifier | Patient.identifier[OP] MUST has only one with use=official | `where($this is OP and use='official').count() <= 1`
dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Patient | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Patient | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
inv-patient-rid-bd | warning | Patient | Patient SHOULD carry RID and birthDate | `identifier.where(system = 'https://ncez.mzcr.cz/fhir/sid/rid').exists() and birthDate.exists()`

This structure is derived from CZ_PatientCore

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient | C | 0..* | CZ_PatientCore | Czech Patient (base) This profile also imposes the profile Patient (EU core) (2.0.0-ballot) Constraints: inv-patient-rid-bd
identifier | S | 1..* | Identifier | Patient identifiers
birthDate | S | 1..1 | date | The date of birth for the patient
address | S | 0..1 | CZ_Address | An address for the individual
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
inv-patient-rid-bd | warning | Patient | Patient SHOULD carry RID and birthDate | `identifier.where(system = 'https://ncez.mzcr.cz/fhir/sid/rid').exists() and birthDate.exists()`

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient | C | 0..* | CZ_PatientCore | Czech Patient (base) This profile also imposes the profile Patient (EU core) (2.0.0-ballot) Constraints: cz-pat-2, inv-patient-rid-bd
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:birthPlace |  | 0..1 | (Complex) | Place of Birth for patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"
value[x] |  | 1..1 | CZ_Address | Value of extension
extension:sex-for-clinical-use |  | 0..* | (Complex) | Sex for clinical use URL: http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse
extension:patient-citizenship |  | 0..* | (Complex) | Citizenship URL: http://hl7.org/fhir/StructureDefinition/patient-citizenship
extension:patient-nationality |  | 0..* | (Complex) | Nationality URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
extension:registeringProvider |  | 0..* | (Complex) | Registering primary outpatient healthcare provider URL: https://hl7.cz/fhir/core/StructureDefinition/registering-provider-cz
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
Slices for identifier | S Σ C | 1..* | Identifier | Patient identifiers Slice: Unordered, Open by value:system Constraints: cz-pat-3
identifier:RC | Σ | 0..1 | CZ_Rodcis_Identifier | Personal Number
identifier:RID | Σ | 1..1 | CZ_RID_Identifier | National Health Sector Identifier
identifier:CPOJ | Σ | 0..1 | Identifier | Health Insurance Number
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: https://ncez.mzcr.cz/fhir/sid/cpoj
value | Σ | 1..1 | string | The value that is unique Example General: 123456 Example CPOJ Example: 6309211234
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization (CZ core)) | Organization that issued id (may be just text)
identifier:OP | Σ | 0..* | Id_Card_Identifier | National Identity Card Number
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: CZ
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
system | Σ | 1..1 | uri | Name space according to the National ID card issuer. FHIR records namespaces for ID cards in the format - https://ncez.mzcr.cz/fhir/sid/IdCardNumNS-XXX, where XXX is the three-letter country code according to ISO 3166 Binding: Standard namespaces for national identity card (required) Example General: http://www.acme.com/identifiers/patient
value | Σ | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization (CZ core)) | Organization that issued id (may be just text)
identifier:PAS | Σ | 0..* | CZ_Passport_Identifier | Passport Number
active | ?!Σ | 0..1 | boolean | Whether this patient's record is in active use
name | S Σ C | 1..* | HumanName | A name associated with the patient Constraints: cz-pat-1
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:name-absent-reason |  | 0..* | code | Reason for not providing the name. URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason Binding: DataAbsentReason (required)
use | ?!Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name.
text | S Σ | 0..1 | string | Text representation of the full name.
family | S Σ | 0..1 | string | Family name. Example spanish: Valero Iglesias
given | S Σ | 1..* | string | Given names. Includes middle names This repeating element order: Given Names appear in the correct order for presenting the name
prefix | Σ | 0..* | string | Parts that come before the name This repeating element order: Prefixes appear in the correct order for presenting the name
suffix | Σ | 0..* | string | Parts that come after the name This repeating element order: Suffixes appear in the correct order for presenting the name
period | Σ | 0..1 | Period | Time period when name was/is in use
telecom | S Σ | 0..* | ContactPoint | A contact detail for the individual
gender | S Σ | 0..1 | code | Administrative Gender Binding: Gender for administrative purposes (required)
birthDate | S Σ | 1..1 | date | The date of birth for the patient
id |  | 0..1 | string | xml:id (or equivalent in JSON)
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:birthTime |  | 0..1 | dateTime | Time of day of birth URL: http://hl7.org/fhir/StructureDefinition/patient-birthTime
extension:dob-absent-reason |  | 0..1 | code | Reason for not providing the Date of Birth. URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason Binding: DataAbsentReason (required)
value |  | 0..1 | date | Primitive value for date
deceased[x] | ?!Σ | 0..1 |  | Death information either by symptom or date of death
deceasedBoolean |  |  | boolean |
deceasedDateTime |  |  | dateTime |
address | S Σ | 0..1 | CZ_Address | An address for the individual
maritalStatus |  | 0..1 | CodeableConcept | Marital (civil) status of a patient Binding: Marital Status Codes (extensible): The domestic partnership status of a person.
multipleBirth[x] |  | 0..1 |  | Whether patient is part of a multiple birth
multipleBirthBoolean |  |  | boolean |
multipleBirthInteger |  |  | integer |
photo |  | 0..* | Attachment | Image of the patient
contact | C | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient Constraints: pat-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
relationship |  | 0..* | CodeableConceptIPS(2.0.0) | The kind of relationship Binding: Contact and Relationship (CZ) (required)
name |  | 0..1 | HumanName | Contact name
telecom |  | 0..* | ContactPoint | Contact details for the person
address |  | 0..1 | CZ_Address | Contact person address
gender |  | 0..1 | code | male | female | other | unknown Binding: Gender for administrative purposes (required)
organization | C | 0..1 | Reference(Organization (CZ core)) | Organization that is associated with the contact
period |  | 0..1 | Period | The period during which this contact person or organization is valid to be contacted relating to this patient
communication |  | 0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
language |  | 1..1 | CodeableConcept | Communication language Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
preferred |  | 0..1 | boolean | Language preference indicator
generalPractitioner |  | 0..* | Reference(Organization (CZ core) | Practitioner (CZ core) | Practitioner Role (CZ core)) | A physician or provider nominated by the patient
managingOrganization | Σ | 0..1 | Reference(Organization (CZ core)) | Organization that is the custodian of the patient record
link | ?!Σ | 0..* | BackboneElement | Link to another patient resource that concerns the same actual person
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
other | Σ | 1..1 | Reference(Patient (CZ core) | Related Person (CZ core)) | The other patient or related person resource that the link refers to
type | Σ | 1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another patient resource.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Patient.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std.
Patient.identifier:CPOJ.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Patient.identifier:CPOJ.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Patient.identifier:OP.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Patient.identifier:OP.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Patient.identifier:OP.​system | Base | required | Standard namespaces for national identity card | 📦0.1.1 | HL7 Czech Terminology Implementation Guide vnull
Patient.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std.
Patient.gender | Base | required | Gender for administrative purposes | 📦0.1.1 | HL7 Czech Terminology Implementation Guide vnull
Patient.maritalStatus | Base | extensible | MaritalStatus | 📦4.0.1 | FHIR Std.
Patient.contact.relationship | Base | required | Contact and Relationship (CZ) | 📦0.1.1 | HL7 Czech Terminology Implementation Guide vnull
Patient.contact.gender | Base | required | Gender for administrative purposes | 📦0.1.1 | HL7 Czech Terminology Implementation Guide vnull
Patient.communication.​language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std.
Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
cz-pat-1 | error | Patient.name | Patient.name.given, Patient.name.family, Patient.name.text or data-absent-reason MUST be filled | `family.exists() or given.exists() or text.exists() or extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()`
cz-pat-2 | error | Patient | A patient can have only one registering physician of a given type | `extension('https://hl7.cz/fhir/core/StructureDefinition/registering-provider-cz').extension('category').isDistinct()`
cz-pat-3 | error | Patient.identifier | Patient.identifier[OP] MUST has only one with use=official | `where($this is OP and use='official').count() <= 1`
dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Patient | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Patient | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
inv-patient-rid-bd | warning | Patient | Patient SHOULD carry RID and birthDate | `identifier.where(system = 'https://ncez.mzcr.cz/fhir/sid/rid').exists() and birthDate.exists()`
pat-1 | error | Patient.contact | SHALL at least contain a contact's details or a reference to an organization | `name.exists() or telecom.exists() or address.exists() or organization.exists()`

This structure is derived from CZ_PatientCore

Summary

Must-Support: 3 elements

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient | C | 0..* | CZ_PatientCore | Czech Patient (base) This profile also imposes the profile Patient (EU core) (2.0.0-ballot) Constraints: cz-pat-2, inv-patient-rid-bd
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for extension |  |  |  | Content/Rules for all slices
extension:birthPlace |  | 0..1 | (Complex) | Place of Birth for patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"
value[x] |  | 1..1 | CZ_Address | Value of extension
extension:sex-for-clinical-use |  | 0..* | (Complex) | Sex for clinical use URL: http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse
extension:patient-citizenship |  | 0..* | (Complex) | Citizenship URL: http://hl7.org/fhir/StructureDefinition/patient-citizenship
extension:patient-nationality |  | 0..* | (Complex) | Nationality URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
extension:registeringProvider |  | 0..* | (Complex) | Registering primary outpatient healthcare provider URL: https://hl7.cz/fhir/core/StructureDefinition/registering-provider-cz
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
Slices for identifier | S Σ C | 1..* | Identifier | Patient identifiers Slice: Unordered, Open by value:system Constraints: cz-pat-3
identifier:RC | Σ | 0..1 | CZ_Rodcis_Identifier | Personal Number
identifier:RID | Σ | 1..1 | CZ_RID_Identifier | National Health Sector Identifier
identifier:CPOJ | Σ | 0..1 | Identifier | Health Insurance Number
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: https://ncez.mzcr.cz/fhir/sid/cpoj
value | Σ | 1..1 | string | The value that is unique Example General: 123456 Example CPOJ Example: 6309211234
identifier:OP | Σ | 0..* | Id_Card_Identifier | National Identity Card Number
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: CZ
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
system | Σ | 1..1 | uri | Name space according to the National ID card issuer. FHIR records namespaces for ID cards in the format - https://ncez.mzcr.cz/fhir/sid/IdCardNumNS-XXX, where XXX is the three-letter country code according to ISO 3166 Binding: Standard namespaces for national identity card (required) Example General: http://www.acme.com/identifiers/patient
value | Σ | 1..1 | string | The value that is unique Example General: 123456
identifier:PAS | Σ | 0..* | CZ_Passport_Identifier | Passport Number
active | ?!Σ | 0..1 | boolean | Whether this patient's record is in active use
name | S Σ C | 1..* | HumanName | A name associated with the patient Constraints: cz-pat-1
Slices for extension |  |  |  | Content/Rules for all slices
extension:name-absent-reason |  | 0..* | code | Reason for not providing the name. URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason Binding: DataAbsentReason (required)
use | ?!Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name.
text | S Σ | 0..1 | string | Text representation of the full name.
family | S Σ | 0..1 | string | Family name. Example spanish: Valero Iglesias
given | S Σ | 1..* | string | Given names. Includes middle names This repeating element order: Given Names appear in the correct order for presenting the name
telecom | S Σ | 0..* | ContactPoint | A contact detail for the individual
gender | S Σ | 0..1 | code | Administrative Gender Binding: Gender for administrative purposes (required)
birthDate | S Σ | 1..1 | date | The date of birth for the patient
Slices for extension |  |  |  | Content/Rules for all slices
extension:birthTime |  | 0..1 | dateTime | Time of day of birth URL: http://hl7.org/fhir/StructureDefinition/patient-birthTime
extension:dob-absent-reason |  | 0..1 | code | Reason for not providing the Date of Birth. URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason Binding: DataAbsentReason (required)
deceased[x] | ?!Σ | 0..1 |  | Death information either by symptom or date of death
deceasedBoolean |  |  | boolean |
deceasedDateTime |  |  | dateTime |
address | S Σ | 0..1 | CZ_Address | An address for the individual
link | ?!Σ | 0..* | BackboneElement | Link to another patient resource that concerns the same actual person
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
other | Σ | 1..1 | Reference(Patient (CZ core) | Related Person (CZ core)) | The other patient or related person resource that the link refers to
type | Σ | 1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another patient resource.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Patient.identifier:CPOJ.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Patient.identifier:OP.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Patient.identifier:OP.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Patient.identifier:OP.​system | Base | required | Standard namespaces for national identity card | 📦0.1.1 | HL7 Czech Terminology Implementation Guide vnull
Patient.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std.
Patient.gender | Base | required | Gender for administrative purposes | 📦0.1.1 | HL7 Czech Terminology Implementation Guide vnull
Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
cz-pat-1 | error | Patient.name | Patient.name.given, Patient.name.family, Patient.name.text or data-absent-reason MUST be filled | `family.exists() or given.exists() or text.exists() or extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()`
cz-pat-2 | error | Patient | A patient can have only one registering physician of a given type | `extension('https://hl7.cz/fhir/core/StructureDefinition/registering-provider-cz').extension('category').isDistinct()`
cz-pat-3 | error | Patient.identifier | Patient.identifier[OP] MUST has only one with use=official | `where($this is OP and use='official').count() <= 1`
dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Patient | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Patient | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
inv-patient-rid-bd | warning | Patient | Patient SHOULD carry RID and birthDate | `identifier.where(system = 'https://ncez.mzcr.cz/fhir/sid/rid').exists() and birthDate.exists()`

Differential View

This structure is derived from CZ_PatientCore

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient | C | 0..* | CZ_PatientCore | Czech Patient (base) This profile also imposes the profile Patient (EU core) (2.0.0-ballot) Constraints: inv-patient-rid-bd
identifier | S | 1..* | Identifier | Patient identifiers
birthDate | S | 1..1 | date | The date of birth for the patient
address | S | 0..1 | CZ_Address | An address for the individual
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
inv-patient-rid-bd | warning | Patient | Patient SHOULD carry RID and birthDate | `identifier.where(system = 'https://ncez.mzcr.cz/fhir/sid/rid').exists() and birthDate.exists()`

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient | C | 0..* | CZ_PatientCore | Czech Patient (base) This profile also imposes the profile Patient (EU core) (2.0.0-ballot) Constraints: cz-pat-2, inv-patient-rid-bd
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:birthPlace |  | 0..1 | (Complex) | Place of Birth for patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"
value[x] |  | 1..1 | CZ_Address | Value of extension
extension:sex-for-clinical-use |  | 0..* | (Complex) | Sex for clinical use URL: http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse
extension:patient-citizenship |  | 0..* | (Complex) | Citizenship URL: http://hl7.org/fhir/StructureDefinition/patient-citizenship
extension:patient-nationality |  | 0..* | (Complex) | Nationality URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
extension:registeringProvider |  | 0..* | (Complex) | Registering primary outpatient healthcare provider URL: https://hl7.cz/fhir/core/StructureDefinition/registering-provider-cz
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
Slices for identifier | S Σ C | 1..* | Identifier | Patient identifiers Slice: Unordered, Open by value:system Constraints: cz-pat-3
identifier:RC | Σ | 0..1 | CZ_Rodcis_Identifier | Personal Number
identifier:RID | Σ | 1..1 | CZ_RID_Identifier | National Health Sector Identifier
identifier:CPOJ | Σ | 0..1 | Identifier | Health Insurance Number
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: https://ncez.mzcr.cz/fhir/sid/cpoj
value | Σ | 1..1 | string | The value that is unique Example General: 123456 Example CPOJ Example: 6309211234
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization (CZ core)) | Organization that issued id (may be just text)
identifier:OP | Σ | 0..* | Id_Card_Identifier | National Identity Card Number
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: CZ
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
system | Σ | 1..1 | uri | Name space according to the National ID card issuer. FHIR records namespaces for ID cards in the format - https://ncez.mzcr.cz/fhir/sid/IdCardNumNS-XXX, where XXX is the three-letter country code according to ISO 3166 Binding: Standard namespaces for national identity card (required) Example General: http://www.acme.com/identifiers/patient
value | Σ | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization (CZ core)) | Organization that issued id (may be just text)
identifier:PAS | Σ | 0..* | CZ_Passport_Identifier | Passport Number
active | ?!Σ | 0..1 | boolean | Whether this patient's record is in active use
name | S Σ C | 1..* | HumanName | A name associated with the patient Constraints: cz-pat-1
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:name-absent-reason |  | 0..* | code | Reason for not providing the name. URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason Binding: DataAbsentReason (required)
use | ?!Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name.
text | S Σ | 0..1 | string | Text representation of the full name.
family | S Σ | 0..1 | string | Family name. Example spanish: Valero Iglesias
given | S Σ | 1..* | string | Given names. Includes middle names This repeating element order: Given Names appear in the correct order for presenting the name
prefix | Σ | 0..* | string | Parts that come before the name This repeating element order: Prefixes appear in the correct order for presenting the name
suffix | Σ | 0..* | string | Parts that come after the name This repeating element order: Suffixes appear in the correct order for presenting the name
period | Σ | 0..1 | Period | Time period when name was/is in use
telecom | S Σ | 0..* | ContactPoint | A contact detail for the individual
gender | S Σ | 0..1 | code | Administrative Gender Binding: Gender for administrative purposes (required)
birthDate | S Σ | 1..1 | date | The date of birth for the patient
id |  | 0..1 | string | xml:id (or equivalent in JSON)
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:birthTime |  | 0..1 | dateTime | Time of day of birth URL: http://hl7.org/fhir/StructureDefinition/patient-birthTime
extension:dob-absent-reason |  | 0..1 | code | Reason for not providing the Date of Birth. URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason Binding: DataAbsentReason (required)
value |  | 0..1 | date | Primitive value for date
deceased[x] | ?!Σ | 0..1 |  | Death information either by symptom or date of death
deceasedBoolean |  |  | boolean |
deceasedDateTime |  |  | dateTime |
address | S Σ | 0..1 | CZ_Address | An address for the individual
maritalStatus |  | 0..1 | CodeableConcept | Marital (civil) status of a patient Binding: Marital Status Codes (extensible): The domestic partnership status of a person.
multipleBirth[x] |  | 0..1 |  | Whether patient is part of a multiple birth
multipleBirthBoolean |  |  | boolean |
multipleBirthInteger |  |  | integer |
photo |  | 0..* | Attachment | Image of the patient
contact | C | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient Constraints: pat-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
relationship |  | 0..* | CodeableConceptIPS(2.0.0) | The kind of relationship Binding: Contact and Relationship (CZ) (required)
name |  | 0..1 | HumanName | Contact name
telecom |  | 0..* | ContactPoint | Contact details for the person
address |  | 0..1 | CZ_Address | Contact person address
gender |  | 0..1 | code | male | female | other | unknown Binding: Gender for administrative purposes (required)
organization | C | 0..1 | Reference(Organization (CZ core)) | Organization that is associated with the contact
period |  | 0..1 | Period | The period during which this contact person or organization is valid to be contacted relating to this patient
communication |  | 0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
language |  | 1..1 | CodeableConcept | Communication language Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
preferred |  | 0..1 | boolean | Language preference indicator
generalPractitioner |  | 0..* | Reference(Organization (CZ core) | Practitioner (CZ core) | Practitioner Role (CZ core)) | A physician or provider nominated by the patient
managingOrganization | Σ | 0..1 | Reference(Organization (CZ core)) | Organization that is the custodian of the patient record
link | ?!Σ | 0..* | BackboneElement | Link to another patient resource that concerns the same actual person
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
other | Σ | 1..1 | Reference(Patient (CZ core) | Related Person (CZ core)) | The other patient or related person resource that the link refers to
type | Σ | 1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another patient resource.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Patient.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std.
Patient.identifier:CPOJ.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Patient.identifier:CPOJ.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Patient.identifier:OP.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
Patient.identifier:OP.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
Patient.identifier:OP.​system | Base | required | Standard namespaces for national identity card | 📦0.1.1 | HL7 Czech Terminology Implementation Guide vnull
Patient.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std.
Patient.gender | Base | required | Gender for administrative purposes | 📦0.1.1 | HL7 Czech Terminology Implementation Guide vnull
Patient.maritalStatus | Base | extensible | MaritalStatus | 📦4.0.1 | FHIR Std.
Patient.contact.relationship | Base | required | Contact and Relationship (CZ) | 📦0.1.1 | HL7 Czech Terminology Implementation Guide vnull
Patient.contact.gender | Base | required | Gender for administrative purposes | 📦0.1.1 | HL7 Czech Terminology Implementation Guide vnull
Patient.communication.​language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std.
Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
cz-pat-1 | error | Patient.name | Patient.name.given, Patient.name.family, Patient.name.text or data-absent-reason MUST be filled | `family.exists() or given.exists() or text.exists() or extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()`
cz-pat-2 | error | Patient | A patient can have only one registering physician of a given type | `extension('https://hl7.cz/fhir/core/StructureDefinition/registering-provider-cz').extension('category').isDistinct()`
cz-pat-3 | error | Patient.identifier | Patient.identifier[OP] MUST has only one with use=official | `where($this is OP and use='official').count() <= 1`
dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Patient | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Patient | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
inv-patient-rid-bd | warning | Patient | Patient SHOULD carry RID and birthDate | `identifier.where(system = 'https://ncez.mzcr.cz/fhir/sid/rid').exists() and birthDate.exists()`
pat-1 | error | Patient.contact | SHALL at least contain a contact's details or a reference to an organization | `name.exists() or telecom.exists() or address.exists() or organization.exists()`

This structure is derived from CZ_PatientCore

Summary

Must-Support: 3 elements

Other representations of profile: CSV, Excel, Schematron