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

<Observation xmlns="http://hl7.org/fhir">
  <id value="TNMStagingObservationExample"/>
  <meta>
    <profile value="https://nshr-uat.sha.go.ke/fhir/StructureDefinition/nccp-tnm-staging-observation"/>
  </meta>
  <language value="en"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p>TNM staging observation T2 N1 M0 for a breast cancer patient</p></div>
  </text>
  <status value="final"/>
  <category>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
      <code value="laboratory"/>
      <display value="Laboratory"/>
    </coding>
  </category>
  <code>
    <coding>
      <system value="https://nshr-uat.sha.go.ke/fhir/CodeSystem/sha-interventions-cs"/>
      <code value="SHA-ONCOLOGY-CONSULT"/>
      <display value="SHA: Oncology Consultation"/>
    </coding>
  </code>
  <subject>
    <reference value="Patient/example-patient"/>
  </subject>
  <focus>
    <reference value="Condition/example-condition"/>
  </focus>
  <effectiveDateTime value="2025-11-15"/>
  <performer>
    <reference value="Practitioner/example-practitioner"/>
  </performer>
  <method>
    <coding>
      <system value="https://nshr-uat.sha.go.ke/fhir/CodeSystem/cancer-stage-type-cs"/>
      <code value="CLINICAL-STAGE-TYPE"/>
    </coding>
  </method>
  <component>
    <code>
      <coding>
        <system value="https://nshr-uat.sha.go.ke/fhir/CodeSystem/cancer-stage-type-cs"/>
        <code value="CLINICAL-T"/>
      </coding>
    </code>
    <valueCodeableConcept>
      <coding>
        <system value="https://nshr-uat.sha.go.ke/fhir/CodeSystem/clinical-t-cs"/>
        <code value="T2"/>
        <display value="T2"/>
      </coding>
    </valueCodeableConcept>
  </component>
  <component>
    <code>
      <coding>
        <system value="https://nshr-uat.sha.go.ke/fhir/CodeSystem/cancer-stage-type-cs"/>
        <code value="CLINICAL-N"/>
      </coding>
    </code>
    <valueCodeableConcept>
      <coding>
        <system value="https://nshr-uat.sha.go.ke/fhir/CodeSystem/clinical-n-cs"/>
        <code value="N1"/>
        <display value="N1"/>
      </coding>
    </valueCodeableConcept>
  </component>
  <component>
    <code>
      <coding>
        <system value="https://nshr-uat.sha.go.ke/fhir/CodeSystem/cancer-stage-type-cs"/>
        <code value="CLINICAL-M"/>
      </coding>
    </code>
    <valueCodeableConcept>
      <coding>
        <system value="https://nshr-uat.sha.go.ke/fhir/CodeSystem/clinical-m-cs"/>
        <code value="M0"/>
        <display value="M0"/>
      </coding>
    </valueCodeableConcept>
  </component>
  <component>
    <code>
      <coding>
        <system value="https://nshr-uat.sha.go.ke/fhir/CodeSystem/cancer-stage-type-cs"/>
        <code value="OVERALL-STAGE"/>
      </coding>
    </code>
    <valueCodeableConcept>
      <coding>
        <system value="https://nshr-uat.sha.go.ke/fhir/CodeSystem/cancer-stage-summary-cs"/>
        <code value="STAGE-2"/>
        <display value="Stage 2"/>
      </coding>
    </valueCodeableConcept>
  </component>
</Observation>