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 birth_datetime when day_of_birth/month_of_birth/time of birth is not provided in the source #93

Open burrowse opened 7 months ago

burrowse commented 7 months ago

How to populate birth_datetime when day_of_birth/month_of_birth/time of birth is not provided in the source

CDM or THEMIS convention?

Themis

Is this a general convention?

No

Summary of issues

Summary of answer

Use the following logic to infer the date:

Related links

MaximMoinat commented 7 months ago

Issue # and location

93 Themis Github

Issue Summary How to populate the birth_datetime field when any or all of day/month/time of birth is not provided in the source.

Convention type Table specific

CDM table Person

CDM field birth_datetime

Links to issue discussion NA

Provenance of data General

The ratified convention Use the following logic to infer the birth_datetime value:

Date of ratification/published 2021-09-25 (CDM v5.4 release)

Downstream implications No, birth_datetime is little used in OHDSI tooling.

Link to DQD check plausibleAfterBirth

*Related conventions/further information NA

#Tags person, birth, dob

clairblacketer commented 7 months ago

This looks good to me @MaximMoinat and @burrowse ! I will move it to over to be built.

clairblacketer commented 7 months ago

Opened PR #117

clairblacketer commented 6 months ago

reopening as it may not be necessary to provide guidance for non-required fields