jsolon-ncp / sampa-radio

0 stars 0 forks source link

crf13: radio_exam with -98 not coded as "refused" #3

Closed jsolon-ncp closed 1 year ago

jsolon-ncp commented 1 year ago

17 records are still coded as -98

image

which should be Refused as per the codebook.

image

Problem lies in that the value labels list -99 as Refused.

image

jsolon-ncp commented 1 year ago
/* Issue value label for radio_exam misses value 98 as refused */

label var radio_exam "Ultrasound Performed"

label define radio_exam2 -103 "Equipment Not Available"
label define radio_exam2 -102 "Absconded", add
label define radio_exam2 -99 "Refused", add
label define radio_exam2 -98 "Refused", add
label define radio_exam2 0 "No", add
label define radio_exam2 1 "Yes", add

label values radio_exam radio_exam2

replace radio_exam = -98 if radio_exam == -99

tab radio_exam
dmpm-ncp commented 1 year ago

I have updated the labels and will soon be reflected in the next data version. For CLHNS, i have asked Ms Clang to check why we have -103.