fhosking / cml-database

0 stars 0 forks source link

Hammermsith Registry/Age at diagnosis #74

Closed afzalkhan500 closed 2 months ago

afzalkhan500 commented 3 months ago

Age below is missing which is date of diagnosis-DOB:

image

fhosking commented 3 months ago

Added current age calculation

image
afzalkhan500 commented 2 months ago

This isn't right for patient 161: image image

So Age (which should really be called "Age at Diagnosis") = Date of Diagnosis - DOB

Current age = Current date or date of death if patient has died - DOB

fhosking commented 2 months ago

Updated current age. It's a bit tricky to get to work so hopefully this is satisfactory

image
afzalkhan500 commented 2 months ago

Age at death works but just needs putting below Current age.

We need also Age at diagnosis: Age at diagnosis = Date of diagnosis (found in Baseline>Clinical data) - Date of birth (found in Baseline)

fhosking commented 2 months ago

Added age at diagnosis

image