Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to populate month or date in death_date if only year or year/month are provided #104

Closed
assimilateDave opened this issue Apr 6, 2024 · 2 comments

Comments

@assimilateDave
Copy link

#Populating the month and/or year in death_date when this is not known or provided in source data

CDM or THEMIS convention?

THEMIS Issue - currently documented in the CDM webpage
https://ohdsi.github.io/CommonDataModel/cdm54.html#death

Table or Field level?

Field level

Is this a general convention?

No

Summary of issues

  • Day, month, and year are expected in the death_date field.
  • Some source data may not have complete datestamp of the deceased persons death date. An approximation of that date should be used.
  • This issue was discussed thoroughly and ratified and could be documented as a Themis convention instead of in the CDM since it may not be applicable to all use cases and data sources.

Summary of answer

  • If the precise date include day or month is not known or not allowed, December is used as the default month, and the last day of the month the default day.

Related links

Other comments/notes

@assimilateDave assimilateDave converted this from a draft issue Apr 6, 2024
@clairblacketer
Copy link
Collaborator

This looks good to me, I am going to move it to Needs Docs

@clairblacketer clairblacketer moved this from Hunters - In Progress to Hunters - Needs Docs in OMOP CDM & THEMIS Conventions Apr 9, 2024
@MaximMoinat MaximMoinat moved this from Hunters - Needs Docs to Writers - Docs In Progress in OMOP CDM & THEMIS Conventions Apr 11, 2024
@MaximMoinat
Copy link

Issue # and location

Themis issue #104

Issue summary

The death.death_date field has day resolution. Some source data may not have complete datestamp of the deceased persons death date. An approximation of that date should be used.

Convention type

Table

CDM table

death

CDM field

death_date

Links to issue discussion

CDM Documentation

Provenance of data

General

The ratified convention

If the precise date include day or month is not known or not allowed, December is used as the default month, and the last day of the month the default day.

Date of ratification/published

NA

Downstream implications

NA

Link to DQD check

Yes - plausibleDuringLife and plausibleBeforeDeath

Related conventions/further information

NA

#Tags
death, death_date, default

@MaximMoinat MaximMoinat moved this from Writers - Docs In Progress to Writers - Ready for Review in OMOP CDM & THEMIS Conventions Apr 11, 2024
@MelaniePhilofsky MelaniePhilofsky moved this from Writers - Ready for Review to Convention in Review in OMOP CDM & THEMIS Conventions Apr 11, 2024
@MelaniePhilofsky MelaniePhilofsky moved this from Convention in Review to Builders - Ready to Pickup in OMOP CDM & THEMIS Conventions Apr 11, 2024
@clairblacketer clairblacketer moved this from Builders - Ready to Pickup to Builders - PR in progress in OMOP CDM & THEMIS Conventions Apr 18, 2024
@github-project-automation github-project-automation bot moved this from Builders - PR in progress to Done in OMOP CDM & THEMIS Conventions Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants