OHDSI / Themis

Repository for OMOP CDM conventions as defined by THEMIS. These can be reference lists of concepts, pieces of standardized code for data generation or quality certification, and debates.
Apache License 2.0
28 stars 9 forks source link

How to populate month_of_birth when it is not provided in the source #95

Closed clairblacketer closed 1 month ago

clairblacketer commented 7 months ago

How to populate month_of_birth when it is not provided in the source

CDM or THEMIS convention?

Themis

Is this a general convention?

No

Summary of issues

Summary of answer

Related links

Other comments/notes

clairblacketer commented 7 months ago

@burrowse The convention is correct for how we typically assign month at birth. I usually reserve this for kids and babies for whom we observe records during their year of birth, as you note. This is helpful for mother-child linkage algorithms, perhaps we put a note to that effect?

burrowse commented 7 months ago

@burrowse The convention is correct for how we typically assign month at birth. I usually reserve this for kids and babies for whom we observe records during their year of birth, as you note. This is helpful for mother-child linkage algorithms, perhaps we put a note to that effect?

Okay, great! That makes sense to me! This was mostly making sure that we were aligned across the month_of_birth, day_of_birth and birth_datetime field in terms of how to infer a value as a convention.

clairblacketer commented 7 months ago

Issue # and location

Issue summary

How should month_of_birth be populated when it is not provided in the source data? Month of Birth is not required in the CDM, but it is a component of birth_datetime.

Convention type

Table

CDM table

person

CDM field

month_of_birth

Links to issue discussion

NA

Provenance of data

General

The ratified convention

Month of Birth is not required in the CDM, but it is a component of birth_datetime. For data sources that provide the precise date of birth, the day should be extracted and stored in this field. For data sources which lack this data point, but have a use case to infer the information (i.e. This is helpful for mother-child linkage algorithms), use the following heuristic:

Date of ratification/published

NA

Downstream implications

No

Link to DQD check

NA

Related conventions/further information

NA

#Tags birth_date, month_of_birth

MelaniePhilofsky commented 6 months ago

Edited to match wording of day_of_birth issue.

clairblacketer commented 6 months ago

https://github.com/OHDSI/Themis/pull/150

clairblacketer commented 6 months ago

reopening for discussion as we may not need to give a convention for a not-required field

tagging @cgreich @MelaniePhilofsky

MelaniePhilofsky commented 1 month ago

Issue has been resolved.