IDEA4RC FHIR Implementation Guide
0.1.0 - CI Build 150

IDEA4RC FHIR Implementation Guide, published by IDEA4RC Project. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-eu/idea4rc/ and changes regularly. See the Directory of published versions

Logical Model: EpisodeEventI4rc - XML Profile

Draft as of 2024-11-12

XML representation of the EpisodeEvent logical model.

Raw xml | Download


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="EpisodeEvent"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition EpisodeEvent</b></p><a name="EpisodeEvent"> </a><a name="hcEpisodeEvent"> </a><a name="EpisodeEvent-en-US"> </a><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><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 style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><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 style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><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 style="width: 100px" class="hierarchy"><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 style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><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 style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><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-EpisodeEvent-definitions.html#EpisodeEvent" title="Episode Event">EpisodeEvent</a><a name="EpisodeEvent"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://build.fhir.org/types.html#Base">Base</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Episode Event<br/><span style="font-weight:bold">Instances of this logical model are not marked to be the target of a Reference</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-EpisodeEvent-definitions.html#EpisodeEvent.cancerEpisode" title="CancerEpisode element containing the data regarding the patient's cancer">cancerEpisode</a><a name="EpisodeEvent.cancerEpisode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element has obligations">O</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-CancerEpisode.html">CancerEpisode</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Cancer Episode Reference<table class="grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<span title="obligation: handle">handle</span></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-actor-headneck-i4rc.html"/></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<span title="obligation: handle">handle</span></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-actor-sarcoma-i4rc.html"/></td></tr></table></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><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"/> <a href="StructureDefinition-EpisodeEvent-definitions.html#EpisodeEvent.eventType" title="Type of event registered">eventType</a><a name="EpisodeEvent.eventType"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element has obligations">O</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Event type<table class="grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<span title="obligation: handle">handle</span></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-actor-headneck-i4rc.html"/></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<span title="obligation: handle">handle</span></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-actor-sarcoma-i4rc.html"/></td></tr></table></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><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"/> <a href="StructureDefinition-EpisodeEvent-definitions.html#EpisodeEvent.definedAt" title="Whether or not the progression/recurrnce or persistent disease  was performed at the registering hospital or another hospital.">definedAt</a><a name="EpisodeEvent.definedAt"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element has obligations">O</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Defined At<table class="grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<span title="obligation: handle">handle</span></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-actor-headneck-i4rc.html"/></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<span title="obligation: handle">handle</span></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-actor-sarcoma-i4rc.html"/></td></tr></table></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)" class="hierarchy"><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: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EpisodeEvent-definitions.html#EpisodeEvent.dateOfEpisode" title="Start date of progression/recurrence or persistent disease">dateOfEpisode</a><a name="EpisodeEvent.dateOfEpisode"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element has obligations">O</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#date">date</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Date of episode<table class="grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<span title="obligation: handle">handle</span></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-actor-headneck-i4rc.html"/></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<span title="obligation: handle">handle</span></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-actor-sarcoma-i4rc.html"/></td></tr></table></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>
  <url
       value="http://hl7.eu/fhir/ig/idea4rc/StructureDefinition/EpisodeEvent"/>
  <version value="0.1.0"/>
  <name value="EpisodeEventI4rc"/>
  <title value="Episode Event"/>
  <status value="draft"/>
  <date value="2024-11-12T10:15:38+00:00"/>
  <publisher value="IDEA4RC Project"/>
  <contact>
    <name value="IDEA4RC Project"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.idea4rc.eu/"/>
    </telecom>
  </contact>
  <contact>
    <name value="IDEA4RC Project"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.idea4rc.eu/"/>
    </telecom>
  </contact>
  <description value="Episode Event"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="150"/>
      <display value="Europe"/>
    </coding>
  </jurisdiction>
  <fhirVersion value="4.0.1"/>
  <kind value="logical"/>
  <abstract value="false"/>
  <type
        value="http://hl7.eu/fhir/ig/idea4rc/StructureDefinition/EpisodeEvent"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="EpisodeEvent">
      <path value="EpisodeEvent"/>
      <short value="Episode Event"/>
      <definition value="Episode Event"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
    </element>
    <element id="EpisodeEvent.cancerEpisode">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-headneck-i4rc"/>
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-sarcoma-i4rc"/>
        </extension>
      </extension>
      <path value="EpisodeEvent.cancerEpisode"/>
      <short value="Cancer Episode Reference"/>
      <definition
                  value="CancerEpisode element containing the data regarding the patient's cancer"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EpisodeEvent.cancerEpisode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.eu/fhir/ig/idea4rc/StructureDefinition/CancerEpisode"/>
      </type>
    </element>
    <element id="EpisodeEvent.eventType">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-headneck-i4rc"/>
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-sarcoma-i4rc"/>
        </extension>
      </extension>
      <path value="EpisodeEvent.eventType"/>
      <short value="Event type"/>
      <definition value="Type of event registered"/>
      <comment
               value="Baseline; Progression; Recurrence; Persistent disease
