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

<Observation xmlns="http://hl7.org/fhir">
  <id value="RadiotherapyDoseObservationExample"/>
  <meta>
    <profile value="https://nshr-uat.sha.go.ke/fhir/StructureDefinition/nccp-radiotherapy-dose-observation"/>
  </meta>
  <language value="en"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p>End-of-treatment dose summary: 50 Gy total dose, 25 fractions × 2 Gy, PTV whole breast</p></div>
  </text>
  <extension url="https://nshr-uat.sha.go.ke/fhir/StructureDefinition/nccp-rt-target-volume-extension">
    <valueCode value="PTV"/>
  </extension>
  <status value="final"/>
  <code>
    <coding>
      <system value="https://nshr-uat.sha.go.ke/fhir/CodeSystem/sha-interventions-cs"/>
      <code value="SHA-RT-ADJUVANT"/>
      <display value="SHA: Radiotherapy — Adjuvant"/>
    </coding>
  </code>
  <subject>
    <reference value="Patient/example-patient"/>
  </subject>
  <focus>
    <reference value="Condition/example-condition"/>
  </focus>
  <effectiveDateTime value="2026-03-14"/>
  <performer>
    <reference value="Practitioner/example-radiation-therapist"/>
  </performer>
  <valueQuantity>
    <value value="50"/>
    <unit value="Gy"/>
    <system value="http://unitsofmeasure.org"/>
    <code value="Gy"/>
  </valueQuantity>
  <component>
    <code>
      <coding>
        <system value="https://nshr-uat.sha.go.ke/fhir/CodeSystem/sha-interventions-cs"/>
        <code value="SHA-RT-DOSE-PER-FRACTION"/>
        <display value="SHA: RT Dose Per Fraction"/>
      </coding>
    </code>
    <valueQuantity>
      <value value="2"/>
      <unit value="Gy"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="Gy"/>
    </valueQuantity>
  </component>
  <component>
    <code>
      <coding>
        <system value="https://nshr-uat.sha.go.ke/fhir/CodeSystem/sha-interventions-cs"/>
        <code value="SHA-RT-TOTAL-FRACTIONS"/>
        <display value="SHA: RT Total Fractions Delivered"/>
      </coding>
    </code>
    <valueInteger value="25"/>
  </component>
</Observation>