Guide d'implémentation du GT Standards et Interopérabilité pour les EDS - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Draft as of 2024-11-23 |
@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 -------------------------------------------------------------------
a fhir:StructureMap ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "Patient"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap Patient</b></p><a name=\"Patient\"> </a><a name=\"hcPatient\"> </a><a name=\"Patient-fr-FR\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> "</span>https://interop.esante.gouv.fr/ig/fhir/eds/StructureMap/Patient<span style=\"color: navy\">" = "</span>Patient<span style=\"color: navy\">"\r\n\r\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>\r\n\r\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>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-LogicalBundle.html\" title=\"LogicalBundle\">https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/LogicalBundle</a><span style=\"color: navy\">" </span><b>alias </b>LogicalBundle <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-OMOPPerson.html\" title=\"Person OMOP Table\">https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPPerson</a><span style=\"color: navy\">" </span><b>alias </b>PersonTable <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-OMOPLocation.html\" title=\"Location OMOP Table\">https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPLocation</a><span style=\"color: navy\">" </span><b>alias </b>LocationTable <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-OMOPDeath.html\" title=\"Death OMOP Table\">https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPDeath</a><span style=\"color: navy\">" </span><b>alias </b>DeathTable <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Person.html\" title=\"Mapping Patient resource to Person OMOP Domain\">https://interop.esante.gouv.fr/ig/fhir/eds/StructureMap/Person</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Location.html\" title=\"Mapping Patient resource to Location OMOP Domain\">https://interop.esante.gouv.fr/ig/fhir/eds/StructureMap/Location</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Death.html\" title=\"Mapping Patient resource to Death OMOP Domain\">https://interop.esante.gouv.fr/ig/fhir/eds/StructureMap/Death</a><span style=\"color: navy\">"\r\n</span>\r\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><span style=\"color: navy\"> {\r\n</span> src<span style=\"color: navy\"><b> -> </b></span>tgtBundle.id = <b>uuid</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>"setId"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span>tgtBundle.type = <span style=\"color: blue\">'transaction'</span> <i>"setType"</i><span style=\"color: navy\">;</span>\r\n 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\"> {\r\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\"> {\r\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>\r\n <span style=\"color: navy\">}</span> <i>"createPerson"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"newEntryPerson"</i><span style=\"color: navy\">;</span>\r\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>tgtBundle.entry<b> as </b><span style=\"color: maroon\">newEntry</span><b> then</b><span style=\"color: navy\"> {\r\n</span> srcAddress<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\"> {\r\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>\r\n <span style=\"color: navy\">}</span> <i>"createLocation"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"newEntryLocation"</i><span style=\"color: navy\">;</span>\r\n src<b> where </b>deceased.is(System.DateTime) or deceased.is(System.Boolean)<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\"> {\r\n</span> src<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\"> {\r\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>\r\n <span style=\"color: navy\">}</span> <i>"createDeath"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"newEntryDeath"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
] ; #
fhir:url [ fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureMap/Patient"^^xsd:anyURI] ; #
fhir:version [ fhir:v "0.1.0"] ; #
fhir:name [ fhir:v "Patient"] ; #
fhir:title [ fhir:v "Cette ressource présente les spécifications de l''alignement entre la ressource `Patient` vers les tables correspodantes du CDM OMOP."] ; #
fhir:status [ fhir:v "draft"] ; #
fhir:date [ fhir:v "2024-11-23T19:10:09+00:00"^^xsd:dateTime] ; #
fhir:publisher [ fhir:v "ANS"] ; #
fhir:contact ( [
fhir:name [ fhir:v "ANS" ] ;
( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://esante.gouv.fr" ] ] )
] ) ; #
fhir:description [ fhir:v "Cette ressource présente les spécifications de l''alignement entre la ressource `Patient` vers les tables correspodantes du CDM OMOP."] ; #
fhir:jurisdiction ( [
( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "FR" ] ;
fhir:display [ fhir:v "France" ] ] )
] ) ; #
fhir:structure ( [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Patient> ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "Patient" ]
] [
fhir:url [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/LogicalBundle"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/LogicalBundle> ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "LogicalBundle" ]
] [
fhir:url [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPPerson"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPPerson> ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "PersonTable" ]
] [
fhir:url [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPLocation"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPLocation> ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "LocationTable" ]
] [
fhir:url [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPDeath"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPDeath> ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "DeathTable" ]
] ) ; #
fhir:import ( [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureMap/Person"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureMap/Person>
] [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureMap/Location"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureMap/Location>
] [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureMap/Death"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureMap/Death>
] ) ; #
fhir:group ( [
fhir:name [ fhir:v "Patient" ] ;
fhir:typeMode [ fhir:v "none" ] ;
( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:type [ fhir:v "Patient" ] ;
fhir:mode [ fhir:v "source" ] ] [
fhir:name [ fhir:v "tgtBundle" ] ;
fhir:type [ fhir:v "LogicalBundle" ] ;
fhir:mode [ fhir:v "target" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "setId" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgtBundle" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "id" ] ;
fhir:transform [ fhir:v "uuid" ] ] ) ] [
fhir:name [ fhir:v "setType" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgtBundle" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:transform [ fhir:v "copy" ] ;
( fhir:parameter [
fhir:value [ fhir:v "transaction" ] ] ) ] ) ] [
fhir:name [ fhir:v "newEntryPerson" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgtBundle" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "newEntry" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "createPerson" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "newEntry" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "person" ] ;
fhir:variable [ fhir:v "newPerson" ] ;
fhir:transform [ fhir:v "create" ] ;
( fhir:parameter [
fhir:value [ fhir:v "PersonTable" ] ] ) ] ) ;
( fhir:rule [
fhir:name [ fhir:v "transformPerson" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "Person" ] ;
( fhir:variable [ fhir:v "src" ] [ fhir:v "newPerson" ] ) ] ) ] ) ] ) ] [
fhir:name [ fhir:v "newEntryLocation" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "address" ] ;
fhir:variable [ fhir:v "srcAddress" ] ;
fhir:condition [ fhir:v "(use = 'home') and period.end.empty()" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgtBundle" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "newEntry" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "createLocation" ] ;
( fhir:source [
fhir:context [ fhir:v "srcAddress" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "newEntry" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "location" ] ;
fhir:variable [ fhir:v "newLocation" ] ;
fhir:transform [ fhir:v "create" ] ;
( fhir:parameter [
fhir:value [ fhir:v "LocationTable" ] ] ) ] ) ;
( fhir:rule [
fhir:name [ fhir:v "transformLocation" ] ;
( fhir:source [
fhir:context [ fhir:v "srcAddress" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "Location" ] ;
( fhir:variable [ fhir:v "srcAddress" ] [ fhir:v "newLocation" ] ) ] ) ] ) ] ) ] [
fhir:name [ fhir:v "newEntryDeath" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:condition [ fhir:v "deceased.is(System.DateTime) or deceased.is(System.Boolean)" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgtBundle" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "newEntry" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "createDeath" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "newEntry" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "death" ] ;
fhir:variable [ fhir:v "newDeath" ] ;
fhir:transform [ fhir:v "create" ] ;
( fhir:parameter [
fhir:value [ fhir:v "DeathTable" ] ] ) ] ) ;
( fhir:rule [
fhir:name [ fhir:v "transformDeath" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "Death" ] ;
( fhir:variable [ fhir:v "src" ] [ fhir:v "newDeath" ] ) ] ) ] ) ] ) ] )
] ) . #
IG © 2024+ ANS. Package ans.fhir.fr.eds#0.1.0 based on FHIR 4.0.1. Generated 2024-11-23
Liens: Table des matières |
QA |
Historique des versions
| New Issue