<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="SHCInformationstextLogical" />
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
    <valueCode value="can-be-target" />
  </extension>
  <url value="http://electronichealth.se/fhir/shc/StructureDefinition/SHCInformationstextLogical" />
  <name value="SHCInformationstextLogical" />
  <title value="Informationstext" />
  <status value="draft" />
  <description value="Klassen Informationstext håller information om vilken statisk information som visas i intygsformuläret." />
  <fhirVersion value="5.0.0" />
  <mapping>
    <identity value="InformationstextToSHCQuestionnaire.item.informationText" />
    <uri value="SHCQuestionnaire.item.informationText" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="http://electronichealth.se/fhir/shc/StructureDefinition/SHCInformationstextLogical" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base" />
  <derivation value="specialization" />
  <differential>
    <element id="SHCInformationstextLogical">
      <path value="SHCInformationstextLogical" />
      <short value="Informationstext" />
      <definition value="Klassen Informationstext håller information om vilken statisk information som visas i intygsformuläret." />
    </element>
    <element id="SHCInformationstextLogical.lankId">
      <path value="SHCInformationstextLogical.lankId" />
      <short value="länkId" />
      <definition value="unikt ID för informtionstext i intygsformulär som möjliggör länkning till motsvarande objekt i en QuestionnaireResponse-resurs" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="InformationstextToSHCQuestionnaire.item.informationText" />
        <map value="(SHCQuestionnaire)item[informationText].linkId" />
      </mapping>
    </element>
    <element id="SHCInformationstextLogical.definition">
      <path value="SHCInformationstextLogical.definition" />
      <short value="definition" />
      <definition value="information om objektet som ger spårbarhet till en gemensam definition" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
      <mapping>
        <identity value="InformationstextToSHCQuestionnaire.item.informationText" />
        <map value="(SHCQuestionnaire)item[informationText].definition" />
      </mapping>
    </element>
    <element id="SHCInformationstextLogical.kod">
      <path value="SHCInformationstextLogical.kod" />
      <short value="kod" />
      <definition value="kod för motsvarande begrepp i en terminologi" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
      <mapping>
        <identity value="InformationstextToSHCQuestionnaire.item.informationText" />
        <map value="" />
      </mapping>
    </element>
    <element id="SHCInformationstextLogical.prefix">
      <path value="SHCInformationstextLogical.prefix" />
      <short value="prefix" />
      <definition value="kort etikett för en fråga i intygsformuläret som används som referens vid ifyllandet av formuläret" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="InformationstextToSHCQuestionnaire.item.informationText" />
        <map value="(SHCQuestionnaire)item[informationText].prefix" />
      </mapping>
    </element>
    <element id="SHCInformationstextLogical.typ">
      <path value="SHCInformationstextLogical.typ" />
      <short value="typ" />
      <definition value="kod för typ av format för frågans svar (sträng, heltal, kodning osv.)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
      <mapping>
        <identity value="InformationstextToSHCQuestionnaire.item.informationText" />
        <map value="(SHCQuestionnaire)item[informationText].type" />
      </mapping>
    </element>
    <element id="SHCInformationstextLogical.obligatorisk">
      <path value="SHCInformationstextLogical.obligatorisk" />
      <short value="obligatorisk" />
      <definition value="om objektet måste ingå i intyget" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
      <mapping>
        <identity value="InformationstextToSHCQuestionnaire.item.informationText" />
        <map value="(SHCQuestionnaire)item[informationText].required" />
      </mapping>
    </element>
    <element id="SHCInformationstextLogical.utformning">
      <path value="SHCInformationstextLogical.utformning" />
      <short value="utformning" />
      <definition value="kod för grafisk utformning av denna informationstext" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
      <mapping>
        <identity value="InformationstextToSHCQuestionnaire.item.informationText" />
        <map value="(SHCQuestionnaire)item[informationText].extension[itemControl]" />
      </mapping>
    </element>
    <element id="SHCInformationstextLogical.text">
      <path value="SHCInformationstextLogical.text" />
      <short value="text" />
      <definition value="text som visas för användaren" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="InformationstextToSHCQuestionnaire.item.informationText" />
        <map value="(SHCQuestionnaire)item[informationText].text" />
      </mapping>
    </element>
    <element id="SHCInformationstextLogical.visasUnderVillkor">
      <path value="SHCInformationstextLogical.visasUnderVillkor" />
      <short value="Visas under villkor" />
      <definition value="Visas under villkor" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://electronichealth.se/fhir/shc/StructureDefinition/SHCVisasNarLogical" />
      </type>
      <mapping>
        <identity value="InformationstextToSHCQuestionnaire.item.informationText" />
        <map value="SHCQuestionnaire.item[informationText].enableWhen" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>