<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="71ce8049-a3f6-48d6-a37d-bdfa5132aeac" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2021-08-31T17:28:29.278+00:00" />
    <tag>
      <system value="https://smilecdr.com/fhir/NamingSystem/tags" />
      <code value="validation_failed_with_warning" />
      <display value="Validation Failed with Warning" />
    </tag>
  </meta>
  <url value="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer" />
  <version value="2.8.0" />
  <name value="PreferredTerminologyServer" />
  <title value="Preferred terminology server" />
  <status value="active" />
  <experimental value="false" />
  <date value="2014-04-21" />
  <publisher value="HL7 International - FHIR Infrastructure Work Group" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/Special/committees/fiwg" />
    </telecom>
  </contact>
  <description value="Indicates the terminology server(s) that are known to be capable of returning and potentially expanding the value set(s) associated with the whole questionnaire or a particular group or question within the questionnaire (depending on where the extension appears).  If a full URL is not provided AND the requested query is a terminology operation (e.g. $lookup or $expand) the client SHOULD execute the operation against the preferredTerminologyServer rather than the local repository." />
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm" />
      <code value="001" />
    </coding>
  </jurisdiction>
  <purpose value="Not all terminology servers will necessarily have access to the codes.  If a questionnaire points to value sets, the rendering engine needs to know where to get a current expansion." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="complex-type" />
  <abstract value="false" />
  <context>
    <type value="element" />
    <expression value="Questionnaire" />
  </context>
  <context>
    <type value="element" />
    <expression value="Questionnaire.item" />
  </context>
  <context>
    <type value="element" />
    <expression value="Questionnaire.item.item" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="Preferred terminology server" />
      <definition value="Indicates the terminology server(s) that are known to be capable of returning and potentially expanding the value set(s) associated with the whole questionnaire or a particular group or question within the questionnaire (depending on where the extension appears).  If a full URL is not provided AND the requested query is a terminology operation (e.g. $lookup or $expand) the client SHOULD execute the operation against the preferredTerminologyServer rather than the local repository." />
      <comment value="This includes those referenced by answerValueSet as well as the unitValueSet extension." />
      <min value="0" />
      <max value="*" />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <type>
        <code value="url" />
      </type>
    </element>
  </differential>
</StructureDefinition>