HL7 Czech PS Implementation Guide
0.0.1 - ci-build
HL7 Czech PS Implementation 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/ps/ and changes regularly. See the Directory of published versions
| Official URL: https://hl7.cz/fhir/ps/StructureDefinition/cz-diagnosticreport-ps | Version: 0.0.1 | ||||
| Draft as of 2026-08-15 | Computable Name: CZ_DiagnosticReportPs | ||||
This profile represents the constraints applied to the DiagnosticReport resource by the Czech Patient Summary FHIR Implementation Guide. The DiagnosticReport resource is used to represent the findings and interpretations of diagnostic tests performed on patients.
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CZ_DiagnosticReportCore(1.1.0) | Diagnostic Report CZ core This profile also imposes the profile DiagnosticReport (EPS) | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | (Complex) | Associated Composition URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition" | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Composition (EU core)(2.0.0)) | Reference to a Composition resource for the DiagnosticReport structure | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Comments about the diagnostic report (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note" | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 1..1 | code | Status of the Report Binding: DiagnosticReportStatus (required): The status of the diagnostic report. |
![]() ![]() |
Σ | 1..1 | CodeableConcept | Type of Diagnostic Report Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports. |
![]() ![]() |
Σ | 1..1 | Reference(Patient (CZ core)(1.1.0) | Group) | Who and/or what this report is about |
![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() |
Σ | 1..1 | Clinically relevant time/time-period for report. Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
Σ | 0..1 | Period | Effective period of the report |
![]() ![]() |
Σ | 0..* | Reference(Practitioner (CZ core)(1.1.0) | Practitioner Role (CZ core)(1.1.0) | Organization (CZ core)(1.1.0) | CareTeam) | Responsible Diagnostic Service. Slice: Unordered, Open by profile:$this |
![]() ![]() ![]() |
Σ | 0..* | Reference(Organization (CZ core)(1.1.0)) | The organization producer of this report |
![]() ![]() |
Σ | 0..* | Reference(Practitioner Role (CZ core)(1.1.0) | Practitioner (CZ core)(1.1.0) | Organization (CZ core)(1.1.0) | CareTeam) | Primary result interpreter Slice: Unordered, Open by profile:resolve() |
![]() ![]() ![]() |
Σ | 0..* | Reference(Practitioner Role (CZ core)(1.1.0)) | Primary result interpreter |
![]() ![]() |
0..* | Reference(Observation) | results Slice: Unordered, Open by profile:resolve() | |
![]() ![]() ![]() |
0..* | Reference(Observation: Medical Test Result (CZ core)(1.1.0)) | results | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.code | Base | preferred | LOINC Diagnostic Report Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DiagnosticReport | 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 | DiagnosticReport | 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 | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DiagnosticReport | 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 | DiagnosticReport.extension:DiagnosticReportCompositionR5, DiagnosticReport.extension:note, DiagnosticReport.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
CZ_DiagnosticReportCore(1.1.0) | This profile also imposes the profile DiagnosticReport (EPS) | ||
![]() ![]() |
1..1 | Reference(Patient (CZ core)(1.1.0) | Group) | Who and/or what this report is about | |
![]() ![]() ![]() |
1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() |
1..1 | dateTime, Period | Clinically relevant time/time-period for report. | |
![]() ![]() |
0..* | Reference(Observation) | results Slice: Unordered, Open by profile:resolve() | |
![]() ![]() ![]() |
0..* | Reference(Observation: Medical Test Result (CZ core)(1.1.0)) | results | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | CZ_DiagnosticReportCore(1.1.0) | Diagnostic Report CZ core This profile also imposes the profile DiagnosticReport (EPS) | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the diagnostic report content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | (Complex) | Associated Composition URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition" | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(Composition (EU core)(2.0.0)) | Reference to a Composition resource for the DiagnosticReport structure | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: Comments about the diagnostic report (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note" | |||||
![]() ![]() ![]() ![]() |
0..1 | Annotation | Comments about the diagnostic report | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | (Complex) | The type of annotation URL: http://hl7.org/fhir/StructureDefinition/annotationType | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/StructureDefinition/annotationType" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Type of note Binding: Hl7VSCommentType (3.0.0) (example) | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier for report | ||||
![]() ![]() |
0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | What was requested | |||||
![]() ![]() |
?!Σ | 1..1 | code | Status of the Report Binding: DiagnosticReportStatus (required): The status of the diagnostic report. | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | Type of Diagnostic Report Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports. | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient (CZ core)(1.1.0) | Group) | Who and/or what this report is about | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter (CZ base)(1.1.0)) | The healthcare event which this Diagnostic Report is about (when test ordered). | ||||
![]() ![]() |
Σ | 1..1 | Clinically relevant time/time-period for report. Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Effective period of the report | ||||
![]() ![]() |
Σ | 0..1 | instant | Date and time this report was issued | ||||
![]() ![]() |
Σ | 0..* | Reference(Practitioner (CZ core)(1.1.0) | Practitioner Role (CZ core)(1.1.0) | Organization (CZ core)(1.1.0) | CareTeam) | Responsible Diagnostic Service. Slice: Unordered, Open by profile:$this | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(Organization (CZ core)(1.1.0)) | The organization producer of this report | ||||
![]() ![]() |
Σ | 0..* | Reference(Practitioner Role (CZ core)(1.1.0) | Practitioner (CZ core)(1.1.0) | Organization (CZ core)(1.1.0) | CareTeam) | Primary result interpreter Slice: Unordered, Open by profile:resolve() | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(Practitioner Role (CZ core)(1.1.0)) | Primary result interpreter | ||||
![]() ![]() |
0..* | Reference(Specimen (CZ Core)(1.1.0)) | Specimens this report is based on. | |||||
![]() ![]() |
0..* | Reference(Observation) | results Slice: Unordered, Open by profile:resolve() | |||||
![]() ![]() ![]() |
0..* | Reference(Observation: Medical Test Result (CZ core)(1.1.0)) | results | |||||
![]() ![]() |
0..* | Reference(ImagingStudy) | Study subject to this report | |||||
![]() ![]() |
Σ | 0..* | BackboneElement | Additional data (like images, diagrams or documents) associated with this report | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | string | Comment about the image or data (e.g. explanation) | |||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Media) | Reference to the image or data | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | DocumentReference containing additional information/attachments URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/StructureDefinition/alternate-reference" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(DocumentReference) | Value of extension | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..1 | string | Clinical conclusion (interpretation) of test results | |||||
![]() ![]() |
0..* | CodeableConcept | Codes for the clinical conclusion of test results Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report. | |||||
![]() ![]() |
0..* | Attachment | Entire report as issued (pdf recommended) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.extension:note.value[x].extension:annotation-type.value[x] | Base | example | hl7VS-commentType | 📍3.0.0 | THO v7.3 |
| DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.category | Base | example | Diagnostic Service Section Codes | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.code | Base | preferred | LOINC Diagnostic Report Codes | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.conclusionCode | Base | example | SNOMED CT Clinical Findings | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DiagnosticReport | 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 | DiagnosticReport | 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 | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DiagnosticReport | 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()
|
Summary
Mandatory: 2 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CZ_DiagnosticReportCore(1.1.0) | Diagnostic Report CZ core This profile also imposes the profile DiagnosticReport (EPS) | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | (Complex) | Associated Composition URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition" | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Composition (EU core)(2.0.0)) | Reference to a Composition resource for the DiagnosticReport structure | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Comments about the diagnostic report (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note" | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 1..1 | code | Status of the Report Binding: DiagnosticReportStatus (required): The status of the diagnostic report. |
![]() ![]() |
Σ | 1..1 | CodeableConcept | Type of Diagnostic Report Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports. |
![]() ![]() |
Σ | 1..1 | Reference(Patient (CZ core)(1.1.0) | Group) | Who and/or what this report is about |
![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() |
Σ | 1..1 | Clinically relevant time/time-period for report. Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
Σ | 0..1 | Period | Effective period of the report |
![]() ![]() |
Σ | 0..* | Reference(Practitioner (CZ core)(1.1.0) | Practitioner Role (CZ core)(1.1.0) | Organization (CZ core)(1.1.0) | CareTeam) | Responsible Diagnostic Service. Slice: Unordered, Open by profile:$this |
![]() ![]() ![]() |
Σ | 0..* | Reference(Organization (CZ core)(1.1.0)) | The organization producer of this report |
![]() ![]() |
Σ | 0..* | Reference(Practitioner Role (CZ core)(1.1.0) | Practitioner (CZ core)(1.1.0) | Organization (CZ core)(1.1.0) | CareTeam) | Primary result interpreter Slice: Unordered, Open by profile:resolve() |
![]() ![]() ![]() |
Σ | 0..* | Reference(Practitioner Role (CZ core)(1.1.0)) | Primary result interpreter |
![]() ![]() |
0..* | Reference(Observation) | results Slice: Unordered, Open by profile:resolve() | |
![]() ![]() ![]() |
0..* | Reference(Observation: Medical Test Result (CZ core)(1.1.0)) | results | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.code | Base | preferred | LOINC Diagnostic Report Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DiagnosticReport | 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 | DiagnosticReport | 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 | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DiagnosticReport | 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 | DiagnosticReport.extension:DiagnosticReportCompositionR5, DiagnosticReport.extension:note, DiagnosticReport.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
CZ_DiagnosticReportCore(1.1.0) | This profile also imposes the profile DiagnosticReport (EPS) | ||
![]() ![]() |
1..1 | Reference(Patient (CZ core)(1.1.0) | Group) | Who and/or what this report is about | |
![]() ![]() ![]() |
1..1 | string | Literal reference, Relative, internal or absolute URL | |
![]() ![]() |
1..1 | dateTime, Period | Clinically relevant time/time-period for report. | |
![]() ![]() |
0..* | Reference(Observation) | results Slice: Unordered, Open by profile:resolve() | |
![]() ![]() ![]() |
0..* | Reference(Observation: Medical Test Result (CZ core)(1.1.0)) | results | |
Documentation for this format | ||||
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | CZ_DiagnosticReportCore(1.1.0) | Diagnostic Report CZ core This profile also imposes the profile DiagnosticReport (EPS) | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the diagnostic report content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | (Complex) | Associated Composition URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition" | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(Composition (EU core)(2.0.0)) | Reference to a Composition resource for the DiagnosticReport structure | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: Comments about the diagnostic report (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note" | |||||
![]() ![]() ![]() ![]() |
0..1 | Annotation | Comments about the diagnostic report | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | (Complex) | The type of annotation URL: http://hl7.org/fhir/StructureDefinition/annotationType | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/StructureDefinition/annotationType" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Type of note Binding: Hl7VSCommentType (3.0.0) (example) | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier for report | ||||
![]() ![]() |
0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | What was requested | |||||
![]() ![]() |
?!Σ | 1..1 | code | Status of the Report Binding: DiagnosticReportStatus (required): The status of the diagnostic report. | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): Codes for diagnostic service sections. | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | Type of Diagnostic Report Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports. | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient (CZ core)(1.1.0) | Group) | Who and/or what this report is about | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter (CZ base)(1.1.0)) | The healthcare event which this Diagnostic Report is about (when test ordered). | ||||
![]() ![]() |
Σ | 1..1 | Clinically relevant time/time-period for report. Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Effective period of the report | ||||
![]() ![]() |
Σ | 0..1 | instant | Date and time this report was issued | ||||
![]() ![]() |
Σ | 0..* | Reference(Practitioner (CZ core)(1.1.0) | Practitioner Role (CZ core)(1.1.0) | Organization (CZ core)(1.1.0) | CareTeam) | Responsible Diagnostic Service. Slice: Unordered, Open by profile:$this | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(Organization (CZ core)(1.1.0)) | The organization producer of this report | ||||
![]() ![]() |
Σ | 0..* | Reference(Practitioner Role (CZ core)(1.1.0) | Practitioner (CZ core)(1.1.0) | Organization (CZ core)(1.1.0) | CareTeam) | Primary result interpreter Slice: Unordered, Open by profile:resolve() | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(Practitioner Role (CZ core)(1.1.0)) | Primary result interpreter | ||||
![]() ![]() |
0..* | Reference(Specimen (CZ Core)(1.1.0)) | Specimens this report is based on. | |||||
![]() ![]() |
0..* | Reference(Observation) | results Slice: Unordered, Open by profile:resolve() | |||||
![]() ![]() ![]() |
0..* | Reference(Observation: Medical Test Result (CZ core)(1.1.0)) | results | |||||
![]() ![]() |
0..* | Reference(ImagingStudy) | Study subject to this report | |||||
![]() ![]() |
Σ | 0..* | BackboneElement | Additional data (like images, diagrams or documents) associated with this report | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | string | Comment about the image or data (e.g. explanation) | |||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Media) | Reference to the image or data | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | (Complex) | DocumentReference containing additional information/attachments URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/StructureDefinition/alternate-reference" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(DocumentReference) | Value of extension | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..1 | string | Clinical conclusion (interpretation) of test results | |||||
![]() ![]() |
0..* | CodeableConcept | Codes for the clinical conclusion of test results Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report. | |||||
![]() ![]() |
0..* | Attachment | Entire report as issued (pdf recommended) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.extension:note.value[x].extension:annotation-type.value[x] | Base | example | hl7VS-commentType | 📍3.0.0 | THO v7.3 |
| DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.category | Base | example | Diagnostic Service Section Codes | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.code | Base | preferred | LOINC Diagnostic Report Codes | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.conclusionCode | Base | example | SNOMED CT Clinical Findings | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DiagnosticReport | 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 | DiagnosticReport | 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 | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DiagnosticReport | 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()
|
Summary
Mandatory: 2 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron