<PlanDefinition xmlns="http://hl7.org/fhir">
  <id value="crane-cccn-definition-activity-follow-up" />
  <meta>
    <profile value="http://crane4health.eu/fhir/StructureDefinition/crane-cccn-pathway-activity" />
  </meta>
  <url value="http://crane4health.eu/fhir/PlanDefinition/crane-cccn-definition-activity-follow-up" />
  <version value="1.0.0-alpha" />
  <name value="CraNE_CCCN_Pathway_Activity_Follow-Up_Definition" />
  <title value="Follow-Up" />
  <type>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/plan-definition-type" />
      <code value="eca-rule" />
    </coding>
  </type>
  <status value="draft" />
  <date value="2024-08-31" />
  <publisher value="CraNE Joint Action" />
  <contact>
    <name value="CraNE Joint Action" />
    <telecom>
      <system value="url" />
      <value value="https://crane4health.eu" />
    </telecom>
  </contact>
  <contact>
    <name value="Research Group Digital Health, TUD University of Technology" />
    <telecom>
      <system value="url" />
      <value value="https://tu-dresden.de/bu/wirtschaft/winf/digital-health" />
    </telecom>
    <telecom>
      <system value="email" />
      <value value="marcel.susky@tu-dresden.de" />
    </telecom>
    <telecom>
      <system value="email" />
      <value value="peggy.richter@tu-dresden.de" />
    </telecom>
  </contact>
  <description value="CraNE Comprehensive Cancer Care Network Pathway Activity Follow-Up Definition" />
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm" />
      <code value="150" />
    </coding>
  </jurisdiction>
  <copyright value="2024+" />
  <action id="eol-supportive-care">
    <title value="End-of-life Care/ Supportive Care" />
    <description value="End-of-life Care/ Supportive Care" />
    <code>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="362964009" />
        <display value="Palliative procedure (procedure)" />
      </coding>
    </code>
    <condition>
      <kind value="start" />
      <expression>
        <description value="Conduct End-of-life (EOLC) or Best Supportive Care (BSC)? [Yes]" />
        <language value="text/cql" />
        <expression value="No Follow-Up" />
      </expression>
    </condition>
  </action>
  <action id="follow-up-planning">
    <title value="Follow-Up Planning" />
    <description value="Follow-Up Planning" />
    <code>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="713603004" />
        <display value="Advance care planning (procedure)" />
      </coding>
    </code>
    <condition>
      <kind value="start" />
      <expression>
        <description value="Conduct End-of-life (EOLC) or Best Supportive Care (BSC)? [No]" />
        <language value="text/cql" />
        <expression value="Plan Follow-Up" />
      </expression>
    </condition>
    <relatedAction>
      <actionId value="follow-up-care" />
      <relationship value="before-start" />
    </relatedAction>
  </action>
  <action id="follow-up-care">
    <title value="Follow-Up Care, Surveillance" />
    <description value="Follow-Up Care, Surveillance" />
    <code>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="225418004" />
        <display value="Surveillance of condition (regime/therapy)" />
      </coding>
    </code>
    <condition>
      <kind value="stop" />
      <expression>
        <description value="End of follow-up according to follow-up timeframes" />
        <language value="text/cql" />
        <expression value="Planned End of Follow-Up" />
      </expression>
    </condition>
    <condition>
      <kind value="stop" />
      <expression>
        <description value="Suspicion of secondary metastases or recurrence" />
        <language value="text/cql" />
        <expression value="Local or Distant Recurrence Suspicion" />
      </expression>
    </condition>
    <relatedAction>
      <actionId value="follow-up-end" />
      <relationship value="before-start" />
    </relatedAction>
    <cardinalityBehavior value="multiple" />
  </action>
  <action id="follow-up-end">
    <title value="End of Follow-Up Consultation" />
    <description value="End of Follow-Up Consultation" />
    <code>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="281036007" />
        <display value="Follow-up consultation (procedure)" />
      </coding>
    </code>
    <trigger>
      <type value="named-event" />
      <name value="End of Follow-Up Accorting to Follow-Up Treatment" />
    </trigger>
    <relatedAction>
      <actionId value="follow-up-care" />
      <relationship value="after-end" />
    </relatedAction>
  </action>
</PlanDefinition>