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-11-23 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="Death"/>
<text>
<status value="generated"/>
<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">
<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">"
</span><span style="color: navy">// </span><span style="color: green">Mapping Patient resource to Death OMOP Domain</span>
<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>
<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>
<b>group </b>Death<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">tgt</span><span style="color: navy"> : </span>DeathTable<span style="color: navy">)</span><span style="color: navy"> {
</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"> {
</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>
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>
<span style="color: navy">}</span> <i>"SetDeathDate"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span></pre></div>
</text>
<url value="https://interop.esante.gouv.fr/ig/fhir/eds/StructureMap/Death"/>
<version value="0.1.0"/>
<name value="Death"/>
<title value="Mapping Patient resource to Death OMOP Domain"/>
<status value="draft"/>
<date value="2024-11-23T19:10:09+00:00"/>
<publisher value="ANS"/>
<contact>
<name value="ANS"/>
<telecom>
<system value="url"/>
<value value="https://esante.gouv.fr"/>
</telecom>
</contact>
<description value="Mapping Patient resource to Death OMOP Domain"/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="FR"/>
<display value="France"/>
</coding>
</jurisdiction>
<structure>
<url value="http://hl7.org/fhir/StructureDefinition/Patient"/>
<mode value="source"/>
<alias value="Patient"/>
</structure>
<structure>
<url
value="https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPDeath"/>
<mode value="target"/>
<alias value="DeathTable"/>
</structure>
<group>
<name value="Death"/>
<typeMode value="none"/>
<input>
<name value="src"/>
<type value="Patient"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="DeathTable"/>
<mode value="target"/>
</input>
<rule>
<name value="SetDeathDate"/>
<source>
<context value="src"/>
<type value="dateTime"/>
<element value="deceased"/>
<variable value="srcDeceased"/>
</source>
<rule>
<name value="setDeathDT"/>
<source>
<context value="srcDeceased"/>
</source>
<target>
<context value="tgt"/>
<contextType value="variable"/>
<element value="death_datetime"/>
<transform value="copy"/>
<parameter>
<valueId value="srcDeceased"/>
</parameter>
</target>
</rule>
<rule>
<name value="setDeathD"/>
<source>
<context value="srcDeceased"/>
</source>
<target>
<context value="tgt"/>
<contextType value="variable"/>
<element value="death_date"/>
<transform value="evaluate"/>
<parameter>
<valueString value="%srcDeceased.toString().substring(0, 10)"/>
</parameter>
</target>
</rule>
</rule>
</group>
</StructureMap>