0.1.0 - ci-build

SENAITEFHIRImplementationGuide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: SenaiteDiagnosticReport

Official URL: https://senaite-fhir.naralabs.com/StructureDefinition/SenaiteDiagnosticReport Version: 0.1.0
Draft as of 2026-04-13 Computable Name: SenaiteDiagnosticReport

This is the results for the lab test requested by the ServiceRequest - as such it requires a basedOn link to the Service Request. It may contain either the pdf file in presentedForm or the quantitative results as Observations in results.

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 C 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
Constraints: dgr-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... basedOn 1..1 Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) What was requested
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... code Σ 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): LOINC Codes for Diagnostic Reports
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
... presentedForm 0..1 Attachment Entire report as issued
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... contentType ΣC 0..1 code Mime type of the content, with charset etc.
Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
Fixed Value: application/pdf
.... data C 1..1 base64Binary Data inline, base64ed

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.status Base required Diagnostic Report Status 📍5.0.0 FHIR Std.
DiagnosticReport.code Base preferred LOINC Diagnostic Report Codes 📍5.0.0 FHIR Std.
DiagnosticReport.presentedForm.​contentType Base required Mime Types 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dgr-1 error DiagnosticReport When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference))
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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
... extension 0..0 Extension
... modifierExtension 0..0 Extension
... identifier 0..0 Business identifier for report
.... extension 0..0 Extension
.... reference 1..1 string Literal reference, Relative, internal or absolute URL
.... identifier 0..0 Logical reference, when literal reference is not known
.... display 0..0 Text alternative for the resource
... status 1..1 code registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown
... code
.... extension 0..0 Extension
.... coding
..... extension 0..0 Extension
..... system 0..1 uri Identity of the terminology system
Binding: http://loinc.org (preferred)
..... version 0..0 Version of the system - if relevant
..... userSelected 0..0 If this coding was chosen directly by the user
... subject
.... extension 0..0 Extension
.... type 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Fixed Value: Patient
.... identifier 0..0 Logical reference, when literal reference is not known
... encounter 0..0 Health care event when test ordered
... effective[x] 0..0 Clinically relevant time/time-period for report
... issued 0..0 DateTime this version was made
... performer 0..0 Responsible Diagnostic Service
... resultsInterpreter 0..0 Primary result interpreter
... specimen 0..0 Specimens this report is based on
... result
.... id 0..0 Unique id for inter-element referencing
.... extension 0..0 Extension
.... reference 1..1 string Literal reference, Relative, internal or absolute URL
.... type 0..0 Type the reference refers to (e.g. "Patient") - must be a resource in resources
.... identifier 0..0 Logical reference, when literal reference is not known
... media 0..0 Key images or data associated with this report
... conclusionCode 0..0 Codes for the clinical conclusion of test results
... presentedForm 0..1 Attachment Entire report as issued
.... extension 0..0 Extension
.... contentType 0..1 code Mime type of the content, with charset etc.
Fixed Value: application/pdf
.... data 1..1 base64Binary Data inline, base64ed
.... url 0..0 Uri where the data can be found
.... size 0..0 Number of bytes of content (if url provided)
.... hash 0..0 Hash of the data (sha-1, base64ed)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
DiagnosticReport.code.​coding.system Base preferred http://loinc.org Not State Unknown
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport C 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
Constraints: dgr-1
... 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
... 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
... basedOn 1..1 Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) What was requested
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
... status ?!Σ 1..1 code registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown
Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
... category Σ 0..* CodeableConcept Service category
Binding: DiagnosticServiceSectionCodes (example): HL7 V2 table 0074
... code Σ 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): LOINC Codes for Diagnostic Reports
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
Binding: http://loinc.org (preferred)
..... code ΣC 0..1 code Symbol in syntax defined by the system
..... display ΣC 0..1 string Representation defined by the system
.... text Σ 0..1 string Plain text representation of the concept
... subject Σ 0..1 Reference(Patient | Group | Device | Location | Organization | Practitioner | Medication | Substance | BiologicallyDerivedProduct) The subject of the report - usually, but not always, the patient
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Patient
.... display ΣC 0..1 string Text alternative for the resource
... result C 0..* Reference(Observation) Observations
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... display ΣC 0..1 string Text alternative for the resource
... note 0..* Annotation Comments about the diagnostic report
... study 0..* Reference(GenomicStudy | ImagingStudy) Reference to full details of an analysis associated with the diagnostic report
... supportingInfo 0..* BackboneElement Additional information supporting the diagnostic report
.... 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
.... type 1..1 CodeableConcept Supporting information role code
Binding: hl7VS-VS-observationType (example): The code value for the role of the supporting information in the diagnostic report.
.... reference 1..1 Reference(Procedure | Observation | DiagnosticReport | Citation) Supporting information reference
... composition C 0..1 Reference(Composition) Reference to a Composition resource for the DiagnosticReport structure
... conclusion 0..1 markdown Clinical conclusion (interpretation) of test results
... presentedForm 0..1 Attachment Entire report as issued
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... contentType ΣC 0..1 code Mime type of the content, with charset etc.
Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
Fixed Value: application/pdf
.... language Σ 0..1 code Human language of the content (BCP-47)
Binding: AllLanguages (required): IETF language tag for a human language.
Additional BindingsPurpose
CommonLanguages Starter

