<StructureDefinition xmlns="http://hl7.org/fhir">
  <meta>
    <lastUpdated value="2017-06-20T16:12:01.53+01:00" />
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir" />
  </extension>
  <url value="https://purl.org/elab/fhirStructureDefinition/Instrument" />
  <name value="Instrument" />
  <status value="draft" />
  <date value="2017-06-19T14:00:05.5262823+01:00" />
  <description value="References the data collection instrument that was used (i.e. a questionnaire)" />
  <fhirVersion value="3.0.1" />
  <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:implementation">
      <path value="Basic.extension" />
      <sliceName value="implementation" />
      <short value="Instrument Reference" />
      <definition value="Implementation of an data collection instrument, (to be extended if more use cases come forward)." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Questionnaire" />
        <aggregation value="referenced" />
      </type>
    </element>
    <element id="Basic.extension:name">
      <path value="Basic.extension" />
      <sliceName value="name" />
      <short value="Instrument name" />
      <definition value="The name of the instrument." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Attachment" />
        <profile value="https://purl.org/elab/fhirStructureDefinition/Name" />
      </type>
    </element>
    <element id="Basic.extension:specificationFormat">
      <path value="Basic.extension" />
      <sliceName value="specificationFormat" />
      <short value="Instrument specification" />
      <definition value="A description of how the questionnaire/instrument is specified. E.g. is it available as a pdf, is it stored in a machine readable format? This information is intented to be used by the e-Lab team in providing support for describing the questionnaire within the e-lab." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Attachment" />
        <profile value="https://purl.org/elab/fhirStructureDefinition/excel/QuestionnaireSpecificationFormat" />
      </type>
    </element>
    <element id="Basic.extension:instrumentURL">
      <path value="Basic.extension" />
      <sliceName value="instrumentURL" />
      <short value="URL" />
      <definition value="Digital instrument location. If information about the instrument is availble online then this could be a link. If the instrument is a paper questionnaire then it could be scanned, uploaded to the e-Lab and a link added here." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Attachment" />
        <profile value="https://purl.org/elab/fhirStructureDefinition/excel/InstrumentURL" />
      </type>
    </element>
  </differential>
</StructureDefinition>