Netherlands - Generic Functions for data exchange Implementation Guide
0.9.0-ballot - ballot

Netherlands - Generic Functions for data exchange Implementation Guide, published by Ministerie van Volksgezondheid, Welzijn en Sport. This guide is not an authorized publication; it is the continuous build for version 0.9.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/minvws/generiekefuncties-docs/ and changes regularly. See the Directory of published versions

## : KVK Basisprofiel naar FHIR Organization - XML Representation

Draft as of 2026-04-02

Raw xml | Download

    <StructureMap xmlns="http://hl7.org/fhir">
      <id value="KvkBasisprofielToOrganization"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureMap KvkBasisprofielToOrganization</b></p><a name="KvkBasisprofielToOrganization"> </a><a name="hcKvkBasisprofielToOrganization"> </a><pre class="fml">
    <b>map</b><span style="color: navy"> &quot;</span>http://minvws.github.io/generiekefuncties-docs/StructureMap/KvkBasisprofielToOrganization<span style="color: navy">&quot; = &quot;</span>KvkBasisprofielToOrganization<span style="color: navy">&quot;

    </span><span style="color: navy">// </span><span style="color: green">StructureMap die een KVK Basisprofiel API response transformeert naar een FHIR Organization resource.</span>

    <b>uses</b><span style="color: navy"> &quot;</span><a href="StructureDefinition-KvkBasisprofiel.html" title="KVK Basisprofiel">http://minvws.github.io/generiekefuncties-docs/StructureDefinition/KvkBasisprofiel</a><span style="color: navy">&quot; </span><b>alias </b>KvkBasisprofiel <b>as </b><b>source</b>
    <b>uses</b><span style="color: navy"> &quot;</span><a href="StructureDefinition-nl-gf-organization.html" title="NL Generic Functions Organization Profile">http://minvws.github.io/generiekefuncties-docs/StructureDefinition/nl-gf-organization</a><span style="color: navy">&quot; </span><b>alias </b>NlGfOrganization <b>as </b><b>target</b>

    <b>group </b>KvkBasisprofielToOrganization<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>KvkBasisprofiel, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>Organization<span style="color: navy">)</span><span style="color: navy"> {
    </span>  src<span style="color: navy"><b> -&gt; </b></span>tgt.meta<b> as </b><span style="color: maroon">meta</span><b> then</b><span style="color: navy"> {
    </span>    src<span style="color: navy"><b> -&gt; </b></span>meta.profile = <span style="color: blue">'http://minvws.github.io/generiekefuncties-docs/StructureDefinition/nl-gf-organization'</span> <i>&quot;setProfileUrl&quot;</i><span style="color: navy">;</span>
      <span style="color: navy">}</span> <i>&quot;setProfile&quot;</i><span style="color: navy">;</span>
      src.kvkNummer<b> as </b><span style="color: maroon">kvkNum</span><span style="color: navy"><b> -&gt; </b></span>tgt.identifier<b> as </b><span style="color: maroon">kvkId</span><b> then</b><span style="color: navy"> {
    </span>    kvkNum<span style="color: navy"><b> -&gt; </b></span>kvkId.use = <span style="color: blue">'official'</span> <i>&quot;kvkUse&quot;</i><span style="color: navy">;</span>
        kvkNum<span style="color: navy"><b> -&gt; </b></span>kvkId.system = <span style="color: blue">'http://fhir.nl/fhir/NamingSystem/kvk'</span> <i>&quot;kvkSystem&quot;</i><span style="color: navy">;</span>
        kvkNum<span style="color: navy"><b> -&gt; </b></span>kvkId.value = <span style="color: maroon">kvkNum</span> <i>&quot;kvkValue&quot;</i><span style="color: navy">;</span>
      <span style="color: navy">}</span><span style="color: navy">;</span>
      src.uraNummer<b> as </b><span style="color: maroon">uraNum</span><span style="color: navy"><b> -&gt; </b></span>tgt.identifier<b> as </b><span style="color: maroon">uraId</span><b> then</b><span style="color: navy"> {
    </span>    uraNum<span style="color: navy"><b> -&gt; </b></span>uraId.use = <span style="color: blue">'official'</span> <i>&quot;uraUse&quot;</i><span style="color: navy">;</span>
        uraNum<span style="color: navy"><b> -&gt; </b></span>uraId.system = <span style="color: blue">'http://fhir.nl/fhir/NamingSystem/ura'</span> <i>&quot;uraSystem&quot;</i><span style="color: navy">;</span>
        uraNum<span style="color: navy"><b> -&gt; </b></span>uraId.value = <span style="color: maroon">uraNum</span> <i>&quot;uraValue&quot;</i><span style="color: navy">;</span>
        uraNum<span style="color: navy"><b> -&gt; </b></span>uraId.assigner<b> as </b><span style="color: maroon">assignerRef</span><b> then</b><span style="color: navy"> {
    </span>      uraNum<span style="color: navy"><b> -&gt; </b></span>assignerRef.identifier<b> as </b><span style="color: maroon">assignerId</span><b> then</b><span style="color: navy"> {
    </span>        uraNum<span style="color: navy"><b> -&gt; </b></span>assignerId.system = <span style="color: blue">'http://fhir.nl/fhir/NamingSystem/kvk'</span> <i>&quot;assignerIdSystem&quot;</i><span style="color: navy">;</span>
            uraNum<span style="color: navy"><b> -&gt; </b></span>assignerId.value = <span style="color: blue">'50000535'</span> <i>&quot;assignerIdValue&quot;</i><span style="color: navy">;</span>
            uraNum<span style="color: navy"><b> -&gt; </b></span>assignerId.type<b> as </b><span style="color: maroon">assignerIdType</span><b> then</b><span style="color: navy"> {
    </span>          uraNum<span style="color: navy"><b> -&gt; </b></span>assignerIdType.coding<b> as </b><span style="color: maroon">assignerIdTypeCoding</span><b> then</b><span style="color: navy"> {
    </span>            uraNum<span style="color: navy"><b> -&gt; </b></span>assignerIdTypeCoding.system = <span style="color: blue">'http://terminology.hl7.org/CodeSystem/provenance-participant-type'</span> <i>&quot;assignerIdTypeCodingSystem&quot;</i><span style="color: navy">;</span>
                uraNum<span style="color: navy"><b> -&gt; </b></span>assignerIdTypeCoding.code = <span style="color: blue">'custodian'</span> <i>&quot;assignerIdTypeCodingCode&quot;</i><span style="color: navy">;</span>
              <span style="color: navy">}</span> <i>&quot;assignerIdTypeCoding&quot;</i><span style="color: navy">;</span>
            <span style="color: navy">}</span> <i>&quot;assignerIdType&quot;</i><span style="color: navy">;</span>
          <span style="color: navy">}</span> <i>&quot;assignerIdentifier&quot;</i><span style="color: navy">;</span>
        <span style="color: navy">}</span> <i>&quot;uraAssigner&quot;</i><span style="color: navy">;</span>
      <span style="color: navy">}</span><span style="color: navy">;</span>
      src.naam<b> as </b><span style="color: maroon">naam</span><span style="color: navy"><b> -&gt; </b></span>tgt.name = <span style="color: maroon">naam</span><span style="color: navy">;</span>
      src<span style="color: navy"><b> -&gt; </b></span>tgt.active = <span style="color: blue">true</span> <i>&quot;setActive&quot;</i><span style="color: navy">;</span>
      src.statutaireNaam<b> as </b><span style="color: maroon">statNaam</span><span style="color: navy"><b> -&gt; </b></span>tgt.alias = <span style="color: maroon">statNaam</span><span style="color: navy">;</span>
      src.handelsnamen<b> as </b><span style="color: maroon">hn</span><b> then </b>KvkHandelsnaamToAlias<span style="color: navy">(</span><span style="color: maroon">hn</span><span style="color: navy">, </span><span style="color: maroon">tgt</span><span style="color: navy">)</span><span style="color: navy">;</span>
      src.sbiActiviteiten<b> as </b><span style="color: maroon">sbi</span><span style="color: navy"><b> -&gt; </b></span>tgt.type<b> as </b><span style="color: maroon">cc</span><b> then </b>KvkSBIToCodeableConcept<span style="color: navy">(</span><span style="color: maroon">sbi</span><span style="color: navy">, </span><span style="color: maroon">cc</span><span style="color: navy">)</span><span style="color: navy">;</span>
      src.embedded<b> as </b><span style="color: maroon">emb</span><b> then</b><span style="color: navy"> {
    </span>    emb.eigenaar<b> as </b><span style="color: maroon">eig</span><b> then</b><span style="color: navy"> {
    </span>      eig.rsin<b> as </b><span style="color: maroon">rsin</span><span style="color: navy"><b> -&gt; </b></span>tgt.identifier<b> as </b><span style="color: maroon">rsinId</span><b> then</b><span style="color: navy"> {
    </span>        rsin<span style="color: navy"><b> -&gt; </b></span>rsinId.system = <span style="color: blue">'http://fhir.nl/fhir/NamingSystem/rsin'</span> <i>&quot;rsinSystem&quot;</i><span style="color: navy">;</span>
            rsin<span style="color: navy"><b> -&gt; </b></span>rsinId.value = <span style="color: maroon">rsin</span> <i>&quot;rsinValue&quot;</i><span style="color: navy">;</span>
          <span style="color: navy">}</span><span style="color: navy">;</span>
        <span style="color: navy">}</span><span style="color: navy">;</span>
        emb.hoofdvestiging<b> as </b><span style="color: maroon">hv</span><b> then</b><span style="color: navy"> {
    </span>      hv.adressen<b> as </b><span style="color: maroon">adres</span><span style="color: navy"><b> -&gt; </b></span>tgt.address<b> as </b><span style="color: maroon">addr</span><b> then </b>KvkAdresToAddress<span style="color: navy">(</span><span style="color: maroon">adres</span><span style="color: navy">, </span><span style="color: maroon">addr</span><span style="color: navy">)</span><span style="color: navy">;</span>
          hv.websites<b> as </b><span style="color: maroon">web</span><span style="color: navy"><b> -&gt; </b></span>tgt.telecom<b> as </b><span style="color: maroon">tel</span><b> then </b>KvkWebsiteToContactPoint<span style="color: navy">(</span><span style="color: maroon">web</span><span style="color: navy">, </span><span style="color: maroon">tel</span><span style="color: navy">)</span><span style="color: navy">;</span>
        <span style="color: navy">}</span><span style="color: navy">;</span>
      <span style="color: navy">}</span><span style="color: navy">;</span>
    <span style="color: navy">}

    </span><b>group </b>KvkHandelsnaamToAlias<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>Organization<span style="color: navy">)</span><span style="color: navy"> {
    </span>  src.naam<b> as </b><span style="color: maroon">naam</span><span style="color: navy"><b> -&gt; </b></span>tgt.alias = <span style="color: maroon">naam</span><span style="color: navy">;</span>
    <span style="color: navy">}

    </span><b>group </b>KvkSBIToCodeableConcept<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>CodeableConcept<span style="color: navy">)</span><span style="color: navy"> {
    </span>  src<span style="color: navy"><b> -&gt; </b></span>tgt.coding<b> as </b><span style="color: maroon">coding</span><b> then</b><span style="color: navy"> {
    </span>    src<span style="color: navy"><b> -&gt; </b></span>coding.system = <span style="color: blue">'http://minvws.github.io/generiekefuncties-docs/CodeSystem/nl-gf-sbi-cs'</span> <i>&quot;sbiSystem&quot;</i><span style="color: navy">;</span>
        src.sbiCode<b> as </b><span style="color: maroon">code</span><span style="color: navy"><b> -&gt; </b></span>coding.code = <span style="color: maroon">code</span><span style="color: navy">;</span>
        src.sbiOmschrijving<b> as </b><span style="color: maroon">omschr</span><span style="color: navy"><b> -&gt; </b></span>coding.display = <span style="color: maroon">omschr</span> <i>&quot;sbiDisplay&quot;</i><span style="color: navy">;</span>
      <span style="color: navy">}</span> <i>&quot;sbiCoding&quot;</i><span style="color: navy">;</span>
    <span style="color: navy">}

    </span><b>group </b>KvkAdresToAddress<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>Address<span style="color: navy">)</span><span style="color: navy"> {
    </span>  src.volledigAdres<b> as </b><span style="color: maroon">volledigAdres</span><span style="color: navy"><b> -&gt; </b></span>tgt.text = <span style="color: maroon">volledigAdres</span><span style="color: navy">;</span>
      src.straatnaam<b> as </b><span style="color: maroon">straat</span><span style="color: navy"><b> -&gt; </b></span>tgt.line = <b>cast</b><span style="color: navy">(</span><span style="color: maroon">straat</span><span style="color: navy">, </span><span style="color: blue">'string'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">addrLine</span><b> then</b><span style="color: navy"> {
    </span>    straat<span style="color: navy"><b> -&gt; </b></span>addrLine.extension<b> as </b><span style="color: maroon">ext</span><b> then</b><span style="color: navy"> {
    </span>      straat<span style="color: navy"><b> -&gt; </b></span>ext.url = <span style="color: blue">'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName'</span> <i>&quot;streetNameExtUrl&quot;</i><span style="color: navy">;</span>
          straat<span style="color: navy"><b> -&gt; </b></span>ext.value = <span style="color: maroon">straat</span> <i>&quot;streetNameExtValue&quot;</i><span style="color: navy">;</span>
        <span style="color: navy">}</span> <i>&quot;streetNameExt&quot;</i><span style="color: navy">;</span>
      <span style="color: navy">}</span><span style="color: navy">;</span>
      src.huisnummer<b> as </b><span style="color: maroon">huisnr</span><span style="color: navy"><b> -&gt; </b></span>tgt.line = <b>cast</b><span style="color: navy">(</span><span style="color: maroon">huisnr</span><span style="color: navy">, </span><span style="color: blue">'string'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">addrLine2</span><b> then</b><span style="color: navy"> {
    </span>    huisnr<span style="color: navy"><b> -&gt; </b></span>addrLine2.extension<b> as </b><span style="color: maroon">ext</span><b> then</b><span style="color: navy"> {
    </span>      huisnr<span style="color: navy"><b> -&gt; </b></span>ext.url = <span style="color: blue">'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber'</span> <i>&quot;houseNumberExtUrl&quot;</i><span style="color: navy">;</span>
          huisnr<span style="color: navy"><b> -&gt; </b></span>ext.value = <b>cast</b><span style="color: navy">(</span><span style="color: maroon">huisnr</span><span style="color: navy">, </span><span style="color: blue">'string'</span><span style="color: navy">)</span> <i>&quot;houseNumberExtValue&quot;</i><span style="color: navy">;</span>
        <span style="color: navy">}</span> <i>&quot;houseNumberExt&quot;</i><span style="color: navy">;</span>
      <span style="color: navy">}</span><span style="color: navy">;</span>
      src.huisletter<b> as </b><span style="color: maroon">huisltr</span><span style="color: navy"><b> -&gt; </b></span>tgt.line = <b>cast</b><span style="color: navy">(</span><span style="color: maroon">huisltr</span><span style="color: navy">, </span><span style="color: blue">'string'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">addrLine3</span><b> then</b><span style="color: navy"> {
    </span>    huisltr<span style="color: navy"><b> -&gt; </b></span>addrLine3.extension<b> as </b><span style="color: maroon">ext</span><b> then</b><span style="color: navy"> {
    </span>      huisltr<span style="color: navy"><b> -&gt; </b></span>ext.url = <span style="color: blue">'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix'</span> <i>&quot;houseLetterExtUrl&quot;</i><span style="color: navy">;</span>
          huisltr<span style="color: navy"><b> -&gt; </b></span>ext.value = <span style="color: maroon">huisltr</span> <i>&quot;houseLetterExtValue&quot;</i><span style="color: navy">;</span>
        <span style="color: navy">}</span> <i>&quot;houseLetterExt&quot;</i><span style="color: navy">;</span>
      <span style="color: navy">}</span><span style="color: navy">;</span>
      src.huisnummerToevoeging<b> as </b><span style="color: maroon">huisnrToev</span><span style="color: navy"><b> -&gt; </b></span>tgt.line = <b>cast</b><span style="color: navy">(</span><span style="color: maroon">huisnrToev</span><span style="color: navy">, </span><span style="color: blue">'string'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">addrLine4</span><b> then</b><span style="color: navy"> {
    </span>    huisnrToev<span style="color: navy"><b> -&gt; </b></span>addrLine4.extension<b> as </b><span style="color: maroon">ext</span><b> then</b><span style="color: navy"> {
    </span>      huisnrToev<span style="color: navy"><b> -&gt; </b></span>ext.url = <span style="color: blue">'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator'</span> <i>&quot;houseNumberAdditionExtUrl&quot;</i><span style="color: navy">;</span>
          huisnrToev<span style="color: navy"><b> -&gt; </b></span>ext.value = <span style="color: maroon">huisnrToev</span> <i>&quot;houseNumberAdditionExtValue&quot;</i><span style="color: navy">;</span>
        <span style="color: navy">}</span> <i>&quot;houseNumberAdditionExt&quot;</i><span style="color: navy">;</span>
      <span style="color: navy">}</span><span style="color: navy">;</span>
      src.postcode<b> as </b><span style="color: maroon">pc</span><span style="color: navy"><b> -&gt; </b></span>tgt.postalCode = <span style="color: maroon">pc</span><span style="color: navy">;</span>
      src.plaats<b> as </b><span style="color: maroon">plaats</span><span style="color: navy"><b> -&gt; </b></span>tgt.city = <span style="color: maroon">plaats</span><span style="color: navy">;</span>
      src.land<b> as </b><span style="color: maroon">land</span><span style="color: navy"><b> -&gt; </b></span>tgt.country = <span style="color: maroon">land</span><span style="color: navy">;</span>
      src<span style="color: navy"><b> -&gt; </b></span>tgt.use = <span style="color: blue">'work'</span> <i>&quot;setUse&quot;</i><span style="color: navy">;</span>
    <span style="color: navy">}

    </span><b>group </b>KvkWebsiteToContactPoint<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>ContactPoint<span style="color: navy">)</span><span style="color: navy"> {
    </span>  src<span style="color: navy"><b> -&gt; </b></span>tgt.system = <span style="color: blue">'url'</span> <i>&quot;setSystem&quot;</i><span style="color: navy">;</span>
      src<b> as </b><span style="color: maroon">url</span><span style="color: navy"><b> -&gt; </b></span>tgt.value = <span style="color: maroon">url</span> <i>&quot;setValue&quot;</i><span style="color: navy">;</span>
      src<span style="color: navy"><b> -&gt; </b></span>tgt.use = <span style="color: blue">'work'</span> <i>&quot;setUse&quot;</i><span style="color: navy">;</span>
    <span style="color: navy">}

    </span></pre></div>
      </text>
      <url
           value="http://minvws.github.io/generiekefuncties-docs/StructureMap/KvkBasisprofielToOrganization"/>
      <version value="0.9.0-ballot"/>
      <name value="KvkBasisprofielToOrganization"/>
      <title value="KVK Basisprofiel naar FHIR Organization"/>
      <status value="draft"/>
      <date value="2026-04-02T11:15:26+00:00"/>
      <publisher value="Ministerie van Volksgezondheid, Welzijn en Sport"/>
      <contact>
        <name value="Ministerie van Volksgezondheid, Welzijn en Sport"/>
        <telecom>
          <system value="url"/>
          <value value="https://www.minvws.nl"/>
        </telecom>
      </contact>
      <description
                   value="StructureMap die een KVK Basisprofiel API response transformeert naar een FHIR Organization resource."/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="NL"/>
          <display value="Netherlands"/>
        </coding>
      </jurisdiction>
      <structure>
        <url
             value="http://minvws.github.io/generiekefuncties-docs/StructureDefinition/KvkBasisprofiel"/>
        <mode value="source"/>
        <alias value="KvkBasisprofiel"/>
      </structure>
      <structure>
        <url
             value="http://minvws.github.io/generiekefuncties-docs/StructureDefinition/nl-gf-organization"/>
        <mode value="target"/>
        <alias value="NlGfOrganization"/>
      </structure>
      <group>
        <name value="KvkBasisprofielToOrganization"/>
        <typeMode value="none"/>
        <input>
          <name value="src"/>
          <type value="KvkBasisprofiel"/>
          <mode value="source"/>
        </input>
        <input>
          <name value="tgt"/>
          <type value="Organization"/>
          <mode value="target"/>
        </input>
        <rule>
          <name value="setProfile"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="meta"/>
            <variable value="meta"/>
          </target>
          <rule>
            <name value="setProfileUrl"/>
            <source>
              <context value="src"/>
            </source>
            <target>
              <context value="meta"/>
              <contextType value="variable"/>
              <element value="profile"/>
              <transform value="copy"/>
              <parameter>
                <valueString
                             value="http://minvws.github.io/generiekefuncties-docs/StructureDefinition/nl-gf-organization"/>
              </parameter>
            </target>
          </rule>
        </rule>
        <rule>
          <name value="kvkNummer"/>
          <source>
            <context value="src"/>
            <element value="kvkNummer"/>
            <variable value="kvkNum"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="identifier"/>
            <variable value="kvkId"/>
          </target>
          <rule>
            <name value="kvkUse"/>
            <source>
              <context value="kvkNum"/>
            </source>
            <target>
              <context value="kvkId"/>
              <contextType value="variable"/>
              <element value="use"/>
              <transform value="copy"/>
              <parameter>
                <valueString value="official"/>
              </parameter>
            </target>
          </rule>
          <rule>
            <name value="kvkSystem"/>
            <source>
              <context value="kvkNum"/>
            </source>
            <target>
              <context value="kvkId"/>
              <contextType value="variable"/>
              <element value="system"/>
              <transform value="copy"/>
              <parameter>
                <valueString value="http://fhir.nl/fhir/NamingSystem/kvk"/>
              </parameter>
            </target>
          </rule>
          <rule>
            <name value="kvkValue"/>
            <source>
              <context value="kvkNum"/>
            </source>
            <target>
              <context value="kvkId"/>
              <contextType value="variable"/>
              <element value="value"/>
              <transform value="copy"/>
              <parameter>
                <valueId value="kvkNum"/>
              </parameter>
            </target>
          </rule>
        </rule>
        <rule>
          <name value="uraNummer"/>
          <source>
            <context value="src"/>
            <element value="uraNummer"/>
            <variable value="uraNum"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="identifier"/>
            <variable value="uraId"/>
          </target>
          <rule>
            <name value="uraUse"/>
            <source>
              <context value="uraNum"/>
            </source>
            <target>
              <context value="uraId"/>
              <contextType value="variable"/>
              <element value="use"/>
              <transform value="copy"/>
              <parameter>
                <valueString value="official"/>
              </parameter>
            </target>
          </rule>
          <rule>
            <name value="uraSystem"/>
            <source>
              <context value="uraNum"/>
            </source>
            <target>
              <context value="uraId"/>
              <contextType value="variable"/>
              <element value="system"/>
              <transform value="copy"/>
              <parameter>
                <valueString value="http://fhir.nl/fhir/NamingSystem/ura"/>
              </parameter>
            </target>
          </rule>
          <rule>
            <name value="uraValue"/>
            <source>
              <context value="uraNum"/>
            </source>
            <target>
              <context value="uraId"/>
              <contextType value="variable"/>
              <element value="value"/>
              <transform value="copy"/>
              <parameter>
                <valueId value="uraNum"/>
              </parameter>
            </target>
          </rule>
          <rule>
            <name value="uraAssigner"/>
            <source>
              <context value="uraNum"/>
            </source>
            <target>
              <context value="uraId"/>
              <contextType value="variable"/>
              <element value="assigner"/>
              <variable value="assignerRef"/>
            </target>
            <rule>
              <name value="assignerIdentifier"/>
              <source>
                <context value="uraNum"/>
              </source>
              <target>
                <context value="assignerRef"/>
                <contextType value="variable"/>
                <element value="identifier"/>
                <variable value="assignerId"/>
              </target>
              <rule>
                <name value="assignerIdSystem"/>
                <source>
                  <context value="uraNum"/>
                </source>
                <target>
                  <context value="assignerId"/>
                  <contextType value="variable"/>
                  <element value="system"/>
                  <transform value="copy"/>
                  <parameter>
                    <valueString value="http://fhir.nl/fhir/NamingSystem/kvk"/>
                  </parameter>
                </target>
              </rule>
              <rule>
                <name value="assignerIdValue"/>
                <source>
                  <context value="uraNum"/>
                </source>
                <target>
                  <context value="assignerId"/>
                  <contextType value="variable"/>
                  <element value="value"/>
                  <transform value="copy"/>
                  <parameter>
                    <valueString value="50000535"/>
                  </parameter>
                </target>
              </rule>
              <rule>
                <name value="assignerIdType"/>
                <source>
                  <context value="uraNum"/>
                </source>
                <target>
                  <context value="assignerId"/>
                  <contextType value="variable"/>
                  <element value="type"/>
                  <variable value="assignerIdType"/>
                </target>
                <rule>
                  <name value="assignerIdTypeCoding"/>
                  <source>
                    <context value="uraNum"/>
                  </source>
                  <target>
                    <context value="assignerIdType"/>
                    <contextType value="variable"/>
                    <element value="coding"/>
                    <variable value="assignerIdTypeCoding"/>
                  </target>
                  <rule>
                    <name value="assignerIdTypeCodingSystem"/>
                    <source>
                      <context value="uraNum"/>
                    </source>
                    <target>
                      <context value="assignerIdTypeCoding"/>
                      <contextType value="variable"/>
                      <element value="system"/>
                      <transform value="copy"/>
                      <parameter>
                        <valueString
                                     value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>
                      </parameter>
                    </target>
                  </rule>
                  <rule>
                    <name value="assignerIdTypeCodingCode"/>
                    <source>
                      <context value="uraNum"/>
                    </source>
                    <target>
                      <context value="assignerIdTypeCoding"/>
                      <contextType value="variable"/>
                      <element value="code"/>
                      <transform value="copy"/>
                      <parameter>
                        <valueString value="custodian"/>
                      </parameter>
                    </target>
                  </rule>
                </rule>
              </rule>
            </rule>
          </rule>
        </rule>
        <rule>
          <name value="naam"/>
          <source>
            <context value="src"/>
            <element value="naam"/>
            <variable value="naam"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="name"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="naam"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="setActive"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="active"/>
            <transform value="copy"/>
            <parameter>
              <valueBoolean value="true"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="statutaireNaam"/>
          <source>
            <context value="src"/>
            <element value="statutaireNaam"/>
            <variable value="statNaam"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="alias"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="statNaam"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="handelsnamen"/>
          <source>
            <context value="src"/>
            <element value="handelsnamen"/>
            <variable value="hn"/>
          </source>
          <dependent>
            <name value="KvkHandelsnaamToAlias"/>
            <variable value="hn"/>
            <variable value="tgt"/>
          </dependent>
        </rule>
        <rule>
          <name value="sbiActiviteiten"/>
          <source>
            <context value="src"/>
            <element value="sbiActiviteiten"/>
            <variable value="sbi"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="type"/>
            <variable value="cc"/>
          </target>
          <dependent>
            <name value="KvkSBIToCodeableConcept"/>
            <variable value="sbi"/>
            <variable value="cc"/>
          </dependent>
        </rule>
        <rule>
          <name value="embedded"/>
          <source>
            <context value="src"/>
            <element value="embedded"/>
            <variable value="emb"/>
          </source>
          <rule>
            <name value="eigenaar"/>
            <source>
              <context value="emb"/>
              <element value="eigenaar"/>
              <variable value="eig"/>
            </source>
            <rule>
              <name value="rsin"/>
              <source>
                <context value="eig"/>
                <element value="rsin"/>
                <variable value="rsin"/>
              </source>
              <target>
                <context value="tgt"/>
                <contextType value="variable"/>
                <element value="identifier"/>
                <variable value="rsinId"/>
              </target>
              <rule>
                <name value="rsinSystem"/>
                <source>
                  <context value="rsin"/>
                </source>
                <target>
                  <context value="rsinId"/>
                  <contextType value="variable"/>
                  <element value="system"/>
                  <transform value="copy"/>
                  <parameter>
                    <valueString value="http://fhir.nl/fhir/NamingSystem/rsin"/>
                  </parameter>
                </target>
              </rule>
              <rule>
                <name value="rsinValue"/>
                <source>
                  <context value="rsin"/>
                </source>
                <target>
                  <context value="rsinId"/>
                  <contextType value="variable"/>
                  <element value="value"/>
                  <transform value="copy"/>
                  <parameter>
                    <valueId value="rsin"/>
                  </parameter>
                </target>
              </rule>
            </rule>
          </rule>
          <rule>
            <name value="hoofdvestiging"/>
            <source>
              <context value="emb"/>
              <element value="hoofdvestiging"/>
              <variable value="hv"/>
            </source>
            <rule>
              <name value="adressen"/>
              <source>
                <context value="hv"/>
                <element value="adressen"/>
                <variable value="adres"/>
              </source>
              <target>
                <context value="tgt"/>
                <contextType value="variable"/>
                <element value="address"/>
                <variable value="addr"/>
              </target>
              <dependent>
                <name value="KvkAdresToAddress"/>
                <variable value="adres"/>
                <variable value="addr"/>
              </dependent>
            </rule>
            <rule>
              <name value="websites"/>
              <source>
                <context value="hv"/>
                <element value="websites"/>
                <variable value="web"/>
              </source>
              <target>
                <context value="tgt"/>
                <contextType value="variable"/>
                <element value="telecom"/>
                <variable value="tel"/>
              </target>
              <dependent>
                <name value="KvkWebsiteToContactPoint"/>
                <variable value="web"/>
                <variable value="tel"/>
              </dependent>
            </rule>
          </rule>
        </rule>
      </group>
      <group>
        <name value="KvkHandelsnaamToAlias"/>
        <typeMode value="none"/>
        <input>
          <name value="src"/>
          <mode value="source"/>
        </input>
        <input>
          <name value="tgt"/>
          <type value="Organization"/>
          <mode value="target"/>
        </input>
        <rule>
          <name value="naam"/>
          <source>
            <context value="src"/>
            <element value="naam"/>
            <variable value="naam"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="alias"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="naam"/>
            </parameter>
          </target>
        </rule>
      </group>
      <group>
        <name value="KvkSBIToCodeableConcept"/>
        <typeMode value="none"/>
        <input>
          <name value="src"/>
          <mode value="source"/>
        </input>
        <input>
          <name value="tgt"/>
          <type value="CodeableConcept"/>
          <mode value="target"/>
        </input>
        <rule>
          <name value="sbiCoding"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="coding"/>
            <variable value="coding"/>
          </target>
          <rule>
            <name value="sbiSystem"/>
            <source>
              <context value="src"/>
            </source>
            <target>
              <context value="coding"/>
              <contextType value="variable"/>
              <element value="system"/>
              <transform value="copy"/>
              <parameter>
                <valueString
                             value="http://minvws.github.io/generiekefuncties-docs/CodeSystem/nl-gf-sbi-cs"/>
              </parameter>
            </target>
          </rule>
          <rule>
            <name value="sbiCode"/>
            <source>
              <context value="src"/>
              <element value="sbiCode"/>
              <variable value="code"/>
            </source>
            <target>
              <context value="coding"/>
              <contextType value="variable"/>
              <element value="code"/>
              <transform value="copy"/>
              <parameter>
                <valueId value="code"/>
              </parameter>
            </target>
          </rule>
          <rule>
            <name value="sbiDisplay"/>
            <source>
              <context value="src"/>
              <element value="sbiOmschrijving"/>
              <variable value="omschr"/>
            </source>
            <target>
              <context value="coding"/>
              <contextType value="variable"/>
              <element value="display"/>
              <transform value="copy"/>
              <parameter>
                <valueId value="omschr"/>
              </parameter>
            </target>
          </rule>
        </rule>
      </group>
      <group>
        <name value="KvkAdresToAddress"/>
        <typeMode value="none"/>
        <input>
          <name value="src"/>
          <mode value="source"/>
        </input>
        <input>
          <name value="tgt"/>
          <type value="Address"/>
          <mode value="target"/>
        </input>
        <rule>
          <name value="volledigAdres"/>
          <source>
            <context value="src"/>
            <element value="volledigAdres"/>
            <variable value="volledigAdres"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="text"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="volledigAdres"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="straatnaam"/>
          <source>
            <context value="src"/>
            <element value="straatnaam"/>
            <variable value="straat"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="line"/>
            <variable value="addrLine"/>
            <transform value="cast"/>
            <parameter>
              <valueId value="straat"/>
            </parameter>
            <parameter>
              <valueString value="string"/>
            </parameter>
          </target>
          <rule>
            <name value="streetNameExt"/>
            <source>
              <context value="straat"/>
            </source>
            <target>
              <context value="addrLine"/>
              <contextType value="variable"/>
              <element value="extension"/>
              <variable value="ext"/>
            </target>
            <rule>
              <name value="streetNameExtUrl"/>
              <source>
                <context value="straat"/>
              </source>
              <target>
                <context value="ext"/>
                <contextType value="variable"/>
                <element value="url"/>
                <transform value="copy"/>
                <parameter>
                  <valueString
                               value="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"/>
                </parameter>
              </target>
            </rule>
            <rule>
              <name value="streetNameExtValue"/>
              <source>
                <context value="straat"/>
              </source>
              <target>
                <context value="ext"/>
                <contextType value="variable"/>
                <element value="value"/>
                <transform value="copy"/>
                <parameter>
                  <valueId value="straat"/>
                </parameter>
              </target>
            </rule>
          </rule>
        </rule>
        <rule>
          <name value="huisnummer"/>
          <source>
            <context value="src"/>
            <element value="huisnummer"/>
            <variable value="huisnr"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="line"/>
            <variable value="addrLine2"/>
            <transform value="cast"/>
            <parameter>
              <valueId value="huisnr"/>
            </parameter>
            <parameter>
              <valueString value="string"/>
            </parameter>
          </target>
          <rule>
            <name value="houseNumberExt"/>
            <source>
              <context value="huisnr"/>
            </source>
            <target>
              <context value="addrLine2"/>
              <contextType value="variable"/>
              <element value="extension"/>
              <variable value="ext"/>
            </target>
            <rule>
              <name value="houseNumberExtUrl"/>
              <source>
                <context value="huisnr"/>
              </source>
              <target>
                <context value="ext"/>
                <contextType value="variable"/>
                <element value="url"/>
                <transform value="copy"/>
                <parameter>
                  <valueString
                               value="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"/>
                </parameter>
              </target>
            </rule>
            <rule>
              <name value="houseNumberExtValue"/>
              <source>
                <context value="huisnr"/>
              </source>
              <target>
                <context value="ext"/>
                <contextType value="variable"/>
                <element value="value"/>
                <transform value="cast"/>
                <parameter>
                  <valueId value="huisnr"/>
                </parameter>
                <parameter>
                  <valueString value="string"/>
                </parameter>
              </target>
            </rule>
          </rule>
        </rule>
        <rule>
          <name value="huisletter"/>
          <source>
            <context value="src"/>
            <element value="huisletter"/>
            <variable value="huisltr"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="line"/>
            <variable value="addrLine3"/>
            <transform value="cast"/>
            <parameter>
              <valueId value="huisltr"/>
            </parameter>
            <parameter>
              <valueString value="string"/>
            </parameter>
          </target>
          <rule>
            <name value="houseLetterExt"/>
            <source>
              <context value="huisltr"/>
            </source>
            <target>
              <context value="addrLine3"/>
              <contextType value="variable"/>
              <element value="extension"/>
              <variable value="ext"/>
            </target>
            <rule>
              <name value="houseLetterExtUrl"/>
              <source>
                <context value="huisltr"/>
              </source>
              <target>
                <context value="ext"/>
                <contextType value="variable"/>
                <element value="url"/>
                <transform value="copy"/>
                <parameter>
                  <valueString
                               value="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix"/>
                </parameter>
              </target>
            </rule>
            <rule>
              <name value="houseLetterExtValue"/>
              <source>
                <context value="huisltr"/>
              </source>
              <target>
                <context value="ext"/>
                <contextType value="variable"/>
                <element value="value"/>
                <transform value="copy"/>
                <parameter>
                  <valueId value="huisltr"/>
                </parameter>
              </target>
            </rule>
          </rule>
        </rule>
        <rule>
          <name value="huisnummerToevoeging"/>
          <source>
            <context value="src"/>
            <element value="huisnummerToevoeging"/>
            <variable value="huisnrToev"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="line"/>
            <variable value="addrLine4"/>
            <transform value="cast"/>
            <parameter>
              <valueId value="huisnrToev"/>
            </parameter>
            <parameter>
              <valueString value="string"/>
            </parameter>
          </target>
          <rule>
            <name value="houseNumberAdditionExt"/>
            <source>
              <context value="huisnrToev"/>
            </source>
            <target>
              <context value="addrLine4"/>
              <contextType value="variable"/>
              <element value="extension"/>
              <variable value="ext"/>
            </target>
            <rule>
              <name value="houseNumberAdditionExtUrl"/>
              <source>
                <context value="huisnrToev"/>
              </source>
              <target>
                <context value="ext"/>
                <contextType value="variable"/>
                <element value="url"/>
                <transform value="copy"/>
                <parameter>
                  <valueString
                               value="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"/>
                </parameter>
              </target>
            </rule>
            <rule>
              <name value="houseNumberAdditionExtValue"/>
              <source>
                <context value="huisnrToev"/>
              </source>
              <target>
                <context value="ext"/>
                <contextType value="variable"/>
                <element value="value"/>
                <transform value="copy"/>
                <parameter>
                  <valueId value="huisnrToev"/>
                </parameter>
              </target>
            </rule>
          </rule>
        </rule>
        <rule>
          <name value="postcode"/>
          <source>
            <context value="src"/>
            <element value="postcode"/>
            <variable value="pc"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="postalCode"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="pc"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="plaats"/>
          <source>
            <context value="src"/>
            <element value="plaats"/>
            <variable value="plaats"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="city"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="plaats"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="land"/>
          <source>
            <context value="src"/>
            <element value="land"/>
            <variable value="land"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="country"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="land"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="setUse"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="use"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="work"/>
            </parameter>
          </target>
        </rule>
      </group>
      <group>
        <name value="KvkWebsiteToContactPoint"/>
        <typeMode value="none"/>
        <input>
          <name value="src"/>
          <mode value="source"/>
        </input>
        <input>
          <name value="tgt"/>
          <type value="ContactPoint"/>
          <mode value="target"/>
        </input>
        <rule>
          <name value="setSystem"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="system"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="url"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="setValue"/>
          <source>
            <context value="src"/>
            <variable value="url"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="value"/>
            <transform value="copy"/>
            <parameter>
              <valueId value="url"/>
            </parameter>
          </target>
        </rule>
        <rule>
          <name value="setUse"/>
          <source>
            <context value="src"/>
          </source>
          <target>
            <context value="tgt"/>
            <contextType value="variable"/>
            <element value="use"/>
            <transform value="copy"/>
            <parameter>
              <valueString value="work"/>
            </parameter>
          </target>
        </rule>
      </group>
    </StructureMap>