Example General: en-AU
.... data C 1..1 base64Binary Data inline, base64ed
.... title Σ 0..1 string Label to display in place of the data
Example General: Official Corporate Logo
.... creation Σ 0..1 dateTime Date attachment was first created
.... height 0..1 positiveInt Height of the image in pixels (photo/video)
.... width 0..1 positiveInt Width of the image in pixels (photo/video)
.... frames 0..1 positiveInt Number of frames if > 1 (photo)
.... duration 0..1 decimal Length in seconds (audio / video)
.... pages 0..1 positiveInt Number of printed pages

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.language Base required All Languages 📍5.0.0 FHIR Std.
DiagnosticReport.basedOn.​type Base extensible Resource Types 📍5.0.0 FHIR Std.
DiagnosticReport.status Base required Diagnostic Report Status 📍5.0.0 FHIR Std.
DiagnosticReport.category Base example Diagnostic Service Section Codes 📍5.0.0 FHIR Std.
DiagnosticReport.code Base preferred LOINC Diagnostic Report Codes 📍5.0.0 FHIR Std.
DiagnosticReport.code.​coding.system Base preferred http://loinc.org Not State Unknown
DiagnosticReport.subject.​type Base extensible Resource Types 📍5.0.0 FHIR Std.
DiagnosticReport.supportingInfo.​type Base example hl7VS-VS-observationType 📦3.0.0 THO v7.1
DiagnosticReport.presentedForm.​contentType Base required Mime Types 📍5.0.0 FHIR Std.
DiagnosticReport.presentedForm.​language Base required All Languages 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dgr-1 error DiagnosticReport When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference))
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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(2 nested mandatory elements)
Fixed: 2 elements
Prohibited: 28 elements

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport C 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
Constraints: dgr-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... basedOn 1..1 Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) What was requested
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... code Σ 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): LOINC Codes for Diagnostic Reports
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
... presentedForm 0..1 Attachment Entire report as issued
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... contentType ΣC 0..1 code Mime type of the content, with charset etc.
Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
Fixed Value: application/pdf
.... data C 1..1 base64Binary Data inline, base64ed

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.status Base required Diagnostic Report Status 📍5.0.0 FHIR Std.
DiagnosticReport.code Base preferred LOINC Diagnostic Report Codes 📍5.0.0 FHIR Std.
DiagnosticReport.presentedForm.​contentType Base required Mime Types 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dgr-1 error DiagnosticReport When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference))
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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
... extension 0..0 Extension
... modifierExtension 0..0 Extension
... identifier 0..0 Business identifier for report
.... extension 0..0 Extension
.... reference 1..1 string Literal reference, Relative, internal or absolute URL
.... identifier 0..0 Logical reference, when literal reference is not known
.... display 0..0 Text alternative for the resource
... status 1..1 code registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown
... code
.... extension 0..0 Extension
.... coding
..... extension 0..0 Extension
..... system 0..1 uri Identity of the terminology system
Binding: http://loinc.org (preferred)
..... version 0..0 Version of the system - if relevant
..... userSelected 0..0 If this coding was chosen directly by the user
... subject
.... extension 0..0 Extension
.... type 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Fixed Value: Patient
.... identifier 0..0 Logical reference, when literal reference is not known
... encounter 0..0 Health care event when test ordered
... effective[x] 0..0 Clinically relevant time/time-period for report
... issued 0..0 DateTime this version was made
... performer 0..0 Responsible Diagnostic Service
... resultsInterpreter 0..0 Primary result interpreter
... specimen 0..0 Specimens this report is based on
... result
.... id 0..0 Unique id for inter-element referencing
.... extension 0..0 Extension
.... reference 1..1 string Literal reference, Relative, internal or absolute URL
.... type 0..0 Type the reference refers to (e.g. "Patient") - must be a resource in resources
.... identifier 0..0 Logical reference, when literal reference is not known
... media 0..0 Key images or data associated with this report
... conclusionCode 0..0 Codes for the clinical conclusion of test results
... presentedForm 0..1 Attachment Entire report as issued
.... extension 0..0 Extension
.... contentType 0..1 code Mime type of the content, with charset etc.
Fixed Value: application/pdf
.... data 1..1 base64Binary Data inline, base64ed
.... url 0..0 Uri where the data can be found
.... size 0..0 Number of bytes of content (if url provided)
.... hash 0..0 Hash of the data (sha-1, base64ed)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
DiagnosticReport.code.​coding.system Base preferred http://loinc.org Not State Unknown

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DiagnosticReport C 0..* DiagnosticReport A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
Constraints: dgr-1
... 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
... 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
... basedOn 1..1 Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) What was requested
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
... status ?!Σ 1..1 code registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown
Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
... category Σ 0..* CodeableConcept Service category
Binding: DiagnosticServiceSectionCodes (example): HL7 V2 table 0074
... code Σ 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): LOINC Codes for Diagnostic Reports
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
Binding: http://loinc.org (preferred)
..... code ΣC 0..1 code Symbol in syntax defined by the system
..... display ΣC 0..1 string Representation defined by the system
.... text Σ 0..1 string Plain text representation of the concept
... subject Σ 0..1 Reference(Patient | Group | Device | Location | Organization | Practitioner | Medication | Substance | BiologicallyDerivedProduct) The subject of the report - usually, but not always, the patient
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Patient
.... display ΣC 0..1 string Text alternative for the resource
... result C 0..* Reference(Observation) Observations
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... display ΣC 0..1 string Text alternative for the resource
... note 0..* Annotation Comments about the diagnostic report
... study 0..* Reference(GenomicStudy | ImagingStudy) Reference to full details of an analysis associated with the diagnostic report
... supportingInfo 0..* BackboneElement Additional information supporting the diagnostic report
.... 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
.... type 1..1 CodeableConcept Supporting information role code
Binding: hl7VS-VS-observationType (example): The code value for the role of the supporting information in the diagnostic report.
.... reference 1..1 Reference(Procedure | Observation | DiagnosticReport | Citation) Supporting information reference
... composition C 0..1 Reference(Composition) Reference to a Composition resource for the DiagnosticReport structure
... conclusion 0..1 markdown Clinical conclusion (interpretation) of test results
... presentedForm 0..1 Attachment Entire report as issued
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..0 Extension
Slice: Unordered, Open by value:url
.... contentType ΣC 0..1 code Mime type of the content, with charset etc.
Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)
Fixed Value: application/pdf
.... language Σ 0..1 code Human language of the content (BCP-47)
Binding: AllLanguages (required): IETF language tag for a human language.
Additional BindingsPurpose
CommonLanguages Starter

