<StructureDefinition xmlns="http://hl7.org/fhir">
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir" />
  </extension>
  <url value="https://purl.org/elab/fhir/StructureDefinition/DataCollection" />
  <name value="DataCollection" />
  <description value="Holds information about the individual data collections in a sweep" />
  <status value="draft" />
  <date value="2017-06-12T14:26:05.9599527+01:00" />
  <fhirVersion value="3.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Basic" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Basic" />
  <derivation value="constraint" />
  <differential>
    <element>
      <path value="Basic.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Basic.extension:instrument">
      <path value="Basic.extension" />
      <sliceName value="instrument" />
      <short value="Type of instrument used for data collection" />
      <definition value="References the data collection instrument that was used (i.e. a questionnaire) " />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://purl.org/elab/fhir/StructureDefinition/InstrumentRef" />
      </type>
    </element>
    <element id="Basic.extension:studyUnit">
      <path value="Basic.extension" />
      <sliceName value="studyUnit" />
      <short value="A study unit" />
      <definition value="Study unit" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://purl.org/elab/fhir/StructureDefinition/StudyUnitRef" />
      </type>
    </element>
    <element id="Basic.extension:collectionEvent">
      <path value="Basic.extension" />
      <sliceName value="collectionEvent" />
      <short value="Data collection event information" />
      <definition value="Holds information about the data collection interaction took place" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://purl.org/elab/fhir/StructureDefinition/CollectionEventRef" />
      </type>
    </element>
    <element id="Basic.extension:label">
      <path value="Basic.extension" />
      <sliceName value="label" />
      <short value="Label/name given to the collection instrument" />
      <definition value="The name of the DataCollection - this is the name of the instrument as it is written on the form in most cases" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://purl.org/elab/fhir/StructureDefinition/Label" />
      </type>
    </element>
  </differential>
</StructureDefinition>