<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="questionnaire-choiceOrientation" />
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1" />
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation" />
  <name value="choiceOrientation" />
  <status value="draft" />
  <date value="2013-07-04" />
  <publisher value="HL7" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.hl7.org" />
    </telecom>
  </contact>
  <description value="Identifies the desired orientation when rendering a list of choices (typically radio-box or check-box lists)." />
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="complex-type" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="Questionnaire.item" />
  <context value="Questionnaire.item.item" />
  <contextInvariant value="type='choice' or type='open-choice'" />
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="horizontal | vertical" />
      <definition value="Identifies the desired orientation when rendering a list of choices (typically radio-box or check-box lists)." />
      <comment value="Systems may choose to wrap answers rather than attempting to display them all in one row or column.  Language conventions may determine the order in which the choices are listed (left-to-right or right-to-left, etc.)." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Extension.extension">
      <path value="Extension.extension" />
      <max value="0" />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation" />
    </element>
    <element id="Extension.valueCode">
      <path value="Extension.valueCode" />
      <type>
        <code value="code" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ChoiceListOrientation" />
        </extension>
        <strength value="required" />
        <description value="Direction in which lists of question options should be displayed" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/choice-list-orientation" />
        </valueSetReference>
      </binding>
    </element>
  </differential>
</StructureDefinition>