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

@clairblacketer
Copy link
Collaborator

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

@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

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