ARS-toscana / ConcePTIONAlgorithmPregnancies

Repository of the script of the ConcePTION Algorithm for Pregnancies
GNU Affero General Public License v3.0
5 stars 3 forks source link

Misclassification of codes #36

Closed clobart closed 2 years ago

clobart commented 2 years ago

Looking at the results we found some codes that are misclassified for the concept set Livebirth, BirthNarrow and Preterm I copied here the table of the codes for each concept set that are actually codes of the CHILD and not of the mother

concept_set
codvar Birth_narrow Livebirth Preterm
27701 0 1 0
64421 0 0 1
64801 0 1 0
65221 0 2 0
66411 1 0 0
74783 0 1 0
7481 0 1 0
7602 1 0 0
76403 0 1 0
76412 0 1 0
76419 0 1 0
76420 0 1 0
76502 2 2 2
76503 2 2 2
76512 0 1 1
76513 0 1 1
76519 0 8 8
76522 1 0 0
76525 0 2 0
7671 1 1 0
7684 0 1 0
7685 1 1 0
769 0 2 0
770.8 0 1 0
7702 0 1 0
7704 1 1 0
77081 0 1 0
77089 0 1 0
7713 0 1 0
7714 0 1 0
7720 0 1 0
77213 1 1 0
7741 2 0 0
7742 1 0 1
77430 1 1 0
7746 3 2 0
77512 0 1 0
7754 0 1 0
7765 0 1 0
77650 0 1 0
7766 0 1 1
7791 1 1 0
7793 2 1 0
7796 2 0 0
7798 1 0 0
77985 16 15 0
77989 3 0 0
7799 31 0 0
P219 0 2 0
V3000 0 33 0
V3001 0 9 0
V3101 0 1 0

So all these codes refer to the child and we don't want these codes to identify pregnancy.

Can you please review the classification of the codes and remove them? @giuhye @AnnaGirardi22

clobart commented 2 years ago

@acidroyo-UMCU once Anna and Giulia have finishe is review can you please generate the full codelist for us? this time the changes are many and it's not prudent to make them manually

clobart commented 2 years ago

I found also these other 4 codes in Livebirth and Birth_narrow

codvar Birth_narrow Livebirth
67122 1 0
76422 0 1
76528 0 4
7771 0 1

@AnnaGirardi22 @giuhye