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

Resource Profile: DiagnosticReport Base Inera ( Experimental )

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:

  • Laboratoriesvar (GetLaboratoryOrderOutcome)
  • Radiologisvar (GetImagingOutcome)
  • Patologisvar
  • Andra diagnostiska undersökningar

Källa: TKB GetLaboratoryOrderOutcome v3.1, GetImagingOutcome v2.0

Usages:

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.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 0..* Identifier Undersöknings-ID
... basedOn S 0..* Reference(ServiceRequest) Baserad på beställning
... status ?!SΣ 1..1 code Status
Binding: DiagnosticReportStatus (required)
... category SΣ 1..* CodeableConcept Kategori
Binding: DiagnosticServiceSectionCodes (extensible)
... code SΣ 1..1 CodeableConcept Rapporttyp
Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.
.... text SΣ 0..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(Patient Base Inera) Patient
... encounter SΣ 0..1 Reference(Encounter Base Inera) Vårdkontakt
... effective[x] SΣ 0..1 Undersökningstid
.... effectiveDateTime dateTime
.... effectivePeriod Period
... issued SΣ 0..1 instant Svarsutgåva
... performer SΣ 0..* Reference(PractitionerRole Base Inera | Organization Base Inera) Utförande enhet/personal
... resultsInterpreter SΣ 0..* Reference(PractitionerRole Base Inera | Organization Base Inera) Svarsgransksre
... specimen S 0..* Reference(Specimen) Prov
... result S 0..* Reference(Observation Laboratory Inera | Observation Vital Signs Inera | Observation) Resultat
... imagingStudy S 0..* Reference(ImagingStudy) Bildundersökning
... media SΣ 0..* BackboneElement Bilder
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... comment S 0..1 string Bildkommentar
.... link SΣ 1..1 Reference(Media) Bildlänk
... conclusion S 0..1 string Slutsats
... conclusionCode S 0..* CodeableConcept Slutsatskod
Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.
... presentedForm S 0..* Attachment Rapport (dokumentformat)

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... identifier S 0..* Identifier Undersöknings-ID
... basedOn S 0..* Reference(ServiceRequest) Baserad på beställning
... status S 1..1 code Status
Binding: DiagnosticReportStatus (required)
... category S 1..* CodeableConcept Kategori
Binding: DiagnosticServiceSectionCodes (extensible)
... code S 1..1 CodeableConcept Rapporttyp
.... text S 0..1 string Plain text representation of the concept
... subject S 1..1 Reference(Patient Base Inera) Patient
... encounter S 0..1 Reference(Encounter Base Inera) Vårdkontakt
... effective[x] S 0..1 dateTime, Period Undersökningstid
... issued S 0..1 instant Svarsutgåva
... performer S 0..* Reference(PractitionerRole Base Inera | Organization Base Inera) Utförande enhet/personal
... resultsInterpreter S 0..* Reference(PractitionerRole Base Inera | Organization Base Inera) Svarsgransksre
... specimen S 0..* Reference(Specimen) Prov
... result S 0..* Reference(Observation Laboratory Inera | Observation Vital Signs Inera | Observation) Resultat
... imagingStudy S 0..* Reference(ImagingStudy) Bildundersökning
... media S 0..* BackboneElement Bilder
.... comment S 0..1 string Bildkommentar
.... link S 1..1 Reference(Media) Bildlänk
... conclusion S 0..1 string Slutsats
... conclusionCode S 0..* CodeableConcept Slutsatskod
... presentedForm S 0..* Attachment Rapport (dokumentformat)

doco Documentation for this format

Terminology Bindings (Differential)

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.
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... 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 BindingsPurpose
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
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 0..* Identifier Undersöknings-ID
... basedOn S 0..* Reference(ServiceRequest) Baserad på beställning
... status ?!SΣ 1..1 code Status
Binding: DiagnosticReportStatus (required)
... category SΣ 1..* CodeableConcept Kategori
Binding: DiagnosticServiceSectionCodes (extensible)
... code SΣ 1..1 CodeableConcept Rapporttyp
Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
.... text SΣ 0..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(Patient Base Inera) Patient
... encounter SΣ 0..1 Reference(Encounter Base Inera) Vårdkontakt
... effective[x] SΣ 0..1 Undersökningstid
.... effectiveDateTime dateTime
.... effectivePeriod Period
... issued SΣ 0..1 instant Svarsutgåva
... performer SΣ 0..* Reference(PractitionerRole Base Inera | Organization Base Inera) Utförande enhet/personal
... resultsInterpreter SΣ 0..* Reference(PractitionerRole Base Inera | Organization Base Inera) Svarsgransksre
... specimen S 0..* Reference(Specimen) Prov
... result S 0..* Reference(Observation Laboratory Inera | Observation Vital Signs Inera | Observation) Resultat
... imagingStudy S 0..* Reference(ImagingStudy) Bildundersökning
... media SΣ 0..* BackboneElement Bilder
.... 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
.... comment S 0..1 string Bildkommentar
.... link SΣ 1..1 Reference(Media) Bildlänk
... conclusion S 0..1 string Slutsats
... conclusionCode S 0..* CodeableConcept Slutsatskod
Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.
... presentedForm S 0..* Attachment Rapport (dokumentformat)

