<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://dips.no/fhir/StructureDefinition/R4/DIPSOrganization" />
  <name value="DIPSOrganization" />
  <status value="draft" />
  <fhirVersion value="4.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Organization" />
  <baseDefinition value="http://hl7.no/fhir/StructureDefinition/no-basis-Organization" />
  <derivation value="constraint" />
  <snapshot />
  <differential>
    <element id="Organization.extension">
      <path value="Organization.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Organization.extension:validPeriod">
      <path value="Organization.extension" />
      <sliceName value="validPeriod" />
      <type>
        <code value="Extension" />
        <profile value="http://example.org/fhir/StructureDefinition/OrganizationValidPeriod" />
      </type>
    </element>
    <element id="Organization.extension:bankAccountNumber1">
      <path value="Organization.extension" />
      <sliceName value="bankAccountNumber1" />
      <type>
        <code value="Extension" />
        <profile value="http://example.org/fhir/StructureDefinition/OrganizationBankAccountNumber1" />
      </type>
    </element>
    <element id="Organization.extension:bankAccountNumber2">
      <path value="Organization.extension" />
      <sliceName value="bankAccountNumber2" />
      <type>
        <code value="Extension" />
        <profile value="http://example.org/fhir/StructureDefinition/OrganizationBankAccountNumber2" />
      </type>
    </element>
    <element id="Organization.extension:paymentCode">
      <path value="Organization.extension" />
      <sliceName value="paymentCode" />
      <type>
        <code value="Extension" />
        <profile value="http://example.org/fhir/StructureDefinition/OrganizationPaymentCode" />
      </type>
    </element>
    <element id="Organization.extension:partOfDepartment">
      <path value="Organization.extension" />
      <sliceName value="partOfDepartment" />
      <type>
        <code value="Extension" />
        <profile value="http://dips.no/fhir/StructureDefinition/R4/PartOfDepartment" />
      </type>
    </element>
    <element id="Organization.extension:partOfDepartment.value[x].reference.identifier">
      <path value="Organization.extension.value[x].reference.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Organization.extension:partOfSection">
      <path value="Organization.extension" />
      <sliceName value="partOfSection" />
      <type>
        <code value="Extension" />
        <profile value="http://dips.no/fhir/StructureDefinition/R4/PartOfSection" />
      </type>
    </element>
    <element id="Organization.extension:partOfSection.value[x].reference.identifier">
      <path value="Organization.extension.value[x].reference.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Organization.identifier.value">
      <path value="Organization.identifier.value" />
      <definition value="The portion of the identifier typically relevant to the user and which is unique within the context of the system.&#xD;&#xA;&#xD;&#xA;Organization : dipscoredb.dworganizationalunit RESHID&#xD;&#xA;Hospital: dipscoredb.dworganizationalunit RESHID&#xD;&#xA;Location : dipscoredb.dworganizationalunit reshid&#xD;&#xA;Department: dipscoredb.dworganizationalunit RESHID&#xD;&#xA;Section : dipscoredb.dworganizationalunit RESHID&#xD;&#xA;Ward: dipscoredb.dworganizationalunit reshid" />
    </element>
    <element id="Organization.identifier:StandardNumber">
      <path value="Organization.identifier" />
      <sliceName value="StandardNumber" />
    </element>
    <element id="Organization.identifier:StandardNumber.system">
      <path value="Organization.identifier.system" />
      <min value="1" />
      <fixedUri value="http://dips.no/fhir/namingsystem/dips-standardnumber" />
    </element>
    <element id="Organization.identifier:StandardNumber.value">
      <path value="Organization.identifier.value" />
      <definition value="The portion of the identifier typically relevant to the user and which is unique within the context of the system.&#xD;&#xA;&#xD;&#xA;Location : dipscoredb.dwlokalisering STANDARDLOKNR&#xD;&#xA;Department: dipscoredb.dwavdeling STANDARDAVDNR&#xD;&#xA;Section : DIPSCOREDB.DWSEKSJON STANDARDSEKSJONNR&#xD;&#xA;Ward: DIPSCOREDB.DWPOST STANDARDPOSTNR" />
      <min value="1" />
    </element>
    <element id="Organization.identifier:ShortName">
      <path value="Organization.identifier" />
      <sliceName value="ShortName" />
    </element>
    <element id="Organization.identifier:ShortName.system">
      <path value="Organization.identifier.system" />
      <definition value="Establishes the namespace for the value - that is, a URL that describes a set values that are unique.&#xD;&#xA;Establishes the namespace in which set of possible id values is unique.&#xD;&#xA;http://dips.no/fhir/namingsystem/dips/departmentshortname | http://dips.no/fhir/namingsystem/dips/sectionshortname | http://dips.no/fhir/namingsystem/dips/wardshortname" />
      <min value="1" />
    </element>
    <element id="Organization.identifier:ShortName.value">
      <path value="Organization.identifier.value" />
      <definition value="The portion of the identifier typically relevant to the user and which is unique within the context of the system.&#xD;&#xA;&#xD;&#xA;Location : dipscoredb.dwlokalisering LOKKORTNAVN&#xD;&#xA;Department: dipscoredb.dwavdeling AVDKORTNAVN&#xD;&#xA;Section : DIPSCOREDB.DWSEKSJON KORTNAVN&#xD;&#xA;Ward: DIPSCOREDB.DWPOST POSTKORTNAVN" />
      <min value="1" />
    </element>
    <element id="Organization.identifier:DIPSOrganizationId">
      <path value="Organization.identifier" />
      <sliceName value="DIPSOrganizationId" />
    </element>
    <element id="Organization.identifier:DIPSOrganizationId.system">
      <path value="Organization.identifier.system" />
      <min value="1" />
      <fixedUri value="urn:oid:1.3.6.1.4.1.9038.70.1" />
    </element>
    <element id="Organization.identifier:DIPSOrganizationId.value">
      <path value="Organization.identifier.value" />
      <definition value="The portion of the identifier typically relevant to the user and which is unique within the context of the system.&#xD;&#xA;&#xD;&#xA;Organization : dipscoredb.dworganisasjon ORGANISASJONID" />
      <min value="1" />
    </element>
    <element id="Organization.identifier:DIPSHospitalId">
      <path value="Organization.identifier" />
      <sliceName value="DIPSHospitalId" />
    </element>
    <element id="Organization.identifier:DIPSHospitalId.system">
      <path value="Organization.identifier.system" />
      <min value="1" />
      <fixedUri value="urn:oid:1.3.6.1.4.1.9038.70.2" />
    </element>
    <element id="Organization.identifier:DIPSHospitalId.value">
      <path value="Organization.identifier.value" />
      <definition value="The portion of the identifier typically relevant to the user and which is unique within the context of the system.&#xD;&#xA;&#xD;&#xA;Hospital : dipscoredb.dwdelinstitusjon SYKEHUSID" />
      <min value="1" />
    </element>
    <element id="Organization.identifier:DIPSDepartmentId">
      <path value="Organization.identifier" />
      <sliceName value="DIPSDepartmentId" />
    </element>
    <element id="Organization.identifier:DIPSDepartmentId.system">
      <path value="Organization.identifier.system" />
      <min value="1" />
      <fixedUri value="urn:oid:1.3.6.1.4.1.9038.70.3" />
    </element>
    <element id="Organization.identifier:DIPSDepartmentId.value">
      <path value="Organization.identifier.value" />
      <definition value="The portion of the identifier typically relevant to the user and which is unique within the context of the system.&#xD;&#xA;&#xD;&#xA;Department: dipscoredb.dwavdeling AVDID" />
      <min value="1" />
    </element>
    <element id="Organization.identifier:DIPSWardId">
      <path value="Organization.identifier" />
      <sliceName value="DIPSWardId" />
    </element>
    <element id="Organization.identifier:DIPSWardId.system">
      <path value="Organization.identifier.system" />
      <min value="1" />
      <fixedUri value="urn:oid:1.3.6.1.4.1.9038.70.4" />
    </element>
    <element id="Organization.identifier:DIPSWardId.value">
      <path value="Organization.identifier.value" />
      <definition value="The portion of the identifier typically relevant to the user and which is unique within the context of the system.&#xD;&#xA;&#xD;&#xA;Ward: DIPSCOREDB.DWPOST POSTID" />
      <min value="1" />
    </element>
    <element id="Organization.identifier:DIPSLocationId">
      <path value="Organization.identifier" />
      <sliceName value="DIPSLocationId" />
    </element>
    <element id="Organization.identifier:DIPSLocationId.system">
      <path value="Organization.identifier.system" />
      <min value="1" />
      <fixedUri value="urn:oid:1.3.6.1.4.1.9038.70.6" />
    </element>
    <element id="Organization.identifier:DIPSLocationId.value">
      <path value="Organization.identifier.value" />
      <definition value="The portion of the identifier typically relevant to the user and which is unique within the context of the system.&#xD;&#xA;&#xD;&#xA;Location : dipscoredb.dwlokalisering LocationId" />
      <min value="1" />
    </element>
    <element id="Organization.identifier:DIPSSectionId">
      <path value="Organization.identifier" />
      <sliceName value="DIPSSectionId" />
    </element>
    <element id="Organization.identifier:DIPSSectionId.system">
      <path value="Organization.identifier.system" />
      <min value="1" />
      <fixedUri value="urn:oid:1.3.6.1.4.1.9038.70.5" />
    </element>
    <element id="Organization.identifier:DIPSSectionId.value">
      <path value="Organization.identifier.value" />
      <definition value="The portion of the identifier typically relevant to the user and which is unique within the context of the system.&#xD;&#xA;&#xD;&#xA;Section : DIPSCOREDB.DWSEKSJON SEKSJONSID" />
      <min value="1" />
    </element>
    <element id="Organization.active">
      <path value="Organization.active" />
      <definition value="Whether the organization's record is still in active use.&#xD;&#xA;&#xD;&#xA;Organization : dipscoredb.dworganisasjon AKTUELL&#xD;&#xA;Hospital:  dipscoredb.dwdelinstitusjon erstattetmedenhetgid&#xD;&#xA;Location :  dipscoredb.dwlokalisering AKTUELL&#xD;&#xA;Department: dipscoredb.dwavdeling AVDIBRUK&#xD;&#xA;Section : DIPSCOREDB.DWSEKSJON IBRUK&#xD;&#xA;Ward: DIPSCOREDB.DWPOST POSTIBRUK" />
      <min value="1" />
    </element>
    <element id="Organization.type.coding">
      <path value="Organization.type.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="type.coding.system" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Organization.type.coding:OrganizationTopLevel">
      <path value="Organization.type.coding" />
      <sliceName value="OrganizationTopLevel" />
      <definition value="A reference to a code defined by a terminology system.&#xD;&#xA;&#xD;&#xA;Organization : dipscoredb.dworganisasjon ERDATABASEBRUKER and dipscoredb.dworganisasjon ORGANISASJONID" />
      <binding>
        <strength value="required" />
        <valueSet value="http://dips.no/fhir/ValueSet/OrganizationTypes" />
      </binding>
    </element>
    <element id="Organization.type.coding:OrganizationTopLevel.system">
      <path value="Organization.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://dips.no/fhir/ValueSet/organizationtoplevel" />
    </element>
    <element id="Organization.type.coding:OrganizationTopLevel.code">
      <path value="Organization.type.coding.code" />
      <min value="1" />
    </element>
    <element id="Organization.type.coding:OrganizationTopLevel.display">
      <path value="Organization.type.coding.display" />
      <min value="1" />
    </element>
    <element id="Organization.type.coding:OrganizationType">
      <path value="Organization.type.coding" />
      <sliceName value="OrganizationType" />
      <binding>
        <strength value="required" />
        <valueSet value="http://dips.no/fhir/ValueSet/OrganizationTypes" />
      </binding>
    </element>
    <element id="Organization.type.coding:OrganizationType.extension">
      <path value="Organization.type.coding.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Organization.type.coding:OrganizationType.extension:organizationTypeCodeId">
      <path value="Organization.type.coding.extension" />
      <sliceName value="organizationTypeCodeId" />
      <definition value="Optional Extension Element - found in all resources.&#xD;&#xA;&#xD;&#xA;Organization : dipscoredb.dworganisasjon ORGANISASJONTYPE" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://dips.no/fhir/StructureDefinition/R4/OrganizationTypeCodeId" />
      </type>
    </element>
    <element id="Organization.type.coding:OrganizationType.extension:organizationTypeCodeId.value[x].use">
      <path value="Organization.type.coding.extension.value[x].use" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:OrganizationType.extension:organizationTypeCodeId.value[x].type">
      <path value="Organization.type.coding.extension.value[x].type" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:OrganizationType.extension:organizationTypeCodeId.value[x].system">
      <path value="Organization.type.coding.extension.value[x].system" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:OrganizationType.extension:organizationTypeCodeId.value[x].value">
      <path value="Organization.type.coding.extension.value[x].value" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:OrganizationType.extension:organizationTypeCodeId.value[x].period">
      <path value="Organization.type.coding.extension.value[x].period" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:OrganizationType.extension:organizationTypeCodeId.value[x].assigner">
      <path value="Organization.type.coding.extension.value[x].assigner" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:OrganizationType.system">
      <path value="Organization.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://dips.no/fhir/namingsystem/dips-organizationtype" />
    </element>
    <element id="Organization.type.coding:OrganizationType.code">
      <path value="Organization.type.coding.code" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).&#xD;&#xA;&#xD;&#xA;Organization : dipscoredb.dwkodeverkverdier KODE" />
      <min value="1" />
    </element>
    <element id="Organization.type.coding:OrganizationType.display">
      <path value="Organization.type.coding.display" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system.&#xD;&#xA;&#xD;&#xA;dipscoredb.dwkodeverkverdier LANGTNAVN" />
      <min value="1" />
    </element>
    <element id="Organization.type.coding:DepartmentType">
      <path value="Organization.type.coding" />
      <sliceName value="DepartmentType" />
    </element>
    <element id="Organization.type.coding:DepartmentType.extension">
      <path value="Organization.type.coding.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Organization.type.coding:DepartmentType.extension:departmentTypeCodeId">
      <path value="Organization.type.coding.extension" />
      <sliceName value="departmentTypeCodeId" />
      <definition value="Optional Extension Element - found in all resources.&#xD;&#xA;&#xD;&#xA;dipscoredb.dwavdeling AVDELINGSTYPE" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://dips.no/fhir/StructureDefinition/R4/DepartmentTypeCodeId" />
      </type>
    </element>
    <element id="Organization.type.coding:DepartmentType.extension:departmentTypeCodeId.value[x].use">
      <path value="Organization.type.coding.extension.value[x].use" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:DepartmentType.extension:departmentTypeCodeId.value[x].type">
      <path value="Organization.type.coding.extension.value[x].type" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:DepartmentType.extension:departmentTypeCodeId.value[x].system">
      <path value="Organization.type.coding.extension.value[x].system" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:DepartmentType.extension:departmentTypeCodeId.value[x].value">
      <path value="Organization.type.coding.extension.value[x].value" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:DepartmentType.extension:departmentTypeCodeId.value[x].period">
      <path value="Organization.type.coding.extension.value[x].period" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:DepartmentType.extension:departmentTypeCodeId.value[x].assigner">
      <path value="Organization.type.coding.extension.value[x].assigner" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:DepartmentType.system">
      <path value="Organization.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://dips.no/fhir/namingsystem/dips-departmenttype" />
    </element>
    <element id="Organization.type.coding:DepartmentType.code">
      <path value="Organization.type.coding.code" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).&#xD;&#xA;&#xD;&#xA;dipscoredb.dwkodeverkverdier KODE" />
      <min value="1" />
    </element>
    <element id="Organization.type.coding:DepartmentType.display">
      <path value="Organization.type.coding.display" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system.&#xD;&#xA;&#xD;&#xA;dipscoredb.dwkodeverkverdier LANGTNAVN" />
      <min value="1" />
    </element>
    <element id="Organization.type.coding:WardType">
      <path value="Organization.type.coding" />
      <sliceName value="WardType" />
    </element>
    <element id="Organization.type.coding:WardType.extension">
      <path value="Organization.type.coding.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Organization.type.coding:WardType.extension:wardTypeCodeId">
      <path value="Organization.type.coding.extension" />
      <sliceName value="wardTypeCodeId" />
      <definition value="Optional Extension Element - found in all resources.&#xD;&#xA;&#xD;&#xA;DIPSCOREDB.DWPOST POSTTYPE" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://dips.no/fhir/StructureDefinition/R4/WardTypeCodeId" />
      </type>
    </element>
    <element id="Organization.type.coding:WardType.extension:wardTypeCodeId.value[x].use">
      <path value="Organization.type.coding.extension.value[x].use" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:WardType.extension:wardTypeCodeId.value[x].type">
      <path value="Organization.type.coding.extension.value[x].type" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:WardType.extension:wardTypeCodeId.value[x].system">
      <path value="Organization.type.coding.extension.value[x].system" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:WardType.extension:wardTypeCodeId.value[x].value">
      <path value="Organization.type.coding.extension.value[x].value" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:WardType.extension:wardTypeCodeId.value[x].period">
      <path value="Organization.type.coding.extension.value[x].period" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:WardType.extension:wardTypeCodeId.value[x].assigner">
      <path value="Organization.type.coding.extension.value[x].assigner" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:WardType.system">
      <path value="Organization.type.coding.system" />
      <fixedUri value="http://dips.no/fhir/namingsystem/dips-wardtype" />
    </element>
    <element id="Organization.type.coding:WardType.code">
      <path value="Organization.type.coding.code" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).&#xD;&#xA;&#xD;&#xA;dipscoredb.dwkodeverkverdier KODE" />
      <min value="1" />
    </element>
    <element id="Organization.type.coding:WardType.display">
      <path value="Organization.type.coding.display" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system.&#xD;&#xA;&#xD;&#xA;dipscoredb.dwkodeverkverdier LANGTNAVN" />
      <min value="1" />
    </element>
    <element id="Organization.type.coding:LocalizationType">
      <path value="Organization.type.coding" />
      <sliceName value="LocalizationType" />
    </element>
    <element id="Organization.type.coding:LocalizationType.extension">
      <path value="Organization.type.coding.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Organization.type.coding:LocalizationType.extension:locationTypeCodeId">
      <path value="Organization.type.coding.extension" />
      <sliceName value="locationTypeCodeId" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://dips.no/fhir/StructureDefinition/R4/LocationTypeCodeId" />
      </type>
    </element>
    <element id="Organization.type.coding:LocalizationType.extension:locationTypeCodeId.value[x].use">
      <path value="Organization.type.coding.extension.value[x].use" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:LocalizationType.extension:locationTypeCodeId.value[x].type">
      <path value="Organization.type.coding.extension.value[x].type" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:LocalizationType.extension:locationTypeCodeId.value[x].system">
      <path value="Organization.type.coding.extension.value[x].system" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:LocalizationType.extension:locationTypeCodeId.value[x].value">
      <path value="Organization.type.coding.extension.value[x].value" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:LocalizationType.extension:locationTypeCodeId.value[x].period">
      <path value="Organization.type.coding.extension.value[x].period" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:LocalizationType.extension:locationTypeCodeId.value[x].assigner">
      <path value="Organization.type.coding.extension.value[x].assigner" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:LocalizationType.system">
      <path value="Organization.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://dips.no/fhir/namingsystem/dips-locationtype" />
    </element>
    <element id="Organization.type.coding:LocalizationType.code">
      <path value="Organization.type.coding.code" />
      <min value="1" />
    </element>
    <element id="Organization.type.coding:LocalizationType.display">
      <path value="Organization.type.coding.display" />
      <min value="1" />
    </element>
    <element id="Organization.type.coding:SectionProfession">
      <path value="Organization.type.coding" />
      <sliceName value="SectionProfession" />
    </element>
    <element id="Organization.type.coding:SectionProfession.extension">
      <path value="Organization.type.coding.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Organization.type.coding:SectionProfession.extension:sectionProfessionCodeId">
      <path value="Organization.type.coding.extension" />
      <sliceName value="sectionProfessionCodeId" />
      <definition value="Optional Extension Element - found in all resources.&#xD;&#xA;&#xD;&#xA;DIPSCOREDB.DWSEKSJON FAGOMRAADE" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://dips.no/fhir/StructureDefinition/R4/SectionProfessionCodeId" />
      </type>
    </element>
    <element id="Organization.type.coding:SectionProfession.extension:sectionProfessionCodeId.value[x].use">
      <path value="Organization.type.coding.extension.value[x].use" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:SectionProfession.extension:sectionProfessionCodeId.value[x].type">
      <path value="Organization.type.coding.extension.value[x].type" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:SectionProfession.extension:sectionProfessionCodeId.value[x].system">
      <path value="Organization.type.coding.extension.value[x].system" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:SectionProfession.extension:sectionProfessionCodeId.value[x].value">
      <path value="Organization.type.coding.extension.value[x].value" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:SectionProfession.extension:sectionProfessionCodeId.value[x].period">
      <path value="Organization.type.coding.extension.value[x].period" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:SectionProfession.extension:sectionProfessionCodeId.value[x].assigner">
      <path value="Organization.type.coding.extension.value[x].assigner" />
      <max value="0" />
    </element>
    <element id="Organization.type.coding:SectionProfession.system">
      <path value="Organization.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://dips.no/fhir/namingsystem/dips-sectionprofessiontype" />
    </element>
    <element id="Organization.type.coding:SectionProfession.code">
      <path value="Organization.type.coding.code" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).&#xD;&#xA;&#xD;&#xA;dipscoredb.dwkodeverkverdier KODE" />
      <min value="1" />
    </element>
    <element id="Organization.type.coding:SectionProfession.display">
      <path value="Organization.type.coding.display" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system.&#xD;&#xA;&#xD;&#xA;dipscoredb.dwkodeverkverdier LANGTNAVN" />
      <min value="1" />
    </element>
    <element id="Organization.type.coding:DisasterWard">
      <path value="Organization.type.coding" />
      <sliceName value="DisasterWard" />
    </element>
    <element id="Organization.type.coding:DisasterWard.system">
      <path value="Organization.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://dips.no/fhir/namingsystem/dips-disasterward" />
    </element>
    <element id="Organization.type.coding:DisasterWard.code">
      <path value="Organization.type.coding.code" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).&#xD;&#xA;&#xD;&#xA;DIPSCOREDB.DWPOST KATASTROFEPOST" />
      <min value="1" />
    </element>
    <element id="Organization.type.coding:DisasterWard.display">
      <path value="Organization.type.coding.display" />
      <min value="1" />
    </element>
    <element id="Organization.type.text">
      <path value="Organization.type.text" />
      <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.&#xD;&#xA;&#xD;&#xA;Organization : dipscoredb.dwkodeverkverdier LANGTNAVN&#xD;&#xA;Hospital:  &quot;Sykehus&quot;&#xD;&#xA;Location :  &quot;Poliklinikk&quot;&#xD;&#xA;Department: dipscoredb.dwkodeverkverdier LANGTNAVN&#xD;&#xA;Section : &quot;Seksjon&quot;&#xD;&#xA;Ward: dipscoredb.dwkodeverkverdier LANGTNAVN" />
      <min value="1" />
    </element>
    <element id="Organization.name">
      <path value="Organization.name" />
      <definition value="A name associated with the organization.&#xD;&#xA;&#xD;&#xA;Organization : dipscoredb.dworganisasjon NAVN&#xD;&#xA;Hospital:  dipscoredb.dwdelinstitusjon NAVN&#xD;&#xA;Location :  dipscoredb.dwlokalisering LOKNAVN&#xD;&#xA;Department: dipscoredb.dwavdeling AVDNAVN&#xD;&#xA;Section : DIPSCOREDB.DWSEKSJON NAVN&#xD;&#xA;Ward: DIPSCOREDB.DWPOST POSTNAVN" />
      <min value="1" />
    </element>
    <element id="Organization.alias">
      <path value="Organization.alias" />
      <max value="0" />
    </element>
    <element id="Organization.telecom">
      <path value="Organization.telecom" />
      <definition value="A contact detail for the organization.&#xD;&#xA;&#xD;&#xA;Organization : dipscoredb.dworganisasjon TELEFON , TELEFAX, EMAILADRESSE&#xD;&#xA;Hospital:  dipscoredb.dwdelinstitusjon TELEFON, TELEFAX, EMAILADRESSE,WEBADRESSE&#xD;&#xA;Location :  dipscoredb.dwlokalisering TELEFON, TELEFAX, EMAILADRESSE, WEBADRESSE&#xD;&#xA;Department: dipscoredb.dwavdeling TELEFON, TELEFAX, EMAILADRESSE, WEBADRESSE&#xD;&#xA;Section : DIPSCOREDB.DWSEKSJON TELEFON, TELEFAX, EMAILADRESSE&#xD;&#xA;Ward: DIPSCOREDB.DWPOST TELEFON, TELEFAX, EMAILADRESSE" />
    </element>
    <element id="Organization.telecom.rank">
      <path value="Organization.telecom.rank" />
      <max value="0" />
    </element>
    <element id="Organization.telecom.period">
      <path value="Organization.telecom.period" />
      <max value="0" />
    </element>
    <element id="Organization.address">
      <path value="Organization.address" />
      <min value="1" />
    </element>
    <element id="Organization.address.extension:official">
      <path value="Organization.address.extension" />
      <sliceName value="official" />
      <max value="0" />
    </element>
    <element id="Organization.address.extension:urbanDistrict">
      <path value="Organization.address.extension" />
      <sliceName value="urbanDistrict" />
      <max value="0" />
    </element>
    <element id="Organization.address.extension:addressId">
      <path value="Organization.address.extension" />
      <sliceName value="addressId" />
      <definition value="Defines the concept of an officially registered address in Norway. Usually this will be the adress registered in &quot;Folkeregisteret&quot; for persons or &quot;Enhetsregisteret&quot; for organizations.&#xD;&#xA;&#xD;&#xA;Organization : dipscoredb.dwadresse adresseid&#xD;&#xA;Hospital: dipscoredb.dwadresse adresseid&#xD;&#xA;Location : dipscoredb.dwadresse adresseid&#xD;&#xA;Department: dipscoredb.dwadresse adresseid&#xD;&#xA;Section : dipscoredb.dwadresse adresseid&#xD;&#xA;Ward: dipscoredb.dwadresse adresseid" />
      <type>
        <code value="Extension" />
        <profile value="http://example.org/fhir/StructureDefinition/OrganizationAddressId" />
      </type>
    </element>
    <element id="Organization.address.extension:addressId.extension">
      <path value="Organization.address.extension.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Organization.address.extension:addressId.extension:cadastralUnitNumber">
      <path value="Organization.address.extension.extension" />
      <sliceName value="cadastralUnitNumber" />
      <max value="0" />
    </element>
    <element id="Organization.address.extension:addressId.extension:propertyUnitNumber">
      <path value="Organization.address.extension.extension" />
      <sliceName value="propertyUnitNumber" />
      <max value="0" />
    </element>
    <element id="Organization.address.extension:addressId.extension:leaseholdNumber">
      <path value="Organization.address.extension.extension" />
      <sliceName value="leaseholdNumber" />
      <max value="0" />
    </element>
    <element id="Organization.address.extension:addressId.extension:condominiumUnitNumber">
      <path value="Organization.address.extension.extension" />
      <sliceName value="condominiumUnitNumber" />
      <max value="0" />
    </element>
    <element id="Organization.address.line">
      <path value="Organization.address.line" />
      <definition value="This component contains the house number, apartment number, street name, street direction,  P.O. Box number, delivery hints, and similar address information.&#xD;&#xA;&#xD;&#xA;Address:&#xD;&#xA;Organization - dipscoredb.dwadresse adresse&#xD;&#xA;Hospital - dipscoredb.dwadresse adresse&#xD;&#xA;Location - dipscoredb.dwadresse adresse&#xD;&#xA;Department - dipscoredb.dwadresse adresse&#xD;&#xA;Section - dipscoredb.dwadresse adresse&#xD;&#xA;Ward - dipscoredb.dwadresse adresse&#xD;&#xA;&#xD;&#xA;Billing Address:&#xD;&#xA;Organization - dipscoredb.dwadresse adresse&#xD;&#xA;Hospital - dipscoredb.dwadresse adresse" />
    </element>
    <element id="Organization.address.city">
      <path value="Organization.address.city" />
      <definition value="When a postalcode is given the name of the city must be according to the official list of postalcodes used in Norway.&#xD;&#xA;&#xD;&#xA;The name of the city, town, village or other community or delivery center.&#xD;&#xA;&#xD;&#xA;Address:&#xD;&#xA;Organization - dipscoredb.dwkodeverkverdier langtnavn&#xD;&#xA;Hospital - dipscoredb.dwkodeverkverdier langtnavn&#xD;&#xA;Location - dipscoredb.dwkodeverkverdier langtnavn&#xD;&#xA;Department - dipscoredb.dwkodeverkverdier langtnavn&#xD;&#xA;Section - dipscoredb.dwkodeverkverdier langtnavn&#xD;&#xA;Ward -dipscoredb.dwkodeverkverdier langtnavn&#xD;&#xA;&#xD;&#xA;Billing Address:&#xD;&#xA;Organization -  dipscoredb.dwkodeverkverdier langtnavn&#xD;&#xA;Hospital - dipscoredb.dwkodeverkverdier langtnavn" />
    </element>
    <element id="Organization.address.district">
      <path value="Organization.address.district" />
      <definition value="Name of the county (norwegian &quot;kommune&quot;). If kommune number is required &quot;eiendomsinformasjon&quot; should be used.&#xD;&#xA;&#xD;&#xA;The name of the administrative area (county).&#xD;&#xA;&#xD;&#xA;Address:&#xD;&#xA;Organization - dipscoredb.dwkodeverkverdier Langtnavn&#xD;&#xA;Hospital - dipscoredb.dwkodeverkverdier Langtnavn&#xD;&#xA;Location -dipscoredb.dwkodeverkverdier Langtnavn&#xD;&#xA;Department - dipscoredb.dwkodeverkverdier Langtnavn&#xD;&#xA;Section - dipscoredb.dwkodeverkverdier Langtnavn&#xD;&#xA;Ward - dipscoredb.dwkodeverkverdier Langtnavn" />
    </element>
    <element id="Organization.address.state">
      <path value="Organization.address.state" />
      <definition value="Name of the norwegian &quot;fylke&quot;). If fylkes-number is required &quot;eiendomsinformasjon&quot; should be used with koded kommune-number.&#xD;&#xA;&#xD;&#xA;Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes).&#xD;&#xA;&#xD;&#xA;Address:&#xD;&#xA;Organization - dipscoredb.dwkodeverkverdier Langtnavn&#xD;&#xA;Hospital - dipscoredb.dwkodeverkverdier Langtnavn&#xD;&#xA;Location - dipscoredb.dwkodeverkverdier Langtnavn&#xD;&#xA;Department - dipscoredb.dwkodeverkverdier Langtnavn&#xD;&#xA;Section -  dipscoredb.dwkodeverkverdier Langtnavn&#xD;&#xA;Ward - dipscoredb.dwkodeverkverdier Langtnavn" />
    </element>
    <element id="Organization.address.postalCode">
      <path value="Organization.address.postalCode" />
      <definition value="A postal code designating a region defined by the postal service.&#xD;&#xA;&#xD;&#xA;In Norway this is af four digit number defined by the norwegian postal service.&#xD;&#xA;&#xD;&#xA;Address:&#xD;&#xA;Organization - dipscoredb.dwkodeverkverdier kode&#xD;&#xA;Hospital - dipscoredb.dwkodeverkverdier kode&#xD;&#xA;Location - dipscoredb.dwkodeverkverdier kode&#xD;&#xA;Department - dipscoredb.dwkodeverkverdier kode&#xD;&#xA;Section - dipscoredb.dwkodeverkverdier kode&#xD;&#xA;Ward - dipscoredb.dwkodeverkverdier kode&#xD;&#xA;&#xD;&#xA;Billing Address:&#xD;&#xA;Organization - dipscoredb.dwkodeverkverdier kode&#xD;&#xA;Hospital - dipscoredb.dwkodeverkverdier kode" />
    </element>
    <element id="Organization.address.country">
      <path value="Organization.address.country" />
      <max value="0" />
    </element>
    <element id="Organization.address.period">
      <path value="Organization.address.period" />
      <max value="0" />
    </element>
    <element id="Organization.partOf">
      <path value="Organization.partOf" />
      <definition value="A reference from one resource to another.&#xD;&#xA;&#xD;&#xA;Organization : dipscoredb.dworganisasjon HELSEFORETAKID&#xD;&#xA;Hospital: dipscoredb.dwdelinstitusjon ORGANISASJONID&#xD;&#xA;Location : dipscoredb.dwlokalisering SYKEHUSID&#xD;&#xA;Department: dipscoredb.dwavdeling SYKEHUSID&#xD;&#xA;Section: DIPSCOREDB.DWSEKSJON SYKEHUSID&#xD;&#xA;Ward: DIPSCOREDB.DWPOST SYKEHUSID" />
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy">
          <valueBoolean value="true" />
        </extension>
        <code value="Reference" />
        <profile value="http://dips.no/fhir/StructureDefinition/R4/DIPSOrganizationReference" />
      </type>
    </element>
    <element id="Organization.partOf.type">
      <path value="Organization.partOf.type" />
      <max value="0" />
    </element>
    <element id="Organization.partOf.identifier.type">
      <path value="Organization.partOf.identifier.type" />
      <max value="0" />
    </element>
    <element id="Organization.partOf.identifier.system">
      <path value="Organization.partOf.identifier.system" />
      <max value="0" />
    </element>
    <element id="Organization.partOf.identifier.value">
      <path value="Organization.partOf.identifier.value" />
      <max value="0" />
    </element>
    <element id="Organization.partOf.identifier.period">
      <path value="Organization.partOf.identifier.period" />
      <max value="0" />
    </element>
    <element id="Organization.partOf.identifier.assigner">
      <path value="Organization.partOf.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="Organization.partOf.display">
      <path value="Organization.partOf.display" />
      <definition value="Plain text narrative that identifies the resource in addition to the resource reference.&#xD;&#xA;&#xD;&#xA;Organization : dipscoredb.dworganisasjon NAVN&#xD;&#xA;Hospital:  dipscoredb.dwdelinstitusjon NAVN" />
    </element>
    <element id="Organization.contact.purpose">
      <path value="Organization.contact.purpose" />
      <max value="0" />
    </element>
    <element id="Organization.contact.name">
      <path value="Organization.contact.name" />
      <max value="0" />
    </element>
    <element id="Organization.contact.address">
      <path value="Organization.contact.address" />
      <max value="0" />
    </element>
    <element id="Organization.endpoint">
      <path value="Organization.endpoint" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>