The correct and accurate modelling of a pregnancy and its outcomes is rather involved, and some assumptions had to be made. This page illustrates the model used in the pregnancy tables to which these assumptions lead.
Consider the following example:
(a) (b) (c) (d) MUM 123 -----|-------|---------------|------------|-------------------- CHILD 701 |-| CHILD 702 |-------------------- CHILD 703 |--------------------
This story is described in the different pregnancy tables as follows:
There are two records in tblPREG, one for each pregnancy:
| MOTHER_ID | PREG_SEQ | MENS_D | ... |
|---|---|---|---|
| 123 | 1 | (a) | ... |
| 123 | 2 | (c) | ... |
There are three records in tblPREG_OUT describing the pregnancy outcome for each fetus:
| MOTHER_ID | PREG_SEQ | CHILD_ID | ... |
|---|---|---|---|
| 123 | 1 | 701 | ... |
| 123 | 2 | 702 | ... |
| 123 | 2 | 703 | ... |
There is one record in tblDELIVERY_MUM:
| MOTHER_ID | PREG_SEQ | MEMRUP_D | ... |
|---|---|---|---|
| 123 | 2 | (d) | ... |
There are two records in tblDELIVERY_CHILD:
| MOTHER_ID | MEMRUP_D | CHILD_ID | ... |
|---|---|---|---|
| 123 | (d) | 702 | ... |
| 123 | (d) | 703 | ... |
There are two records in tblNEWBORN:
| CHILD_ID | ... |
|---|---|
| 702 | ... |
| 703 | ... |
The following statements are true for a well-encoded data set: