Inera Core Implementation Guide
0.2.0 - ci-build
Sweden
Inera Core Implementation Guide - Local Development build (v0.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://inera.se/fhir/core/StructureDefinition/diagnosticreport-base-inera | Version: 0.2.0 | |||
| Draft as of 2025-11-24 | Computable Name: DiagnosticReportBaseInera | |||
Svensk profil för undersökningssvar (laboratorium, radiologi, patologi) baserad på TKB.
Används för:
Källa: TKB GetLaboratoryOrderOutcome v3.1, GetImagingOutcome v2.0
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 0..* | Identifier | Undersöknings-ID |
![]() ![]() |
S | 0..* | Reference(ServiceRequest) | Baserad på beställning |
![]() ![]() |
?!SΣ | 1..1 | code | Status Binding: DiagnosticReportStatus (required) |
![]() ![]() |
SΣ | 1..* | CodeableConcept | Kategori Binding: DiagnosticServiceSectionCodes (extensible) |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Rapporttyp Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports. |
![]() ![]() ![]() |
SΣ | 0..1 | string | Plain text representation of the concept |
![]() ![]() |
SΣ | 1..1 | Reference(Patient Base Inera) | Patient |
![]() ![]() |
SΣ | 0..1 | Reference(Encounter Base Inera) | Vårdkontakt |
![]() ![]() |
SΣ | 0..1 | Undersökningstid | |
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
Period | |||
![]() ![]() |
SΣ | 0..1 | instant | Svarsutgåva |
![]() ![]() |
SΣ | 0..* | Reference(PractitionerRole Base Inera | Organization Base Inera) | Utförande enhet/personal |
![]() ![]() |
SΣ | 0..* | Reference(PractitionerRole Base Inera | Organization Base Inera) | Svarsgransksre |
![]() ![]() |
S | 0..* | Reference(Specimen) | Prov |
![]() ![]() |
S | 0..* | Reference(Observation Laboratory Inera | Observation Vital Signs Inera | Observation) | Resultat |
![]() ![]() |
S | 0..* | Reference(ImagingStudy) | Bildundersökning |
![]() ![]() |
SΣ | 0..* | BackboneElement | Bilder |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | string | Bildkommentar |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Media) | Bildlänk |
![]() ![]() |
S | 0..1 | string | Slutsats |
![]() ![]() |
S | 0..* | CodeableConcept | Slutsatskod Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report. |
![]() ![]() |
S | 0..* | Attachment | Rapport (dokumentformat) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📦4.0.1 | FHIR Std. |
| DiagnosticReport.category | Base | extensible | Diagnostic Service Section Codes | 📦4.0.1 | FHIR Std. |
| DiagnosticReport.code | Base | preferred | LOINC Diagnostic Report Codes | 📍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()
|
This structure is derived from DiagnosticReport
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📦4.0.1 | FHIR Std. |
| DiagnosticReport.category | Base | extensible | Diagnostic Service Section Codes | 📦4.0.1 | FHIR Std. |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |||||
![]() ![]() |
Σ | 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 resource 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 | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 0..* | Identifier | Undersöknings-ID | ||||
![]() ![]() |
S | 0..* | Reference(ServiceRequest) | Baserad på beställning | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Status Binding: DiagnosticReportStatus (required) | ||||
![]() ![]() |
SΣ | 1..* | CodeableConcept | Kategori Binding: DiagnosticServiceSectionCodes (extensible) | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Rapporttyp Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient Base Inera) | Patient | ||||
![]() ![]() |
SΣ | 0..1 | Reference(Encounter Base Inera) | Vårdkontakt | ||||
![]() ![]() |
SΣ | 0..1 | Undersökningstid | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() |
SΣ | 0..1 | instant | Svarsutgåva | ||||
![]() ![]() |
SΣ | 0..* | Reference(PractitionerRole Base Inera | Organization Base Inera) | Utförande enhet/personal | ||||
![]() ![]() |
SΣ | 0..* | Reference(PractitionerRole Base Inera | Organization Base Inera) | Svarsgransksre | ||||
![]() ![]() |
S | 0..* | Reference(Specimen) | Prov | ||||
![]() ![]() |
S | 0..* | Reference(Observation Laboratory Inera | Observation Vital Signs Inera | Observation) | Resultat | ||||
![]() ![]() |
S | 0..* | Reference(ImagingStudy) | Bildundersökning | ||||
![]() ![]() |
SΣ | 0..* | BackboneElement | Bilder | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
S | 0..1 | string | Bildkommentar | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Media) | Bildlänk | ||||
![]() ![]() |
S | 0..1 | string | Slutsats | ||||
![]() ![]() |
S | 0..* | CodeableConcept | Slutsatskod Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report. | ||||
![]() ![]() |
S | 0..* | Attachment | Rapport (dokumentformat) | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📦4.0.1 | FHIR Std. |
| DiagnosticReport.category | Base | extensible | Diagnostic Service Section Codes | 📦4.0.1 | FHIR Std. |
| DiagnosticReport.code | Base | preferred | LOINC Diagnostic Report Codes | 📍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()
|
This structure is derived from DiagnosticReport
Summary
Mandatory: 2 elements
Must-Support: 21 elements
Structures
This structure refers to these other structures:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 0..* | Identifier | Undersöknings-ID |
![]() ![]() |
S | 0..* | Reference(ServiceRequest) | Baserad på beställning |
![]() ![]() |
?!SΣ | 1..1 | code | Status Binding: DiagnosticReportStatus (required) |
![]() ![]() |
SΣ | 1..* | CodeableConcept | Kategori Binding: DiagnosticServiceSectionCodes (extensible) |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Rapporttyp Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports. |
![]() ![]() ![]() |
SΣ | 0..1 | string | Plain text representation of the concept |
![]() ![]() |
SΣ | 1..1 | Reference(Patient Base Inera) | Patient |
![]() ![]() |
SΣ | 0..1 | Reference(Encounter Base Inera) | Vårdkontakt |
![]() ![]() |
SΣ | 0..1 | Undersökningstid | |
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
Period | |||
![]() ![]() |
SΣ | 0..1 | instant | Svarsutgåva |
![]() ![]() |
SΣ | 0..* | Reference(PractitionerRole Base Inera | Organization Base Inera) | Utförande enhet/personal |
![]() ![]() |
SΣ | 0..* | Reference(PractitionerRole Base Inera | Organization Base Inera) | Svarsgransksre |
![]() ![]() |
S | 0..* | Reference(Specimen) | Prov |
![]() ![]() |
S | 0..* | Reference(Observation Laboratory Inera | Observation Vital Signs Inera | Observation) | Resultat |
![]() ![]() |
S | 0..* | Reference(ImagingStudy) | Bildundersökning |
![]() ![]() |
SΣ | 0..* | BackboneElement | Bilder |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | string | Bildkommentar |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Media) | Bildlänk |
![]() ![]() |
S | 0..1 | string | Slutsats |
![]() ![]() |
S | 0..* | CodeableConcept | Slutsatskod Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report. |
![]() ![]() |
S | 0..* | Attachment | Rapport (dokumentformat) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📦4.0.1 | FHIR Std. |
| DiagnosticReport.category | Base | extensible | Diagnostic Service Section Codes | 📦4.0.1 | FHIR Std. |
| DiagnosticReport.code | Base | preferred | LOINC Diagnostic Report Codes | 📍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()
|
Differential View
This structure is derived from DiagnosticReport
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📦4.0.1 | FHIR Std. |
| DiagnosticReport.category | Base | extensible | Diagnostic Service Section Codes | 📦4.0.1 | FHIR Std. |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |||||
![]() ![]() |
Σ | 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 resource 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 | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 0..* | Identifier | Undersöknings-ID | ||||
![]() ![]() |
S | 0..* | Reference(ServiceRequest) | Baserad på beställning | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Status Binding: DiagnosticReportStatus (required) | ||||
![]() ![]() |
SΣ | 1..* | CodeableConcept | Kategori Binding: DiagnosticServiceSectionCodes (extensible) | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Rapporttyp Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient Base Inera) | Patient | ||||
![]() ![]() |
SΣ | 0..1 | Reference(Encounter Base Inera) | Vårdkontakt | ||||
![]() ![]() |
SΣ | 0..1 | Undersökningstid | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() |
SΣ | 0..1 | instant | Svarsutgåva | ||||
![]() ![]() |
SΣ | 0..* | Reference(PractitionerRole Base Inera | Organization Base Inera) | Utförande enhet/personal | ||||
![]() ![]() |
SΣ | 0..* | Reference(PractitionerRole Base Inera | Organization Base Inera) | Svarsgransksre | ||||
![]() ![]() |
S | 0..* | Reference(Specimen) | Prov | ||||
![]() ![]() |
S | 0..* | Reference(Observation Laboratory Inera | Observation Vital Signs Inera | Observation) | Resultat | ||||
![]() ![]() |
S | 0..* | Reference(ImagingStudy) | Bildundersökning | ||||
![]() ![]() |
SΣ | 0..* | BackboneElement | Bilder | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
S | 0..1 | string | Bildkommentar | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Media) | Bildlänk | ||||
![]() ![]() |
S | 0..1 | string | Slutsats | ||||
![]() ![]() |
S | 0..* | CodeableConcept | Slutsatskod Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report. | ||||
![]() ![]() |
S | 0..* | Attachment | Rapport (dokumentformat) | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📦4.0.1 | FHIR Std. |
| DiagnosticReport.category | Base | extensible | Diagnostic Service Section Codes | 📦4.0.1 | FHIR Std. |
| DiagnosticReport.code | Base | preferred | LOINC Diagnostic Report Codes | 📍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()
|
This structure is derived from DiagnosticReport
Summary
Mandatory: 2 elements
Must-Support: 21 elements
Structures
This structure refers to these other structures:
Other representations of profile: CSV, Excel, Schematron