STARS Implementation Guide
0.3.0 - ci-build

This page is part of the Csiro Stars (v0.3.0: Releases Draft) based on FHIR (HL7® FHIR® Standard) v5.0.0. No current official version has been published yet. For a full list of available versions, see the Directory of published versions

Resource Profile: CSIRO STARS DiagnosticReport Profile

Official URL: https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-diagnosticreport Version: 0.3.0
Active as of 2025-06-03 Computable Name: CsiroStarsDiagnosticReportProfile

Results returned through a Diagnostic Report

Usages:

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
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:requisition S 1..1 string Requisition
URL: https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/requisition
... identifier SΣ 1..1 Identifier Business identifier for report
... status ?!SΣ 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.
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 11502-2
..... display 1..1 string Representation defined by the system
Fixed Value: Laboratory Report
... issued SΣ 1..1 instant DateTime this version was made
... resultsInterpreter SΣ 1..1 Reference(CSIRO STARS Practitioner Profile) Primary result interpreter
... result C 1..* Reference(CSIRO STARS Observation Result Profile) Observations
... conclusion S 0..1 markdown Clinical conclusion (interpretation) of test results

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
DiagnosticReport.statusrequiredDiagnosticReportStatus
http://hl7.org/fhir/ValueSet/diagnostic-report-status|5.0.0
From the FHIR Standard
DiagnosticReport.codepreferredPattern Value: LOINC Code 11502-2("Laboratory Report")
http://hl7.org/fhir/ValueSet/report-codes
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dgr-1errorDiagnosticReportWhen 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-2errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDiagnosticReportIf 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-4errorDiagnosticReportIf 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-5errorDiagnosticReportIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDiagnosticReportA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust 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
... implicitRules 0..0
... language 0..0
... contained 0..0
.... extension:requisition S 1..1 string Requisition
URL: https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/requisition
... modifierExtension 0..0
... identifier S 1..1 Identifier Business identifier for report
... status S 1..1 code registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown
... category 0..0
... code 1..1 CodeableConcept Name/Code for this diagnostic report
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 11502-2
..... display 1..1 string Representation defined by the system
Fixed Value: Laboratory Report
... subject 0..0
... encounter 0..0
... effective[x] 0..0
... issued S 1..1 instant DateTime this version was made
... performer 0..0
... resultsInterpreter S 1..1 Reference(CSIRO STARS Practitioner Profile) Primary result interpreter
... result 1..* Reference(CSIRO STARS Observation Result Profile) Observations
... study 0..0
... conclusion S 0..1 markdown Clinical conclusion (interpretation) of test results
... conclusionCode 0..0
... presentedForm 0..0

doco Documentation for this format
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
... text 0..1 Narrative Text summary of the resource, for human interpretation
.... extension:requisition S 1..1 string Requisition
URL: https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/requisition
... identifier SΣ 1..1 Identifier Business identifier for report
... basedOn 0..* Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) What was requested
... status ?!SΣ 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.
... code Σ 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): LOINC Codes for Diagnostic Reports
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 11502-2
..... display 1..1 string Representation defined by the system
Fixed Value: Laboratory Report
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... issued SΣ 1..1 instant DateTime this version was made
... resultsInterpreter SΣ 1..1 Reference(CSIRO STARS Practitioner Profile) Primary result interpreter
... specimen 0..* Reference(Specimen) Specimens this report is based on
... result C 1..* Reference(CSIRO STARS Observation Result Profile) Observations
... note 0..* Annotation Comments about 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
... media Σ 0..* BackboneElement Key images or data associated with this 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
.... comment 0..1 string Comment about the image or data (e.g. explanation)
.... link Σ 1..1 Reference(DocumentReference) Reference to the image or data source
... composition C 0..1 Reference(Composition) Reference to a Composition resource for the DiagnosticReport structure
... conclusion S 0..1 markdown Clinical conclusion (interpretation) of test results

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
DiagnosticReport.statusrequiredDiagnosticReportStatus
http://hl7.org/fhir/ValueSet/diagnostic-report-status|5.0.0
From the FHIR Standard
DiagnosticReport.codepreferredPattern Value: LOINC Code 11502-2("Laboratory Report")
http://hl7.org/fhir/ValueSet/report-codes
From the FHIR Standard
DiagnosticReport.supportingInfo.typeexampleHl7VSVSObservationType
http://terminology.hl7.org/ValueSet/v2-0936

Constraints