doco Documentation for this format

Terminology Bindings

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.

Constraints

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()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 0..* Identifier Undersöknings-ID
... basedOn S 0..* Reference(ServiceRequest) Baserad på beställning
... status ?!SΣ 1..1 code Status
Binding: DiagnosticReportStatus (required)
... category SΣ 1..* CodeableConcept Kategori
Binding: DiagnosticServiceSectionCodes (extensible)
... code SΣ 1..1 CodeableConcept Rapporttyp
Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.
.... text SΣ 0..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(Patient Base Inera) Patient
... encounter SΣ 0..1 Reference(Encounter Base Inera) Vårdkontakt
... effective[x] SΣ 0..1 Undersökningstid
.... effectiveDateTime dateTime
.... effectivePeriod Period
... issued SΣ 0..1 instant Svarsutgåva
... performer SΣ 0..* Reference(PractitionerRole Base Inera | Organization Base Inera) Utförande enhet/personal
... resultsInterpreter SΣ 0..* Reference(PractitionerRole Base Inera | Organization Base Inera) Svarsgransksre
... specimen S 0..* Reference(Specimen) Prov
... result S 0..* Reference(Observation Laboratory Inera | Observation Vital Signs Inera | Observation) Resultat
... imagingStudy S 0..* Reference(ImagingStudy) Bildundersökning
... media SΣ 0..* BackboneElement Bilder
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... comment S 0..1 string Bildkommentar
.... link SΣ 1..1 Reference(Media) Bildlänk
... conclusion S 0..1 string Slutsats
... conclusionCode S 0..* CodeableConcept Slutsatskod
Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.
... presentedForm S 0..* Attachment Rapport (dokumentformat)

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... identifier S 0..* Identifier Undersöknings-ID
... basedOn S 0..* Reference(ServiceRequest) Baserad på beställning
... status S 1..1 code Status
Binding: DiagnosticReportStatus (required)
... category S 1..* CodeableConcept Kategori
Binding: DiagnosticServiceSectionCodes (extensible)
... code S 1..1 CodeableConcept Rapporttyp
.... text S 0..1 string Plain text representation of the concept
... subject S 1..1 Reference(Patient Base Inera) Patient
... encounter S 0..1 Reference(Encounter Base Inera) Vårdkontakt
... effective[x] S 0..1 dateTime, Period Undersökningstid
... issued S 0..1 instant Svarsutgåva
... performer S 0..* Reference(PractitionerRole Base Inera | Organization Base Inera) Utförande enhet/personal
... resultsInterpreter S 0..* Reference(PractitionerRole Base Inera | Organization Base Inera) Svarsgransksre
... specimen S 0..* Reference(Specimen) Prov
... result S 0..* Reference(Observation Laboratory Inera | Observation Vital Signs Inera | Observation) Resultat
... imagingStudy S 0..* Reference(ImagingStudy) Bildundersökning
... media S 0..* BackboneElement Bilder
.... comment S 0..1 string Bildkommentar
.... link S 1..1 Reference(Media) Bildlänk
... conclusion S 0..1 string Slutsats
... conclusionCode S 0..* CodeableConcept Slutsatskod
... presentedForm S 0..* Attachment Rapport (dokumentformat)

doco Documentation for this format

Terminology Bindings (Differential)

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
... 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 BindingsPurpose
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
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣ 0..* Identifier Undersöknings-ID
... basedOn S 0..* Reference(ServiceRequest) Baserad på beställning
... status ?!SΣ 1..1 code Status
Binding: DiagnosticReportStatus (required)
... category SΣ 1..* CodeableConcept Kategori
Binding: DiagnosticServiceSectionCodes (extensible)
... code SΣ 1..1 CodeableConcept Rapporttyp
Binding: LOINCDiagnosticReportCodes (preferred): Codes that describe Diagnostic Reports.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
.... text SΣ 0..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(Patient Base Inera) Patient
... encounter SΣ 0..1 Reference(Encounter Base Inera) Vårdkontakt
... effective[x] SΣ 0..1 Undersökningstid
.... effectiveDateTime dateTime
.... effectivePeriod Period
... issued SΣ 0..1 instant Svarsutgåva
... performer SΣ 0..* Reference(PractitionerRole Base Inera | Organization Base Inera) Utförande enhet/personal
... resultsInterpreter SΣ 0..* Reference(PractitionerRole Base Inera | Organization Base Inera) Svarsgransksre
... specimen S 0..* Reference(Specimen) Prov
... result S 0..* Reference(Observation Laboratory Inera | Observation Vital Signs Inera | Observation) Resultat
... imagingStudy S 0..* Reference(ImagingStudy) Bildundersökning
... media SΣ 0..* BackboneElement Bilder
.... 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
.... comment S 0..1 string Bildkommentar
.... link SΣ 1..1 Reference(Media) Bildlänk
... conclusion S 0..1 string Slutsats
... conclusionCode S 0..* CodeableConcept Slutsatskod
Binding: SNOMEDCTClinicalFindings (example): Diagnosis codes provided as adjuncts to the report.
... presentedForm S 0..* Attachment Rapport (dokumentformat)

doco Documentation for this format

Terminology Bindings

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.

Constraints

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()

 

Other representations of profile: CSV, Excel, Schematron