File level rejections
File level rejections are validation errors that highlight specific data quality issues which have caused the whole submission file to be rejected. These checks are made on all the records submitted by the data sender.
Record level rejections
Record-level rejections are validation errors that highlight a data issue in a specific column which has caused the whole record to be rejected.
Example
Master Patient index table
LocalPatientId |
Postcode |
Gender |
PersonBirthDate |
EthnicCategory |
LPI001 |
AA1 4AA |
1 |
1990-03-13 |
A |
LPI002 |
AA1 3AA |
21 |
1999-01-01 |
AA9 |
The following record-level rejections will be triggered and Record 2 will be rejected.
IDS00130 - Record rejected-Person Stated Gender Code has an incorrect data format. Local Patient Identifier (Extended)= LPI002
IDS00132 - Record rejected - Ethnic Category has an incorrect data format. Local Patient Identifier (Extended)= LPI002
Group-level rejections
Certain records in different tables may be linked by certain keys (such as LocalPatientId). These are considered ‘groups’ and, to protect data integrity, where one record fails validation, any linked records within that ‘group’ will also fail validation. There are two types of group-level rejections; No valid group submitted and More than one group submitted.
No valid group submitted
Reason 1
Records in the GP table (child table) are rejected if the corresponding records from Master Patient Index (parent table) are rejected due to a validation error.
Example
Master Patient Index (parent table) has a one-to-many relationship with GP table (child table).
Master Patient Index (parent table)
LocalPatientId |
Postcode |
Gender |
PersonBirthDate |
EthnicCategory |
LPI001 |
AA1 4AA |
1 |
1990-03-13 |
A |
LPI002 |
AA1 3AA |
21 |
1999-01-01 |
AA9 |
GP table (child table)
LocalPatientId |
GMPCodeReg |
StartDateGMPRegistration |
EndDateGMPRegistration |
OrgIDGPPrac |
LPI001 |
ABC110 |
2019-01-01 |
|
|
LPI002 |
RRP110 |
2019-01-21 |
|
|
Record 2 (LocalPatientID =LPI002) from GP table (child table) will trigger the following error because Record 2 (LocalPatientID=LPI002) in Master Patient Index (parent table) has been rejected due to a Record-level rejection (validation error explained in example above).
IDS00220 - Group rejected - No valid IDS001 group transmitted for this Local Patient Identifier (Extended). Local Patient Identifier (Extended)= LPI002
Reason 2
Records in table B (child table) are rejected if no corresponding records are submitted in table A (parent table).
Example
Master Patient Index (parent table) has a one-to-many relationship with GP table (child table).
Master Patient Index (parent table)
LocalPatientId |
Postcode |
Gender |
PersonBirthDate |
EthnicCategory |
LPI001 |
AA1 4AA |
1 |
1990-03-13 |
A |
LPI002 |
AA1 3AA |
2 |
1999-01-01 |
A |
GP table (child table)
LocalPatientId |
GMPCodeReg |
StartDateGMPRegistration |
EndDateGMPRegistration |
OrgIDGPPrac |
LPI001 |
ABC110 |
2019-01-01 |
|
|
LPI002 |
RRP110 |
2019-01-21 |
|
|
Record 1 (LocalPatientID = LPI001) is not present in submitted corresponding table. In this case the following error will be triggered
IDS00220 - Group rejected - No valid IDS001 group transmitted for this Local Patient Identifier (Extended). Local Patient Identifier (Extended)= LPI001
More than one group submitted
A ‘More than one group submitted’ error will be triggered if duplicate records (records with same values in key columns) are submitted. All duplicate records will be rejected with group-level rejection error.
Example
GP table
LocalPatientID |
GMPCodeReg |
StartDateGMPRegistration |
EndDateGMPRegistration |
OrgIDGPPrac |
LPI001 |
ABC110 |
2019-01-01 |
|
|
LPI001 |
ABC110 |
2019-01-01 |
|
|
These two records will trigger the following validation error and both records will be rejected.
IDS00221 - Group rejected - More than one IDS002 provided for this Local Patient Identifier (Extended) + General Medical Practice Code (Patient Registration) + Start Date (GMP Patient Registration) combination. Local Patient Identifier (Extended)= LPI001 General Medical Practice Code (Patient Registration) = ABC110 Start Date (GMP Patient Registration) = 2019-01-01
Warnings
Warnings are where the validation process identifies an issue with the submitted file but does not reject any records. Warnings advise data senders where there is an issue with the data quality in their submissions.
Example
Master Patient Index table
LocalPatientID |
Postcode |
Gender |
PersonBirthDate |
EthnicCategory |
LPI001 |
AA1 4AA |
1 |
1990-03-13 |
A |
LPI002 |
AA1 3AA |
|
1999-01-01 |
A |
As the Gender column is blank for Record 2, the following warning will be triggered:
IDS00129 - Warning - Person Stated Gender Code is blank. Local Patient Identifier (Extended)= LPI002