<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="NPPRTelekommunikationLogical" />
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
    <valueCode value="can-be-target" />
  </extension>
  <url value="http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRTelekommunikationLogical" />
  <name value="NPPRTelekommunikationLogical" />
  <title value="Telekommunikation" />
  <status value="active" />
  <description value="Klassen telekommunikation håller information om elektronisk adressinformation. Exempel är telefonnummer och e-postadress." />
  <fhirVersion value="5.0.0" />
  <mapping>
    <identity value="TelekommunikationToNPPRTelecom" />
    <uri value="NPPRPractitioner.telecom/NPPRPatient.telecom/NPPRRelatedPerson.telecom/NPPRPerson.telecom/NPPRPractitionerRole.contact.telecom" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="http://electronichealth.se/fhir/NPPR/StructureDefinition/NPPRTelekommunikationLogical" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base" />
  <derivation value="specialization" />
  <snapshot>
    <element id="NPPRTelekommunikationLogical">
      <path value="NPPRTelekommunikationLogical" />
      <short value="Telekommunikation" />
      <definition value="Klassen telekommunikation håller information om elektronisk adressinformation. Exempel är telefonnummer och e-postadress." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="NPPRTelekommunikationLogical" />
        <min value="0" />
        <max value="*" />
      </base>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="NPPRTelekommunikationLogical.varde">
      <path value="NPPRTelekommunikationLogical.varde" />
      <short value="värde" />
      <definition value="Angivelse av elektronisk adress i det format som hör till angivet system." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="NPPRTelekommunikationLogical.varde" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="TelekommunikationToNPPRTelecom" />
        <map value="(NPPRPractitioner/NPPRPatient/NPPRRelatedPerson/NPPRPerson/NPPRPractitionerRole)telecom.value" />
      </mapping>
    </element>
    <element id="NPPRTelekommunikationLogical.system">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="NPPRTelekommunikationLogical.system" />
      <short value="system" />
      <definition value="Angivelse av kod för vilken typ av elektronisk adress som är angiven i attributet värde. Exempel är telefon, fax eller e-post." />
      <comment value="Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="NPPRTelekommunikationLogical.system" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="Coding" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="cod-1" />
        <severity value="warning" />
        <human value="A Coding SHOULD NOT have a display unless a code is also present.  Computation on Coding.display alone is generally unsafe.  Consider using CodeableConcept.text" />
        <expression value="code.exists().not() implies display.exists().not()" />
        <source value="http://hl7.org/fhir/StructureDefinition/Coding" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding rdfs:subClassOf dt:CDCoding" />
      </mapping>
      <mapping>
        <identity value="TelekommunikationToNPPRTelecom" />
        <map value="(NPPRPractitioner/NPPRPatient/NPPRRelatedPerson/NPPRPerson/NPPRPractitionerRole)telecom.system" />
      </mapping>
    </element>
    <element id="NPPRTelekommunikationLogical.giltigFrom">
      <path value="NPPRTelekommunikationLogical.giltigFrom" />
      <short value="giltigFrom" />
      <definition value="Angivelse av den tidpunkt från och med när den elektroniska adressen går att använda." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="NPPRTelekommunikationLogical.giltigFrom" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="time" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="TelekommunikationToNPPRTelecom" />
        <map value="(NPPRPractitioner/NPPRPatient/NPPRRelatedPerson/NPPRPerson/NPPRPractitionerRole)telecom.period.start" />
      </mapping>
    </element>
    <element id="NPPRTelekommunikationLogical.giltigTom">
      <path value="NPPRTelekommunikationLogical.giltigTom" />
      <short value="giltigTom" />
      <definition value="Angivelse av tidpunkt då den elektroniska adressen inte längre går att använda för att kontakta den organisation eller person som avses. Ska ej anges om denna tidpunkt är okänd." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="NPPRTelekommunikationLogical.giltigTom" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="time" />
      </type>
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="TelekommunikationToNPPRTelecom" />
        <map value="(NPPRPractitioner/NPPRPatient/NPPRRelatedPerson/NPPRPerson/NPPRPractitionerRole)telecom.period.end" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="NPPRTelekommunikationLogical">
      <path value="NPPRTelekommunikationLogical" />
      <short value="Telekommunikation" />
      <definition value="Klassen telekommunikation håller information om elektronisk adressinformation. Exempel är telefonnummer och e-postadress." />
    </element>
    <element id="NPPRTelekommunikationLogical.varde">
      <path value="NPPRTelekommunikationLogical.varde" />
      <short value="värde" />
      <definition value="Angivelse av elektronisk adress i det format som hör till angivet system." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="TelekommunikationToNPPRTelecom" />
        <map value="(NPPRPractitioner/NPPRPatient/NPPRRelatedPerson/NPPRPerson/NPPRPractitionerRole)telecom.value" />
      </mapping>
    </element>
    <element id="NPPRTelekommunikationLogical.system">
      <path value="NPPRTelekommunikationLogical.system" />
      <short value="system" />
      <definition value="Angivelse av kod för vilken typ av elektronisk adress som är angiven i attributet värde. Exempel är telefon, fax eller e-post." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
      <mapping>
        <identity value="TelekommunikationToNPPRTelecom" />
        <map value="(NPPRPractitioner/NPPRPatient/NPPRRelatedPerson/NPPRPerson/NPPRPractitionerRole)telecom.system" />
      </mapping>
    </element>
    <element id="NPPRTelekommunikationLogical.giltigFrom">
      <path value="NPPRTelekommunikationLogical.giltigFrom" />
      <short value="giltigFrom" />
      <definition value="Angivelse av den tidpunkt från och med när den elektroniska adressen går att använda." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="time" />
      </type>
      <mapping>
        <identity value="TelekommunikationToNPPRTelecom" />
        <map value="(NPPRPractitioner/NPPRPatient/NPPRRelatedPerson/NPPRPerson/NPPRPractitionerRole)telecom.period.start" />
      </mapping>
    </element>
    <element id="NPPRTelekommunikationLogical.giltigTom">
      <path value="NPPRTelekommunikationLogical.giltigTom" />
      <short value="giltigTom" />
      <definition value="Angivelse av tidpunkt då den elektroniska adressen inte längre går att använda för att kontakta den organisation eller person som avses. Ska ej anges om denna tidpunkt är okänd." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="time" />
      </type>
      <mapping>
        <identity value="TelekommunikationToNPPRTelecom" />
        <map value="(NPPRPractitioner/NPPRPatient/NPPRRelatedPerson/NPPRPerson/NPPRPractitionerRole)telecom.period.end" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>