HL7 Europe Common Cancer Model
1.0.0-ballot - ballot 150

HL7 Europe Common Cancer Model, published by HL7 Europe. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-eu/cancer-common/ and changes regularly. See the Directory of published versions

Logical Model: CancerConditionAtDiagnosis - XML Profile

Active as of 2026-10-20

XML representation of the CancerConditionAtDiagnosis logical model.

Raw xml | Download


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="CancerConditionAtDiagnosis"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition CancerConditionAtDiagnosis</b></p><table border="0" cellpadding="0" cellspacing="0" class="xhtTableBorder0"><tr class="xhtRowBorder1"><th scope="col" style="" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th scope="col" style="" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th scope="col" style="" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th scope="col" style="; width: 100px" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th scope="col" style="" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck1.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="" style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-CancerConditionAtDiagnosis-definitions.html#CancerConditionAtDiagnosis" title="Logical model representing the cancer condition at first diagnosis, capturing initial tumour characteristics and the diagnostic context that initiates the cancer journey. Derived from Cancer_Common_Logical_Model_20260521.xlsx (sheet CancerConditionAtDiagnosis).">CancerConditionAtDiagnosis</a><a name="CancerConditionAtDiagnosis"> </a></td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/conformance-rules.html#constraints" title="This element has or is affected by constraints ( ccad-1 )" class="xhtConstraintStyle">C</a></td><td style="" class="hierarchy xhtCellBorder0"><span class="xhtPieceDeEmphasized">0</span><span class="xhtPieceDeEmphasized">..</span><span class="xhtPieceDeEmphasized">*</span></td><td style="" class="hierarchy xhtCellBorder0"><a href="http://build.fhir.org/types.html#Base">Base</a></td><td style="" class="hierarchy xhtCellBorder0">CancerConditionAtDiagnosis<br/><span class="xhtPieceBold">Instances of this type can be the target of a Reference</span><br class="constraint"/><span class="constraint">Constraints: </span><span title="At least one of visitDate, biopsyDate, imagingDate, labReportDate must be present, since the model requires a diagnosis date for the Cancer Condition." class="xhtPieceBold constraint">ccad-1</span></td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">CancerConditionAtDiagnosis.</span><a href="StructureDefinition-CancerConditionAtDiagnosis-definitions.html#CancerConditionAtDiagnosis.subject" title="Reference to the patient (subject) affected by the cancer condition at first diagnosis.">subject</a><a name="CancerConditionAtDiagnosis.subject"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="StructureDefinition-CancerPatient.html">Cancer Patient</a>)</td><td style="" class="hierarchy xhtCellBorder0">Subject</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">CancerConditionAtDiagnosis.</span><a href="StructureDefinition-CancerConditionAtDiagnosis-definitions.html#CancerConditionAtDiagnosis.histologyBehaviour" title="Histology and behaviour of the neoplasm at first diagnosis. Histology describes the tumour cell type (morphology), while behaviour indicates whether the tumour is malignant, benign, carcinoma in situ, or of uncertain/borderline malignancy. This information may be unavailable during early diagnostic workup (e.g., before biopsy results are final) but is expected to be present once the diagnostic workup is completed.">histologyBehaviour</a><a name="CancerConditionAtDiagnosis.histologyBehaviour"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">HistologyBehaviour</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">CancerConditionAtDiagnosis.</span><a href="StructureDefinition-CancerConditionAtDiagnosis-definitions.html#CancerConditionAtDiagnosis.bodySite" title="Primary anatomical site where the cancer condition was first detected.">bodySite</a><a name="CancerConditionAtDiagnosis.bodySite"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">BodySite</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">CancerConditionAtDiagnosis.</span><a href="StructureDefinition-CancerConditionAtDiagnosis-definitions.html#CancerConditionAtDiagnosis.tumourGradeSystem" title="Classification system used to define tumour grade, describing how abnormal tumour cells and tissue appear under microscopic examination (e.g. Gleason for prostate cancer, FNCLCC for soft tissue sarcomas). The grading system provides an indication of the biological aggressiveness of the tumour.">tumourGradeSystem</a><a name="CancerConditionAtDiagnosis.tumourGradeSystem"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">TumourGradeSystem</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">CancerConditionAtDiagnosis.</span><a href="StructureDefinition-CancerConditionAtDiagnosis-definitions.html#CancerConditionAtDiagnosis.tumourGradeValue" title="Grade value assigned according to the selected TumourGradeSystem. The grade reflects the degree of cellular differentiation and biological aggressiveness of the tumour and may evolve over time.">tumourGradeValue</a><a name="CancerConditionAtDiagnosis.tumourGradeValue"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="" class="hierarchy xhtCellBorder0">TumourGradeValue</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">CancerConditionAtDiagnosis.</span><a href="StructureDefinition-CancerConditionAtDiagnosis-definitions.html#CancerConditionAtDiagnosis.visitDate" title="Date of the clinical visit that established the diagnosis (one of the diagnosis dates).">visitDate</a><a name="CancerConditionAtDiagnosis.visitDate"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td style="" class="hierarchy xhtCellBorder0">VisitDate</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">CancerConditionAtDiagnosis.</span><a href="StructureDefinition-CancerConditionAtDiagnosis-definitions.html#CancerConditionAtDiagnosis.biopsyDate" title="Date of the biopsy supporting the diagnosis (one of the diagnosis dates).">biopsyDate</a><a name="CancerConditionAtDiagnosis.biopsyDate"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td style="" class="hierarchy xhtCellBorder0">BiopsyDate</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">CancerConditionAtDiagnosis.</span><a href="StructureDefinition-CancerConditionAtDiagnosis-definitions.html#CancerConditionAtDiagnosis.imagingDate" title="Date of the diagnostic imaging supporting the diagnosis (one of the diagnosis dates).">imagingDate</a><a name="CancerConditionAtDiagnosis.imagingDate"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td style="" class="hierarchy xhtCellBorder0">ImagingDate</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck00.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">CancerConditionAtDiagnosis.</span><a href="StructureDefinition-CancerConditionAtDiagnosis-definitions.html#CancerConditionAtDiagnosis.labReportDate" title="Date of the laboratory report supporting the diagnosis, including biomarkers when applicable.">labReportDate</a><a name="CancerConditionAtDiagnosis.labReportDate"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td style="" class="hierarchy xhtCellBorder0">LabReportDate</td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
    <valueCode value="can-be-target"/>
  </extension>
  <url
       value="http://hl7.eu/fhir/cancer-common/StructureDefinition/CancerConditionAtDiagnosis"/>
  <version value="1.0.0-ballot"/>
  <name value="CancerConditionAtDiagnosis"/>
  <title value="CancerConditionAtDiagnosis"/>
  <status value="active"/>
  <date value="2026-10-20T16:00:15+00:00"/>
  <publisher value="HL7 Europe"/>
  <contact>
    <name value="HL7 Europe"/>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.eu"/>
    </telecom>
  </contact>
  <description
               value="Logical model representing the cancer condition at first diagnosis, capturing initial tumour characteristics and the diagnostic context that initiates the cancer journey. Derived from Cancer_Common_Logical_Model_20260521.xlsx (sheet CancerConditionAtDiagnosis)."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="150"/>
      <display value="Europe"/>
    </coding>
  </jurisdiction>
  <copyright
             value="HL7 Europe Copyright. Licensed under Common Creative License (CC0 1.0). Details at [Copyright](copyright.html)."/>
  <fhirVersion value="4.0.1"/>
  <kind value="logical"/>
  <abstract value="false"/>
  <type
        value="http://hl7.eu/fhir/cancer-common/StructureDefinition/CancerConditionAtDiagnosis"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
  <derivation value="specialization"/>
  <snapshot>
    <extension
               url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
      <valueString value="4.0.1"/>
    </extension>
    <element id="CancerConditionAtDiagnosis">
      <path value="CancerConditionAtDiagnosis"/>
      <short value="CancerConditionAtDiagnosis"/>
      <definition
                  value="Logical model representing the cancer condition at first diagnosis, capturing initial tumour characteristics and the diagnostic context that initiates the cancer journey. Derived from Cancer_Common_Logical_Model_20260521.xlsx (sheet CancerConditionAtDiagnosis)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="ccad-1"/>
        <severity value="error"/>
        <human
               value="At least one of visitDate, biopsyDate, imagingDate, labReportDate must be present, since the model requires a diagnosis date for the Cancer Condition."/>
        <expression
                    value="(visitDate | biopsyDate | imagingDate | labReportDate).exists()"/>
        <source
                value="http://hl7.eu/fhir/cancer-common/StructureDefinition/CancerConditionAtDiagnosis"/>
      </constraint>
      <isModifier value="false"/>
    </element>
    <element id="CancerConditionAtDiagnosis.subject">
      <path value="CancerConditionAtDiagnosis.subject"/>
      <short value="Subject"/>
      <definition
                  value="Reference to the patient (subject) affected by the cancer condition at first diagnosis."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CancerConditionAtDiagnosis.subject"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.eu/fhir/cancer-common/StructureDefinition/CancerPatient"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.histologyBehaviour">
      <path value="CancerConditionAtDiagnosis.histologyBehaviour"/>
      <short value="HistologyBehaviour"/>
      <definition
                  value="Histology and behaviour of the neoplasm at first diagnosis. Histology describes the tumour cell type (morphology), while behaviour indicates whether the tumour is malignant, benign, carcinoma in situ, or of uncertain/borderline malignancy. This information may be unavailable during early diagnostic workup (e.g., before biopsy results are final) but is expected to be present once the diagnostic workup is completed."/>
      <comment
               value="WG recommends ICD03, the WG will monitor possible next versions. This attribute becomes mandatory once the cancer has been diagnosed; however, during the diagnostic workup it may still be absent, as the biopsy resulting from the surgery may not yet be available."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CancerConditionAtDiagnosis.histologyBehaviour"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.bodySite">
      <path value="CancerConditionAtDiagnosis.bodySite"/>
      <short value="BodySite"/>
      <definition
                  value="Primary anatomical site where the cancer condition was first detected."/>
      <comment
               value="WG recommends ICD03, the WG will monitor possible next versions. It is required to choose the most specific code available, meaning the most detailed code in the hierarchical terminology that precisely identifies the body site."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CancerConditionAtDiagnosis.bodySite"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.tumourGradeSystem">
      <path value="CancerConditionAtDiagnosis.tumourGradeSystem"/>
      <short value="TumourGradeSystem"/>
      <definition
                  value="Classification system used to define tumour grade, describing how abnormal tumour cells and tissue appear under microscopic examination (e.g. Gleason for prostate cancer, FNCLCC for soft tissue sarcomas). The grading system provides an indication of the biological aggressiveness of the tumour."/>
      <comment
               value="It represents the classification system used to define the tumour grade, such as Gleason (a grading system for prostate cancer) or FNCLCC (a grading system for soft tissue sarcomas)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CancerConditionAtDiagnosis.tumourGradeSystem"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.tumourGradeValue">
      <path value="CancerConditionAtDiagnosis.tumourGradeValue"/>
      <short value="TumourGradeValue"/>
      <definition
                  value="Grade value assigned according to the selected TumourGradeSystem. The grade reflects the degree of cellular differentiation and biological aggressiveness of the tumour and may evolve over time."/>
      <comment
               value="It represents the measured grade value based on the specific classification defined in the TumourGradeSystem."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CancerConditionAtDiagnosis.tumourGradeValue"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.visitDate">
      <path value="CancerConditionAtDiagnosis.visitDate"/>
      <short value="VisitDate"/>
      <definition
                  value="Date of the clinical visit that established the diagnosis (one of the diagnosis dates)."/>
      <comment
               value="At least one of visitDate, biopsyDate, imagingDate, labReportDate must be present, since the model requires a diagnosis date for the Cancer Condition."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CancerConditionAtDiagnosis.visitDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.biopsyDate">
      <path value="CancerConditionAtDiagnosis.biopsyDate"/>
      <short value="BiopsyDate"/>
      <definition
                  value="Date of the biopsy supporting the diagnosis (one of the diagnosis dates)."/>
      <comment
               value="At least one of visitDate, biopsyDate, imagingDate, labReportDate must be present, since the model requires a diagnosis date for the Cancer Condition."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CancerConditionAtDiagnosis.biopsyDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.imagingDate">
      <path value="CancerConditionAtDiagnosis.imagingDate"/>
      <short value="ImagingDate"/>
      <definition
                  value="Date of the diagnostic imaging supporting the diagnosis (one of the diagnosis dates)."/>
      <comment
               value="At least one of visitDate, biopsyDate, imagingDate, labReportDate must be present, since the model requires a diagnosis date for the Cancer Condition."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CancerConditionAtDiagnosis.imagingDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.labReportDate">
      <path value="CancerConditionAtDiagnosis.labReportDate"/>
      <short value="LabReportDate"/>
      <definition
                  value="Date of the laboratory report supporting the diagnosis, including biomarkers when applicable."/>
      <comment
               value="At least one of visitDate, biopsyDate, imagingDate, labReportDate must be present, since the model requires a diagnosis date for the Cancer Condition."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CancerConditionAtDiagnosis.labReportDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="CancerConditionAtDiagnosis">
      <path value="CancerConditionAtDiagnosis"/>
      <short value="CancerConditionAtDiagnosis"/>
      <definition
                  value="Logical model representing the cancer condition at first diagnosis, capturing initial tumour characteristics and the diagnostic context that initiates the cancer journey. Derived from Cancer_Common_Logical_Model_20260521.xlsx (sheet CancerConditionAtDiagnosis)."/>
      <constraint>
        <key value="ccad-1"/>
        <severity value="error"/>
        <human
               value="At least one of visitDate, biopsyDate, imagingDate, labReportDate must be present, since the model requires a diagnosis date for the Cancer Condition."/>
        <expression
                    value="(visitDate | biopsyDate | imagingDate | labReportDate).exists()"/>
        <source
                value="http://hl7.eu/fhir/cancer-common/StructureDefinition/CancerConditionAtDiagnosis"/>
      </constraint>
    </element>
    <element id="CancerConditionAtDiagnosis.subject">
      <path value="CancerConditionAtDiagnosis.subject"/>
      <short value="Subject"/>
      <definition
                  value="Reference to the patient (subject) affected by the cancer condition at first diagnosis."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.eu/fhir/cancer-common/StructureDefinition/CancerPatient"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.histologyBehaviour">
      <path value="CancerConditionAtDiagnosis.histologyBehaviour"/>
      <short value="HistologyBehaviour"/>
      <definition
                  value="Histology and behaviour of the neoplasm at first diagnosis. Histology describes the tumour cell type (morphology), while behaviour indicates whether the tumour is malignant, benign, carcinoma in situ, or of uncertain/borderline malignancy. This information may be unavailable during early diagnostic workup (e.g., before biopsy results are final) but is expected to be present once the diagnostic workup is completed."/>
      <comment
               value="WG recommends ICD03, the WG will monitor possible next versions. This attribute becomes mandatory once the cancer has been diagnosed; however, during the diagnostic workup it may still be absent, as the biopsy resulting from the surgery may not yet be available."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.bodySite">
      <path value="CancerConditionAtDiagnosis.bodySite"/>
      <short value="BodySite"/>
      <definition
                  value="Primary anatomical site where the cancer condition was first detected."/>
      <comment
               value="WG recommends ICD03, the WG will monitor possible next versions. It is required to choose the most specific code available, meaning the most detailed code in the hierarchical terminology that precisely identifies the body site."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.tumourGradeSystem">
      <path value="CancerConditionAtDiagnosis.tumourGradeSystem"/>
      <short value="TumourGradeSystem"/>
      <definition
                  value="Classification system used to define tumour grade, describing how abnormal tumour cells and tissue appear under microscopic examination (e.g. Gleason for prostate cancer, FNCLCC for soft tissue sarcomas). The grading system provides an indication of the biological aggressiveness of the tumour."/>
      <comment
               value="It represents the classification system used to define the tumour grade, such as Gleason (a grading system for prostate cancer) or FNCLCC (a grading system for soft tissue sarcomas)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.tumourGradeValue">
      <path value="CancerConditionAtDiagnosis.tumourGradeValue"/>
      <short value="TumourGradeValue"/>
      <definition
                  value="Grade value assigned according to the selected TumourGradeSystem. The grade reflects the degree of cellular differentiation and biological aggressiveness of the tumour and may evolve over time."/>
      <comment
               value="It represents the measured grade value based on the specific classification defined in the TumourGradeSystem."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.visitDate">
      <path value="CancerConditionAtDiagnosis.visitDate"/>
      <short value="VisitDate"/>
      <definition
                  value="Date of the clinical visit that established the diagnosis (one of the diagnosis dates)."/>
      <comment
               value="At least one of visitDate, biopsyDate, imagingDate, labReportDate must be present, since the model requires a diagnosis date for the Cancer Condition."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.biopsyDate">
      <path value="CancerConditionAtDiagnosis.biopsyDate"/>
      <short value="BiopsyDate"/>
      <definition
                  value="Date of the biopsy supporting the diagnosis (one of the diagnosis dates)."/>
      <comment
               value="At least one of visitDate, biopsyDate, imagingDate, labReportDate must be present, since the model requires a diagnosis date for the Cancer Condition."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.imagingDate">
      <path value="CancerConditionAtDiagnosis.imagingDate"/>
      <short value="ImagingDate"/>
      <definition
                  value="Date of the diagnostic imaging supporting the diagnosis (one of the diagnosis dates)."/>
      <comment
               value="At least one of visitDate, biopsyDate, imagingDate, labReportDate must be present, since the model requires a diagnosis date for the Cancer Condition."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="CancerConditionAtDiagnosis.labReportDate">
      <path value="CancerConditionAtDiagnosis.labReportDate"/>
      <short value="LabReportDate"/>
      <definition
                  value="Date of the laboratory report supporting the diagnosis, including biomarkers when applicable."/>
      <comment
               value="At least one of visitDate, biopsyDate, imagingDate, labReportDate must be present, since the model requires a diagnosis date for the Cancer Condition."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
  </differential>
</StructureDefinition>