<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="biobankcy-sd-researchstudy" />
  <url value="http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-researchstudy" />
  <name value="BIOBANKCYSDResearchStudy" />
  <title value="Profile: Research Study (biobank.cy)" />
  <status value="draft" />
  <publisher value="biobank.cy" />
  <contact>
    <name value="Molecular Medicine Research Center (MMRC)" />
    <telecom>
      <system value="email" />
      <value value="biobank@ucy.ac.cy" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Represents every research project that is implemented under the auspices of biobank.cy." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="ResearchStudy" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/ResearchStudy" />
  <derivation value="constraint" />
  <differential>
    <element id="ResearchStudy.contained">
      <path value="ResearchStudy.contained" />
      <comment value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="ResearchStudy.identifier">
      <path value="ResearchStudy.identifier" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="ResearchStudy.identifier.use">
      <path value="ResearchStudy.identifier.use" />
      <min value="1" />
      <fixedCode value="official" />
    </element>
    <element id="ResearchStudy.identifier.value">
      <path value="ResearchStudy.identifier.value" />
      <min value="1" />
    </element>
    <element id="ResearchStudy.identifier.assigner">
      <path value="ResearchStudy.identifier.assigner" />
      <comment value="The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.&#xD;&#xA;&#xD;&#xA;biobank.cy: For biobank.cy research projects reference biobank.cy Organization resource." />
      <mustSupport value="true" />
    </element>
    <element id="ResearchStudy.title">
      <path value="ResearchStudy.title" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="ResearchStudy.protocol">
      <path value="ResearchStudy.protocol" />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="ResearchStudy.partOf">
      <path value="ResearchStudy.partOf" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ResearchStudy" />
        <targetProfile value="http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-researchstudy" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="ResearchStudy.partOf.reference">
      <path value="ResearchStudy.partOf.reference" />
      <min value="1" />
    </element>
    <element id="ResearchStudy.status">
      <path value="ResearchStudy.status" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size&#xD;&#xA;&#xD;&#xA;biobank.cy: Use the following status values: active |  completed | withdrawn" />
      <mustSupport value="true" />
    </element>
    <element id="ResearchStudy.category">
      <path value="ResearchStudy.category" />
      <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="ResearchStudy.focus">
      <path value="ResearchStudy.focus" />
      <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="ResearchStudy.condition">
      <path value="ResearchStudy.condition" />
      <mustSupport value="true" />
    </element>
    <element id="ResearchStudy.contact">
      <path value="ResearchStudy.contact" />
      <mustSupport value="true" />
    </element>
    <element id="ResearchStudy.contact.name">
      <path value="ResearchStudy.contact.name" />
      <mustSupport value="true" />
    </element>
    <element id="ResearchStudy.contact.telecom">
      <path value="ResearchStudy.contact.telecom" />
      <mustSupport value="true" />
    </element>
    <element id="ResearchStudy.relatedArtifact">
      <path value="ResearchStudy.relatedArtifact" />
      <comment value="Each related artifact is either an attachment, or a reference to another knowledge resource, but not both.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="ResearchStudy.keyword">
      <path value="ResearchStudy.keyword" />
      <definition value="Key terms to aid in searching for or filtering the study.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="ResearchStudy.description">
      <path value="ResearchStudy.description" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="ResearchStudy.enrollment">
      <path value="ResearchStudy.enrollment" />
      <comment value="The Group referenced should not generally enumerate specific subjects.  Subjects will be linked to the study using the ResearchSubject resource.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="ResearchStudy.period">
      <path value="ResearchStudy.period" />
      <mustSupport value="true" />
    </element>
    <element id="ResearchStudy.sponsor">
      <path value="ResearchStudy.sponsor" />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="ResearchStudy.principalInvestigator">
      <path value="ResearchStudy.principalInvestigator" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
        <targetProfile value="http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-practitioner" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="ResearchStudy.principalInvestigator.reference">
      <path value="ResearchStudy.principalInvestigator.reference" />
      <min value="1" />
    </element>
    <element id="ResearchStudy.site">
      <path value="ResearchStudy.site" />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="ResearchStudy.reasonStopped">
      <path value="ResearchStudy.reasonStopped" />
      <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="ResearchStudy.note">
      <path value="ResearchStudy.note" />
      <comment value="For systems that do not have structured annotations, they can simply communicate a single annotation with no author or time.  This element may need to be included in narrative because of the potential for modifying information.  *Annotations SHOULD NOT* be used to communicate &quot;modifying&quot; information that could be computable. (This is a SHOULD because enforcing user behavior is nearly impossible).&#xD;&#xA;&#xD;&#xA;Not to be used for biobank.cy" />
    </element>
    <element id="ResearchStudy.arm">
      <path value="ResearchStudy.arm" />
      <comment value="Not to be used for biobank.cy" />
    </element>
    <element id="ResearchStudy.objective">
      <path value="ResearchStudy.objective" />
      <comment value="Not to be used for biobank.cy" />
    </element>
  </differential>
</StructureDefinition>