There are instances where patients are grouped, most likely by a family id as is the case with CPRD. There are a couple of ways to handle this:
Add family_id_source_value variable to patients table that is the source value from the source data
Add family_id to patients table and add families table to GDM
Add the family id to the patient_details table somehow. Currently that table expects a vocabulary associated with the detail we are adding so it seems weird to create a CPRD family vocab
There are instances where patients are grouped, most likely by a family id as is the case with CPRD. There are a couple of ways to handle this: