FHIR DiagnosticReport Resource (R4)

DiagnosticReport groups the findings and interpretation of diagnostic tests: a lab panel, an imaging study report, a pathology report. Element table, search parameters, example JSON and FHIRPath for FHIR R4.

  • FHIR DiagnosticReport Resource (R4) — part of the free FHIR Toolbox library.
  • Runs entirely in your browser: your FHIR data is never uploaded to a server.

Overview

DiagnosticReport groups the findings and interpretation of diagnostic tests: a lab panel, an imaging study report, a pathology report. Individual results are Observations referenced from result; the report adds status, category, issued time, performer, conclusion and optionally a presented form such as a PDF.

Elements

ElementTypeCardinalityDescription
DiagnosticReport.identifierIdentifier0..*Business identifier for report
DiagnosticReport.basedOnReference0..*What was requested
DiagnosticReport.statuscode1..1registered | partial | preliminary | final +
DiagnosticReport.categoryCodeableConcept0..*Service category
DiagnosticReport.codeCodeableConcept1..1Name/Code for this diagnostic report
DiagnosticReport.subjectReference0..1The subject of the report - usually, but not always, the patient
DiagnosticReport.encounterReference0..1Health care event when test ordered
DiagnosticReport.effective[x]dateTime | Period0..1Clinically relevant time/time-period for report
DiagnosticReport.issuedinstant0..1DateTime this version was made
DiagnosticReport.performerReference0..*Responsible Diagnostic Service
DiagnosticReport.resultsInterpreterReference0..*Primary result interpreter
DiagnosticReport.specimenReference0..*Specimens this report is based on
DiagnosticReport.resultReference0..*Observations
DiagnosticReport.imagingStudyReference0..*Reference to full details of imaging associated with the diagnostic report
DiagnosticReport.mediaBackboneElement0..*Key images associated with this report
DiagnosticReport.media.idString0..1Unique id for inter-element referencing
DiagnosticReport.media.extensionExtension0..*Additional content defined by implementations
DiagnosticReport.media.modifierExtensionExtension0..*Extensions that cannot be ignored even if unrecognized
DiagnosticReport.media.commentstring0..1Comment about the image (e.g. explanation)
DiagnosticReport.media.linkReference1..1Reference to the image source
DiagnosticReport.conclusionstring0..1Clinical conclusion (interpretation) of test results
DiagnosticReport.conclusionCodeCodeableConcept0..*Codes for the clinical conclusion of test results
DiagnosticReport.presentedFormAttachment0..*Entire report as issued

Example JSON (R4)

{
  "resourceType": "DiagnosticReport",
  "id": "example",
  "status": "final",
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/v2-0074",
          "code": "LAB"
        }
      ]
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://loinc.org",
        "code": "58410-2",
        "display": "CBC panel - Blood by Automated count"
      }
    ]
  },
  "subject": {
    "reference": "Patient/example"
  },
  "effectiveDateTime": "2024-05-01T09:30:00Z",
  "issued": "2024-05-01T12:00:00Z",
  "result": [
    {
      "reference": "Observation/hemoglobin"
    },
    {
      "reference": "Observation/wbc"
    }
  ],
  "conclusion": "Results within normal limits."
}

FHIRPath

  • DiagnosticReport.result.reference — References to the result Observations
  • DiagnosticReport.code.coding.code — Report code
  • DiagnosticReport.conclusion — Narrative conclusion

Common validation errors

  • Embedding result values in the report. Results are Observations; DiagnosticReport.result only references them.
  • Omitting status or code, both required.
  • Sending issued as a date only. It is an instant and needs a time and timezone.
  • Referencing Observations that are not in the same Bundle or not resolvable by the receiver.

FHIR Toolbox is a free, privacy-first collection of HL7 FHIR utilities by Omindra Labs. Every tool performs zero-server processing — your health data never leaves your device.