Example General: en-AU
.... data C 1..1 base64Binary Data inline, base64ed
.... title Σ 0..1 string Label to display in place of the data
Example General: Official Corporate Logo
.... creation Σ 0..1 dateTime Date attachment was first created
.... height 0..1 positiveInt Height of the image in pixels (photo/video)
.... width 0..1 positiveInt Width of the image in pixels (photo/video)
.... frames 0..1 positiveInt Number of frames if > 1 (photo)
.... duration 0..1 decimal Length in seconds (audio / video)
.... pages 0..1 positiveInt Number of printed pages

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
DiagnosticReport.language Base required All Languages 📍5.0.0 FHIR Std.
DiagnosticReport.basedOn.​type Base extensible Resource Types 📍5.0.0 FHIR Std.
DiagnosticReport.status Base required Diagnostic Report Status 📍5.0.0 FHIR Std.
DiagnosticReport.category Base example Diagnostic Service Section Codes 📍5.0.0 FHIR Std.
DiagnosticReport.code Base preferred LOINC Diagnostic Report Codes 📍5.0.0 FHIR Std.
DiagnosticReport.code.​coding.system Base preferred http://loinc.org Not State Unknown
DiagnosticReport.subject.​type Base extensible Resource Types 📍5.0.0 FHIR Std.
DiagnosticReport.supportingInfo.​type Base example hl7VS-VS-observationType 📦3.0.0 THO v7.1
DiagnosticReport.presentedForm.​contentType Base required Mime Types 📍5.0.0 FHIR Std.
DiagnosticReport.presentedForm.​language Base required All Languages 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dgr-1 error DiagnosticReport When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference))
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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(2 nested mandatory elements)
Fixed: 2 elements
Prohibited: 28 elements

 

Other representations of profile: CSV, Excel, Schematron