Guide d'implémentation du GT Standards et Interopérabilité pour les EDS
0.1.0 - ci-build
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-09-10 |
{
"resourceType" : "StructureMap",
"id" : "Death",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap Death</b></p><a name=\"Death\"> </a><a name=\"hcDeath\"> </a><a name=\"Death-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/Death<span style=\"color: navy\">" = "</span>Death<span style=\"color: navy\">"\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Mapping Patient resource to Death OMOP Domain</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-EDSPatient.html\" title=\"Patient\">https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/EDSPatient</a><span style=\"color: navy\">" </span><b>alias </b>EDSPatient <b>as </b><b>source</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>group </b>Death<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>EDSPatient, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>DeathTable<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> src.deceased<span style=\"color: navy\"> : </span>dateTime<b> as </b><span style=\"color: maroon\">srcDeceased</span><b> then</b><span style=\"color: navy\"> {\r\n</span> srcDeceased<span style=\"color: navy\"><b> -> </b></span>tgt.death_datetime = <span style=\"color: maroon\">srcDeceased</span> <i>"setDeathDT"</i><span style=\"color: navy\">;</span>\r\n srcDeceased<span style=\"color: navy\"><b> -> </b></span>tgt.death_date = <span style=\"color: navy\">(</span>%srcDeceased.toString().substring(0, 10)<span style=\"color: navy\">)</span> <i>"setDeathD"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"SetDeathDate"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"url" : "https://interop.esante.gouv.fr/ig/fhir/eds/StructureMap/Death",
"version" : "0.1.0",
"name" : "Death",
"title" : "Mapping Patient resource to Death OMOP Domain",
"status" : "draft",
"date" : "2024-09-10T07:13:57+00:00",
"publisher" : "ANS",
"contact" : [
{
"name" : "ANS",
"telecom" : [
{
"system" : "url",
"value" : "https://esante.gouv.fr"
}
]
}
],
"description" : "Mapping Patient resource to Death OMOP Domain",
"jurisdiction" : [
{
"coding" : [
{
"system" : "urn:iso:std:iso:3166",
"code" : "FR",
"display" : "France"
}
]
}
],
"structure" : [
{
"url" : "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/EDSPatient",
"mode" : "source",
"alias" : "EDSPatient"
},
{
"url" : "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPDeath",
"mode" : "target",
"alias" : "DeathTable"
}
],
"group" : [
{
"name" : "Death",
"typeMode" : "none",
"input" : [
{
"name" : "src",
"type" : "EDSPatient",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "DeathTable",
"mode" : "target"
}
],
"rule" : [
{
"name" : "SetDeathDate",
"source" : [
{
"context" : "src",
"type" : "dateTime",
"element" : "deceased",
"variable" : "srcDeceased"
}
],
"rule" : [
{
"name" : "setDeathDT",
"source" : [
{
"context" : "srcDeceased"
}
],
"target" : [
{
"context" : "tgt",
"contextType" : "variable",
"element" : "death_datetime",
"transform" : "copy",
"parameter" : [
{
"valueId" : "srcDeceased"
}
]
}
]
},
{
"name" : "setDeathD",
"source" : [
{
"context" : "srcDeceased"
}
],
"target" : [
{
"context" : "tgt",
"contextType" : "variable",
"element" : "death_date",
"transform" : "evaluate",
"parameter" : [
{
"valueString" : "%srcDeceased.toString().substring(0, 10)"
}
]
}
]
}
]
}
]
}
]
}