Data Management with FHIR 0.1.0 - ci-build

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

## : Mapping FHIR Patient resource to OMOP Death - XML Representation

Draft as of 2026-04-16

Raw xml | Download

    <StructureMap xmlns="http://hl7.org/fhir">
      <id value="CoreFHIR2OMOPDeath"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Narratif généré : StructureMap CoreFHIR2OMOPDeath</b></p><a name="CoreFHIR2OMOPDeath"> </a><a name="hcCoreFHIR2OMOPDeath"> </a><pre class="fml">
    <b>map</b><span style="color: navy"> &quot;</span>https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPDeath<span style="color: navy">&quot; = &quot;</span>CoreFHIR2OMOPDeath<span style="color: navy">&quot;

    </span><span style="color: navy">// </span><span style="color: green">Mapping FHIR Patient resource to OMOP Death</span>

    <b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4/patient.html" title="Patient">http://hl7.org/fhir/StructureDefinition/Patient</a><span style="color: navy">&quot; </span><b>alias </b>Patient <b>as </b><b>source</b>
    <b>uses</b><span style="color: navy"> &quot;</span>https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/OMOPDeath<span style="color: navy">&quot; </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> -&gt; </b></span>tgt.death_datetime = <span style="color: maroon">srcDeceased</span> <i>&quot;setDeathDT&quot;</i><span style="color: navy">;</span>
        srcDeceased<span style="color: navy"><b> -&gt; </b></span>tgt.death_date = <span style="color: navy">(</span>%srcDeceased.toString().substring(0, 10)<span style="color: navy">)</span> <i>&quot;setDeathD&quot;</i><span style="color: navy">;</span>
      <span style="color: navy">}</span> <i>&quot;SetDeathDate&quot;</i><span style="color: navy">;</span>
    <span style="color: navy">}

    </span></pre></div>
      </text>
      <url
           value="https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPDeath"/>
      <version value="0.1.0"/>
      <name value="CoreFHIR2OMOPDeath"/>
      <title value="Mapping FHIR Patient resource to OMOP Death"/>
      <status value="draft"/>
      <date value="2026-04-16T14:35:38+00:00"/>
      <publisher value="AP-HP"/>
      <contact>
        <name value="AP-HP"/>
        <telecom>
          <system value="url"/>
          <value value="https://aphp.fr"/>
        </telecom>
      </contact>
      <description value="Mapping FHIR Patient resource to OMOP Death"/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="FR"/>
        </coding>
      </jurisdiction>
      <structure>
        <url value="http://hl7.org/fhir/StructureDefinition/Patient"/>
        <mode value="source"/>
        <alias value="Patient"/>
      </structure>
      <structure>
        <url
             value="https://interop.aphp.fr/ig/fhir/dm/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>