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/CoreFHIRPatient2OMOP> a fhir:StructureMap ;
fhir:nodeRole fhir:treeRoot ;
fhir:Resource.id [ fhir:value "CoreFHIRPatient2OMOP"] ;
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 CoreFHIRPatient2OMOP</b></p><a name=\"CoreFHIRPatient2OMOP\"> </a><a name=\"hcCoreFHIRPatient2OMOP\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIRPatient2OMOP<span style=\"color: navy\">\" = \"</span>CoreFHIRPatient2OMOP<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Cette ressource présente les spécifications de l''alignement entre la ressource `Patient` vers les tables correspodantes du CDM OMOP.</span>#xD;\n#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"http://hl7.org/fhir/R4/patient.html\" title=\"Patient\">http://hl7.org/fhir/StructureDefinition/Patient</a><span style=\"color: navy\">\" </span><b>alias </b>Patient <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/LogicalBundle<span style=\"color: navy\">\" </span><b>alias </b>LogicalBundle <b>as </b><b>target</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/OMOPPerson<span style=\"color: navy\">\" </span><b>alias </b>PersonTable <b>as </b><b>target</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<b>uses</b><span style=\"color: navy\"> \"</span>https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/OMOPDeath<span style=\"color: navy\">\" </span><b>alias </b>DeathTable <b>as </b><b>target</b>#xD;\n#xD;\n<b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-CoreFHIR2OMOPPerson.html\" title=\"Mapping FHIR Patient resource to OMOP Person\">https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPPerson</a><span style=\"color: navy\">\"#xD;\n</span><b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-CoreFHIR2OMOPLocation.html\" title=\"Mapping Patient resource to Location OMOP Domain\">https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPLocation</a><span style=\"color: navy\">\"#xD;\n</span><b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-CoreFHIR2OMOPDeath.html\" title=\"Mapping FHIR Patient resource to OMOP Death\">https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPDeath</a><span style=\"color: navy\">\"#xD;\n</span>#xD;\n<b>group </b>Patient<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Patient, <b>target</b> <span style=\"color: maroon\">tgtBundle</span><span style=\"color: navy\"> : </span>LogicalBundle<span style=\"color: navy\">)</span><b> <<types>></b><span style=\"color: navy\"> {#xD;\n</span> src<span style=\"color: navy\"><b> -> </b></span>tgtBundle.entry<b> as </b><span style=\"color: maroon\">newEntry</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span> src<span style=\"color: navy\"><b> -> </b></span>newEntry.person = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'PersonTable'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">newPerson</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span> src<b> then </b>Person<span style=\"color: navy\">(</span><span style=\"color: maroon\">src</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">newPerson</span><span style=\"color: navy\">)</span> <i>\"transformPerson\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"createPerson\"</i><span style=\"color: navy\">;</span>#xD;\n src.address<b> as </b><span style=\"color: maroon\">srcAddress</span><b> where </b>(use = 'home') and period.end.empty()<span style=\"color: navy\"><b> -> </b></span>newEntry.location = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'LocationTable'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">newLocation</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span> srcAddress<b> then </b>Location<span style=\"color: navy\">(</span><span style=\"color: maroon\">srcAddress</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">newLocation</span><span style=\"color: navy\">)</span> <i>\"transformLocation\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"createLocation\"</i><span style=\"color: navy\">;</span>#xD;\n src<b> where </b>deceased.is(System.DateTime) or deceased.is(System.Boolean)<span style=\"color: navy\"><b> -> </b></span>newEntry.death = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'DeathTable'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">newDeath</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span> src<b> then </b>Death<span style=\"color: navy\">(</span><span style=\"color: maroon\">src</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">newDeath</span><span style=\"color: navy\">)</span> <i>\"transformDeath\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"createDeath\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"newEntry\"</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/CoreFHIRPatient2OMOP"] ;
fhir:StructureMap.version [ fhir:value "0.1.0"] ;
fhir:StructureMap.name [ fhir:value "CoreFHIRPatient2OMOP"] ;
fhir:StructureMap.title [ fhir:value "Cette ressource présente les spécifications de l''alignement entre la ressource `Patient` vers les tables correspodantes du CDM OMOP."] ;
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 "Cette ressource présente les spécifications de l''alignement entre la ressource `Patient` vers les tables correspodantes du CDM OMOP."] ;
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/Patient" ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Patient>
] ;
fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
fhir:StructureMap.structure.alias [ fhir:value "Patient" ]
], [
fhir:index 1 ;
fhir:StructureMap.structure.url [
fhir:value "https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/LogicalBundle" ;
fhir:link <https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/LogicalBundle>
] ;
fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
fhir:StructureMap.structure.alias [ fhir:value "LogicalBundle" ]
], [
fhir:index 2 ;
fhir:StructureMap.structure.url [
fhir:value "https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/OMOPPerson" ;
fhir:link <https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/OMOPPerson>
] ;
fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
fhir:StructureMap.structure.alias [ fhir:value "PersonTable" ]
], [
fhir:index 3 ;
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:index 4 ;
fhir:StructureMap.structure.url [
fhir:value "https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/OMOPDeath" ;
fhir:link <https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/OMOPDeath>
] ;
fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
fhir:StructureMap.structure.alias [ fhir:value "DeathTable" ]
] ;
fhir:StructureMap.import [
fhir:value "https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPPerson" ;
fhir:index 0 ;
fhir:link <https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPPerson>
], [
fhir:value "https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPLocation" ;
fhir:index 1 ;
fhir:link <https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPLocation>
], [
fhir:value "https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPDeath" ;
fhir:index 2 ;
fhir:link <https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPDeath>
] ;
fhir:StructureMap.group [
fhir:index 0 ;
fhir:StructureMap.group.name [ fhir:value "Patient" ] ;
fhir:StructureMap.group.typeMode [ fhir:value "types" ] ;
fhir:StructureMap.group.input [
fhir:index 0 ;
fhir:StructureMap.group.input.name [ fhir:value "src" ] ;
fhir:StructureMap.group.input.type [ fhir:value "Patient" ] ;
fhir:StructureMap.group.input.mode [ fhir:value "source" ]
], [
fhir:index 1 ;
fhir:StructureMap.group.input.name [ fhir:value "tgtBundle" ] ;
fhir:StructureMap.group.input.type [ fhir:value "LogicalBundle" ] ;
fhir:StructureMap.group.input.mode [ fhir:value "target" ]
] ;
fhir:StructureMap.group.rule [
fhir:index 0 ;
fhir:StructureMap.group.rule.name [ fhir:value "newEntry" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "src" ]
] ;
fhir:StructureMap.group.rule.target [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.context [ fhir:value "tgtBundle" ] ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
fhir:StructureMap.group.rule.target.variable [ fhir:value "newEntry" ]
] ;
fhir:StructureMap.group.rule.rule [
fhir:index 0 ;
fhir:StructureMap.group.rule.name [ fhir:value "createPerson" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "src" ]
] ;
fhir:StructureMap.group.rule.target [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.context [ fhir:value "newEntry" ] ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.element [ fhir:value "person" ] ;
fhir:StructureMap.group.rule.target.variable [ fhir:value "newPerson" ] ;
fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
fhir:StructureMap.group.rule.target.parameter [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PersonTable" ]
]
] ;
fhir:StructureMap.group.rule.rule [
fhir:index 0 ;
fhir:StructureMap.group.rule.name [ fhir:value "transformPerson" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "src" ]
] ;
fhir:StructureMap.group.rule.dependent [
fhir:index 0 ;
fhir:StructureMap.group.rule.dependent.name [ fhir:value "Person" ] ;
fhir:StructureMap.group.rule.dependent.variable [
fhir:value "src" ;
fhir:index 0
], [
fhir:value "newPerson" ;
fhir:index 1
]
]
]
], [
fhir:index 1 ;
fhir:StructureMap.group.rule.name [ fhir:value "createLocation" ] ;
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 "address" ] ;
fhir:StructureMap.group.rule.source.variable [ fhir:value "srcAddress" ] ;
fhir:StructureMap.group.rule.source.condition [ fhir:value "(use = 'home') and period.end.empty()" ]
] ;
fhir:StructureMap.group.rule.target [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.context [ fhir:value "newEntry" ] ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.element [ fhir:value "location" ] ;
fhir:StructureMap.group.rule.target.variable [ fhir:value "newLocation" ] ;
fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
fhir:StructureMap.group.rule.target.parameter [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "LocationTable" ]
]
] ;
fhir:StructureMap.group.rule.rule [
fhir:index 0 ;
fhir:StructureMap.group.rule.name [ fhir:value "transformLocation" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "srcAddress" ]
] ;
fhir:StructureMap.group.rule.dependent [
fhir:index 0 ;
fhir:StructureMap.group.rule.dependent.name [ fhir:value "Location" ] ;
fhir:StructureMap.group.rule.dependent.variable [
fhir:value "srcAddress" ;
fhir:index 0
], [
fhir:value "newLocation" ;
fhir:index 1
]
]
]
], [
fhir:index 2 ;
fhir:StructureMap.group.rule.name [ fhir:value "createDeath" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
fhir:StructureMap.group.rule.source.condition [ fhir:value "deceased.is(System.DateTime) or deceased.is(System.Boolean)" ]
] ;
fhir:StructureMap.group.rule.target [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.context [ fhir:value "newEntry" ] ;
fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
fhir:StructureMap.group.rule.target.element [ fhir:value "death" ] ;
fhir:StructureMap.group.rule.target.variable [ fhir:value "newDeath" ] ;
fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
fhir:StructureMap.group.rule.target.parameter [
fhir:index 0 ;
fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DeathTable" ]
]
] ;
fhir:StructureMap.group.rule.rule [
fhir:index 0 ;
fhir:StructureMap.group.rule.name [ fhir:value "transformDeath" ] ;
fhir:StructureMap.group.rule.source [
fhir:index 0 ;
fhir:StructureMap.group.rule.source.context [ fhir:value "src" ]
] ;
fhir:StructureMap.group.rule.dependent [
fhir:index 0 ;
fhir:StructureMap.group.rule.dependent.name [ fhir:value "Death" ] ;
fhir:StructureMap.group.rule.dependent.variable [
fhir:value "src" ;
fhir:index 0
], [
fhir:value "newDeath" ;
fhir:index 1
]
]
]
]
]
] .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/StructureMap/CoreFHIRPatient2OMOP.ttl> a owl:Ontology ;
owl:imports fhir:fhir.ttl ;
owl:versionIRI <http://build.fhir.org/StructureMap/CoreFHIRPatient2OMOP.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
|