I was reviewing the CDM Wiki to advise on the following question from the N3C team:
For discharge dispositions of “EX”, in addition to creating a record in the death table, can we also update the discharge_to_concept_id in the visit_occurrence table to something other than 0?
Handling of death: In the case when a patient died during admission (VISIT_DETAIL.DISCHARGE_TO_CONCEPT_ID = 4216643 ‘Patient died’), a record in the Observation table should be created with OBSERVATION_TYPE_CONCEPT_ID = 44818516 (EHR discharge status ‘Expired’).
But the problem is that the VISIT_OCCURRENCE wiki has a different convention:
Handling of death: Visits are not used to indicate a patient’s death. If the source data contains death information in a visit context the date should be derived (admission or discharge) and placed into the death_datetime field of the PERSON table. For details, see there.
If N3C is using OMOP V5.3.1… how do I know which convention is appropriate?
Also worth adding… all of the conventions on the Wiki are further incongruent with the OMOP CDM V5.3.1 github IO. (E.g. the Required fields are not consistent.)
I know, you’re all updating documentation so I’ll leave that. Just need the right rule set of what to enforce here.