<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="CASIDE-EndocrineTherapy" />
  <meta>
    <lastUpdated value="2021-07-16T08:44:31.287+00:00" />
  </meta>
  <url value="http://gradiant.org/fhir/StructureDefinition/CASIDEEndocrineTherapy" />
  <version value="1.0" />
  <name value="CASIDEEndocrineTherapy" />
  <title value="Endocrine Therapy Profile" />
  <status value="draft" />
  <publisher value="GRADIANT" />
  <contact>
    <name value="GRADIANT" />
    <telecom>
      <system value="url" />
      <value value="https://www.gradiant.org/" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="A record of a hormone therapy drug that the survivor has taken for the treatment of cancer. Endocrine therapy helps slow or stop the growth of hormone-sensitive tumors. There are two main types of hormone therapy, those that block the body's ability to make hormones, and those that interfere with the effects hormones have on the body." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="MedicationStatement" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/MedicationStatement" />
  <derivation value="constraint" />
  <differential>
    <element id="MedicationStatement.category">
      <path value="MedicationStatement.category" />
      <min value="1" />
      <patternCodeableConcept>
        <coding>
          <system value="http://snomed.info/sct" />
          <code value="169413002" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="MedicationStatement.medication[x]">
      <path value="MedicationStatement.medication[x]" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <patternCodeableConcept>
        <coding>
          <system value="http://snomed.info/sct" />
        </coding>
      </patternCodeableConcept>
      <binding>
        <strength value="example" />
        <valueSet value="http://gradiant.org/fhir/ValueSet/CASIDEEndocrineTherapyDrugsVS" />
      </binding>
    </element>
    <element id="MedicationStatement.subject">
      <path value="MedicationStatement.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://gradiant.org/fhir/StructureDefinition/CASIDECancerSurvivor" />
      </type>
    </element>
    <element id="MedicationStatement.effective[x]">
      <path value="MedicationStatement.effective[x]" />
      <min value="1" />
    </element>
    <element id="MedicationStatement.reasonReference">
      <path value="MedicationStatement.reasonReference" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://gradiant.org/fhir/StructureDefinition/CASIDECancerDisease" />
      </type>
    </element>
  </differential>
</StructureDefinition>