Data Management with FHIR - version de développement local (intégration continue v0.1.0) construite par les outils de publication FHIR (HL7® FHIR® Standard). Voir le répertoire des versions publiées
| Draft as of 2026-07-11 |
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/StructureMap/CoreFHIR2OMOPLocation> a fhir:StructureMap ;
fhir:nodeRole fhir:treeRoot ;
fhir:Resource.id [ fhir:value "CoreFHIR2OMOPLocation"] ;
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ] ;
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Narratif généré : StructureMap CoreFHIR2OMOPLocation</b></p><a name=\"CoreFHIR2OMOPLocation\"> </a><a name=\"hcCoreFHIR2OMOPLocation\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPLocation<span style=\"color: navy\">\" = \"</span>CoreFHIR2OMOPLocation<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Mapping Patient resource to Location OMOP Domain</span>#xD;\n#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"http://hl7.org/fhir/R4/datatypes.html#Address\" title=\"Address\">http://hl7.org/fhir/StructureDefinition/Address</a><span style=\"color: navy\">\" </span><b>alias </b>Address <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/OMOPLocation<span style=\"color: navy\">\" </span><b>alias </b>LocationTable <b>as </b><b>target</b>#xD;\n#xD;\n<b>group </b>Location<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Address, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>LocationTable<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span> src.line first<b> as </b><span style=\"color: maroon\">srcLine1</span><span style=\"color: navy\"><b> -> </b></span>tgt.address_1 = <span style=\"color: maroon\">srcLine1</span> <i>\"setLineOne\"</i><span style=\"color: navy\">;</span>#xD;\n src.line not_first<b> as </b><span style=\"color: maroon\">srcLine2</span><span style=\"color: navy\"><b> -> </b></span>tgt.address_2 = <span style=\"color: maroon\">srcLine2</span> <i>\"setLineTwo\"</i><span style=\"color: navy\">;</span>#xD;\n src.city<b> as </b><span style=\"color: maroon\">srcCity</span><span style=\"color: navy\"><b> -> </b></span>tgt.city = <span style=\"color: maroon\">srcCity</span> <i>\"setCity\"</i><span style=\"color: navy\">;</span>#xD;\n src.postalCode<b> as </b><span style=\"color: maroon\">srcZip</span><span style=\"color: navy\"><b> -> </b></span>tgt.zip = <span style=\"color: maroon\">srcZip</span> <i>\"setZip\"</i><span style=\"color: navy\">;</span>#xD;\n src.country<b> as </b><span style=\"color: maroon\">srcCountry</span><span style=\"color: navy\"><b> -> </b></span>tgt.country_source_value = <span style=\"color: maroon\">srcCountry</span> <i>\"setCountry\"</i><span style=\"color: navy\">;</span>#xD;\n src.text<b> as </b><span style=\"color: maroon\">srcText</span><span style=\"color: navy\"><b> -> </b></span>tgt.location_source_value = <b>truncate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">srcText</span><span style=\"color: navy\">, </span><span style=\"color: blue\">50</span><span style=\"color: navy\">)</span> <i>\"setVerbatim\"</i><span style=\"color: navy\">;</span>#xD;\n src.extension<b> as </b><span style=\"color: maroon\">geolocation</span><b> where </b>(url = 'http://hl7.org/fhir/StructureDefinition/geolocation')<b> then</b><span style=\"color: navy\"> {#xD;\n</span> geolocation.extension<b> as </b><span style=\"color: maroon\">latitude</span><b> where </b>(url = 'latitude')<span style=\"color: navy\"><b> -> </b></span>tgt.latitude = <span style=\"color: navy\">(</span>%latitude.value<span style=\"color: navy\">)</span> <i>\"setLatitude\"</i><span style=\"color: navy\">;</span>#xD;\n geolocation.extension<b> as </b><span style=\"color: maroon\">longitude</span><b> where </b>(url = 'longitude')<span style=\"color: navy\"><b> -> </b></span>tgt.longitude = <span style=\"color: navy\">(</span>%longitude.value<span style=\"color: navy\">)</span> <i>\"setLongitude\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"setGeolocation\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"
] ;
fhir:StructureMap.url [ fhir:value "https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPLocation"] ;
fhir:StructureMap.version [ fhir:value "0.1.0"] ;
fhir:StructureMap.name [ fhir:value "CoreFHIR2OMOPLocation"] ;
fhir:StructureMap.title [ fhir:value "Mapping Patient resource to Location OMOP Domain"] ;
fhir:StructureMap.status [ fhir:value "draft"] ;
fhir:StructureMap.date [ fhir:value "2026-07-11T15:40:47+00:00"^^xsd:dateTime] ;
fhir:StructureMap.publisher [ fhir:value "AP-HP"] ;
fhir:StructureMap.contact [
fhir:index 0 ;
fhir:ContactDetail.name [ fhir:value "AP-HP" ] ;
fhir:ContactDetail.telecom [
fhir:index 0 ;
fhir:ContactPoint.system [ fhir:value "url" ] ;
fhir:ContactPoint.value [ fhir:value "https://aphp.fr" ]
]
] ;
fhir:StructureMap.description [ fhir:value "Mapping Patient resource to Location OMOP Domain"] ;
fhir:StructureMap.jurisdiction [
fhir:index 0 ;
fhir:CodeableConcept.coding [
fhir:index 0 ;
fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
fhir:Coding.code [ fhir:value "FR" ]
]
] ;
fhir:StructureMap.structure [
fhir:index 0 ;
fhir:StructureMap.structure.url [
fhir:value "http://hl7.org/fhir/StructureDefinition/Address" ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Address>
] ;
fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
fhir:StructureMap.structure.alias [ fhir:value "Address" ]
], [
fhir:index 1 ;
fhir:StructureMap.structure.url [
fhir:value "https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/OMOPLocation" ;
fhir:link <https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/OMOPLocation>
] ;
fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
fhir:StructureMap.structure.alias [ fhir:value "LocationTable" ]
] ;
fhir:StructureMap.group [
fhir:index 0 ;
fhir:StructureMap.group.name [ fhir:value "Location" ] ;
fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
fhir:StructureMap.group.input [
fhir:index 0 ;
fhir:StructureMap.group.input.name [ fhir:value "src" ] ;
fhir:StructureMap.group.input.type [ fhir:value "Address" ] ;
fhir:StructureMap.group.input.mode [ fhir:value "source" ]
], [
fhir:index 1 ;
fhir:StructureMap.group.input.name [ fhir:value "tgt" ] ;
fhir:StructureMap.group.input.type [ fhir:value "LocationTable" ] ;
fhir:StructureMap.group.input.mode [ fhir:value "target" ]
] ;
fhir:StructureMap.group.rule [
fhir:index 0 ;
fhir:StructureMap.group.rule.name [ fhir:value "setLineOne" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
fhir:StructureMap.group.rule.source.element [ fhir:value "line" ] ;
fhir:StructureMap.group.rule.source.listMode [ fhir:value "first" ] ;
fhir:StructureMap.group.rule.source.variable [ fhir:value "srcLine1" ]
] ;
fhir:StructureMap.group.rule.target [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.element [ fhir:value "address_1" ] ;
fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
fhir:StructureMap.group.rule.target.parameter [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcLine1" ]
]
]
], [
fhir:index 1 ;
fhir:StructureMap.group.rule.name [ fhir:value "setLineTwo" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
fhir:StructureMap.group.rule.source.element [ fhir:value "line" ] ;
fhir:StructureMap.group.rule.source.listMode [ fhir:value "not_first" ] ;
fhir:StructureMap.group.rule.source.variable [ fhir:value "srcLine2" ]
] ;
fhir:StructureMap.group.rule.target [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.element [ fhir:value "address_2" ] ;
fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
fhir:StructureMap.group.rule.target.parameter [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcLine2" ]
]
]
], [
fhir:index 2 ;
fhir:StructureMap.group.rule.name [ fhir:value "setCity" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
fhir:StructureMap.group.rule.source.element [ fhir:value "city" ] ;
fhir:StructureMap.group.rule.source.variable [ fhir:value "srcCity" ]
] ;
fhir:StructureMap.group.rule.target [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.element [ fhir:value "city" ] ;
fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
fhir:StructureMap.group.rule.target.parameter [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcCity" ]
]
]
], [
fhir:index 3 ;
fhir:StructureMap.group.rule.name [ fhir:value "setZip" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
fhir:StructureMap.group.rule.source.element [ fhir:value "postalCode" ] ;
fhir:StructureMap.group.rule.source.variable [ fhir:value "srcZip" ]
] ;
fhir:StructureMap.group.rule.target [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.element [ fhir:value "zip" ] ;
fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
fhir:StructureMap.group.rule.target.parameter [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcZip" ]
]
]
], [
fhir:index 4 ;
fhir:StructureMap.group.rule.name [ fhir:value "setCountry" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
fhir:StructureMap.group.rule.source.element [ fhir:value "country" ] ;
fhir:StructureMap.group.rule.source.variable [ fhir:value "srcCountry" ]
] ;
fhir:StructureMap.group.rule.target [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.element [ fhir:value "country_source_value" ] ;
fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
fhir:StructureMap.group.rule.target.parameter [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcCountry" ]
]
]
], [
fhir:index 5 ;
fhir:StructureMap.group.rule.name [ fhir:value "setVerbatim" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
fhir:StructureMap.group.rule.source.element [ fhir:value "text" ] ;
fhir:StructureMap.group.rule.source.variable [ fhir:value "srcText" ]
] ;
fhir:StructureMap.group.rule.target [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.element [ fhir:value "location_source_value" ] ;
fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
fhir:StructureMap.group.rule.target.parameter [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "srcText" ]
], [
fhir:index 1 ;
fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "50"^^xsd:integer ]
]
]
], [
fhir:index 6 ;
fhir:StructureMap.group.rule.name [ fhir:value "setGeolocation" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
fhir:StructureMap.group.rule.source.variable [ fhir:value "geolocation" ] ;
fhir:StructureMap.group.rule.source.condition [ fhir:value "(url = 'http://hl7.org/fhir/StructureDefinition/geolocation')" ]
] ;
fhir:StructureMap.group.rule.rule [
fhir:index 0 ;
fhir:StructureMap.group.rule.name [ fhir:value "setLatitude" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "geolocation" ] ;
fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
fhir:StructureMap.group.rule.source.variable [ fhir:value "latitude" ] ;
fhir:StructureMap.group.rule.source.condition [ fhir:value "(url = 'latitude')" ]
] ;
fhir:StructureMap.group.rule.target [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.element [ fhir:value "latitude" ] ;
fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
fhir:StructureMap.group.rule.target.parameter [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "%latitude.value" ]
]
]
], [
fhir:index 1 ;
fhir:StructureMap.group.rule.name [ fhir:value "setLongitude" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "geolocation" ] ;
fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
fhir:StructureMap.group.rule.source.variable [ fhir:value "longitude" ] ;
fhir:StructureMap.group.rule.source.condition [ fhir:value "(url = 'longitude')" ]
] ;
fhir:StructureMap.group.rule.target [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.element [ fhir:value "longitude" ] ;
fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
fhir:StructureMap.group.rule.target.parameter [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "%longitude.value" ]
]
]
]
]
] .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/StructureMap/CoreFHIR2OMOPLocation.ttl> a owl:Ontology ;
owl:imports fhir:fhir.ttl ;
owl:versionIRI <http://build.fhir.org/StructureMap/CoreFHIR2OMOPLocation.ttl> .
IG © 2023+ AP-HP. Package aphp.fhir.fr.dm#0.1.0 based on FHIR 4.0.1. Generated 2026-07-11
Links: Table of Contents |
QA Report
| New Issue
|