The MORGAM Data Centre (MDC) checks all data received from the MORGAM Participating Centres (MPC) according to these edit specifications at the time when the data are included into the MORGAM data base. All possible inconsistencies revealed in the data are reported to the MPC using Computer Generated Error Correction Form, or by other means if the number of possible errors in the data is very large.
Every record entered into the MDC data base is subjected to the constraints listed below. If the data do not meet the conditions of the constraint, an error message will be generated. Such error messages are printed on a Computer Generated Error Correction Form.
Data values which do not meet the conditions of a constraint, are either incorrect or unusual. All data values printed on the Computer Generated Error Correction Form should be checked from the source of the data. However, such values should not be changed unless they can be shown to be incorrect.
Univariate checks |
| Constraint name | Description |
| CENTRE_LIMITS_88 | Accepted values for CENTRE are: 11, 12, 19, 20, 22, 26, 31, 32, 34, 35, 36, 37, 39, 45, 47, 54, 55, 57, 59, 60, 71, 72, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 99 |
| COHORT_LIMITS_88 | Accepted values for COHORT are: 01 to 03, 21 to 99 |
| RUNIT_LIMITS_88 | Accepted values for RUNIT are: 01 to 08 |
| SERIAL_LIMITS_88 | Accepted values for SERIAL are: 1 to 999999 |
| SEX_LIMITS_88 | Accepted values for SEX are: 1 to 2 |
| ASSMI_LIMITS_23 | Accepted values for ASSMI are: 1, 2, 8, 9 |
| CAREM_LIMITS_23 | Accepted values for CAREM are: 1, 2, 8 |
| CI_LIMITS_23 | Accepted values for CI are: 1, 2, 8, 9 |
| CONSC_LIMITS_23 | Accepted values for CONSC are: 1 to 4, 8, 9 |
| COURSE_LIMITS_23 | Accepted values for COURSE are: 1 to 4, 8, 9 |
| DGNCAT_LIMITS_23 | Accepted values for DGNCAT are: 1, 3, 4, 9 |
| DGSOUR1_LIMITS_23 | Accepted values for DGSOUR1 are: 1, 2, 9 |
| DGSOUR2_LIMITS_23 | Accepted values for DGSOUR2 are: 1, 2, 9 |
| DGSOUR3_LIMITS_23 | Accepted values for DGSOUR3 are: 1, 2, 9 |
| DGSOUR4_LIMITS_23 | Accepted values for DGSOUR4 are: 1, 2, 9 |
| DGSOUR5_LIMITS_23 | Accepted values for DGSOUR5 are: 1, 2, 9 |
| DIAB_LIMITS_23 | Accepted values for DIAB are: 1 to 4, 9 |
| DISSART_LIMITS_23 | Accepted values for DISSART are: 1, 2, 8 |
| EVENT_LIMITS_23 | Accepted values for EVENT are: 1 to 99 |
| FORM_LIMITS_23 | Accepted values for FORM are: 23 |
| ICDVER_LIMITS_23 | Accepted values for ICDVER are: 1 to 3, 8 |
| ICH_LIMITS_23 | Accepted values for ICH are: 1, 2, 8, 9 |
| INVEST1_LIMITS_23 | Accepted values for INVEST1 are: 1, 2, 9 |
| INVEST2_LIMITS_23 | Accepted values for INVEST2 are: 1, 2, 9 |
| INVEST3_LIMITS_23 | Accepted values for INVEST3 are: 1, 2, 9 |
| INVEST4_LIMITS_23 | Accepted values for INVEST4 are: 1, 2, 9 |
| INVEST5_LIMITS_23 | Accepted values for INVEST5 are: 1, 2, 9 |
| INVEST6_LIMITS_23 | Accepted values for INVEST6 are: 1, 2, 9 |
| INVEST7_LIMITS_23 | Accepted values for INVEST7 are: 1, 2, 9 |
| INVEST8_LIMITS_23 | Accepted values for INVEST8 are: 1, 2, 9 |
| MANAGE_LIMITS_23 | Accepted values for MANAGE are: 1 to 5, 9 |
| OTYPE_LIMITS_23 | Accepted values for OTYPE are: 1, 2, 8, 9 |
| SAH_LIMITS_23 | Accepted values for SAH are: 1, 2, 8, 9 |
| SESOUR1_LIMITS_23 | Accepted values for SESOUR1 are: 1, 2, 9 |
| SESOUR2_LIMITS_23 | Accepted values for SESOUR2 are: 1, 2, 9 |
| SESOUR3_LIMITS_23 | Accepted values for SESOUR3 are: 1, 2, 9 |
| SESOUR4_LIMITS_23 | Accepted values for SESOUR4 are: 1, 2, 9 |
| SESOUR5_LIMITS_23 | Accepted values for SESOUR5 are: 1, 2, 9 |
| SESOUR6_LIMITS_23 | Accepted values for SESOUR6 are: 1, 2, 9 |
| SOURSAH_LIMITS_23 | Accepted values for SOURSAH are: 1 to 3, 8, 9 |
| SURV28_LIMITS_23 | Accepted values for SURV28 are: 1, 2, 9 |
| SURV7_LIMITS_23 | Accepted values for SURV7 are: 1, 2, 9 |
| VERSN_LIMITS_23 | Accepted values for VERSN are: 4 |
Multivariate checks |
| Constraint name | Description |
| COHORT_CENTRE_88 |
If CENTRE = 11 then COHORT should be: 01, 02, 03 |
| If CENTRE = 12 then COHORT should be: 01, 02, 03 |
| If CENTRE = 19 then COHORT should be: 01, 02, 03, 42, 43 |
| If CENTRE = 20 then COHORT should be: 01, 02, 03, 24, 25, 26, 34, 42, 43, 44, 45, 46, 52, 53, 54, 55, 62, 63, 64, 72, 73, 82 |
| If CENTRE = 22 then COHORT should be: 21 |
| If CENTRE = 26 then COHORT should be: 01, 02, 03, 24, 33, 34, 42, 52 |
| If CENTRE = 31 then COHORT should be: 01, 21, 22, 23, 24, 25, 42, 43 |
| If CENTRE = 32 then COHORT should be: 01, 02, 03, 21 |
| If CENTRE = 34 then COHORT should be: 21 |
| If CENTRE = 35 then COHORT should be: 01, 02, 03, 21, 42, 43 |
| If CENTRE = 36 then COHORT should be: 01, 02, 03 |
| If CENTRE = 37 then COHORT should be: 01, 02, 03, 21 |
| If CENTRE = 39 then COHORT should be: 01, 02, 03 |
| If CENTRE = 45 then COHORT should be: 01, 02, 03, 31, 32, 33, 34, 35 |
| If CENTRE = 47 then COHORT should be: 01, 02, 03, 21 |
| If CENTRE = 54 then COHORT should be: 21 |
| If CENTRE = 55 then COHORT should be: 21 |
| If CENTRE = 57 then COHORT should be: 01, 02, 03, 21 |
| If CENTRE = 59 then COHORT should be: 21 |
| If CENTRE = 60 then COHORT should be: 01, 02, 03, 24 to 26, 42 to 44, 52 to 54, 62 to 64, 72 to 74, 84 |
| If CENTRE = 71 then COHORT should be: 21 |
| If CENTRE = 72 then COHORT should be: 21, 43 |
| If CENTRE = 73 then COHORT should be: 21 |
| If CENTRE = 74 then COHORT should be: 21, 31, 42, 43 |
| If CENTRE = 75 then COHORT should be: 21 |
| If CENTRE = 76, 79 then COHORT should be: 21 |
| If CENTRE = 78 then COHORT should be: 21, 43, 45, 46 |
| If CENTRE = 83 then COHORT should be: 24, 42, 43, 44 |
| If CENTRE = 84 then COHORT should be: 21, 42, 43 |
| If CENTRE = 99 then COHORT should be: 01, 02, 03, 21 |
| RUNIT_CENTRE_88 |
If CENTRE = 12 then RUNIT should be: 01, 02 |
| If CENTRE = 19 then RUNIT should be: 01 |
| If CENTRE = 20 then RUNIT should be: 02, 03, 05, 06, 07, 08 |
| If CENTRE = 22, 37 then RUNIT should be: 01, 02, 03 |
| If CENTRE = 26 then RUNIT should be: 03 |
| If CENTRE = 31 then RUNIT should be: 01, 02, 03, 04 |
| If CENTRE = 32 then RUNIT should be: 01, 02, 03, 04, 05, 06 |
| If CENTRE = 34, 54, 55, 59 then RUNIT should be: 01 |
| If CENTRE = 35 then RUNIT should be: 01, 02, 03 |
| If CENTRE = 36 then RUNIT should be: 01, 02 |
| If CENTRE = 39 then RUNIT should be: 03 |
| If CENTRE = 45 then RUNIT should be: 01 |
| If CENTRE = 47 then RUNIT should be: 01, 03 |
| If CENTRE = 57 then RUNIT should be: 01, 02, 04, 05 |
| If CENTRE = 60 then RUNIT should be: 01, 02 |
| If CENTRE = 71, 78, 79, 80, 84 then RUNIT should be: 01 |
| If CENTRE = 72 then RUNIT should be: 01 |
| If CENTRE = 73 then RUNIT should be: 01, 02, 03 |
| If CENTRE = 74 then RUNIT should be: 01 |
| If CENTRE = 75 then RUNIT should be: 01 |
| If CENTRE = 76 then RUNIT should be: 01, 02 |
| If CENTRE = 83 then RUNIT should be: 04 |
| CI_CAREM_23 |
If CI = 2, 8, 9 then CAREM should be: 8 |
| CI_DISSART_23 |
If CI = 2, 8, 9 then DISSART should be: 8 |
| DGNCAT_ASSMI_23 |
If DGNCAT = 4 then ASSMI should be: 8 |
| DGNCAT_CI_23 |
If DGNCAT = 4 then CI should be: 8 |
| DGNCAT_CONSC_23 |
If DGNCAT = 4 then CONSC should be: 8 |
| DGNCAT_COURSE_23 |
If DGNCAT = 4 then COURSE should be: 8 |
| DGNCAT_ICH_23 |
If DGNCAT = 4 then ICH should be: 8 |
| DGNCAT_OTYPE_23 |
If DGNCAT = 4 then OTYPE should be: 8 |
| DGNCAT_SAH_23 |
If DGNCAT = 4 then SAH should be: 8 |
| SAH_SOURSAH_23 |
If SAH = 2, 8, 9 then SOURSAH should be: 8 |
| SURV28_SURV7_23 |
If SURV28 = 1 then SURV7 should be: 1 |
| If SURV7 = 2 then SURV28 should be: 2 |