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
27 stars 8 forks source link

Missing visit end datetime #128

Closed solmazeradat closed 5 months ago

solmazeradat commented 5 months ago

Missing visit end datetime

CDM or THEMIS convention?

THEMIS

Table or Field level?

Field

Is this a general convention?

No

Summary of issues

Summary of answer

Clarified during Friday call. See point Below:

Related links

Other comments/notes

MelaniePhilofsky commented 5 months ago

Issue # and location

Issue summary

We have visit start datetime data at the source, but not end datetime. Is it ok to leave visit_end_datetime null when visit_start_datetime is populated?

Convention type

Table

CDM table

visit_occurrence

CDM field

visit_end_datetime

Links to issue discussion

Provenance of data

General

The ratified convention

visit_end_datetime is not a required field. Therefore, it is ok to leave visit_end_datetime null when visit_start_datetime is populated.

Date of ratification/published

NA

Downstream implications

NA

Link to DQD check

Related conventions/further information

#Tags visit_occurrence, visit_end_datetime, date, datetime