<?xml version="1.0" encoding="UTF-8"?>

<Composition xmlns="http://hl7.org/fhir">
  <id value="ImagingReportReplacementComposition"/>
  <meta>
    <profile value="http://hl7.eu/fhir/imaging/StructureDefinition/CompositionEuImaging"/>
  </meta>
  <language value="en"/>
  <text>
    <status value="generated"/><div xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"><p>Replacement imaging report.</p></div>
  </text>
  <identifier>
    <system value="https://example.org/imaging-report-identifiers"/>
    <value value="report-replacement-example"/>
  </identifier>
  <status value="final"/>
  <type>
    <coding>
      <system value="http://loinc.org"/>
      <code value="18748-4"/>
      <display value="Diagnostic imaging study"/>
    </coding>
  </type>
  <category>
    <coding>
      <system value="http://loinc.org"/>
      <code value="85430-7"/>
    </coding>
  </category>
  <category>
    <coding>
      <system value="http://hl7.eu/fhir/health-data-api/CodeSystem/eehrxf-document-priority-category-cs"/>
      <code value="Medical-Imaging"/>
    </coding>
  </category>
  <subject>
    <reference value="Patient/PatientStructuredReport"/>
  </subject>
  <date value="2026-07-27T10:00:00Z"/>
  <author>
    <reference value="Organization/OrganizationStructuredReport"/>
  </author>
  <title value="Replacement imaging report"/>
  <relatesTo>
    <code value="replaces"/>
    <targetIdentifier>
      <system value="https://example.org/imaging-document-identifiers"/>
      <value value="prior-document"/>
    </targetIdentifier>
  </relatesTo>
  <section>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="18726-0"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Imaging study information</div>
    </text>
    <entry>
      <reference value="ImagingStudy/ImagingStudyStructuredReport"/>
    </entry>
  </section>
  <section>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="55115-0"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Order information</div>
    </text>
    <emptyReason>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/list-empty-reason"/>
        <code value="nilknown"/>
        <display value="Nil Known"/>
      </coding>
    </emptyReason>
  </section>
  <section>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="11329-0"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">History information</div>
    </text>
    <emptyReason>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/list-empty-reason"/>
        <code value="nilknown"/>
        <display value="Nil Known"/>
      </coding>
    </emptyReason>
  </section>
  <section>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="55111-9"/>
      </coding>
    </code>
    <text>
      <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Procedure information</div>
    </text>
    <emptyReason>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/list-empty-reason"/>
        <code value="nilknown"/>
        <display value="Nil Known"/>
      </coding>
    </emptyReason>
  </section>
</Composition>