Was this issue ever resolved for the CDM v 5.0 (or 5.1)? I’m working with Humedica/Optum EHR data and it is as Jen described earlier. Our basic unit is an encounter (called a visit in the CDM). For inpatient encounters, we use an algorithm to group the encounters into visits and we store that information in a different table. If possible, we want to preserve our notion of visits because it is analytically important and it allows us to give an end date. At the same time, we don’t want to duplicate information in visit_occurrence by putting in both visits and encounters. Is there any guidance on what we should do?