First episode -  4113134
Progression - 4168352
Recurrence - 4097297
Stable disease - 32948"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EpisodeEvent.eventType"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EpisodeEvent.definedAt">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-headneck-i4rc"/>
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-sarcoma-i4rc"/>
        </extension>
      </extension>
      <path value="EpisodeEvent.definedAt"/>
      <short value="Defined At"/>
      <definition
                  value="Whether or not the progression/recurrnce or persistent disease  was performed at the registering hospital or another hospital."/>
      <comment value="the hospital; a different hospital
Custom"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EpisodeEvent.definedAt"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EpisodeEvent.dateOfEpisode">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-headneck-i4rc"/>
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-sarcoma-i4rc"/>
        </extension>
      </extension>
      <path value="EpisodeEvent.dateOfEpisode"/>
      <short value="Date of episode"/>
      <definition
                  value="Start date of progression/recurrence or persistent disease"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EpisodeEvent.dateOfEpisode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="EpisodeEvent">
      <path value="EpisodeEvent"/>
      <short value="Episode Event"/>
      <definition value="Episode Event"/>
    </element>
    <element id="EpisodeEvent.cancerEpisode">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-headneck-i4rc"/>
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-sarcoma-i4rc"/>
        </extension>
      </extension>
      <path value="EpisodeEvent.cancerEpisode"/>
      <short value="Cancer Episode Reference"/>
      <definition
                  value="CancerEpisode element containing the data regarding the patient's cancer"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.eu/fhir/ig/idea4rc/StructureDefinition/CancerEpisode"/>
      </type>
    </element>
    <element id="EpisodeEvent.eventType">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-headneck-i4rc"/>
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-sarcoma-i4rc"/>
        </extension>
      </extension>
      <path value="EpisodeEvent.eventType"/>
      <short value="Event type"/>
      <definition value="Type of event registered"/>
      <comment
               value="Baseline; Progression; Recurrence; Persistent disease
First episode -  4113134
Progression - 4168352
Recurrence - 4097297
Stable disease - 32948"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EpisodeEvent.definedAt">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-headneck-i4rc"/>
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-sarcoma-i4rc"/>
        </extension>
      </extension>
      <path value="EpisodeEvent.definedAt"/>
      <short value="Defined At"/>
      <definition
                  value="Whether or not the progression/recurrnce or persistent disease  was performed at the registering hospital or another hospital."/>
      <comment value="the hospital; a different hospital
Custom"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
    </element>
    <element id="EpisodeEvent.dateOfEpisode">
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-headneck-i4rc"/>
        </extension>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
        <extension url="code">
          <valueCode value="SHALL:handle"/>
        </extension>
        <extension url="actor">
          <valueCanonical
                          value="http://hl7.eu/fhir/ig/idea4rc/actor-sarcoma-i4rc"/>
        </extension>
      </extension>
      <path value="EpisodeEvent.dateOfEpisode"/>
      <short value="Date of episode"/>
      <definition
                  value="Start date of progression/recurrence or persistent disease"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="date"/>
      </type>
    </element>
  </differential>
</StructureDefinition>