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

## StructureMap: Mapping FHIR Patient resource to OMOP Death

Official URL: https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPDeath | Version: 0.1.0
Draft as of 2026-04-16 | Computable Name: CoreFHIR2OMOPDeath

Mapping FHIR Patient resource to OMOP Death

    map "https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPDeath" = "CoreFHIR2OMOPDeath"

    // Mapping FHIR Patient resource to OMOP Death

    uses "http://hl7.org/fhir/StructureDefinition/Patient" alias Patient as source
    uses "https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/OMOPDeath" alias DeathTable as target

    group Death(source src : Patient, target tgt : DeathTable) {
      src.deceased : dateTime as srcDeceased then {
        srcDeceased -> tgt.death_datetime = srcDeceased "setDeathDT";
        srcDeceased -> tgt.death_date = (%srcDeceased.toString().substring(0, 10)) "setDeathD";
      } "SetDeathDate";
    }