description: Clinical document used to represent a Laboratory Report in the scope of the Czech national interoperability project. package_name: hl7.fhir.cz.lab derivation: constraint name: CZ_CompositionLabReport type: Composition elements: category: index: 11 slicing: slices: studyType: match: {} schema: binding: {strength: required, valueSet: 'https://ncez.mzcr.cz/terminology/ValueSet/cz-lab-study-type'} index: 12 specialty: match: {} schema: binding: {strength: required, valueSet: 'https://ncez.mzcr.cz/terminology/ValueSet/cz-lab-specialty'} index: 13 documentCategory: match: {} schema: binding: {strength: required, valueSet: 'https://ncez.mzcr.cz/terminology/ValueSet/document-category'} pattern: type: CodeableConcept value: coding: - {code: 11502-2, system: 'http://loinc.org'} _required: true index: 14 min: 1 max: 1 encounter: type: Reference refers: ['https://hl7.cz/fhir/core/StructureDefinition/encounter-cz-core'] index: 16 section: short: Laboratory Report section with zero to many subsections Laboratory Report Item constraint: sec-1: {human: 'Sekce může obsahovat položky (entry) nebo podsekce (section), nikdy však obojí současně; přítomnost ani jednoho z těchto prvků není povinná.', source: 'https://hl7.cz/fhir/lab/StructureDefinition/composition-cz-lab', severity: error, expression: entry.empty() or section.empty()} sec-entry: {human: Každá položka laboratorní sekce musí odkazovat na výsledek laboratorního pozorování podle profilu CZ Observation Result Laboratory., source: 'https://hl7.cz/fhir/lab/StructureDefinition/composition-cz-lab', severity: error, expression: 'entry.all(resolve().exists() and resolve().conformsTo(''https://hl7.cz/fhir/lab/StructureDefinition/observation-resultlab-cz-lab''))'} index: 25 elements: code: binding: {strength: preferred, valueSet: 'https://ncez.mzcr.cz/terminology/ValueSet/cz-lab-section-codes'} index: 26 author: type: Reference refers: ['https://hl7.cz/fhir/core/StructureDefinition/cz-device-observer', 'https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-relatedPerson-core'] index: 27 section: type: BackboneElement constraint: sec-2: {human: Listová podsekce musí obsahovat narativní text (text) nebo alespoň jednu položku (entry); oba prvky mohou být přítomny současně., source: 'https://hl7.cz/fhir/lab/StructureDefinition/composition-cz-lab', severity: error, expression: text.exists() or entry.exists()} sec-entry: {human: Každá položka laboratorní sekce musí odkazovat na výsledek laboratorního pozorování podle profilu CZ Observation Result Laboratory., source: 'https://hl7.cz/fhir/lab/StructureDefinition/composition-cz-lab', severity: error, expression: 'entry.all(resolve().exists() and resolve().conformsTo(''https://hl7.cz/fhir/lab/StructureDefinition/observation-resultlab-cz-lab''))'} index: 28 elements: code: {index: 29} text: {short: 'Optional text summary of the section, for human interpretation.', index: 30} section: {index: 31} required: [code] slicing: slices: annotations: match: {} schema: index: 32 elements: author: type: Reference refers: ['https://hl7.cz/fhir/core/StructureDefinition/cz-device-observer', 'https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-relatedPerson-core'] index: 33 attachment: match: {} schema: index: 34 elements: author: type: Reference refers: ['https://hl7.cz/fhir/core/StructureDefinition/cz-device-observer', 'https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-relatedPerson-core'] index: 35 attester: index: 18 elements: party: type: Reference refers: ['https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core'] index: 19 slicing: slices: legalAuthenticator: match: {} schema: index: 20 elements: party: type: Reference refers: ['https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core'] index: 21 validator: match: {} schema: index: 22 elements: party: type: Reference refers: ['https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core'] index: 23 type: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://ncez.mzcr.cz/terminology/ValueSet/cz-lab-report-types'} index: 10 author: type: Reference short: Who and/or what authored the Laboratory Report refers: ['https://hl7.cz/fhir/core/StructureDefinition/cz-device-observer', 'https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-relatedPerson-core'] index: 17 extension: index: 0 slicing: slices: informationRecipient: match: {} schema: index: 0 elements: value: choices: [valueReference] index: 2 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-relatedPerson-core'] index: 3 diagnosticReport: match: {} schema: index: 4 elements: value: choices: [valueReference] index: 6 valueReference: type: Reference choiceOf: value refers: ['https://hl7.cz/fhir/lab/StructureDefinition/diagnosticReport-cz-lab'] index: 7 custodian: type: Reference refers: ['https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core'] index: 24 status: {short: Status of the Report, index: 9} identifier: {index: 8} subject: type: Reference short: Who and/or what this report is about refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'https://hl7.cz/fhir/core/StructureDefinition/cz-location-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-medical-device', 'https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core'] index: 15 package_version: 1.0.0 extensions: informationRecipient: url: null index: 0 elements: value: choices: [valueReference] index: 2 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core', 'https://hl7.cz/fhir/core/StructureDefinition/cz-relatedPerson-core'] index: 3 diagnosticReport: url: null index: 4 elements: value: choices: [valueReference] index: 6 valueReference: type: Reference choiceOf: value refers: ['https://hl7.cz/fhir/lab/StructureDefinition/diagnosticReport-cz-lab'] index: 7 class: profile kind: resource url: https://hl7.cz/fhir/lab/StructureDefinition/composition-cz-lab base: http://hl7.eu/fhir/laboratory/StructureDefinition/Composition-eu-lab version: 1.0.0 required: [category]