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

<Group xmlns="http://hl7.org/fhir">
  <id value="example-conceptualcohortdefinition-cancer-except-subset"/>
  <meta>
    <versionId value="8"/>
    <lastUpdated value="2025-03-15T20:57:46.493Z"/>
    <profile value="https://hl7.org/fhir/uv/ebm/StructureDefinition/conceptual-cohort-definition"/>
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/artifact-author">
    <valueContactDetail>
      <name value="Brian S. Alper"/>
    </valueContactDetail>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <url value="http://hl7.org/fhir/Group/example-conceptualcohortdefinition-cancer-except-subset"/>
  <name value="ConceptualCohortDefinition: Cancer except subsets"/>
  <status value="active"/>
  <date value="2022-09-09T10:30:50.570Z"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="Cancer of any kind (except basal cell skin cancer or cancer in situ) unless documented to be disease-free for five years"/>
  <copyright value="https://creativecommons.org/licenses/by-nc-sa/4.0/"/>
  <membership value="conceptual"/>
  <combinationMethod value="except-subset"/>
  <characteristic>
    <code>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="64572001"/>
        <display value="Disease (disorder)"/>
      </coding>
      <coding>
        <system value="http://hl7.org/fhir/fhir-types"/>
        <code value="Condition"/>
        <display value="Condition"/>
      </coding>
    </code>
    <valueCodeableConcept>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="363346000"/>
        <display value="Malignant neoplastic disease (disorder)"/>
      </coding>
    </valueCodeableConcept>
    <exclude value="false"/>
    <description value="Cancer of any kind"/>
  </characteristic>
  <characteristic>
    <code>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="64572001"/>
        <display value="Disease (disorder)"/>
      </coding>
      <coding>
        <system value="http://hl7.org/fhir/fhir-types"/>
        <code value="Condition"/>
        <display value="Condition"/>
      </coding>
    </code>
    <valueCodeableConcept>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="254701007"/>
        <display value="Basal cell carcinoma of skin (disorder)"/>
      </coding>
    </valueCodeableConcept>
    <exclude value="true"/>
    <description value="(except basal cell skin cancer)"/>
  </characteristic>
  <characteristic>
    <code>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="64572001"/>
        <display value="Disease (disorder)"/>
      </coding>
      <coding>
        <system value="http://hl7.org/fhir/fhir-types"/>
        <code value="Condition"/>
        <display value="Condition"/>
      </coding>
    </code>
    <valueCodeableConcept>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="109355002"/>
        <display value="Carcinoma in situ (disorder)"/>
      </coding>
    </valueCodeableConcept>
    <exclude value="true"/>
    <description value="(except cancer in situ)"/>
  </characteristic>
  <characteristic>
    <code>
      <text value="Defined by CodeableConcept"/>
    </code>
    <valueCodeableConcept>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="395100000"/>
        <display value="No evidence of cancer found (situation)"/>
      </coding>
    </valueCodeableConcept>
    <exclude value="true"/>
    <description value="unless documented to be disease-free for five years"/>
    <timing>
      <contextCode>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="450332002"/>
          <display value="Assessment of eligibility for clinical trial (procedure)"/>
        </coding>
      </contextCode>
      <offsetRange>
        <low>
          <value value="-5"/>
          <unit value="years"/>
          <system value="http://unitsofmeasure.org"/>
          <code value="a"/>
        </low>
        <high>
          <value value="0"/>
          <unit value="years"/>
          <system value="http://unitsofmeasure.org"/>
          <code value="a"/>
        </high>
      </offsetRange>
      <text value="for five years up until study enrollment"/>
    </timing>
  </characteristic>
</Group>