IdGradePath(s)DetailsRequirements
dgr-1errorDiagnosticReportWhen 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-2errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDiagnosticReportIf 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-4errorDiagnosticReportIf 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-5errorDiagnosticReportIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDiagnosticReportA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from DiagnosticReport

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
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:requisition S 1..1 string Requisition
URL: https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/requisition
... identifier SΣ 1..1 Identifier Business identifier for report
... status ?!SΣ 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.
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 11502-2
..... display 1..1 string Representation defined by the system
Fixed Value: Laboratory Report
... issued SΣ 1..1 instant DateTime this version was made
... resultsInterpreter SΣ 1..1 Reference(CSIRO STARS Practitioner Profile) Primary result interpreter
... result C 1..* Reference(CSIRO STARS Observation Result Profile) Observations
... conclusion S 0..1 markdown Clinical conclusion (interpretation) of test results

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
DiagnosticReport.statusrequiredDiagnosticReportStatus
http://hl7.org/fhir/ValueSet/diagnostic-report-status|5.0.0
From the FHIR Standard
DiagnosticReport.codepreferredPattern Value: LOINC Code 11502-2("Laboratory Report")
http://hl7.org/fhir/ValueSet/report-codes
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dgr-1errorDiagnosticReportWhen 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-2errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDiagnosticReportIf 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-4errorDiagnosticReportIf 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-5errorDiagnosticReportIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDiagnosticReportA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust 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
... implicitRules 0..0
... language 0..0
... contained 0..0
.... extension:requisition S 1..1 string Requisition
URL: https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/requisition
... modifierExtension 0..0
... identifier S 1..1 Identifier Business identifier for report
... status S 1..1 code registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown
... category 0..0
... code 1..1 CodeableConcept Name/Code for this diagnostic report
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 11502-2
..... display 1..1 string Representation defined by the system
Fixed Value: Laboratory Report
... subject 0..0
... encounter 0..0
... effective[x] 0..0
... issued S 1..1 instant DateTime this version was made
... performer 0..0
... resultsInterpreter S 1..1 Reference(CSIRO STARS Practitioner Profile) Primary result interpreter
... result 1..* Reference(CSIRO STARS Observation Result Profile) Observations
... study 0..0
... conclusion S 0..1 markdown Clinical conclusion (interpretation) of test results
... conclusionCode 0..0
... presentedForm 0..0

doco Documentation for this format

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
... text 0..1 Narrative Text summary of the resource, for human interpretation
.... extension:requisition S 1..1 string Requisition
URL: https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/requisition
... identifier SΣ 1..1 Identifier Business identifier for report
... basedOn 0..* Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) What was requested
... status ?!SΣ 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.
... code Σ 1..1 CodeableConcept Name/Code for this diagnostic report
Binding: LOINCDiagnosticReportCodes (preferred): LOINC Codes for Diagnostic Reports
Required Pattern: At least the following
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
..... version 0..1 string Version of the system - if relevant
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 11502-2
..... display 1..1 string Representation defined by the system
Fixed Value: Laboratory Report
..... userSelected 0..1 boolean If this coding was chosen directly by the user
.... text 0..1 string Plain text representation of the concept
... issued SΣ 1..1 instant DateTime this version was made
... resultsInterpreter SΣ 1..1 Reference(CSIRO STARS Practitioner Profile) Primary result interpreter
... specimen 0..* Reference(Specimen) Specimens this report is based on
... result C 1..* Reference(CSIRO STARS Observation Result Profile) Observations
... note 0..* Annotation Comments about 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
... media Σ 0..* BackboneElement Key images or data associated with this 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
.... comment 0..1 string Comment about the image or data (e.g. explanation)
.... link Σ 1..1 Reference(DocumentReference) Reference to the image or data source
... composition C 0..1 Reference(Composition) Reference to a Composition resource for the DiagnosticReport structure
... conclusion S 0..1 markdown Clinical conclusion (interpretation) of test results

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
DiagnosticReport.statusrequiredDiagnosticReportStatus
http://hl7.org/fhir/ValueSet/diagnostic-report-status|5.0.0
From the FHIR Standard
DiagnosticReport.codepreferredPattern Value: LOINC Code 11502-2("Laboratory Report")
http://hl7.org/fhir/ValueSet/report-codes
From the FHIR Standard
DiagnosticReport.supportingInfo.typeexampleHl7VSVSObservationType
http://terminology.hl7.org/ValueSet/v2-0936

Constraints

IdGradePath(s)DetailsRequirements
dgr-1errorDiagnosticReportWhen 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-2errorDiagnosticReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorDiagnosticReportIf 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-4errorDiagnosticReportIf 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-5errorDiagnosticReportIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceDiagnosticReportA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from DiagnosticReport

 

Other representations of profile: CSV, Excel, Schematron