MyDigiTwinNL / CDF2Medmij-Mapping-tool

Tool for transforming Cohort-study Data (CDF) into FHIR/MedMij compliant resource bundles
Apache License 2.0
1 stars 0 forks source link

Stroke follow-up report - date approximation and implications on prediction model #5

Closed hcadavid closed 1 year ago

hcadavid commented 1 year ago

Pairing rule issue

Description

Given the question stroke_followup_adu_q_1: "did the health problems listed below start since the last time you filled in the lifelines questionnaire?", and considering that this variable was collected only in 2A, 3A and 3B, when a 'yes' is reported in 2A, should this 'mean date' be calculated between the date of 1A and 2A, or between 1C and 2A?

In the current version, the former is being used.

In some cases, this approximation may have an error of up to 5 years (early assessments of 1A were made in 2007, and the later assessments of 2A were made in 2017), so I think the implications of this should be further discussed.

https://github.com/MyDigiTwinNL/Lifelines2Medmij-Mapping-tool/blob/9bf438f77500c59ed2cafb0f641b07b7550faee6/src/lifelines/Stroke.ts#L77-L112

baukearends commented 1 year ago

The data catalogue (link) states that stroke_followup_adu_q_1 is collected in 1B and 1C, as well as 2A, 3A and 3B.

hcadavid commented 1 year ago

You are right. I updated the Stroke mapping accordingly.