<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-research-Study" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR Study Profile</b>
      </p>
      <p>A clinical trial or similar research study. Reference: list of FDA data elements describing a research study: prsinfo.clinicaltrials.gov/definitions.html</p>
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.research.Study maps to ResearchStudy:
  Title maps to title
  Identifier maps to identifier
  PartOf maps to partOf
  Status maps to status
  Enrollment maps to enrollment
  EffectiveTimePeriod maps to period
  Sponsor maps to sponsor
  Jurisdiction maps to jurisdiction
  ContactDetail maps to contact
  PrincipalInvestigator maps to principalInvestigator
  Facility maps to site
  TerminationReason maps to reasonStopped
  Annotation maps to note
  StudyArm.Title maps to arm.name
  StudyArm.Type maps to arm.code
  StudyArm.Details maps to arm.description
</pre>
      </p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-research-Study" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.research.Study" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR Study Profile" />
  <status value="draft" />
  <date value="2017-12-20" />
  <publisher value="The MITRE Corporation: Standard Health Record Collaborative" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://standardhealthrecord.org" />
    </telecom>
  </contact>
  <description value="A clinical trial or similar research study. Reference: list of FDA data elements describing a research study: prsinfo.clinicaltrials.gov/definitions.html" />
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </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/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <mapping>
    <identity value="clinicaltrials-gov" />
    <uri value="http://clinicaltrials.gov" />
    <name value="ClinicalTrials.gov Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="ResearchStudy" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/ResearchStudy" />
  <derivation value="constraint" />
  <differential>
    <element id="ResearchStudy:shr-research-Study">
      <path value="ResearchStudy" />
      <short value="SHR Study Profile" />
      <definition value="A clinical trial or similar research study. Reference: list of FDA data elements describing a research study: prsinfo.clinicaltrials.gov/definitions.html" />
    </element>
    <element id="ResearchStudy:shr-research-Study.extension:relatedencounter">
      <path value="ResearchStudy.extension" />
      <sliceName value="relatedencounter" />
      <definition value="If content was generated during a patient encounter, related encounter is the encounter where the information was gained." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension" />
      </type>
    </element>
    <element id="ResearchStudy:shr-research-Study.extension:author">
      <path value="ResearchStudy.extension" />
      <sliceName value="author" />
      <definition value="The person or organization who created the entry and is responsible for (and may certify) the content." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension" />
      </type>
    </element>
    <element id="ResearchStudy:shr-research-Study.extension:informant">
      <path value="ResearchStudy.extension" />
      <sliceName value="informant" />
      <definition value="The person or entity that provided the information in the entry, as distinct from who created the entry, e.g. the subject (patient), medical professional, family member, device or software program." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension" />
      </type>
    </element>
    <element id="ResearchStudy:shr-research-Study.extension:type">
      <path value="ResearchStudy.extension" />
      <sliceName value="type" />
      <definition value="The most specific code (lowest level term) describing the kind or sort of thing being represented." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension" />
      </type>
    </element>
    <element id="ResearchStudy:shr-research-Study.extension:details">
      <path value="ResearchStudy.extension" />
      <sliceName value="details" />
      <definition value="An text note containing additional details, explanation, description, comment, or summarization. Details can discuss, support, explain changes to, or dispute information." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" />
      </type>
    </element>
    <element id="ResearchStudy:shr-research-Study.identifier">
      <path value="ResearchStudy.identifier" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Identifier" />
      </type>
    </element>
    <element id="ResearchStudy:shr-research-Study.title">
      <path value="ResearchStudy.title" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="ResearchStudy:shr-research-Study.partOf">
      <path value="ResearchStudy.partOf" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-research-Study" />
      </type>
    </element>
    <element id="ResearchStudy:shr-research-Study.contact">
      <path value="ResearchStudy.contact" />
      <type>
        <code value="ContactDetail" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-ContactDetail" />
      </type>
    </element>
    <element id="ResearchStudy:shr-research-Study.jurisdiction">
      <path value="ResearchStudy.jurisdiction" />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="ResearchStudy:shr-research-Study.enrollment">
      <path value="ResearchStudy.enrollment" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Group" />
      </type>
    </element>
    <element id="ResearchStudy:shr-research-Study.sponsor">
      <path value="ResearchStudy.sponsor" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization" />
      </type>
    </element>
    <element id="ResearchStudy:shr-research-Study.principalInvestigator">
      <path value="ResearchStudy.principalInvestigator" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Practitioner" />
      </type>
    </element>
    <element id="ResearchStudy:shr-research-Study.site">
      <path value="ResearchStudy.site" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Facility" />
      </type>
    </element>
    <element id="ResearchStudy:shr-research-Study.note">
      <path value="ResearchStudy.note" />
      <type>
        <code value="Annotation" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Annotation" />
      </type>
    </element>
    <element id="ResearchStudy:shr-research-Study.arm">
      <path value="ResearchStudy.arm" />
    </element>
    <element id="ResearchStudy:shr-research-Study.arm.code">
      <path value="ResearchStudy.arm.code" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://standardhealthrecord.org/shr/research/vs/StudyArmTypeVS" />
        </valueSetReference>
      </binding>
    </element>
  </differential>
</StructureDefinition>