Sie sind auf Seite 1von 7

Idea--have one measure table for one or

more related Dimension tables.



For instance diagnosis measure table can
have the measures of drug use and disease
symptom since we can observe a valid
relation between disease and the drugs used.

This information can be very useful during
the mining of the data.

Fact

FactKey
. . .
MTable234

DimKey2
DimKey3
DimKey4
FactKey
Measures


Dim1

DimKey1
. . .
MTable124

DimKey1
DimKey2
DimKey4
FactKey
Measures

Dim3

DimKey3
. . .
Dim1

DimKey4
. . .
Dim4

Dim1

DimKey2
. . .
Dim2

Dimension 1
Dimension Key 1
. . .
Measure 2
Fact Key
Dimension Key 1
Sub Measure Key 1
Sub Measure Key 2
Dimension 3
Dimension Key 3

Measure 1
Fact Key
Dimension Key 1
Dimension Key 2
Measure 1
. . .
Fact
Fact Key
. . .
Dimension 2
Dimension Key 2
. . .
Dimension 4
Dimension Key 4

Sub Measure 2
Sub Measure Key 2
Dimension Key 4
Measure 4
. . .
Sub Measure 1
Sub Measure Key 1
Dimension Key 3
Measure 3
. . .
Disease
PK Disease ID
Name
Type
Description
Results
CK Sub Test ID 1
Sub Test ID 2
Disease ID
Patient ID
Clinical Test
PK Test ID 1
Name
Type
Setting
Diagnosis
CK Patient ID
Disease ID
Drug ID
Symptom
Dosage
From
To
Date
Patient
PK Patient ID
SSN
Name
Gender
DOB
Sample
CK Sample ID
Patient ID
Source
Type
Date
Drug
PK Drug ID
Name
Type
Description
3X Bio Web Schema for Clinical Data


Fact
Measure
Dimension
Operation
PK Opt ID 1
Name
Type
Description
Sub Test Result 1
CK Sub Test ID 1
Test ID 1
Result
Date
Sub Test Result 2
CK Sub Test ID 2
Opt ID 1
Result
Date
Marker
PK Marker ID
Name
Type
Locus
Description
Requirements
CK Term ID
Marker ID
Sample ID
Description
Term
PK Term ID
Name
Type
Setting
Results
CK Sample ID
Marker ID
Assay ID
Marker Result
Marker Date
Assay Result
Assay Date
Sample
PK Sample ID
Source
Amount
Date
Assay
PK Assay ID
Name
Type
Setting
Description
Bio-Web Schema for Sample data


Fact
Measure
Dimension

This model reduces the number of physical joins.

It is easy for consolidation of few results from the
measure tables which couldnt be made from bio star.

For instance, from the diagnosis table it is easy to
consolidate which disease has been treated using
which drug. In the BioStar model, this consolidation
was not possible. What could be concluded was which
patient was prescribed which drug and what disease
did he suffer from separately.

Temporal attributes of the measure tables allow
multiple entries. For instance, if the same patient is
diagnosed on same day the measure tables allow in
the BioWeb model.

Adding a dimension to existing measure table or
adding fields in any table would require re-
computing data entries of the measure table.
Hence measure table should not be connected to
more number of dimension tables.

Connecting multiple dimension tables to one
measure table might increase the size of the
measure table but on the brighter side this gives
some direct results which could be very useful.

Das könnte Ihnen auch gefallen