Data Management with FHIR
0.1.0 - ci-build
Data Management with FHIR - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://interop.aphp.fr/ig/fhir/dm/StructureMap/CoreFHIR2OMOPDeath | Version: 0.1.0 | |||
| Draft as of 2025-10-23 | 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"; }