<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://electronichealth.se/fhir/StructureDefinition/NLLCodeSystem" />
  <name value="NLLCodeSystem" />
  <status value="draft" />
  <fhirVersion value="4.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="CodeSystem" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/CodeSystem" />
  <derivation value="constraint" />
  <differential>
    <element id="CodeSystem.url">
      <path value="CodeSystem.url" />
      <mustSupport value="true" />
    </element>
    <element id="CodeSystem.version">
      <path value="CodeSystem.version" />
      <mustSupport value="true" />
    </element>
    <element id="CodeSystem.title">
      <path value="CodeSystem.title" />
      <mustSupport value="true" />
    </element>
    <element id="CodeSystem.status">
      <path value="CodeSystem.status" />
      <mustSupport value="true" />
    </element>
    <element id="CodeSystem.date">
      <path value="CodeSystem.date" />
      <mustSupport value="true" />
    </element>
    <element id="CodeSystem.publisher">
      <path value="CodeSystem.publisher" />
      <mustSupport value="true" />
    </element>
    <element id="CodeSystem.description">
      <path value="CodeSystem.description" />
      <mustSupport value="true" />
    </element>
    <element id="CodeSystem.copyright">
      <path value="CodeSystem.copyright" />
      <comment value="Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/&#xD;&#xA; Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required.&#xD;&#xA; Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required.&#xD;&#xA; Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required." />
    </element>
    <element id="CodeSystem.concept">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="ConceptDefinition" />
      </extension>
      <path value="CodeSystem.concept" />
      <mustSupport value="true" />
    </element>
    <element id="CodeSystem.concept.code">
      <path value="CodeSystem.concept.code" />
      <mustSupport value="true" />
    </element>
    <element id="CodeSystem.concept.display">
      <path value="CodeSystem.concept.display" />
      <definition value="A human readable string that is the recommended default way to present this concept to a user. This is the standard display for this code, designation element may have additional representations." />
      <mustSupport value="true" />
    </element>
    <element id="CodeSystem.concept.designation">
      <path value="CodeSystem.concept.designation" />
      <short value="Synonyms and additional representations for the concept" />
      <definition value="Additional representations for the concept - aliases (sv: patientvänlig synonym), singular/plural definitions, other languages, etc." />
      <mustSupport value="true" />
    </element>
    <element id="CodeSystem.concept.designation.use.system">
      <path value="CodeSystem.concept.designation.use.system" />
      <binding>
        <strength value="required" />
        <valueSet value="http://electronichealth.se/fhir/ValueSet/concept-discriminators" />
      </binding>
    </element>
  </differential>
</StructureDefinition>