uniklinik-koeln-fhir/nNGM-Mapping

Missing deceasedBoolean

Closed this issue · 0 comments

dd52 commented

https://github.com/clinical-integration-hub/nNGM-Mapping/blob/177c7511656465a64ac5e3b8de424b0945476171/CDS%20Maps/Individual%20Maps/CDS-to-FHIR/nNGM-CDS-to-FHIR-Stammdaten.map#L120

`
// DeceasedBoolean
data.values as values where "blockindex = 1 and groupindex = 0 and itemid = 'id_1298'" then
{
values.value as value where "$this.value = 'lebt'" then
{
values.value as value -> tgt.deceasedBoolean = cast('false', 'FHIR.boolean');
};

        values.value as value where "$this.value = 'lost to follow-up'" then
        {
            values.value as value -> tgt.deceasedBoolean = cast('false', 'FHIR.boolean');
        };

        values.value as value where "$this.value = 'tot'" then
        {
            values.value as value -> tgt.deceasedBoolean = cast('true', 'FHIR.boolean');
        };
    };

`