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

Add new visit_meaning for EpiChron #48

Closed bpoblador closed 1 year ago

bpoblador commented 1 year ago

Dear @GiorgioLimoncella and @clobart ,

For the newest instance of Pfizer project we have extraceted all control prengancy visits. Due to that, we need to include the meaning "pregnancy_control_visit" withing the meanings to take into account for the algorithm, together with the "first_pregnancy_visit" already included.

Or if you think that is better to put for all of them the same meaning, we can do it also.

clobart commented 1 year ago

Dear @bpoblador,

Yes, it's perfect to add this in the meaning of visits, but we need to check the imputation. Can we can consider "pregnancy_control_visit" as an ongoing pregnancy? If yes, it will have the imputation for start and end of pregnancy as the ongoing.

Let us know how we can proceed, and thanks!!

bpoblador commented 1 year ago

Yes, the pregnancy control visits implies the pregnancy is ongoing. Then we will have 2 meanings for pregnancy visits: first_pregnancy_visit and pregnancy_control_visit

GiorgioLimoncella commented 1 year ago

Dear @bpoblador,

we have added the new meaning in _01_promptsEpiChron.R and updated the other steps involved. You can download this new version from the branch version_3.1.

bpoblador commented 1 year ago

Done! Thanks