CCMDB Data Structure
This article explains how our tables interlink.
Structure
actual data
- L Log table links to the following on D_ID
support tables
L_Log table
Some fields in L Log table draw from support tables as follows:
L_TmpV2 Table
The L_TmpV2 Table links on both of the following two fields together with the S Tmp table:
- L_TmpV2.project = s_Tmp.Study
- L_TmpV2.Item = S_tmp.Value
L_Como Table
L_Como Table links to S AllDiagnoses table as
- L_Como.ComorbidCode = S AllDiagnoses.DiagnosisCode
L_Dxs Table
L_Como Table links to S AllDiagnoses table as
- L_Dxs.DiagnosisCode = S AllDiagnoses.DiagnosisCode
S HospitalCodes table S AdmitDischarge table