Netherlands - Generic Functions for data exchange Implementation Guide
0.2.0-ballot - ci-build

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.2.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 Vestigingsprofiel naar FHIR Location - TTL Representation

Draft as of 2026-03-24

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:StructureMap ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "KvkVestigingsprofielToLocation"] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap KvkVestigingsprofielToLocation</b></p><a name=\"KvkVestigingsprofielToLocation\"> </a><a name=\"hcKvkVestigingsprofielToLocation\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://minvws.github.io/generiekefuncties-docs/StructureMap/KvkVestigingsprofielToLocation<span style=\"color: navy\">\" = \"</span>KvkVestigingsprofielToLocation<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">StructureMap die een KVK Vestigingsprofiel API response transformeert naar een FHIR Location resource.</span>#xD;\n#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-KvkVestigingsprofiel.html\" title=\"KVK Vestigingsprofiel\">http://minvws.github.io/generiekefuncties-docs/StructureDefinition/KvkVestigingsprofiel</a><span style=\"color: navy\">\" </span><b>alias </b>KvkVestigingsprofiel <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-nl-gf-location.html\" title=\"NL Generic Functions Location Profile\">http://minvws.github.io/generiekefuncties-docs/StructureDefinition/nl-gf-location</a><span style=\"color: navy\">\" </span><b>alias </b>NlGfLocation <b>as </b><b>target</b>#xD;\n#xD;\n<b>group </b>KvkVestigingsprofielToLocation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>KvkVestigingsprofiel, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>Location<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</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\"> {#xD;\n</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-location'</span> <i>\"setProfileUrl\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"setProfile\"</i><span style=\"color: navy\">;</span>#xD;\n  src.vestigingsnummer<b> as </b><span style=\"color: maroon\">vestNr</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier<b> as </b><span style=\"color: maroon\">vestId</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    vestNr<span style=\"color: navy\"><b> -&gt; </b></span>vestId.use = <span style=\"color: blue\">'official'</span> <i>\"vestUse\"</i><span style=\"color: navy\">;</span>#xD;\n    vestNr<span style=\"color: navy\"><b> -&gt; </b></span>vestId.system = <span style=\"color: blue\">'http://fhir.nl/fhir/NamingSystem/kvk-vestigingsnummer'</span> <i>\"vestSystem\"</i><span style=\"color: navy\">;</span>#xD;\n    vestNr<span style=\"color: navy\"><b> -&gt; </b></span>vestId.value = <span style=\"color: maroon\">vestNr</span> <i>\"vestValue\"</i><span style=\"color: navy\">;</span>#xD;\n    vestNr<span style=\"color: navy\"><b> -&gt; </b></span>vestId.assigner<b> as </b><span style=\"color: maroon\">assignerRef</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      vestNr<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\"> {#xD;\n</span>        vestNr<span style=\"color: navy\"><b> -&gt; </b></span>assignerId.system = <span style=\"color: blue\">'http://fhir.nl/fhir/NamingSystem/kvk'</span> <i>\"assignerIdSystem\"</i><span style=\"color: navy\">;</span>#xD;\n        vestNr<span style=\"color: navy\"><b> -&gt; </b></span>assignerId.value = <span style=\"color: blue\">'50000535'</span> <i>\"assignerIdValue\"</i><span style=\"color: navy\">;</span>#xD;\n        vestNr<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\"> {#xD;\n</span>          vestNr<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\"> {#xD;\n</span>            vestNr<span style=\"color: navy\"><b> -&gt; </b></span>assignerIdTypeCoding.system = <span style=\"color: blue\">'http://terminology.hl7.org/CodeSystem/provenance-participant-type'</span> <i>\"assignerIdTypeCodingSystem\"</i><span style=\"color: navy\">;</span>#xD;\n            vestNr<span style=\"color: navy\"><b> -&gt; </b></span>assignerIdTypeCoding.code = <span style=\"color: blue\">'custodian'</span> <i>\"assignerIdTypeCodingCode\"</i><span style=\"color: navy\">;</span>#xD;\n          <span style=\"color: navy\">}</span> <i>\"assignerIdTypeCoding\"</i><span style=\"color: navy\">;</span>#xD;\n        <span style=\"color: navy\">}</span> <i>\"assignerIdType\"</i><span style=\"color: navy\">;</span>#xD;\n      <span style=\"color: navy\">}</span> <i>\"assignerIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"vestAssigner\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>#xD;\n  src.kvkNummer<b> as </b><span style=\"color: maroon\">kvkNum</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.managingOrganization<b> as </b><span style=\"color: maroon\">orgRef</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    kvkNum<span style=\"color: navy\"><b> -&gt; </b></span>orgRef.identifier<b> as </b><span style=\"color: maroon\">orgId</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      kvkNum<span style=\"color: navy\"><b> -&gt; </b></span>orgId.system = <span style=\"color: blue\">'http://fhir.nl/fhir/NamingSystem/kvk'</span> <i>\"orgIdSystem\"</i><span style=\"color: navy\">;</span>#xD;\n      kvkNum<span style=\"color: navy\"><b> -&gt; </b></span>orgId.value = <span style=\"color: maroon\">kvkNum</span> <i>\"orgIdValue\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"orgRefIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n    kvkNum<span style=\"color: navy\"><b> -&gt; </b></span>orgRef.type = <span style=\"color: blue\">'Organization'</span> <i>\"orgRefType\"</i><span style=\"color: navy\">;</span>#xD;\n    kvkNum<span style=\"color: navy\"><b> -&gt; </b></span>orgRef.reference = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Organization/'</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">kvkNum</span><span style=\"color: navy\">)</span> <i>\"orgRefReference\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>#xD;\n  src.eersteHandelsnaam<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>#xD;\n  src<span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: blue\">'active'</span> <i>\"setStatus\"</i><span style=\"color: navy\">;</span>#xD;\n  src<span style=\"color: navy\"><b> -&gt; </b></span>tgt.mode = <span style=\"color: blue\">'instance'</span> <i>\"setMode\"</i><span style=\"color: navy\">;</span>#xD;\n  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>#xD;\n  src.handelsnamen<b> as </b><span style=\"color: maroon\">hn</span><b> then </b>KvkVestHandelsnaamToAlias<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>#xD;\n  src.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>KvkVestAdresToAddress<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>#xD;\n  src.adressen<b> as </b><span style=\"color: maroon\">adres</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    adres.geoData<b> as </b><span style=\"color: maroon\">geo</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.position<b> as </b><span style=\"color: maroon\">pos</span><b> then </b>KvkGeoDataToPosition<span style=\"color: navy\">(</span><span style=\"color: maroon\">geo</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">pos</span><span style=\"color: navy\">)</span> <i>\"geoDataToPosition\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"geoData\"</i><span style=\"color: navy\">;</span>#xD;\n  src.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>KvkVestWebsiteToContactPoint<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>#xD;\n  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>KvkVestSBIToCodeableConcept<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>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>KvkVestHandelsnaamToAlias<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>Location<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</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>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>KvkVestAdresToAddress<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\"> {#xD;\n</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>#xD;\n  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\"> {#xD;\n</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\"> {#xD;\n</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>\"streetNameExtUrl\"</i><span style=\"color: navy\">;</span>#xD;\n      straat<span style=\"color: navy\"><b> -&gt; </b></span>ext.value = <span style=\"color: maroon\">straat</span> <i>\"streetNameExtValue\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"streetNameExt\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>#xD;\n  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\"> {#xD;\n</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\"> {#xD;\n</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>\"houseNumberExtUrl\"</i><span style=\"color: navy\">;</span>#xD;\n      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>\"houseNumberExtValue\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"houseNumberExt\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>#xD;\n  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\"> {#xD;\n</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\"> {#xD;\n</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>\"houseLetterExtUrl\"</i><span style=\"color: navy\">;</span>#xD;\n      huisltr<span style=\"color: navy\"><b> -&gt; </b></span>ext.value = <span style=\"color: maroon\">huisltr</span> <i>\"houseLetterExtValue\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"houseLetterExt\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>#xD;\n  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\"> {#xD;\n</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\"> {#xD;\n</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>\"houseNumberAdditionExtUrl\"</i><span style=\"color: navy\">;</span>#xD;\n      huisnrToev<span style=\"color: navy\"><b> -&gt; </b></span>ext.value = <span style=\"color: maroon\">huisnrToev</span> <i>\"houseNumberAdditionExtValue\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"houseNumberAdditionExt\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>#xD;\n  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>#xD;\n  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>#xD;\n  src.regio<b> as </b><span style=\"color: maroon\">regio</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.district = <span style=\"color: maroon\">regio</span><span style=\"color: navy\">;</span>#xD;\n  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>#xD;\n  src<span style=\"color: navy\"><b> -&gt; </b></span>tgt.use = <span style=\"color: blue\">'work'</span> <i>\"setUse\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>KvkGeoDataToPosition<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><span style=\"color: navy\"> {#xD;\n</span>  src.gpsLatitude<b> as </b><span style=\"color: maroon\">lat</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.latitude = <span style=\"color: maroon\">lat</span> <i>\"latitude\"</i><span style=\"color: navy\">;</span>#xD;\n  src.gpsLongitude<b> as </b><span style=\"color: maroon\">lon</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.longitude = <span style=\"color: maroon\">lon</span> <i>\"longitude\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>KvkVestWebsiteToContactPoint<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\"> {#xD;\n</span>  src<span style=\"color: navy\"><b> -&gt; </b></span>tgt.system = <span style=\"color: blue\">'url'</span> <i>\"setSystem\"</i><span style=\"color: navy\">;</span>#xD;\n  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>\"setValue\"</i><span style=\"color: navy\">;</span>#xD;\n  src<span style=\"color: navy\"><b> -&gt; </b></span>tgt.use = <span style=\"color: blue\">'work'</span> <i>\"setUse\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>KvkVestSBIToCodeableConcept<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\"> {#xD;\n</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\"> {#xD;\n</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>\"sbiSystem\"</i><span style=\"color: navy\">;</span>#xD;\n    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>#xD;\n    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>\"sbiDisplay\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"sbiCoding\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:url [
    fhir:v "http://minvws.github.io/generiekefuncties-docs/StructureMap/KvkVestigingsprofielToLocation"^^xsd:anyURI ;
    fhir:l <http://minvws.github.io/generiekefuncties-docs/StructureMap/KvkVestigingsprofielToLocation>
      ] ; #
      fhir:version [ fhir:v "0.2.0-ballot"] ; #
      fhir:name [ fhir:v "KvkVestigingsprofielToLocation"] ; #
      fhir:title [ fhir:v "KVK Vestigingsprofiel naar FHIR Location"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:date [ fhir:v "2026-03-24T11:05:17+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "Ministerie van Volksgezondheid, Welzijn en Sport"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "Ministerie van Volksgezondheid, Welzijn en Sport" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://www.minvws.nl" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "StructureMap die een KVK Vestigingsprofiel API response transformeert naar een FHIR Location resource."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
    fhir:l <urn:iso:std:iso:3166>       ] ;
    fhir:code [ fhir:v "NL" ] ;
    fhir:display [ fhir:v "Netherlands" ]     ] )
      ] ) ; #
      fhir:structure ( [
    fhir:url [
    fhir:v "http://minvws.github.io/generiekefuncties-docs/StructureDefinition/KvkVestigingsprofiel"^^xsd:anyURI ;
    fhir:l <http://minvws.github.io/generiekefuncties-docs/StructureDefinition/KvkVestigingsprofiel>     ] ;
    fhir:mode [ fhir:v "source" ] ;
    fhir:alias [ fhir:v "KvkVestigingsprofiel" ]
      ] [
    fhir:url [
    fhir:v "http://minvws.github.io/generiekefuncties-docs/StructureDefinition/nl-gf-location"^^xsd:anyURI ;
    fhir:l <http://minvws.github.io/generiekefuncties-docs/StructureDefinition/nl-gf-location>     ] ;
    fhir:mode [ fhir:v "target" ] ;
    fhir:alias [ fhir:v "NlGfLocation" ]
      ] ) ; #
      fhir:group ( [
    fhir:name [ fhir:v "KvkVestigingsprofielToLocation" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:type [ fhir:v "KvkVestigingsprofiel" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:type [ fhir:v "Location" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "setProfile" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "meta" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "setProfileUrl" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "meta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://minvws.github.io/generiekefuncties-docs/StructureDefinition/nl-gf-location"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "vestigingsnummer" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "vestigingsnummer" ] ;
    fhir:variable [ fhir:v "vestNr" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "vestId" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "vestUse" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "vestNr" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "vestId" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "official"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "vestSystem" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "vestNr" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "vestId" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://fhir.nl/fhir/NamingSystem/kvk-vestigingsnummer"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "vestValue" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "vestNr" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "vestId" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "vestNr"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "vestAssigner" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "vestNr" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "vestId" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "assigner" ] ;
    fhir:variable [ fhir:v "assignerRef" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "assignerIdentifier" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "vestNr" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "assignerRef" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "assignerId" ]           ] ) ;
              ( fhir:rule [
    fhir:name [ fhir:v "assignerIdSystem" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "vestNr" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "assignerId" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://fhir.nl/fhir/NamingSystem/kvk"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "assignerIdValue" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "vestNr" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "assignerId" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                  ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "50000535"                 ]               ] )             ] )           ] [
    fhir:name [ fhir:v "assignerIdType" ] ;
                ( fhir:source [
    fhir:context [ fhir:v "vestNr" ]             ] ) ;
                ( fhir:target [
    fhir:context [ fhir:v "assignerId" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "type" ] ;
    fhir:variable [ fhir:v "assignerIdType" ]             ] ) ;
                ( fhir:rule [
    fhir:name [ fhir:v "assignerIdTypeCoding" ] ;
                  ( fhir:source [
    fhir:context [ fhir:v "vestNr" ]               ] ) ;
                  ( fhir:target [
    fhir:context [ fhir:v "assignerIdType" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "assignerIdTypeCoding" ]               ] ) ;
                  ( fhir:rule [
    fhir:name [ fhir:v "assignerIdTypeCodingSystem" ] ;
                    ( fhir:source [
    fhir:context [ fhir:v "vestNr" ]                 ] ) ;
                    ( fhir:target [
    fhir:context [ fhir:v "assignerIdTypeCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                      ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"                     ]                   ] )                 ] )               ] [
    fhir:name [ fhir:v "assignerIdTypeCodingCode" ] ;
                    ( fhir:source [
    fhir:context [ fhir:v "vestNr" ]                 ] ) ;
                    ( fhir:target [
    fhir:context [ fhir:v "assignerIdTypeCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                      ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "custodian"                     ]                   ] )                 ] )               ] )             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "kvkNummer" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "kvkNummer" ] ;
    fhir:variable [ fhir:v "kvkNum" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "managingOrganization" ] ;
    fhir:variable [ fhir:v "orgRef" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "orgRefIdentifier" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "kvkNum" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "orgRef" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "identifier" ] ;
    fhir:variable [ fhir:v "orgId" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "orgIdSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "kvkNum" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "orgId" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://fhir.nl/fhir/NamingSystem/kvk"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "orgIdValue" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "kvkNum" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "orgId" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "kvkNum"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "orgRefType" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "kvkNum" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "orgRef" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "type" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Organization"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "orgRefReference" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "kvkNum" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "orgRef" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:transform [ fhir:v "append" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "Organization/"             ]           ] [
    fhir:value [
    a fhir:Id ;
    fhir:v "kvkNum"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "eersteHandelsnaam" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "eersteHandelsnaam" ] ;
    fhir:variable [ fhir:v "naam" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "name" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "naam"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "setStatus" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "active"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "setMode" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "mode" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "instance"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "statutaireNaam" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "statutaireNaam" ] ;
    fhir:variable [ fhir:v "statNaam" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "alias" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "statNaam"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "handelsnamen" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "handelsnamen" ] ;
    fhir:variable [ fhir:v "hn" ]       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "KvkVestHandelsnaamToAlias" ] ;
            ( fhir:variable [ fhir:v "hn" ] [ fhir:v "tgt" ] )       ] )     ] [
    fhir:name [ fhir:v "adressen" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "adressen" ] ;
    fhir:variable [ fhir:v "adres" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "address" ] ;
    fhir:variable [ fhir:v "addr" ]       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "KvkVestAdresToAddress" ] ;
            ( fhir:variable [ fhir:v "adres" ] [ fhir:v "addr" ] )       ] )     ] [
    fhir:name [ fhir:v "geoData" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "adressen" ] ;
    fhir:variable [ fhir:v "adres" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "geoDataToPosition" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "adres" ] ;
    fhir:element [ fhir:v "geoData" ] ;
    fhir:variable [ fhir:v "geo" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "position" ] ;
    fhir:variable [ fhir:v "pos" ]         ] ) ;
            ( fhir:dependent [
    fhir:name [ fhir:v "KvkGeoDataToPosition" ] ;
              ( fhir:variable [ fhir:v "geo" ] [ fhir:v "pos" ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "websites" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "websites" ] ;
    fhir:variable [ fhir:v "web" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "telecom" ] ;
    fhir:variable [ fhir:v "tel" ]       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "KvkVestWebsiteToContactPoint" ] ;
            ( fhir:variable [ fhir:v "web" ] [ fhir:v "tel" ] )       ] )     ] [
    fhir:name [ fhir:v "sbiActiviteiten" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "sbiActiviteiten" ] ;
    fhir:variable [ fhir:v "sbi" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "type" ] ;
    fhir:variable [ fhir:v "cc" ]       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "KvkVestSBIToCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "sbi" ] [ fhir:v "cc" ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "KvkVestHandelsnaamToAlias" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:type [ fhir:v "Location" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "naam" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "naam" ] ;
    fhir:variable [ fhir:v "naam" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "alias" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "naam"           ]         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "KvkVestAdresToAddress" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:type [ fhir:v "Address" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "volledigAdres" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "volledigAdres" ] ;
    fhir:variable [ fhir:v "volledigAdres" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "text" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "volledigAdres"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "straatnaam" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "straatnaam" ] ;
    fhir:variable [ fhir:v "straat" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "line" ] ;
    fhir:variable [ fhir:v "addrLine" ] ;
    fhir:transform [ fhir:v "cast" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "straat"           ]         ] [
    fhir:value [
    a fhir:String ;
    fhir:v "string"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "streetNameExt" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "straat" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "addrLine" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "extension" ] ;
    fhir:variable [ fhir:v "ext" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "streetNameExtUrl" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "straat" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "ext" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "streetNameExtValue" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "straat" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "ext" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "straat"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "huisnummer" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "huisnummer" ] ;
    fhir:variable [ fhir:v "huisnr" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "line" ] ;
    fhir:variable [ fhir:v "addrLine2" ] ;
    fhir:transform [ fhir:v "cast" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "huisnr"           ]         ] [
    fhir:value [
    a fhir:String ;
    fhir:v "string"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "houseNumberExt" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "huisnr" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "addrLine2" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "extension" ] ;
    fhir:variable [ fhir:v "ext" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "houseNumberExtUrl" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "huisnr" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "ext" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "houseNumberExtValue" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "huisnr" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "ext" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "cast" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "huisnr"               ]             ] [
    fhir:value [
    a fhir:String ;
    fhir:v "string"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "huisletter" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "huisletter" ] ;
    fhir:variable [ fhir:v "huisltr" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "line" ] ;
    fhir:variable [ fhir:v "addrLine3" ] ;
    fhir:transform [ fhir:v "cast" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "huisltr"           ]         ] [
    fhir:value [
    a fhir:String ;
    fhir:v "string"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "houseLetterExt" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "huisltr" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "addrLine3" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "extension" ] ;
    fhir:variable [ fhir:v "ext" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "houseLetterExtUrl" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "huisltr" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "ext" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "houseLetterExtValue" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "huisltr" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "ext" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "huisltr"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "huisnummerToevoeging" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "huisnummerToevoeging" ] ;
    fhir:variable [ fhir:v "huisnrToev" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "line" ] ;
    fhir:variable [ fhir:v "addrLine4" ] ;
    fhir:transform [ fhir:v "cast" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "huisnrToev"           ]         ] [
    fhir:value [
    a fhir:String ;
    fhir:v "string"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "houseNumberAdditionExt" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "huisnrToev" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "addrLine4" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "extension" ] ;
    fhir:variable [ fhir:v "ext" ]         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "houseNumberAdditionExtUrl" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "huisnrToev" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "ext" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "houseNumberAdditionExtValue" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "huisnrToev" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "ext" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "huisnrToev"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "postcode" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "postcode" ] ;
    fhir:variable [ fhir:v "pc" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "postalCode" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "pc"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "plaats" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "plaats" ] ;
    fhir:variable [ fhir:v "plaats" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "city" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "plaats"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "regio" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "regio" ] ;
    fhir:variable [ fhir:v "regio" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "district" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "regio"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "land" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "land" ] ;
    fhir:variable [ fhir:v "land" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "country" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "land"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "setUse" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "work"           ]         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "KvkGeoDataToPosition" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "latitude" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "gpsLatitude" ] ;
    fhir:variable [ fhir:v "lat" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "latitude" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "lat"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "longitude" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "gpsLongitude" ] ;
    fhir:variable [ fhir:v "lon" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "longitude" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "lon"           ]         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "KvkVestWebsiteToContactPoint" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:type [ fhir:v "ContactPoint" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "setSystem" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "url"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "setValue" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "url" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "url"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "setUse" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "use" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "work"           ]         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "KvkVestSBIToCodeableConcept" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "tgt" ] ;
    fhir:type [ fhir:v "CodeableConcept" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "sbiCoding" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "tgt" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "coding" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "sbiSystem" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "coding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:String ;
    fhir:v "http://minvws.github.io/generiekefuncties-docs/CodeSystem/nl-gf-sbi-cs"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "sbiCode" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "sbiCode" ] ;
    fhir:variable [ fhir:v "code" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "coding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "code"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "sbiDisplay" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "sbiOmschrijving" ] ;
    fhir:variable [ fhir:v "omschr" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "coding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:Id ;
    fhir:v "omschr"             ]           ] )         ] )       ] )     ] )
      ] ) . #