{"text_format":"1","workbook":"xlsx","n_sheets":4,"sheets":["Main","Source","ErrorCSV","CriteriaReference"],"not_rendered":{"charts":0,"images":2,"macros":1,"external_links":0,"defined_names":4,"comments":0,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"Main","index":0,"n_rows":20,"n_cols":5,"rows_kept":20,"cut":false,"hidden":false,"merged":[[3,1,3,2],[2,1,2,2],[1,0,1,3]]}
["Mental Health Services Data Set (MHSDS) Rejection and Warning Message Summary Generator"]
["This tool provides a summary count and description of the validation errors and data quality warnings. Passing the entries from your Validation.csv file and the DataQuality.csv file (from within the SDCS Cloud Portal) into the ErrorCSV tab, and then clicking the \"Create Error List\" button, will summarise those messages."]
[]
[]
[]
[]
[]
[]
[{"$f":"CriteriaReference!B1","v":"Full summary of all validation errors"}]
[]
["Measure","Description","Construction"]
[{"$f":"INDEX(CriteriaReference!A4:A92,MATCH($A$9,CriteriaReference!$D$4:$D$92,0))","v":"N/A"},{"$f":"INDEX(CriteriaReference!B4:B92,MATCH($A$9,CriteriaReference!$D$4:$D$92,0))","v":"List of all validations"},{"$f":"INDEX(CriteriaReference!C4:C92,MATCH($A$9,CriteriaReference!$D$4:$D$92,0))","v":"List of all validations"}]
[]
["Below are a list of the rejections and warnings in the CSV file you have loaded which can impact directly on your performance against the above criteria."]
["Guidance on resolving data quality errors can be found in the SDCS Cloud data quality guidance available at:  "]
["https://digital.nhs.uk/services/strategic-data-collection-service-in-the-cloud-sdcs-cloud#user-support-and-guidance."]
["More information on the validations applied to your MHSDS submissions can be found in the MHSDS Technical Output Specification available at:"]
["https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-sets/mental-health-services-data-set/tools-and-guidance/v5.0"]
[]
["Table","Code","Message","Additional Information","Count"]

{"sheet":"Source","index":1,"n_rows":1336,"n_cols":14,"rows_kept":1336,"cut":false,"hidden":true,"merged":[]}
["Count of entries in the ErrorCSV tab","Count","Table","Code","Message","Additional Information","Table Impacted","Rejection or warning","Criteria 1","Criteria 2","Criteria 3","Criteria 4","Criters 5","Critera 6"]
[{"$f":"COUNTA(ErrorCSV!C:C)","v":1},{"$f":"COUNTIF(ErrorCSV!C:C,Source!D2)","v":0},"MHS000Header","MHS00001","Record rejected - [M000010]DatSetVer is blank.","The DatSetVer field is a mandatory field so cannot be left blank. The value should be set to the current data set version in operation. E.g. \"6.0\" for version 6.0",{"$f":"LEFT(D2,6)","v":"MHS000"},{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E2)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E2)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
["Count messages (to loop though) ",{"$f":"COUNTIF(ErrorCSV!C:C,Source!D3)","v":0},"MHS000Header","MHS00003","Record rejected - [M000010]DatSetVer has incorrect value for current ruling data set. [M000010]DatSetVer=<DatSetVer>","The DatSetVer field should be set to the current data set version in operation. E.g. \"6.0\" for version 6.0","MHS000","Rejection","N/A"]
[{"$f":"COUNTA(D:D)","v":1336},{"$f":"COUNTIF(ErrorCSV!C:C,Source!D4)","v":0},"MHS000Header","MHS00012","Record rejected - [M000040]PrimSystemInUse is blank.","The PrimSystemInUse is a mandatory field so cannot be left blank. This field is expecting the system you use to store your data, e.g. SystmOne, IAPTUS, Lamplight, Excel etc.","MHS000","Rejection","N/A"]
["Sum the count of messages matching",{"$f":"COUNTIF(ErrorCSV!C:C,Source!D5)","v":0},"MHS000Header","MHS00013","Record rejected - [M000040]PrimSystemInUse has an incorrect data format. [M000040]PrimSystemInUse=<PrimSystemInUse>","This is the PrimSystemInUse field. This field is expecting the system you use to store your data, e.g. SystmOne, IAPTUS, Lamplight, Excel etc. The expected format is max an20.","MHS000","Rejection","N/A"]
[{"$f":"SUM(B2:B1300)","v":0},{"$f":"COUNTIF(ErrorCSV!C:C,Source!D6)","v":0},"MHS000Header","MHS00014","Record rejected - [M000050]ReportingPeriodStartDate is blank.","The ReportingPeriodStartDate field is a mandatory field so cannot be left blank. This field is expecting to be populated with the first day of the reporting period month.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D7)","v":0},"MHS000Header","MHS00015","Record rejected - [M000050]ReportingPeriodStartDate has an incorrect data format. [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","If REPORTING PERIOD START DATE does not match the start date of the reporting period selected by the user within Submission Portal, the file will be rejected","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D8)","v":0},"MHS000Header","MHS00016","Record rejected - [M000050]ReportingPeriodStartDate does not match the reporting period selected in Submission Portal upload. [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","This is the ReportingPeriodStartDate field. This field is expecting to be populated with the first day of the reporting period month. This date should match the reporting period selected in submission portal upload.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D9)","v":0},"MHS000Header","MHS00017","Record rejected - [M000060]ReportingPeriodEndDate is blank.","The ReportingPeriodEndDate field is a mandatory field so cannot be left blank. This field is expecting to be populated with the last day of the reporting period month.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D10)","v":0},"MHS000Header","MHS00018","Record rejected - [M000060]ReportingPeriodEndDate has an incorrect data format. [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the ReportingPeriodEndDate field. This field is expecting to be populated with the last day of the reporting period month. The data dictionary specification for date formats is an10 CCYY-MM-DD. More information regarding date formats can be found in the Technical Output Specifical, Technical Glossary tab. You can use the calendar to select the date, this may be easier and less prone to error than inputting this manually.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D11)","v":0},"MHS000Header","MHS00019","Record rejected - [M000060]ReportingPeriodEndDate does not match the reporting period selected in Submission Portal upload. [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the ReportingPeriodEndDate field. This field is expecting to be populated with the last day of the reporting period month. This date should match the reporting period selected in submission portal upload.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D12)","v":0},"MHS000Header","MHS00020","Record rejected - [M000070]DateTimeDatSetCreate is blank.","The DateTimeDatSetCreate field is a mandatory field so cannot be left blank. This field is expecting to be populated with the date that the database was created (may be today's date) and does not need to include the time. You can use the calendar to select the date, this may be easier and less prone to error than inputting this manually.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D13)","v":0},"MHS000Header","MHS00021","Record rejected - [M000070]DateTimeDatSetCreate has an incorrect data format. [M000070]DateTimeDatSetCreate=<DateTimeDatSetCreate>","This is the DateTimeDatSetCreate field. This field is expecting to be populated with the date that the database was created (may be today's date) and does not need to include the time. The data dictionary specification for date formats is an10 CCYY-MM-DD. The format for Date/Time fields is an19 CCYY-MM-DDTHH:MM:SS. More information regarding date formats can be found in the Technical Output Specifical, Technical Glossary tab. You can use the calendar to select the date, this may be easier and less prone to error than inputting this manually. You can use the calendar to select the date, this may be easier and less prone to error than inputting this manually.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D14)","v":0},"MHS000Header","MHS00025","Group rejected - More than one [MHS000]Header submitted for this submission file.","Group-level Validation:  If more than one MHS000 provided, all duplicated records (and hence the submission file) will be rejected.  The submission file will be rejected if the MHS000 is missing from a submission.  The submission file will also be rejected if any of the record level rejections contained within this table are generated.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D15)","v":0},"MHS000Header","MHS00027","Record rejected - [M000070]DateTimeDatSetCreate is after the Upload Date in the Submission Portal. [M000070]DateTimeDatSetCreate=<DateTimeDatSetCreate>","This is the DateTimeDatSetCreate field. This field is expecting to be populated with the date that the database was created (may be today's date) and does not need to include the time. This should be populated with a date that is after the ReportingPeriodEndDate but not after the Upload Date.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D16)","v":0},"MHS000Header","MHS00028","Record rejected - [M000080]OrgIDProvider is blank.","The OrgIDProvider field is a mandatory field so cannot be left blank. This is the Organisation Identifier (ODS code) of the Organisation acting as a Health Care Provider.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D17)","v":0},"MHS000Header","MHS00029","Record rejected - [M000080]OrgIDProvider has an incorrect data format. [M000080]OrgIDProvider=<OrgIDProvider>","This is the OrgIDProvider field and is expecting to be populated with the Organisation Identifier (ODS code) of the Organisation acting as a Health Care Provider. The expected format is min an3 max an6. ","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D18)","v":0},"MHS000Header","MHS00030","Record rejected - [M000080]OrgIDProvider does not match the Organisation Identifier from the Submission Portal login details. [M000080]OrgIDProvider=<OrgIDProvider>","This is the OrgIDProvider field and is expecting to be populated with the Organisation Identifier (ODS code) of the Organisation acting as a Health Care Provider. This code should match the Organisation code from the submission portal login details.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D19)","v":0},"MHS000Header","MHS00031","Record rejected - [M000090]OrgIDSubmit is blank.","The OrgIDSubmit field is a mandatory field so cannot be left blank. This field is expecting the Organisation Identifier (ODS code) of the Organisation acting as the physical sender of a Data Set submission. Unless there is an agreement for a third party to submit the data, this will be the same as the OrgIDProvider.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D20)","v":0},"MHS000Header","MHS00032","Record rejected - [M000090]OrgIDSubmit has an incorrect data format. [M000090]OrgIDSubmit=<OrgIDSubmit>","This is the OrgIDSubmit field and is expecting to be populated with the Organisation Identifier (ODS code) of the Organisation acting as the physical sender of a Data Set submission. Unless there is an agreement for a third party to submit the data, this will be the same as the OrgIDProvider. The expected format is min an3 max an6. ","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D21)","v":0},"MHS000Header","MHS00033","Warning - [M000090]OrgIDSubmit does not match the Organisation Identifier from the Submission Portal login details. [M000090]OrgIDSubmit=<OrgIDSubmit>","The OrgIDSubmit field is a mandatory field so cannot be left blank. This field is expecting the Organisation Identifier (ODS code) of the Organisation acting as the physical sender of a Data Set submission. It is possible that the OrgIDSubmit field is different to the OrgIDProvider as this is the Org Code of the organisation using the portal to send the data. Usually however we normally see this populated with the same value as the OrgIDProvider field.","MHS000","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D22)","v":0},"MHS000Header","MHS00034","Warning - [M000090]OrgIDSubmit is not for a current live organisation in national tables. [M000090]OrgIDSubmit=<OrgIDSubmit>","The OrgIDSubmit field is a mandatory field so cannot be left blank. This field is expecting the Organisation Identifier (ODS code) of the Organisation acting as the physical sender of a Data Set submission. The ODS code provided is not recognised as being live. You can search for the Organisation on the ODS portal: https://odsportal.digital.nhs.uk/. It is possible that the OrgIDSubmit field is different to the OrgIDProvider as this is the Org Code of the organisation using the portal to send the data. Usually however we normally see this populated with the same value as the OrgIDProviderider field.","MHS000","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D23)","v":0},"MHS000Header","MHS00035","Record rejected - [M000080]OrgIDProvider is for an organisation that was not live in national tables at any point during the reporting period. [M000080]OrgIDProvider=<OrgIDProvider>","This is the OrgIDProvider field and is expecting to be populated with the Organisation Identifier (ODS code) of the Organisation acting as a Health Care Provider. The ODS code provided is not recognised as being live for the duration of the reporting period. You can search for your Organisation on the ODS portal: https://odsportal.digital.nhs.uk/.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D24)","v":0},"MHS000Header","MHS00036","Record rejected - [M000070]DateTimeDatSetCreate is before the [M000050]ReportingPeriodStartDate. [M000070]DateTimeDatSetCreate=<DateTimeDatSetCreate> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","This is the DateTimeDatSetCreate field. This field is expecting to be populated with the date that the database was created (may be today's date) and does not need to include the time. This should be populated with a date that is after the ReportingPeriodEndDate but not after the Upload Date.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D25)","v":0},"MHS000Header","MHS00037","Record rejected - [M000070]DateTimeDatSetCreate is before the [M000060]ReportingPeriodEndDate. [M000070]DateTimeDatSetCreate=<DateTimeDatSetCreate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the DateTimeDatSetCreate field. This field is expecting to be populated with the date that the database was created (may be today's date) and does not need to include the time. This should be populated with a date that is after the ReportingPeriodEndDate but not after the Upload Date.","MHS000","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D26)","v":0},"MHS000Header","MHS00038","Record rejected - [M000010]DatSetVer has an incorrect data format. [M000010]DatSetVer=<DatSetVer>","This is the DateTimeDatSetCreate field - this should be entered as 6.0","MHS000","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D27)","v":0},"MHS001MPI","MHS00101","Record rejected - Local Patient Identifier (Extended) is blank.","The LocalPatientId field is a mandatory field so cannot be left blank. The LocalPatientId provides a link between records in the MHS001MPI table, associated referrals and all non-referral-based data associated with the Patient. To avoid the incorrect linkage of records the LocalPatientId must not be reused i.e. it should only ever relate to one Patient. This ensures that data relating to more than one Patient does not get incorrectly identified as belonging to a single Patient in MHSDS.","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D28)","v":0},"MHS001MPI","MHS00102","Record rejected - Local Patient Identifier (Extended) has an incorrect data format.","The LocalPatientId field can accept up to 20 characters.","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D29)","v":0},"MHS001MPI","MHS00103","Record rejected - [M001901]LocalPatientID is blank. [M001040]NHSNumber=<NHSNumber>","The LocalPatientId field is mandatory - it must be entered and can accept up to 20 characters.","MHS001","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D30)","v":0},"MHS001MPI","MHS00104","Record rejected - [M001901]LocalPatientID has an incorrect data format. [M001901]LocalPatientID=<LocalPatientID>","The LocalPatientId field is mandatory - it must be entered and can accept up to 20 characters.","MHS001","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D31)","v":0},"MHS001MPI","MHS00111","Severity 1 Warning - [M001040]NHSNumber is blank. [M001901]LocalPatientID=<LocalPatientID>","This is the NHSNumber field. If you collect NHS Numbers, please provide them. If you don’t, this field can be left blank. You may also be eligible to use the Spine Mini Service to find NHS Numbers based on demographic information of the Patient.","MHS001","Warning","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D32)","v":0},"MHS001MPI","MHS00115","Record rejected - [M001050]NHSNumberStatus has an incorrect data format. [M001901]LocalPatientID=<LocalPatientID> [M001050]NHSNumberStatus=<NHSNumberStatus>","This is the NHSNumberStatus field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D33)","v":0},"MHS001MPI","MHS00116","Warning - [M001050]NHSNumberStatus contains an invalid national code value. [M001901]LocalPatientID=<LocalPatientID> [M001050]NHSNumberStatus=<NHSNumberStatus>","This is the NHSNumberStatus field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS001","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D34)","v":0},"MHS001MPI","MHS00117","Warning - [M001050]NHSNumberStatus is '07 - Number not present and trace not required' but [M001040]NHSNumber contains a value. [M001901]LocalPatientID=<LocalPatientID> [M001050]NHSNumberStatus=<NHSNumberStatus> [M001040]NHSNumber=<NHSNumber>","This is the NHSNumberStatus field. The value \"07\" is only expected to be populated in the NHSNumberStatus field when the NHSNumber field is blank.","MHS001","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D35)","v":0},"MHS001MPI","MHS00118","Warning - [M001050]NHSNumberStatus should be mandatory where [M001040]NHSNumber is blank. [M001901]LocalPatientID=<LocalPatientID> [M001050]NHSNumberStatus=<NHSNumberStatus> [M001040]NHSNumber=<NHSNumber>","This is the NHSNumberStatus field. If the NHSNumber field is left blank, the NHSNumberStatus field should be populated. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS001","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D36)","v":0},"MHS001MPI","MHS00119","Warning - [M001050]NHSNumberStatus must be '07 - Number not present and trace not required' as [M001040]NHSNumber is blank. [M001901]LocalPatientID=<LocalPatientID> [M001050]NHSNumberStatus=<NHSNumberStatus> [M001040]NHSNumber=<NHSNumber>","This is the NHSNumberStatus field. If the NHSNumber field is blank then \"07\" (Number not present and trace not required) is expected to be populated to the NHSNumberStatus field.","MHS001","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D37)","v":0},"MHS001MPI","MHS00120","Severity 1 Warning - [M001060]PersonBirthDate is blank. [M001901]LocalPatientID=<LocalPatientID>","This is the PersonBirthDate field and is expecting the birthday of the Patient. This is important in the calculation of many measures, so ensure you provide it if you have it on your systems.","MHS001","Warning","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D38)","v":0},"MHS001MPI","MHS00123","Severity 1 Warning - [M001070]Postcode is blank. [M001901]LocalPatientID=<LocalPatientID>","This is the Postcode field and is expecting the postcode of the Patient’s permanent residence. You can search for the postcode in one of the ODS postcode files, available on the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads/ods-postcode-files. If the postcode of the Patient isn’t available, you must use one of the following codes: \n•\tPerson has no fixed abode - ZZ99 3VZ\n•\tPostcode is unknown - ZZ99 3WZ","MHS001","Warning","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D39)","v":0},"MHS001MPI","MHS00125","Severity 1 Warning - [M001070]Postcode contains an invalid national code. [M001901]LocalPatientID=<LocalPatientID> [M001070]Postcode=<Postcode>","This is the Postcode field and is expecting the postcode of the Patient’s permanent residence. You can search for the postcode in one of the ODS postcode files, available on the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads/ods-postcode-files. If the postcode of the Patient isn’t available, you must use one of the following codes: \n•\tPerson has no fixed abode - ZZ99 3VZ\n•\tPostcode is unknown - ZZ99 3WZ","MHS001","Warning","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D40)","v":0},"MHS001MPI","MHS00129","Warning -Person Stated Gender Code is blank.","This is the Person Stated Gender Code field. This field is expecting to be populated with the gender of a person. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS001","Warning","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D41)","v":0},"MHS001MPI","MHS00130","Record rejected - [M001090]Gender has an incorrect data format. [M001901]LocalPatientID=<LocalPatientID> [M001090]Gender=<Gender>","This is the Person Stated Gender Code field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D42)","v":0},"MHS001MPI","MHS00131","Warning - [M001090]Gender contains an invalid national code value. [M001901]LocalPatientID=<LocalPatientID> [M001090]Gender=<Gender>","The gender of a PERSON. PERSON STATED GENDER CODE is self declared or inferred by observation for those unable to declare their PERSON STATED GENDER.","MHS001","Warning","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D43)","v":0},"MHS001MPI","MHS00132","Record rejected - [M001100]EthnicCategory has an incorrect data format. [M001901]LocalPatientID=<LocalPatientID> [M001100]EthnicCategory=<EthnicCategory>","This is the EthnicCategory field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D44)","v":0},"MHS001MPI","MHS00133","Warning - [M001100]EthnicCategory contains an invalid national code value. [M001901]LocalPatientID=<LocalPatientID> [M001100]EthnicCategory=<EthnicCategory>","This is the EthnicCategory field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS001","Warning","N/A",null,null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D45)","v":0},"MHS001MPI","MHS00138","Record rejected - [M001120]LanguageCodePreferred has an incorrect data format. [M001901]LocalPatientID=<LocalPatientID> [M001120]LanguageCodePreferred=<LanguageCodePreferred>","This is the LanguageCodePreferred field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D46)","v":0},"MHS001MPI","MHS00139","Warning - [M001120]LanguageCodePreferred contains an invalid national code value. [M001901]LocalPatientID=<LocalPatientID> [M001120]LanguageCodePreferred=<LanguageCodePreferred>","This is the LanguageCodePreferred field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS001","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D47)","v":0},"MHS001MPI","MHS00140","Record rejected - [M001130]PersDeathDate has an incorrect data format. [M001901]LocalPatientID=<LocalPatientID> [M001130]PersDeathDate=<PersDeathDate>","This is the PersDeathDate field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D48)","v":0},"MHS001MPI","MHS00141","Record rejected - [M001130]PersDeathDate is before the [M000050]ReportingPeriodStartDate. [M001901]LocalPatientID=<LocalPatientID> [M001130]PersDeathDate=<PersDeathDate> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","This is the PersDeathDate field. Only activity that took place during the reporting period should be submitted. This means that the PersDeathDate date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D49)","v":0},"MHS001MPI","MHS00142","Record rejected - [M001130]PersDeathDate is after the [M000060]ReportingPeriodEndDate. [M001901]LocalPatientID=<LocalPatientID> [M001130]PersDeathDate=<PersDeathDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the PersDeathDate field. Only activity that took place during the reporting period should be submitted. This means that the PersDeathDate date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS001","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D50)","v":0},"MHS001MasterPatientIndex","MHS00144","Group rejected - More than one [MHS001]MPI submitted for this [M001901]LocalPatientID. [M001901]LocalPatientID=<LocalPatientID>","Duplicate records have been submitted using the same LocalPatientId. All duplicate records will be rejected with group-level rejection error.","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D51)","v":0},"MHS001MasterPatientIndex","MHS00145","Group rejected - No valid [MHS002]GP submitted for this [M001901]LocalPatientID. [M001901]LocalPatientID=<LocalPatientID>","Record in the MHS001MPI table rejected because there is no corresponding record in the MHS002GP table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS002GP) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS002GP).","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D52)","v":0},"MHS001MasterPatientIndex","MHS00146","Group rejected - No valid [MHS101]Referral submitted for this [M001901]LocalPatientID. [M001901]LocalPatientID=<LocalPatientID>","Record in the MHS001MPI table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS101Referral).","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D53)","v":0},"MHS001MasterPatientIndex","MHS00147","Group rejected - More than one [MHS001]MPI submitted for this [M001040]NHSNumber. [M001901]LocalPatientID=<LocalPatientID>","Duplicate records have been submitted using the same NHSNumber. All duplicate records will be rejected with group-level rejection error.","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D54)","v":0},"MHS001MPI","MHS00149","Record rejected - [M001150]MaritalStatus has an incorrect data format. [M001901]LocalPatientID=<LocalPatientID> [M001150]MaritalStatus=<MaritalStatus>","This is the MaritalStatus field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D55)","v":0},"MHS001MPI","MHS00150","Warning - [M001150]MaritalStatus contains an invalid national code value. [M001901]LocalPatientID=<LocalPatientID> [M001150]MaritalStatus=<MaritalStatus>","This is the MaritalStatus field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS001","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D56)","v":0},"MHS001MPI","MHS00151","Record rejected - [M001170]OrgIDLocalPatientID is blank. [M001901]LocalPatientID=<LocalPatientID>","The OrgIDLocalPatientId field is a mandatory field so cannot be left blank. This field is expecting to be populated with the Organisation Identifier (ODS code) of the Organisation that assigned the LocalPatientId.","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D57)","v":0},"MHS001MPI","MHS00152","Record rejected - [M001170]OrgIDLocalPatientID has an incorrect data format. [M001901]LocalPatientID=<LocalPatientID> [M001170]OrgIDLocalPatientID=<OrgIDLocalPatientID>","The OrgIDLocalPatientId field is expecting to be populated with the Organisation Identifier (ODS code) of the Organisation that assigned the LocalPatientId. Format: min an3 max an5.","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D58)","v":0},"MHS001MPI","MHS00153","Severity 1 Warning - [M001170]OrgIDLocalPatientID does not match [M000080]OrgIDProvider. [M001901]LocalPatientID=<LocalPatientID> [M001170]OrgIDLocalPatientID=<OrgIDLocalPatientID> [M000080]OrgIDProvider=<OrgIDProvider>","The OrgIDLocalPatientId field is expecting to be populated with your ODS code and should match the ODS code provided in the OrgIDProvider field in the MHS000Header table.","MHS001","Warning","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D59)","v":0},"MHS001MPI","MHS00154","Severity 1 Warning - [M001170]OrgIDLocalPatientID is not for a current live organisation in national tables. [M001901]LocalPatientID=<LocalPatientID> [M001170]OrgIDLocalPatientID=<OrgIDLocalPatientID>","The OrgIDLocalPatientId field is expecting to be populated with your ODS code. The ODS code provided is not recognised as being live. You can search for your Organisation on the ODS portal: https://odsportal.digital.nhs.uk/.","MHS001","Warning","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D60)","v":0},"MHS001MPI","MHS00157","Record rejected - [M001190]OrgIDEduEstab has an incorrect data format. [M001901]LocalPatientID=<LocalPatientID> [M001190]OrgIDEduEstab=<OrgIDEduEstab>","This is the OrgIDEduEstab field. The Organisation Identifier (EDUCATIONAL ESTABLISHMENT) is the Organisation Identifier (ODS code) of the Educational Establishment, including Schools. The format is min an5 max an8. A list of live Organisations and their ODS codes (including GPs, CCGs, healthcare providers, schools etc) are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads. Alternatively, you can search for the Organisation on the ODS portal: https://odsportal.digital.nhs.uk/. Make sure that the Organisation is listed on the ODS portal or in the list of national codes provided on the file downloads pages and check that the Organisation has not closed.","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D61)","v":0},"MHS001MPI","MHS00158","Warning - [M001190]OrgIDEduEstab is not for a current live organisation in national tables. [M001901]LocalPatientID=<LocalPatientID> [M001190]OrgIDEduEstab=<OrgIDEduEstab>","This is the OrgIDEduEstab field. The current ODS code provided is not recognised as being live. A list of live Organisations and their ODS codes (including GPs, CCGs, healthcare providers, schools etc) are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads. Alternatively, you can search for the Organisation on the ODS portal: https://odsportal.digital.nhs.uk/. Make sure that the Organisation is listed on the ODS portal or in the list of national codes provided on the file downloads pages and check that the Organisation has not closed.","MHS001","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D62)","v":0},"MHS001MPI","MHS00159","Warning -Gender Identity Same At Birth Indicator is blank.","An indication of whether the patient's gender identity is the same as their gender assigned at birth. ","MHS001","Warning","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D63)","v":0},"MHS001MPI","MHS00160","Record rejected - [M001210]GenderSameAtBirth has an incorrect data format. [M001901]LocalPatientID=<LocalPatientID> [M001210]GenderSameAtBirth=<GenderSameAtBirth>","An indication of whether the patient's gender identity is the same as their gender assigned at birth. ","MHS001","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D64)","v":0},"MHS001MPI","MHS00161","Warning - [M001210]GenderSameAtBirth contains an invalid national code value. [M001901]LocalPatientID=<LocalPatientID> [M001210]GenderSameAtBirth=<GenderSameAtBirth>","An indication of whether the patient's gender identity is the same as their gender assigned at birth. ","MHS001","Warning","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D65)","v":0},"MHS001MPI","MHS00162","Severity 1 Warning - [M001160]GenderIDCode is blank. [M001901]LocalPatientID=<LocalPatientID>","The gender identity of a PERSON as stated by the PERSON  ","MHS001","Warning","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D66)","v":0},"MHS001MPI","MHS00163","Record rejected - [M001160]GenderIDCode has an incorrect data format. [M001901]LocalPatientID=<LocalPatientID> [M001160]GenderIDCode=<GenderIDCode>","The gender identity of a PERSON as stated by the PERSON  ",{"$f":"LEFT(D66,6)","v":"MHS001"},{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E66)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E66)),\"Warning\",\"\"))","v":"Rejection"},"N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D67)","v":0},"MHS001MPI","MHS00164","Warning - [M001160]GenderIDCode contains an invalid national code value. [M001901]LocalPatientID=<LocalPatientID> [M001160]GenderIDCode=<GenderIDCode>","The gender identity of a PERSON as stated by the PERSON  ","MHS001","Warning","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D68)","v":0},"MHS001MPI","MHS00165","Record rejected - [M001040]NHSNumber has an incorrect data format. [M001901]LocalPatientID=<LocalPatientID> [M001040]NHSNumber=<NHSNumber>","A number used to identify a PATIENT uniquely within the NHS in England and Wales.\n\nNHSNumber must be numeric and 10 characters long.","MHS001","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D69)","v":0},"MHS001MPI","MHS00167","Record rejected - [M001060]PersonBirthDate has an incorrect data format. [M001901]LocalPatientID=<LocalPatientID> [M001060]PersonBirthDate=<PersonBirthDate>","The date on which a PERSON was born or is officially deemed to have been born.\n\nThe data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification","MHS001","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D70)","v":0},"MHS001MPI","MHS00168","Record rejected - [M001060]PersonBirthDate is after the [M000060]ReportingPeriodEndDate. [M001901]LocalPatientID=<LocalPatientID> [M001060]PersonBirthDate=<PersonBirthDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","The date on which a PERSON was born or is officially deemed to have been born.\n\nPersonBirthDate is after the ReportingPeriodEndDate therefore the record was rejected.","MHS001","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D71)","v":0},"MHS001MPI","MHS00169","Record rejected - [M001070]Postcode has an incorrect data format. [M001901]LocalPatientID=<LocalPatientID> [M001070]Postcode=<Postcode>","The POSTCODE of the ADDRESS nominated by the PATIENT with ADDRESS ASSOCIATION TYPE 'Main Permanent Residence' or 'Other Permanent Residence'.\n\nPostcode must be alpha-numeric and max 8 characters long.","MHS001","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D72)","v":0},"MHS001MPI","MHS00171","Record rejected - [M001060]PersonBirthDate is populated with a date that indicates the person is outside of the 0-130 years age range. [M001901]LocalPatientID=<LocalPatientID> [M001060]PersonBirthDate=<PersonBirthDate>","The date on which a PERSON was born or is officially deemed to have been born.\n\nPersonBirthDate indicates the individual was outside the 0-130 years range. Therefore the record was rejected.","MHS001","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D73)","v":0},"MHS002GP","MHS00201","Record rejected - [M002901]LocalPatientID is blank.","The LocalPatientId field is a mandatory field so cannot be left blank. It must match a LocalPatientId given in MHS001MPI.","MHS002","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D74)","v":0},"MHS002GP","MHS00202","Record rejected - [M002901]LocalPatientID has an incorrect data format. [M002901]LocalPatientID=<LocalPatientID>","The LocalPatientId field can accept up to 20 characters.","MHS002","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D75)","v":0},"MHS002GP","MHS00203","Record rejected - [M002010]GMPReg is blank. [M002901]LocalPatientID=<LocalPatientID>","The GMPCodeReg field is a mandatory field so cannot be left blank. A list of live GP practices and their codes are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads/gp-and-gp-practice-related-data. Alternatively, you can search for the GP practice on the ODS portal: https://odsportal.digital.nhs.uk/. If you do not have the GP code then one of the below can be used instead.\nGP Practice Code not applicable - V81998\nGP Practice Code not known - V81999\nNo Registered GP Practice - V81997","MHS002","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D76)","v":0},"MHS002GP","MHS00204","Record rejected - [M002010]GMPReg has an incorrect data format. [M002901]LocalPatientID=<LocalPatientID> [M002010]GMPReg=<GMPReg>","This is the GMPCodeReg field. The expected format for this field is 6 characters. A list of live GP practices and their codes are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads/gp-and-gp-practice-related-data. Alternatively, you can search for the GP practice on the ODS portal: https://odsportal.digital.nhs.uk/.","MHS002","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D77)","v":0},"MHS002GP","MHS00206","Severity 1 Warning - [M002010]GMPReg is not for a current live organisation in national tables. [M002901]LocalPatientID=<LocalPatientID> [M002010]GMPReg=<GMPReg>","This is the GMPCodeReg field. The ODS code provided is not recognised as being live. A list of live Organisations and their ODS codes (including GPs, CCGs, healthcare providers, schools etc) are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads. Alternatively, you can search for the Organisation on the ODS portal: https://odsportal.digital.nhs.uk/. Make sure that the Organisation is listed on the ODS portal or in the list of national codes provided on the file downloads pages and check that the Organisation has not closed.","MHS002","Warning","N/A","CYP Access","OAPs","IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D78)","v":0},"MHS002GP","MHS00210","Record rejected - [M002020]StartDateGMPRegistration has an incorrect data format. [M002901]LocalPatientID=<LocalPatientID> [M002020]StartDateGMPRegistration=<StartDateGMPRegistration>","This is the StartDateGMPRegistration field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification. ","MHS002","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D79)","v":0},"MHS002GP","MHS00211","Record rejected - [M002020]StartDateGMPRegistration is after the [M000060]ReportingPeriodEndDate plus 1 day. [M002901]LocalPatientID=<LocalPatientID> [M002020]StartDateGMPRegistration=<StartDateGMPRegistration> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the StartDateGMPRegistration field. Only activity that took place during the reporting period should be submitted. This means that the StartDateGMPRegistration date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS002","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D80)","v":0},"MHS002GP","MHS00212","Record rejected - [M002020]StartDateGMPRegistration is before the [M001060]PersonBirthDate. [M002901]LocalPatientID=<LocalPatientID> [M002020]StartDateGMPRegistration=<StartDateGMPRegistration> [M001060]PersonBirthDate=<PersonBirthDate>","This is the StartDateGMPRegistration field and is expecting the date that the person registered with a GP. This date cannot be before the PersonBirthDate (recorded in MHS001MPI).","MHS002","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D81)","v":0},"MHS002GP","MHS00213","Record rejected - [M002030]EndDateGMPRegistration has an incorrect data format. [M002901]LocalPatientID=<LocalPatientID> [M002030]EndDateGMPRegistration=<EndDateGMPRegistration>","This is the EndDateGMPRegistration field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS002","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D82)","v":0},"MHS002GP","MHS00214","Record rejected - [M002030]EndDateGMPRegistration is before the [M000050]ReportingPeriodStartDate. [M002901]LocalPatientID=<LocalPatientID> [M002030]EndDateGMPRegistration=<EndDateGMPRegistration> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","This is the EndDateGMPRegistration field. Only activity that took place during the reporting period should be submitted. This means that the EndDateGMPRegistration date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS002","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D83)","v":0},"MHS002GP","MHS00215","Record rejected - [M002030]EndDateGMPRegistration is after the [M000060]ReportingPeriodEndDate. [M002901]LocalPatientID=<LocalPatientID> [M002030]EndDateGMPRegistration=<EndDateGMPRegistration> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the EndDateGMPRegistration field. Only activity that took place during the reporting period should be submitted. This means that the EndDateGMPRegistration date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS002","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D84)","v":0},"MHS002GP","MHS00216","Record rejected - [M002030]EndDateGMPRegistration is before the associated [M002020]StartDateGMPRegistration. [M002901]LocalPatientID=<LocalPatientID> [M002030]EndDateGMPRegistration=<EndDateGMPRegistration> [M002020]StartDateGMPRegistration=<StartDateGMPRegistration>","This is the EndDateGMPRegistration field and is expecting the date on which the person ceased to be registered with a GP. This date cannot be before the StartDateGMPRegistration date (the date that the person registered with the GP).","MHS002","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D85)","v":0},"MHS002GPPracticeRegistration","MHS00220","Group rejected - No valid [MHS001]MPI submitted for this [M002901]LocalPatientID. [M002901]LocalPatientID=<LocalPatientID>","Record in the MHS002GP table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS002","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D86)","v":0},"MHS002GPPracticeRegistration","MHS00221","Group rejected - More than one [MHS002]GP submitted for this [M002901]LocalPatientID + [M002010]GMPReg + [M002020]StartDateGMPRegistration combination. [M002901]LocalPatientID=<LocalPatientID> [M002010]GMPReg=<GMPReg> [M002020]StartDateGMPRegistration=<StartDateGMPRegistration>","Duplicate records have been submitted with the same values in the following fields: LocalPatientId, GMPCodeReg and StartDateGMPRegistration. All duplicate records will be rejected with group-level rejection error. ","MHS002","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D87)","v":0},"MHS002GPPracticeRegistration","MHS00222","Group rejected - More than one [MHS002]GP submitted for this [M002901]LocalPatientID where [M002030]EndDateGMPRegistration is null. [M002901]LocalPatientID=<LocalPatientID> [M002030]EndDateGMPRegistration=<EndDateGMPRegistration>","Duplicate records have been submitted for this LocalPatientId, where the EndDateGMPRegistration is null. All duplicate records will be rejected with group-level rejection error. ","MHS002","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D88)","v":0},"MHS002GPPracticeRegistration","MHS00223","Warning - A valid [MHS002]GP record containing [M002030]EndDateGMPRegistration has been submitted for this [M002901]LocalPatientID but no corresponding [MHS002]GP record has been submitted for the same [M002901]LocalPatientID with a consecutive or the same [M002020]StartDateGMPRegistration and a different [M002010]GMPReg. [M002901]LocalPatientID=<LocalPatientID> [M002030]EndDateGMPRegistration=<EndDateGMPRegistration> [M002020]StartDateGMPRegistration=<StartDateGMPRegistration> [M002010]=<GMPReg>","Warning generated for MHS002GP record because an EndDateGMPRegistration has been submitted but there is no corresponding record with a consecutive StartDateGMPRegistration and different GMPCodeReg.","MHS002","Warning","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D89)","v":0},"MHS003AccommStatus","MHS00301","Record rejected - [M003901]LocalPatientID is blank.","The LocalPatientId field is a mandatory field and must be populated. It must match a LocalPatientId given in MHS001MPI.","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D90)","v":0},"MHS003AccommStatus","MHS00302","Record rejected - [M003901]LocalPatientID has an incorrect data format. [M003901]LocalPatientID=<LocalPatientID>","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D91)","v":0},"MHS003AccommStatus","MHS00303","Record rejected - [M003070]AccommodationType is blank. [M003901]LocalPatientID=<LocalPatientID>","An indication of the type of accommodation that a PATIENT currently has. This should be based on the PATIENT's main or permanent residence.","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D92)","v":0},"MHS003AccommStatus","MHS00304","Record rejected - [M003070]AccommodationType has an incorrect data format. [M003901]LocalPatientID=<LocalPatientID> [M003070]AccommodationType=<AccommodationType>","An indication of the type of accommodation that a PATIENT currently has. This should be based on the PATIENT's main or permanent residence.","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D93)","v":0},"MHS003AccommStatus","MHS00305","Warning - [M003070]AccommodationType contains an invalid national code value. [M003901]LocalPatientID=<LocalPatientID> [M003070]AccommodationType=<AccommodationType>","An indication of the type of accommodation that a PATIENT currently has. This should be based on the PATIENT's main or permanent residence.","MHS003","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D94)","v":0},"MHS003AccommStatus","MHS00306","Record rejected - [M003020]SettledAccommodationInd has an incorrect data format. [M003901]LocalPatientID=<LocalPatientID> [M003020]SettledAccommodationInd=<SettledAccommodationInd>","An indication of whether the main/permanent residence of the patient is settled accommodation.","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D95)","v":0},"MHS003AccommStatus","MHS00307","Warning - [M003020]SettledAccommodationInd contains an invalid national code value. [M003901]LocalPatientID=<LocalPatientID> [M003020]SettledAccommodationInd=<SettledAccommodationInd>","An indication of whether the main/permanent residence of the patient is settled accommodation.","MHS003","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D96)","v":0},"MHS003AccommStatus","MHS00308","Record rejected - [M003080]AccommodationTypeDate has an incorrect data format. [M003901]LocalPatientID=<LocalPatientID> [M003080]AccommodationTypeDate=<AccommodationTypeDate>","If Accommodation Type Recorded Date is after the end of the reporting period, the record will be rejected.","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D97)","v":0},"MHS003AccommStatus","MHS00309","Record rejected - [M003080]AccommodationTypeDate is after the [M000060]ReportingPeriodEndDate. [M003901]LocalPatientID=<LocalPatientID> [M003080]AccommodationTypeDate=<AccommodationTypeDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Accommodation Type Recorded Date is after the end of the reporting period, the record will be rejected.","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D98)","v":0},"MHS003AccommodationStatus","MHS00310","Group rejected - No valid [MHS001]MPI submitted for this [M003901]LocalPatientID. [M003901]LocalPatientID=<LocalPatientID>","Record in the MHS003AccommStatus table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D99)","v":0},"MHS003AccommStatus","MHS00312","Warning - Accommodation Type Recorded Date is blank.","If Accommodation Type Recorded Date is after the end of the reporting period, the record will be rejected.","MHS003","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D100)","v":0},"MHS003AccommStatus","MHS00313","Record rejected - [M003040]SCHPlacementType has an incorrect data format. [M003901]LocalPatientID=<LocalPatientID> [M003040]SCHPlacementType=<SCHPlacementType>","The type of placement for a child or young person accommodated in a Secure Children's Home.","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D101)","v":0},"MHS003AccommStatus","MHS00314","Warning - [M003040]SCHPlacementType contains an invalid national code value. [M003901]LocalPatientID=<LocalPatientID> [M003040]SCHPlacementType=<SCHPlacementType>","The type of placement for a child or young person accommodated in a Secure Children's Home.","MHS003","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D102)","v":0},"MHS003AccommodationStatus","MHS00315","Group rejected - More than one [MHS003]AccommStatus submitted for this [M003901]LocalPatientID + [M003080]AccommodationTypeDate combination. [M003901]LocalPatientID=<LocalPatientID> [M003080]AccommodationTypeDate=<AccommodationTypeDate>","Duplicate records have been submitted with the same values in the following fields: LocalPatientId and AccommodationStatusDate. All duplicate records will be rejected with group-level rejection error.","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D103)","v":0},"MHS003AccommodationStatus","MHS00316","Group rejected - More than one [MHS003]AccommStatus submitted for this [M003901]LocalPatientID where the [M003080]AccommodationTypeDate is null. [M003901]LocalPatientID=<LocalPatientID> [M003080]AccommodationTypeDate=<AccommodationTypeDate>","Duplicate records have been submitted for this LocalPatientId, where the AccommodationStatusDate is null. All duplicate records will be rejected with group-level rejection error. This date should change with each review even if the Accommodation Status remains the same.","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D104)","v":0},"MHS003AccommStatus","MHS00317","Record rejected - [M003050]AccommodationTypeStartDate has an incorrect data format. [M003901]LocalPatientID=<LocalPatientID> [M003050]AccommodationTypeStartDate=<AccommodationTypeStartDate>","If ACCOMMODATION TYPE START DATE is after the end of the reporting period, the record will be rejected.","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D105)","v":0},"MHS003AccommStatus","MHS00318","Record rejected - [M003050]AccommodationTypeStartDate is after the [M000060]ReportingPeriodEndDate. [M003901]LocalPatientID=<LocalPatientID> [M003050]AccommodationTypeStartDate=<AccommodationTypeStartDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If ACCOMMODATION TYPE START DATE is after the end of the reporting period, the record will be rejected.","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D106)","v":0},"MHS003AccommStatus","MHS00319","Warning - Accommodation Type Start Date is blank.","If ACCOMMODATION TYPE START DATE is after the end of the reporting period, the record will be rejected.","MHS003","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D107)","v":0},"MHS003AccommStatus","MHS00320","Record rejected - [M003060]AccommodationTypeEndDate has an incorrect data format. [M003901]LocalPatientID=<LocalPatientID> [M003060]AccommodationTypeEndDate=<AccommodationTypeEndDate>","If ACCOMMODATION TYPE END DATE is after the end of the reporting period, the record will be rejected.","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D108)","v":0},"MHS003AccommStatus","MHS00321","Record rejected - [M003060]AccommodationTypeEndDate is after the [M000060]ReportingPeriodEndDate. [M003901]LocalPatientID=<LocalPatientID> [M003060]AccommodationTypeEndDate=<AccommodationTypeEndDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If ACCOMMODATION TYPE END DATE is after the end of the reporting period, the record will be rejected.","MHS003","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D109)","v":0},"MHS003AccommStatus","MHS00322","Warning - Accommodation Type End Date is blank.","If ACCOMMODATION TYPE END DATE is after the end of the reporting period, the record will be rejected.","MHS003","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D110)","v":0},"MHS004EmploymentStatus","MHS00401","Group rejected - No valid [MHS001]MPI submitted for this [M004901]LocalPatientID. [M004901]LocalPatientID=<LocalPatientID>","Record in the MHS004EmpStatus table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS004","Rejection","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D111)","v":0},"MHS004EmpStatus","MHS00403","Record rejected - [M004901]LocalPatientID is blank.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS004","Rejection","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D112)","v":0},"MHS004EmpStatus","MHS00404","Record rejected - [M004901]LocalPatientID has an incorrect data format. [M004901]LocalPatientID=<LocalPatientID>","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS004","Rejection","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D113)","v":0},"MHS004EmpStatus","MHS00405","Record rejected - [M004010]EmployStatus is blank. [M004901]LocalPatientID=<LocalPatientID>","The current PRIMARY EMPLOYMENT status of a PERSON.","MHS004","Rejection","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D114)","v":0},"MHS004EmpStatus","MHS00406","Record rejected - [M004010]EmployStatus has an incorrect data format. [M004901]LocalPatientID=<LocalPatientID> [M004010]EmployStatus=<EmployStatus>","The current PRIMARY EMPLOYMENT status of a PERSON.","MHS004","Rejection","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D115)","v":0},"MHS004EmpStatus","MHS00407","Warning - [M004010]EmployStatus contains an invalid national code value. [M004901]LocalPatientID=<LocalPatientID> [M004010]EmployStatus=<EmployStatus>","The current PRIMARY EMPLOYMENT status of a PERSON.","MHS004","Warning","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D116)","v":0},"MHS004EmpStatus","MHS00408","Record rejected - [M004020]EmployStatusRecDate has an incorrect data format. [M004901]LocalPatientID=<LocalPatientID> [M004020]EmployStatusRecDate=<EmployStatusRecDate>","If EMPLOYMENT STATUS RECORDED DATE is after the end of the reporting period, the record will be rejected.","MHS004","Rejection","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D117)","v":0},"MHS004EmpStatus","MHS00409","Record rejected - [M004020]EmployStatusRecDate is after the [M000060]ReportingPeriodEndDate. [M004901]LocalPatientID=<LocalPatientID> [M004020]EmployStatusRecDate=<EmployStatusRecDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If EMPLOYMENT STATUS RECORDED DATE is after the end of the reporting period, the record will be rejected.","MHS004","Rejection","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D118)","v":0},"MHS004EmpStatus","MHS00410","Record rejected - [M004030]WeekHoursWorked has an incorrect data format. [M004901]LocalPatientID=<LocalPatientID> [M004030]WeekHoursWorked=<WeekHoursWorked>","The number of hours worked in a typical week.","MHS004","Rejection","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D119)","v":0},"MHS004EmpStatus","MHS00411","Warning - [M004030]WeekHoursWorked contains an invalid national code value. [M004901]LocalPatientID=<LocalPatientID> [M004030]WeekHoursWorked=<WeekHoursWorked>","The number of hours worked in a typical week.","MHS004","Warning","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D120)","v":0},"MHS004EmpStatus","MHS00412","Warning - Employment Status Recorded Date is blank.","If EMPLOYMENT STATUS RECORDED DATE is after the end of the reporting period, the record will be rejected.","MHS004","Warning","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D121)","v":0},"MHS004EmploymentStatus","MHS00413","Group rejected - More than one [MHS004]EmpStatus submitted for this [M004901]LocalPatientID + [M004020]EmployStatusRecDate combination. [M004901]LocalPatientID=<LocalPatientID> [M004020]EmployStatusRecDate=<EmployStatusRecDate>","Duplicate records have been submitted with the same values in the following fields: LocalPatientId and EmployStatusRecDate. All duplicate records will be rejected with group-level rejection error.","MHS004","Rejection","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D122)","v":0},"MHS004EmploymentStatus","MHS00414","Group rejected - More than one [MHS004]EmpStatus submitted for this [M004901]LocalPatientID where [M004020]EmployStatusRecDate is null. [M004901]LocalPatientID=<LocalPatientID> [M004020]EmployStatusRecDate=<EmployStatusRecDate>","Duplicate records have been submitted for this LocalPatientId, where the EmployStatusRecDate is null. All duplicate records will be rejected with group-level rejection error. ","MHS004","Rejection","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D123)","v":0},"MHS004EmpStatus","MHS00415","Record rejected - [M004040]EmployStatusStartDate has an incorrect data format. [M004901]LocalPatientID=<LocalPatientID> [M004040]EmployStatusStartDate=<EmployStatusStartDate>","If EMPLOYMENT STATUS START DATE is after the end of the reporting period, the record will be rejected.","MHS004","Rejection","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D124)","v":0},"MHS004EmpStatus","MHS00416","Record rejected - [M004040]EmployStatusStartDate is after the [M000060]ReportingPeriodEndDate. [M004901]LocalPatientID=<LocalPatientID> [M004040]EmployStatusStartDate=<EmployStatusStartDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If EMPLOYMENT STATUS START DATE is after the end of the reporting period, the record will be rejected.","MHS004","Rejection","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D125)","v":0},"MHS004EmpStatus","MHS00417","Warning - Employment Status Start Date is blank.","If EMPLOYMENT STATUS START DATE is after the end of the reporting period, the record will be rejected.","MHS004","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D126)","v":0},"MHS004EmpStatus","MHS00418","Record rejected - [M004050]EmployStatusEndDate has an incorrect data format. [M004901]LocalPatientID=<LocalPatientID> [M004050]EmployStatusEndDate=<EmployStatusEndDate>","If EMPLOYMENT STATUS END DATE is after the end of the reporting period, the record will be rejected.","MHS004","Rejection","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D127)","v":0},"MHS004EmpStatus","MHS00419","Record rejected - [M004050]EmployStatusEndDate is after the [M000060]ReportingPeriodEndDate. [M004901]LocalPatientID=<LocalPatientID> [M004050]EmployStatusEndDate=<EmployStatusEndDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If EMPLOYMENT STATUS END DATE is after the end of the reporting period, the record will be rejected.","MHS004","Rejection","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D128)","v":0},"MHS004EmpStatus","MHS00420","Record rejected - [M004022]PatPrimEmpContTypeMH has an incorrect data format. [M004901]LocalPatientID=<LocalPatientID> [M004022]PatPrimEmpContTypeMH=<PatPrimEmpContTypeMH>",null,"MHS004","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D129)","v":0},"MHS004EmpStatus","MHS00421","Warning - [M004022]PatPrimEmpContTypeMH contains an invalid national code value. [M004901]LocalPatientID=<LocalPatientID> [M004022]PatPrimEmpContTypeMH=<PatPrimEmpContTypeMH>",null,"MHS004","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D130)","v":0},"MHS005PatientIndicators","MHS00501","Group rejected - No valid [MHS001]MPI submitted for this [M005901]LocalPatientID. [M005901]LocalPatientID=<LocalPatientID>","Record in the MHS005PatInd table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).",{"$f":"LEFT(D130,6)","v":"MHS005"},{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E130)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E130)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D131)","v":0},"MHS005PatientIndicators","MHS00502","Group rejected - More than one [MHS005]PatInd submitted for this [M005901]LocalPatientID. [M005901]LocalPatientID=<LocalPatientID>","Duplicate records have been submitted using the same LocalPatientId. All duplicate records will be rejected with group-level rejection error.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D132)","v":0},"MHS005PatInd","MHS00503","Record rejected - [M005901]LocalPatientID is blank.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D133)","v":0},"MHS005PatInd","MHS00504","Record rejected - [M005901]LocalPatientID has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID>","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D134)","v":0},"MHS005PatInd","MHS00505","Record rejected - [M005010]ConstSuperReqDueToDis has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005010]ConstSuperReqDueToDis=<ConstSuperReqDueToDis>","An indication of whether a disabled PATIENT needs constant (round the clock) care and/or supervision for maintenance of their safety and/or wellbeing.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D135)","v":0},"MHS005PatInd","MHS00506","Warning - [M005010]ConstSuperReqDueToDis contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005010]ConstSuperReqDueToDis=<ConstSuperReqDueToDis>","An indication of whether a disabled PATIENT needs constant (round the clock) care and/or supervision for maintenance of their safety and/or wellbeing.","MHS005","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D136)","v":0},"MHS005PatInd","MHS00507","Record rejected - [M005020]YoungCarer has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005020]YoungCarer=<YoungCarer>","An indication of whether a child or young person (PATIENT) has a caring role for an ill or disabled Parent/Carer/Sibling.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D137)","v":0},"MHS005PatInd","MHS00508","Warning - [M005020]YoungCarer contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005020]YoungCarer=<YoungCarer>","An indication of whether a child or young person (PATIENT) has a caring role for an ill or disabled Parent/Carer/Sibling.","MHS005","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D138)","v":0},"MHS005PatInd","MHS00509","Record rejected - [M005030]LACStatus has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005030]LACStatus=<LACStatus>","An indication of whether a PATIENT is a Looked After Child.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D139)","v":0},"MHS005PatInd","MHS00510","Warning - [M005030]LACStatus contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005030]LACStatus=<LACStatus>","An indication of whether a PATIENT is a Looked After Child.","MHS005","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D140)","v":0},"MHS005PatInd","MHS00511","Record rejected - [M005040]CPP has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005040]CPP=<CPP>","An indication of whether the child or young person (PATIENT) is/has previously been subject to a child protection plan.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D141)","v":0},"MHS005PatInd","MHS00512","Warning - [M005040]CPP contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005040]CPP=<CPP>","An indication of whether the child or young person (PATIENT) is/has previously been subject to a child protection plan.","MHS005","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D142)","v":0},"MHS005PatInd","MHS00513","Record rejected - [M005050]ProPsychDate has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005050]ProPsychDate=<ProPsychDate>","If PRODROME PSYCHOSIS DATE is after the end of the reporting period, the record will be rejected.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D143)","v":0},"MHS005PatInd","MHS00514","Record rejected - [M005050]ProPsychDate is after the [M000060]ReportingPeriodEndDate. [M005901]LocalPatientID=<LocalPatientID> [M005050]ProPsychDate=<ProPsychDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If PRODROME PSYCHOSIS DATE is after the end of the reporting period, the record will be rejected.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D144)","v":0},"MHS005PatInd","MHS00515","Record rejected - [M005060]EmerPsychDate has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005060]EmerPsychDate=<EmerPsychDate>","If EMERGENT PSYCHOSIS DATE is after the end of the reporting period, the record will be rejected.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D145)","v":0},"MHS005PatInd","MHS00516","Record rejected - [M005060]EmerPsychDate is after the [M000060]ReportingPeriodEndDate. [M005901]LocalPatientID=<LocalPatientID> [M005060]EmerPsychDate=<EmerPsychDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If EMERGENT PSYCHOSIS DATE is after the end of the reporting period, the record will be rejected.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D146)","v":0},"MHS005PatInd","MHS00517","Record rejected - [M005070]ManPsychDate has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005070]ManPsychDate=<ManPsychDate>","If MANIFEST PSYCHOSIS DATE is after the the end of the reporting period, the record will be rejected.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D147)","v":0},"MHS005PatInd","MHS00518","Record rejected - [M005070]ManPsychDate is after the [M000060]ReportingPeriodEndDate. [M005901]LocalPatientID=<LocalPatientID> [M005070]ManPsychDate=<ManPsychDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If MANIFEST PSYCHOSIS DATE is after the the end of the reporting period, the record will be rejected.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D148)","v":0},"MHS005PatInd","MHS00519","Record rejected - [M005080]PsychPrescDate has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005080]PsychPrescDate=<PsychPrescDate>","If FIRST PRESCRIPTION DATE (ANTI-PSYCHOTIC MEDICATION) is after the the end of the reporting period, the record will be rejected.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D149)","v":0},"MHS005PatInd","MHS00520","Record rejected - [M005080]PsychPrescDate is after the [M000060]ReportingPeriodEndDate. [M005901]LocalPatientID=<LocalPatientID> [M005080]PsychPrescDate=<PsychPrescDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If FIRST PRESCRIPTION DATE (ANTI-PSYCHOTIC MEDICATION) is after the the end of the reporting period, the record will be rejected.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D150)","v":0},"MHS005PatInd","MHS00521","Record rejected - [M005090]PsychTreatDate has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005090]PsychTreatDate=<PsychTreatDate>","If PSYCHOSIS FIRST TREATMENT START DATE is after the the end of the reporting period, the record will be rejected.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D151)","v":0},"MHS005PatInd","MHS00522","Record rejected - [M005090]PsychTreatDate is after the [M000060]ReportingPeriodEndDate. [M005901]LocalPatientID=<LocalPatientID> [M005090]PsychTreatDate=<PsychTreatDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If PSYCHOSIS FIRST TREATMENT START DATE is after the the end of the reporting period, the record will be rejected.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D152)","v":0},"MHS005PatInd","MHS00523","Record rejected - [M005100]ExBAFIndicator has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005100]ExBAFIndicator=<ExBAFIndicator>","An indication of whether the PATIENT is an ex-member of the British Armed Forces, i.e. army, navy or air force, or is a dependant of a person who is an ex-services member.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D153)","v":0},"MHS005PatInd","MHS00524","Warning - [M005100]ExBAFIndicator contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005100]ExBAFIndicator=<ExBAFIndicator>","An indication of whether the PATIENT is an ex-member of the British Armed Forces, i.e. army, navy or air force, or is a dependant of a person who is an ex-services member.","MHS005","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D154)","v":0},"MHS005PatInd","MHS00525","Record rejected - [M005110]OffenceHistory has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005110]OffenceHistory=<OffenceHistory>","An indication of whether the PATIENT has a history of offences, including index offences (i.e. is recordable, committed in England and Wales, prosecuted by the police and is not a breach of the peace).   This is completed by CARE PROFESSIONALS based on the PATIENT history, informed by referral information.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D155)","v":0},"MHS005PatInd","MHS00526","Warning - [M005110]OffenceHistory contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005110]OffenceHistory=<OffenceHistory>","An indication of whether the PATIENT has a history of offences, including index offences (i.e. is recordable, committed in England and Wales, prosecuted by the police and is not a breach of the peace).   This is completed by CARE PROFESSIONALS based on the PATIENT history, informed by referral information.","MHS005","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D156)","v":0},"MHS005PatInd","MHS00527","Record rejected - [M005120]ParentalResp has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005120]ParentalResp=<ParentalResp>","An indication of whether a PATIENT has Parental Responsibilities for a child or young person, as stated by the PATIENT.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D157)","v":0},"MHS005PatInd","MHS00528","Warning - [M005120]ParentalResp contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005120]ParentalResp=<ParentalResp>","An indication of whether a PATIENT has Parental Responsibilities for a child or young person, as stated by the PATIENT.","MHS005","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D158)","v":0},"MHS005PatInd","MHS00529","Record rejected - [M005170]EducationalAssessOutcome has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005170]EducationalAssessOutcome=<EducationalAssessOutcome>","The outcome of an EDUCATIONAL ASSESSMENT.","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D159)","v":0},"MHS005PatInd","MHS00530","Warning - [M005170]EducationalAssessOutcome contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005170]EducationalAssessOutcome=<EducationalAssessOutcome>","The outcome of an EDUCATIONAL ASSESSMENT.","MHS005","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D160)","v":0},"MHS005PatInd","MHS00533","Record rejected - [M005160]ReasonableAdjustmentInd has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005160]ReasonableAdjustmentInd=<ReasonableAdjustmentInd>","An indicator to alert the clinician that this patient may need a reasonable adjustment made","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D161)","v":0},"MHS005PatInd","MHS00534","Warning - [M005160]ReasonableAdjustmentInd contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005160]ReasonableAdjustmentInd=<ReasonableAdjustmentInd>","An indicator to alert the clinician that this patient may need a reasonable adjustment made","MHS005","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D162)","v":0},"MHS005PatInd","MHS00535","Record rejected - [M005130]LACLegalStatus has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005130]LACLegalStatus=<LACLegalStatus>","The legal status of the Looked After Child. This refers to the Children's Act 1989: see details https://www.legislation.gov.uk/ukpga/1989/41/contents","MHS005","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D163)","v":0},"MHS005PatInd","MHS00536","Warning - [M005130]LACLegalStatus contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005130]LACLegalStatus=<LACLegalStatus>","The legal status of the Looked After Child. This refers to the Children's Act 1989: see details https://www.legislation.gov.uk/ukpga/1989/41/contents","MHS005","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D164)","v":0},"MHS005PatInd","MHS00537","Warning - [M005180]IMCARequired contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005180]IMCARequired=<IMCARequired>",null,"MHS005","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D165)","v":0},"MHS005PatInd","MHS00538","Record rejected - [M005180]IMCARequired has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005180]IMCARequired=<IMCARequired>",null,"MHS005","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D166)","v":0},"MHS005PatInd","MHS00539","Record rejected - [M005190]IMHARequired has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005190]IMHARequired=<IMHARequired>",null,"MHS005","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D167)","v":0},"MHS005PatInd","MHS00540","Warning - [M005190]IMHARequired contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005190]IMHARequired=<IMHARequired>",null,"MHS005","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D168)","v":0},"MHS005PatInd","MHS00541","Record rejected - [M005200]IMCAAssigned has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005200]IMCAAssigned=<IMCAAssigned>",null,"MHS005","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D169)","v":0},"MHS005PatInd","MHS00542","Warning - [M005200]IMCAAssigned contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005200]IMCAAssigned=<IMCAAssigned>",null,"MHS005","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D170)","v":0},"MHS005PatInd","MHS00543","Warning - [M005200]IMCAAssigned is populated but [M005180]IMCARequired has been populated with 'N' . [M005901]LocalPatientID=<LocalPatientID> [M005200]IMCAAssigned=<IMCAAssigned> [M005180]IMCARequired=<IMCARequired>",null,"MHS005","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D171)","v":0},"MHS005PatInd","MHS00544","Record rejected - [M005210]IMHAAssigned has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005210]IMHAAssigned=<IMHAAssigned>",null,"MHS005","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D172)","v":0},"MHS005PatInd","MHS00545","Warning - [M005210]IMHAAssigned contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005210]IMHAAssigned=<IMHAAssigned>",null,"MHS005","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D173)","v":0},"MHS005PatInd","MHS00546","Warning - [M005210]IMHAAssigned is populated but [M005190]IMHARequired has been populated with 'N' . [M005901]LocalPatientID=<LocalPatientID> [M005210]IMHAAssigned=<IMHAAssigned> [M005190]IMHARequired=<IMHARequired>",null,"MHS005","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D174)","v":0},"MHS005PatInd","MHS00547","Record rejected - [M005220]LDStatus has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005220]LDStatus=<LDStatus>","To identify patients with a learning disability or with a possible learning disability. This should be entered with a valid value from the Technical Output Specification.","MHS005","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D175)","v":0},"MHS005PatInd","MHS00548","Warning - [M005220]LDStatus contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005220]LDStatus=<LDStatus>","To identify patients with a learning disability or with a possible learning disability. This should be entered with a valid value from the Technical Output Specification.","MHS005","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D176)","v":0},"MHS005PatInd","MHS00549","Record rejected - [M005230]AutismStatus has an incorrect data format. [M005901]LocalPatientID=<LocalPatientID> [M005230]AutismStatus=<AutismStatus>","To identify autistic patients, or patients who may be autistic. This should be entered with a valid value from the Technical Output Specification.","MHS005","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D177)","v":0},"MHS005PatInd","MHS00550","Warning - [M005230]AutismStatus contains an invalid national code value. [M005901]LocalPatientID=<LocalPatientID> [M005230]AutismStatus=<AutismStatus>","To identify autistic patients, or patients who may be autistic. This should be entered with a valid value from the Technical Output Specification.","MHS005","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D178)","v":0},"MHS006MentalHealthCareCoordinator","MHS00601","Group rejected - No valid [MHS001]MPI submitted for this [M006901]LocalPatientID. [M006901]LocalPatientID=<LocalPatientID>","Record in the MHS006MHCareCoord table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS006","Rejection","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D179)","v":0},"MHS006MentalHealthCareCoordinator","MHS00602","Group rejected - More than one [MHS006]MHCareCoord submitted for this [M006901]LocalPatientID + [M006010]StartDateAssCareCoord + [M006030]EndDateAssCareCoord + [M006040]CareProfServOrTeamTypeAssoc combination. [M006901]LocalPatientID=<LocalPatientID> [M006010]StartDateAssCareCoord=<StartDateAssCareCoord> [M006030]EndDateAssCareCoord=<EndDateAssCareCoord> [M006040]CareProfServOrTeamTypeAssoc=<CareProfServOrTeamTypeAssoc>","Duplicate records have been submitted with the same values in the following fields: LocalPatientId, StartDateAssCareCoord, CareProfLocalId, EndDateAssCareCoord and CareProfServOrTeamTypeAssoc. All duplicate records will be rejected with group-level rejection error.","MHS006","Rejection","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D180)","v":0},"MHS006MHCareCoord","MHS00603","Record rejected - [M006901]LocalPatientID is blank.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS006","Rejection","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D181)","v":0},"MHS006MHCareCoord","MHS00604","Record rejected - [M006901]LocalPatientID has an incorrect data format. [M006901]LocalPatientID=<LocalPatientID>","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS006","Rejection","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D182)","v":0},"MHS006MHCareCoord","MHS00605","Record rejected - [M006010]StartDateAssCareCoord is blank. [M006901]LocalPatientID=<LocalPatientID>","If START DATE is after the end of the reporting period, the record will be rejected.","MHS006","Rejection","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D183)","v":0},"MHS006MHCareCoord","MHS00606","Record rejected - [M006010]StartDateAssCareCoord has an incorrect data format. [M006901]LocalPatientID=<LocalPatientID> [M006010]StartDateAssCareCoord=<StartDateAssCareCoord>","If START DATE is after the end of the reporting period, the record will be rejected.","MHS006","Rejection","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D184)","v":0},"MHS006MHCareCoord","MHS00607","Record rejected - [M006010]StartDateAssCareCoord is after the [M000060]ReportingPeriodEndDate. [M006901]LocalPatientID=<LocalPatientID> [M006010]StartDateAssCareCoord=<StartDateAssCareCoord> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If START DATE is after the end of the reporting period, the record will be rejected.","MHS006","Rejection","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D185)","v":0},"MHS006MHCareCoord","MHS00608","Record rejected - [M006908]CareProfLocalID has an incorrect data format. [M006901]LocalPatientID=<LocalPatientID> [M006908]CareProfLocalID=<CareProfLocalID>","A unique local CARE PROFESSIONAL IDENTIFIER within a Health Care Provider which may be assigned automatically by the computer system.   ","MHS006","Rejection","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D186)","v":0},"MHS006MHCareCoord","MHS00609","Record rejected - [M006030]EndDateAssCareCoord has an incorrect data format. [M006901]LocalPatientID=<LocalPatientID> [M006030]EndDateAssCareCoord=<EndDateAssCareCoord>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected..  If END DATE is populated and before the START DATE, the record will be rejected.","MHS006","Rejection","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D187)","v":0},"MHS006MHCareCoord","MHS00610","Record rejected - [M006030]EndDateAssCareCoord is before the [M000050]ReportingPeriodStartDate. [M006901]LocalPatientID=<LocalPatientID> [M006030]EndDateAssCareCoord=<EndDateAssCareCoord> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected..  If END DATE is populated and before the START DATE, the record will be rejected.","MHS006","Rejection","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D188)","v":0},"MHS006MHCareCoord","MHS00611","Record rejected - [M006030]EndDateAssCareCoord is after the [M000060]ReportingPeriodEndDate. [M006901]LocalPatientID=<LocalPatientID> [M006030]EndDateAssCareCoord=<EndDateAssCareCoord> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected..  If END DATE is populated and before the START DATE, the record will be rejected.","MHS006","Rejection","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D189)","v":0},"MHS006MHCareCoord","MHS00612","Record rejected - [M006030]EndDateAssCareCoord is before the associated [M006010]StartDateAssCareCoord. [M006901]LocalPatientID=<LocalPatientID> [M006030]EndDateAssCareCoord=<EndDateAssCareCoord> [M006010]StartDateAssCareCoord=<StartDateAssCareCoord>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected..  If END DATE is populated and before the START DATE, the record will be rejected.","MHS006","Rejection","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D190)","v":0},"MHS006MHCareCoord","MHS00613","Record rejected - [M006040]CareProfServOrTeamTypeAssoc has an incorrect data format. [M006901]LocalPatientID=<LocalPatientID> [M006040]CareProfServOrTeamTypeAssoc=<CareProfServOrTeamTypeAssoc>","The type of service or team the Care Professional is associated with.","MHS006","Rejection","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D191)","v":0},"MHS006MHCareCoord","MHS00614","Warning - [M006040]CareProfServOrTeamTypeAssoc contains an invalid national code value. [M006901]LocalPatientID=<LocalPatientID> [M006040]CareProfServOrTeamTypeAssoc=<CareProfServOrTeamTypeAssoc>","The type of service or team the Care Professional is associated with.","MHS006","Warning","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D192)","v":0},"MHS006MentalHealthCareCoordinator","MHS00615","Warning - No valid [MHS901]StaffDetails submitted for this [M006908]CareProfLocalID. [M006908]CareProfLocalID=<CareProfLocalID>","Warning generated for MHS006MHCareCoord record because there is no corresponding record in the MHS901StaffDetails table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS901StaffDetails) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareProfLocalId in the linked table (MHS901StaffDetails).","MHS006","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D193)","v":0},"MHS007DisabilityType","MHS00701","Group rejected - No valid [MHS001]MPI submitted for this [M007901]LocalPatientID. [M007901]LocalPatientID=<LocalPatientID>","Record in the MHS007DisabilityType table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS007","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D194)","v":0},"MHS007DisabilityType","MHS00702","Group rejected - More than one [MHS007]DisabilityType submitted for this [M007901]LocalPatientID + [M007010]DisabCode combination. [M007901]LocalPatientID=<LocalPatientID> [M007010]DisabCode=<DisabCode>","Duplicate records have been submitted with the same values in the following fields: LocalPatientId and DisabCode. All duplicate records will be rejected with group-level rejection error.",{"$f":"LEFT(D194,6)","v":"MHS007"},{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E194)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E194)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D195)","v":0},"MHS007DisabilityType","MHS00703","Record rejected - [M007901]LocalPatientID is blank.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS007","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D196)","v":0},"MHS007DisabilityType","MHS00704","Record rejected - [M007901]LocalPatientID has an incorrect data format. [M007901]LocalPatientID=<LocalPatientID>","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS007","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D197)","v":0},"MHS007DisabilityType","MHS00705","Record rejected - [M007010]DisabCode is blank. [M007901]LocalPatientID=<LocalPatientID>","The DISABILITY of a PERSON.  This could be where: the PERSON has been diagnosed as disabled or the PERSON considers themself to be disabled. ","MHS007","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D198)","v":0},"MHS007DisabilityType","MHS00706","Record rejected - [M007010]DisabCode has an incorrect data format. [M007901]LocalPatientID=<LocalPatientID> [M007010]DisabCode=<DisabCode>","The DISABILITY of a PERSON.  This could be where: the PERSON has been diagnosed as disabled or the PERSON considers themself to be disabled. ","MHS007","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D199)","v":0},"MHS007DisabilityType","MHS00707","Warning - [M007010]DisabCode contains an invalid national code value. [M007901]LocalPatientID=<LocalPatientID> [M007010]DisabCode=<DisabCode>","The DISABILITY of a PERSON.  This could be where: the PERSON has been diagnosed as disabled or the PERSON considers themself to be disabled. ","MHS007","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D200)","v":0},"MHS007DisabilityType","MHS00708","Record rejected - [M007020]DisabImpacPercep has an incorrect data format. [M007901]LocalPatientID=<LocalPatientID> [M007020]DisabImpacPercep=<DisabImpacPercep>","The patient's perception of whether their day-to-day activities are limited because of a health problem or disability which has lasted, or is expected to last, at least 12 months.","MHS007","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D201)","v":0},"MHS007DisabilityType","MHS00709","Warning - [M007020]DisabImpacPercep contains an invalid national code value. [M007901]LocalPatientID=<LocalPatientID> [M007020]DisabImpacPercep=<DisabImpacPercep>","The patient's perception of whether their day-to-day activities are limited because of a health problem or disability which has lasted, or is expected to last, at least 12 months.","MHS007","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D202)","v":0},"MHS008CarePlanType","MHS00811","Group rejected - No valid [MHS001]MPI submitted for this [M008901]LocalPatientID. [M008901]LocalPatientID=<LocalPatientID>","Record in the MHS008CarePlanType table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D203)","v":0},"MHS008CarePlanType","MHS00812","Group rejected - More than one [MHS008]CarePlanType submitted for this [M008070]CarePlanID. [M008070]CarePlanID=<CarePlanID>","Duplicate records have been submitted using the same CarePlanID. All duplicate records will be rejected with group-level rejection error.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D204)","v":0},"MHS008CarePlanType","MHS00813","Record rejected - [M008070]CarePlanID is blank. [M008901]LocalPatientID=<LocalPatientID>","A unique identifierfor Care Plan.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D205)","v":0},"MHS008CarePlanType","MHS00814","Record rejected - [M008070]CarePlanID has an incorrect data format. [M008070]CarePlanID=<CarePlanID> [M008901]LocalPatientID=<LocalPatientID> [M008070]CarePlanID=<CarePlanID>","A unique identifierfor Care Plan.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D206)","v":0},"MHS008CarePlanType","MHS00815","Record rejected - [M008901]LocalPatientID is blank. [M008070]CarePlanID=<CarePlanID>","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D207)","v":0},"MHS008CarePlanType","MHS00816","Record rejected - [M008901]LocalPatientID has an incorrect data format. [M008070]CarePlanID=<CarePlanID> [M008901]LocalPatientID=<LocalPatientID> [M008901]LocalPatientID=<LocalPatientID>","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D208)","v":0},"MHS008CarePlanType","MHS00817","Record rejected - [M008030]CarePlanTypeMH is blank. [M008070]CarePlanID=<CarePlanID>","The type of Care Plan for the patient, recorded by the service.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D209)","v":0},"MHS008CarePlanType","MHS00818","Record rejected - [M008030]CarePlanTypeMH has an incorrect data format. [M008070]CarePlanID=<CarePlanID> [M008901]LocalPatientID=<LocalPatientID> [M008030]CarePlanTypeMH=<CarePlanTypeMH>","The type of Care Plan for the patient, recorded by the service.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D210)","v":0},"MHS008CarePlanType","MHS00819","Warning - [M008030]CarePlanTypeMH contains an invalid national code value. [M008070]CarePlanID=<CarePlanID> [M008901]LocalPatientID=<LocalPatientID> [M008030]CarePlanTypeMH=<CarePlanTypeMH>","The type of Care Plan for the patient, recorded by the service.","MHS008","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D211)","v":0},"MHS008CarePlanType","MHS00820","Record rejected - [M008010]CarePlanCreatDate is blank. [M008070]CarePlanID=<CarePlanID>","If CARE PLAN CREATION DATE is after the end of the reporting period, the record will be rejected.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D212)","v":0},"MHS008CarePlanType","MHS00821","Record rejected - [M008010]CarePlanCreatDate has an incorrect data format. [M008070]CarePlanID=<CarePlanID> [M008901]LocalPatientID=<LocalPatientID> [M008010]CarePlanCreatDate=<CarePlanCreatDate>","If CARE PLAN CREATION DATE is after the end of the reporting period, the record will be rejected.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D213)","v":0},"MHS008CarePlanType","MHS00822","Record rejected - [M008010]CarePlanCreatDate is after the [M000060]ReportingPeriodEndDate. [M008070]CarePlanID=<CarePlanID> [M008901]LocalPatientID=<LocalPatientID> [M008010]CarePlanCreatDate=<CarePlanCreatDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If CARE PLAN CREATION DATE is after the end of the reporting period, the record will be rejected.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D214)","v":0},"MHS008CarePlanType","MHS00823","Record rejected - [M008020]CarePlanLastUpdateDate has an incorrect data format. [M008070]CarePlanID=<CarePlanID> [M008901]LocalPatientID=<LocalPatientID> [M008020]CarePlanLastUpdateDate=<CarePlanLastUpdateDate>","If CARE PLAN LAST UPDATED DATE is before CARE PLAN CREATION DATE, the record will be rejected.  If CARE PLAN LAST UPDATED DATE is after the end of the reporting period, the record will be rejected.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D215)","v":0},"MHS008CarePlanType","MHS00824","Record rejected - [M008020]CarePlanLastUpdateDate is before the associated [M008010]CarePlanCreatDate. [M008070]CarePlanID=<CarePlanID> [M008901]LocalPatientID=<LocalPatientID> [M008020]CarePlanLastUpdateDate=<CarePlanLastUpdateDate> [M008010]CarePlanCreatDate=<CarePlanCreatDate>","If CARE PLAN LAST UPDATED DATE is before CARE PLAN CREATION DATE, the record will be rejected.  If CARE PLAN LAST UPDATED DATE is after the end of the reporting period, the record will be rejected.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D216)","v":0},"MHS008CarePlanType","MHS00825","Record rejected - [M008020]CarePlanLastUpdateDate is after the [M000060]ReportingPeriodEndDate. [M008070]CarePlanID=<CarePlanID> [M008901]LocalPatientID=<LocalPatientID> [M008020]CarePlanLastUpdateDate=<CarePlanLastUpdateDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If CARE PLAN LAST UPDATED DATE is before CARE PLAN CREATION DATE, the record will be rejected.  If CARE PLAN LAST UPDATED DATE is after the end of the reporting period, the record will be rejected.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D217)","v":0},"MHS008CarePlanType","MHS00826","Record rejected - [M008040]CarePlanImplementDate has an incorrect data format. [M008070]CarePlanID=<CarePlanID> [M008901]LocalPatientID=<LocalPatientID> [M008040]CarePlanImplementDate=<CarePlanImplementDate>","If CARE PLAN IMPLEMENTATION DATE is after the end of the reporting period, the record will be rejected.  If CARE PLAN IMPLEMENTATION DATE is before CARE PLAN CREATION DATE, the record will be rejected.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D218)","v":0},"MHS008CarePlanType","MHS00827","Record rejected - [M008040]CarePlanImplementDate is after the [M000060]ReportingPeriodEndDate. [M008070]CarePlanID=<CarePlanID> [M008901]LocalPatientID=<LocalPatientID> [M008040]CarePlanImplementDate=<CarePlanImplementDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If CARE PLAN IMPLEMENTATION DATE is after the end of the reporting period, the record will be rejected.  If CARE PLAN IMPLEMENTATION DATE is before CARE PLAN CREATION DATE, the record will be rejected.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D219)","v":0},"MHS008CarePlanType","MHS00828","Record rejected - [M008040]CarePlanImplementDate is before the associated [M008010]CarePlanCreatDate. [M008070]CarePlanID=<CarePlanID> [M008901]LocalPatientID=<LocalPatientID> [M008040]CarePlanImplementDate=<CarePlanImplementDate> [M008010]CarePlanCreatDate=<CarePlanCreatDate>","If CARE PLAN IMPLEMENTATION DATE is after the end of the reporting period, the record will be rejected.  If CARE PLAN IMPLEMENTATION DATE is before CARE PLAN CREATION DATE, the record will be rejected.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D220)","v":0},"MHS008CarePlanType","MHS00829","Record rejected - [M008080]CarePlanCreationTime has an incorrect data format. [M008070]CarePlanID=<CarePlanID> [M008901]LocalPatientID=<LocalPatientID> [M008080]CarePlanCreationTime=<CarePlanCreationTime>","The time that a Care Plan was created for a patient.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D221)","v":0},"MHS008CarePlanType","MHS00830","Record rejected - [M008090]CarePlanLastUpdateTime has an incorrect data format. [M008070]CarePlanID=<CarePlanID> [M008901]LocalPatientID=<LocalPatientID> [M008090]CarePlanLastUpdateTime=<CarePlanLastUpdateTime>","The time that the Care Plan was last updated for a patient.  Where the Care Plan has not otherwise been updated this will be the same as the Care Plan Creation Time.","MHS008","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D222)","v":0},"MHS009CarePlanAgreement","MHS00901","Group rejected - No valid [MHS008]CarePlanType submitted for this [M009010]CarePlanID. [M009010]CarePlanID=<CarePlanID>","Record in the MHS009CarePlanAgreement table rejected because there is no corresponding record in the MHS008CarePlanType table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS008CarePlanType) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CarePlanId in the linked table (MHS008CarePlanType).","MHS009","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D223)","v":0},"MHS009CarePlanAgreement","MHS00902","Record rejected - [M009010]CarePlanID is blank.","A unique identifierfor Care Plan.","MHS009","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D224)","v":0},"MHS009CarePlanAgreement","MHS00903","Record rejected - [M009010]CarePlanID has an incorrect data format. [M009010]CarePlanID=<CarePlanID>","A unique identifierfor Care Plan.","MHS009","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D225)","v":0},"MHS009CarePlanAgreement","MHS00904","Record rejected - [M009070]CarePlanContentAgreedBy is blank. [M009010]CarePlanID=<CarePlanID>","The type of PERSON, SERVICE or ORGANISATION that agreed the content of the CARE PLAN for the PATIENT.","MHS009","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D226)","v":0},"MHS009CarePlanAgreement","MHS00905","Record rejected - [M009070]CarePlanContentAgreedBy has an incorrect data format. [M009010]CarePlanID=<CarePlanID> [M009070]CarePlanContentAgreedBy=<CarePlanContentAgreedBy>","The type of PERSON, SERVICE or ORGANISATION that agreed the content of the CARE PLAN for the PATIENT.","MHS009","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D227)","v":0},"MHS009CarePlanAgreement","MHS00906","Warning - [M009070]CarePlanContentAgreedBy contains an invalid national code value. [M009010]CarePlanID=<CarePlanID> [M009070]CarePlanContentAgreedBy=<CarePlanContentAgreedBy>","The type of PERSON, SERVICE or ORGANISATION that agreed the content of the CARE PLAN for the PATIENT.","MHS009","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D228)","v":0},"MHS009CarePlanAgreement","MHS00907","Record rejected - [M009080]CarePlanContentAgreedDate has an incorrect data format. [M009010]CarePlanID=<CarePlanID> [M009080]CarePlanContentAgreedDate=<CarePlanContentAgreedDate>","If CARE PLAN CONTENT AGREED DATE is before CARE PLAN CREATION DATE, the record will be rejected.  If CARE PLAN CONTENT AGREED DATE is after the end of the reporting period, the record will be rejected.","MHS009","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D229)","v":0},"MHS009CarePlanAgreement","MHS00908","Record rejected - [M009080]CarePlanContentAgreedDate is before the associated [M008010]CarePlanCreatDate. [M009010]CarePlanID=<CarePlanID> [M009080]CarePlanContentAgreedDate=<CarePlanContentAgreedDate> [M008010]CarePlanCreatDate=<CarePlanCreatDate>","If CARE PLAN CONTENT AGREED DATE is before CARE PLAN CREATION DATE, the record will be rejected.  If CARE PLAN CONTENT AGREED DATE is after the end of the reporting period, the record will be rejected.","MHS009","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D230)","v":0},"MHS009CarePlanAgreement","MHS00909","Record rejected - [M009080]CarePlanContentAgreedDate is after the [M000060]ReportingPeriodEndDate. [M009010]CarePlanID=<CarePlanID> [M009080]CarePlanContentAgreedDate=<CarePlanContentAgreedDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If CARE PLAN CONTENT AGREED DATE is before CARE PLAN CREATION DATE, the record will be rejected.  If CARE PLAN CONTENT AGREED DATE is after the end of the reporting period, the record will be rejected.","MHS009","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D231)","v":0},"MHS009CarePlanAgreement","MHS00910","Record rejected - [M009090]CarePlanContentAgreedTime has an incorrect data format. [M009010]CarePlanID=<CarePlanID> [M009090]CarePlanContentAgreedTime=<CarePlanContentAgreedTime>","The time on which the content of the CARE PLAN was agreed by a PATIENT or Patient Proxy","MHS009","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D232)","v":0},"MHS009CarePlanAgreement","MHS00912","Record rejected - [M009050]FamilyCarePlanIndicator has an incorrect data format. [M009010]CarePlanID=<CarePlanID> [M009050]FamilyCarePlanIndicator=<FamilyCarePlanIndicator>","An indication of whether a member of the patient's family is currently involved in the patient's care plan.  This only needs to be captured for inpatients that are in scope of Transforming Care.","MHS009","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D233)","v":0},"MHS009CarePlanAgreement","MHS00913","Warning - [M009050]FamilyCarePlanIndicator contains an invalid national code value. [M009010]CarePlanID=<CarePlanID> [M009050]FamilyCarePlanIndicator=<FamilyCarePlanIndicator>","An indication of whether a member of the patient's family is currently involved in the patient's care plan.  This only needs to be captured for inpatients that are in scope of Transforming Care.","MHS009","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D234)","v":0},"MHS009CarePlanAgreement","MHS00915","Record rejected - [M009060]NoFamilyCarePlanReason has an incorrect data format. [M009010]CarePlanID=<CarePlanID> [M009060]NoFamilyCarePlanReason=<NoFamilyCarePlanReason>","The reason that the patient's family is not currently involved in the patient's care plan.  This only needs to be captured for inpatients that are in scope of Transforming Care.","MHS009","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D235)","v":0},"MHS009CarePlanAgreement","MHS00916","Warning - [M009060]NoFamilyCarePlanReason contains an invalid national code value. [M009010]CarePlanID=<CarePlanID> [M009060]NoFamilyCarePlanReason=<NoFamilyCarePlanReason>","The reason that the patient's family is not currently involved in the patient's care plan.  This only needs to be captured for inpatients that are in scope of Transforming Care.","MHS009","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D236)","v":0},"MHS010AssistiveTechnologyToSupportDisabilityType","MHS01001","Group rejected - No valid [MHS001]MPI submitted for this [M010901]LocalPatientID. [M010901]LocalPatientID=<LocalPatientID>","Record in the MHS010AssTechToSupportDisTyp table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS010","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D237)","v":0},"MHS010AssistiveTechnologyToSupportDisabilityType","MHS01002","Group rejected - More than one [MHS010]AssTechToSupportDisTyp submitted for this [M010901]LocalPatientID + [M010010]AssistiveTechnologyFinding + [M010030]AssistiveTechnologyPrescTimestamp combination. [M010901]LocalPatientID=<LocalPatientID> [M010010]AssistiveTechnologyFinding=<AssistiveTechnologyFinding> [M010030]AssistiveTechnologyPrescTimestamp=<AssistiveTechnologyPrescTimestamp>","Duplicate records have been submitted with the same values in the following fields: LocalPatientId, AssistiveTechnologyFinding and AssistiveTechnologyPrescDate. All duplicate records will be rejected with group-level rejection error.","MHS010","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D238)","v":0},"MHS010AssTechToSupportDisTyp","MHS01003","Record rejected - [M010901]LocalPatientID is blank.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS010","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D239)","v":0},"MHS010AssTechToSupportDisTyp","MHS01004","Record rejected - [M010901]LocalPatientID has an incorrect data format. [M010901]LocalPatientID=<LocalPatientID>","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS010","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D240)","v":0},"MHS010AssTechToSupportDisTyp","MHS01005","Record rejected - [M010010]AssistiveTechnologyFinding has an incorrect data format. [M010901]LocalPatientID=<LocalPatientID> [M010010]AssistiveTechnologyFinding=<AssistiveTechnologyFinding>","If Assistive Technology Finding (SNOMED CT) fails standard SNOMED CT checks (Check Digit and Partition Identifier), the record will be rejected.","MHS010","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D241)","v":0},"MHS010AssTechToSupportDisTyp","MHS01006","Record rejected - [M010010]AssistiveTechnologyFinding is blank. [M010901]LocalPatientID=<LocalPatientID>","If Assistive Technology Finding (SNOMED CT) fails standard SNOMED CT checks (Check Digit and Partition Identifier), the record will be rejected.","MHS010","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D242)","v":0},"MHS010AssTechToSupportDisTyp","MHS01007","Record rejected - [M010010]AssistiveTechnologyFinding has failed SNOMED CT checks. [M010901]LocalPatientID=<LocalPatientID> [M010010]AssistiveTechnologyFinding=<AssistiveTechnologyFinding>","If Assistive Technology Finding (SNOMED CT) fails standard SNOMED CT checks (Check Digit and Partition Identifier), the record will be rejected.","MHS010","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D243)","v":0},"MHS010AssTechToSupportDisTyp","MHS01008","Record rejected - [M010030]AssistiveTechnologyPrescTimestamp has an incorrect data format. [M010901]LocalPatientID=<LocalPatientID> [M010030]AssistiveTechnologyPrescTimestamp=<AssistiveTechnologyPrescTimestamp>","This is the AssistiveTechnologyPrescTimestamp field. The timestamp must be in one of the example formats illustrated here: https://www.datadictionary.nhs.uk/data_elements/coded_diagnosis_timestamp.html. Please check that the format of your timestamp entries matches one of these examples.","MHS010","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D244)","v":0},"MHS010AssTechToSupportDisTyp","MHS01009","Record rejected - [M010030]AssistiveTechnologyPrescTimestamp is after the [M000060]ReportingPeriodEndDate. [M010901]LocalPatientID=<LocalPatientID> [M010030]AssistiveTechnologyPrescTimestamp=<AssistiveTechnologyPrescTimestamp> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Prescription Timestamp (Assistive Technology) is after the end of the reporting period, the record will be rejected.","MHS010","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D245)","v":0},"MHS011SocialandPersonalCircumstances","MHS01101","Group rejected - No valid [MHS001]MPI submitted for this [M011901]LocalPatientID. [M011901]LocalPatientID=<LocalPatientID>","Record in the MHS011SocPerCircumstances table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS011","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D246)","v":0},"MHS011SocialandPersonalCircumstances","MHS01102","Group rejected - More than one [MHS011]SocPerCircumstances submitted for this [M011901]LocalPatientID + [M011030]SocPerCircumstanceRecTimestamp [M011020]SocPerCircumstance combination. [M011901]LocalPatientID=<LocalPatientID> [M011030]SocPerCircumstanceRecTimestamp=<SocPerCircumstanceRecTimestamp> [M011020]SocPerCircumstance=<SocPerCircumstance>","Duplicate records have been submitted with the same values in the following fields: LocalPatientId, SocPerCircumstanceRecDate and SocPerCircumstance. All duplicate records will be rejected with group-level rejection error.","MHS011","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D247)","v":0},"MHS011SocPerCircumstances","MHS01103","Record rejected - [M011901]LocalPatientID is blank.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS011","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D248)","v":0},"MHS011SocPerCircumstances","MHS01104","Record rejected - [M011901]LocalPatientID has an incorrect data format. [M011901]LocalPatientID=<LocalPatientID>","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS011","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D249)","v":0},"MHS011SocPerCircumstances","MHS01106","Record rejected - [M011030]SocPerCircumstanceRecTimestamp has an incorrect data format. [M011901]LocalPatientID=<LocalPatientID> [M011030]SocPerCircumstanceRecTimestamp=<SocPerCircumstanceRecTimestamp>","This is the SocPerCircumstanceRecTimestamp field. The timestamp must be in one of the example formats illustrated here: https://www.datadictionary.nhs.uk/data_elements/coded_diagnosis_timestamp.html. Please check that the format of your timestamp entries matches one of these examples.","MHS011","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D250)","v":0},"MHS011SocPerCircumstances","MHS01107","Record rejected - [M011030]SocPerCircumstanceRecTimestamp is after the [M000060]ReportingPeriodEndDate. [M011901]LocalPatientID=<LocalPatientID> [M011030]SocPerCircumstanceRecTimestamp=<SocPerCircumstanceRecTimestamp> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Social and Personal Circumstance Recorded Timestamp is populated and is after the end of the reporting period, the record will be rejected.","MHS011","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D251)","v":0},"MHS011SocPerCircumstances","MHS01108","Record rejected - [M011020]SocPerCircumstance is blank. [M011901]LocalPatientID=<LocalPatientID>","If Social and Personal Circumstance (SNOMED CT) fails standard SNOMED CT checks (Check Digit and Partition Identifier), the record will be rejected.","MHS011","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D252)","v":0},"MHS011SocPerCircumstances","MHS01109","Record rejected - [M011020]SocPerCircumstance has failed SNOMED CT checks. [M011901]LocalPatientID=<LocalPatientID> [M011020]SocPerCircumstance=<SocPerCircumstance>","If Social and Personal Circumstance (SNOMED CT) fails standard SNOMED CT checks (Check Digit and Partition Identifier), the record will be rejected.","MHS011","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D253)","v":0},"MHS011SocPerCircumstances","MHS01110","Warning - Social and Personal Circumstance Recorded Timestamp is blank.","If Social and Personal Circumstance Recorded Timestamp is populated and is after the end of the reporting period, the record will be rejected.","MHS011","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D254)","v":0},"MHS011SocPerCircumstances","MHS01111","Record rejected - [M011020]SocPerCircumstance has an incorrect data format. [M011901]LocalPatientID=<LocalPatientID> [M011020]SocPerCircumstance=<SocPerCircumstance>",null,"MHS011","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D255)","v":0},"MHS012OverseasVisitorChargingCategory","MHS01201","Group rejected - No valid [MHS001]MPI submitted for this [M012901]LocalPatientID. [M012901]LocalPatientID=<LocalPatientID>","Record in the MHS012OverseasVisitorChargCat table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS012","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D256)","v":0},"MHS012OverseasVisitorChargingCategory","MHS01202","Group rejected - More than one [MHS012]OverseasVisitorChargCat submitted for this [M012901]LocalPatientID + [M012010]OvsVisChCat + [M012020]OvsVisChCatAppDate combination. [M012901]LocalPatientID=<LocalPatientID> [M012010]OvsVisChCat=<OvsVisChCat> [M012020]OvsVisChCatAppDate=<OvsVisChCatAppDate>","Duplicate records have been submitted with the same value in the following fields: LocalPatientId, OvsVisChCat and OvsVisChCatAppDate. All duplicate records will be rejected with group-level rejection error.","MHS012","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D257)","v":0},"MHS012OverseasVisitorChargCat","MHS01203","Record rejected - [M012901]LocalPatientID is blank.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS012","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D258)","v":0},"MHS012OverseasVisitorChargCat","MHS01204","Record rejected - [M012901]LocalPatientID has an incorrect data format. [M012901]LocalPatientID=<LocalPatientID>","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.",{"$f":"LEFT(D258,6)","v":"MHS012"},{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E258)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E258)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D259)","v":0},"MHS012OverseasVisitorChargCat","MHS01205","Record rejected - [M012010]OvsVisChCat is blank. [M012901]LocalPatientID=<LocalPatientID>","The charging category relating to an OVERSEAS VISITOR STATUS.","MHS012","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D260)","v":0},"MHS012OverseasVisitorChargCat","MHS01206","Record rejected - [M012010]OvsVisChCat has an incorrect data format. [M012901]LocalPatientID=<LocalPatientID> [M012010]OvsVisChCat=<OvsVisChCat>","The charging category relating to an OVERSEAS VISITOR STATUS.","MHS012","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D261)","v":0},"MHS012OverseasVisitorChargCat","MHS01207","Warning - [M012010]OvsVisChCat contains an invalid national code value. [M012901]LocalPatientID=<LocalPatientID> [M012010]OvsVisChCat=<OvsVisChCat>","The charging category relating to an OVERSEAS VISITOR STATUS.","MHS012","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D262)","v":0},"MHS012OverseasVisitorChargCat","MHS01208","Record rejected - [M012020]OvsVisChCatAppDate has an incorrect data format. [M012901]LocalPatientID=<LocalPatientID> [M012020]OvsVisChCatAppDate=<OvsVisChCatAppDate>","If Overseas Visitor Charging Category Applicable Date is after the end of the reporting period, the record will be rejected.","MHS012","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D263)","v":0},"MHS012OverseasVisitorChargCat","MHS01209","Record rejected - [M012020]OvsVisChCatAppDate is after the [M000060]ReportingPeriodEndDate. [M012901]LocalPatientID=<LocalPatientID> [M012020]OvsVisChCatAppDate=<OvsVisChCatAppDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Overseas Visitor Charging Category Applicable Date is after the end of the reporting period, the record will be rejected.","MHS012","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D264)","v":0},"MHS012OverseasVisitorChargCat","MHS01210","Warning - Overseas Visitor Charging Category Applicable From Date is blank.","If Overseas Visitor Charging Category Applicable Date is after the end of the reporting period, the record will be rejected.","MHS012","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D265)","v":0},"MHS012OverseasVisitorChargCat","MHS01211","Record rejected - [M012030]OvsVisChCatEndDate has an incorrect data format. [M012901]LocalPatientID=<LocalPatientID> [M012030]OvsVisChCatEndDate=<OvsVisChCatEndDate>","The date the OVERSEAS VISITOR CHARGING CATEGORY was applicable until.","MHS012","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D266)","v":0},"MHS012OverseasVisitorChargCat","MHS01212","Record rejected - [M012030]OvsVisChCatEndDate is before the [M000050]ReportingPeriodStartDate. [M012901]LocalPatientID=<LocalPatientID> [M012030]OvsVisChCatEndDate=<OvsVisChCatEndDate> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","The date the OVERSEAS VISITOR CHARGING CATEGORY was applicable until.","MHS012","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D267)","v":0},"MHS012OverseasVisitorChargCat","MHS01213","Record rejected - [M012030]OvsVisChCatEndDate is after the [M000060]ReportingPeriodEndDate. [M012901]LocalPatientID=<LocalPatientID> [M012030]OvsVisChCatEndDate=<OvsVisChCatEndDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","The date the OVERSEAS VISITOR CHARGING CATEGORY was applicable until.","MHS012","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D268)","v":0},"MHS012OverseasVisitorChargCat","MHS01214","Record rejected - [M012030]OvsVisChCatEndDate is before the associated [M012020]OvsVisChCatAppDate.  [M012901]LocalPatientID=<LocalPatientID> [M012030]OvsVisChCatEndDate=<OvsVisChCatEndDate> [M012020]OvsVisChCatAppDate=<OvsVisChCatAppDate>","The date the OVERSEAS VISITOR CHARGING CATEGORY was applicable until.","MHS012","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D269)","v":0},"MHS013MentalHealthCurrencyModel","MHS01301","Group rejected - No valid MHS001 group transmitted for thisLocal Patient Identifier (Extended).","Record in the MHS013MHCurrencyModel table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS013","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D270)","v":0},"MHS013MentalHealthCurrencyModel","MHS01302","Group rejected - More than one MHS013 provided for this Local Patient Identifier (Extended) + Mental Health Resource Group Type (SNOMED CT) combination.","Duplicate records have been submitted with the same values in the following fields: LocalPatientId, MHResourceGroupType. All duplicate records will be rejected with group-level rejection error.","MHS013","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D271)","v":0},"MHS013MHCurrencyModel","MHS01303","Record rejected - Local Patient Identifier (Extended) is blank.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS013","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D272)","v":0},"MHS013MHCurrencyModel","MHS01304","Record rejected - Local Patient Identifier (Extended) has an incorrect data format.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS013","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D273)","v":0},"MHS013MHCurrencyModel","MHS01305","Record rejected - Mental Health Resource Group Type (SNOMED CT) has failed SNOMED CT checks.","The SNOMED CT EXPRESSION which is used to identify the Mental Health Resource Group type.","MHS013","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D274)","v":0},"MHS013MHCurrencyModel","MHS01306","Record rejected - Start Date (Mental Health Resource Group) has incorrect date format.","If Start Date (Mental Health Resource Group) is populated and is after the end of the reporting period, the record will be rejected.","MHS013","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D275)","v":0},"MHS013MHCurrencyModel","MHS01307","Record rejected - Start Date (Mental Health Resource Group) is after the end date of the reporting period.","If Start Date (Mental Health Resource Group) is populated and is after the end of the reporting period, the record will be rejected.","MHS013","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D276)","v":0},"MHS013MHCurrencyModel","MHS01308","Record rejected - End Date (Mental Health Resource Group) has incorrect date format.","If End Date (Mental Health Resource Group) is populated and is before the start of the reporting period, the record will be rejected.  If End Date (Mental Health Resource Group) is populated and is after the end of the reporting period, the record will be rejected.  If End Date (Mental Health Resource Group) is populated and before the Start Date (Mental Health Resource Group), the record will be rejected.","MHS013","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D277)","v":0},"MHS013MHCurrencyModel","MHS01309","Record rejected - End Date (Mental Health Resource Group) is before the start date of the reporting period.","If End Date (Mental Health Resource Group) is populated and is before the start of the reporting period, the record will be rejected.  If End Date (Mental Health Resource Group) is populated and is after the end of the reporting period, the record will be rejected.  If End Date (Mental Health Resource Group) is populated and before the Start Date (Mental Health Resource Group), the record will be rejected.","MHS013","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D278)","v":0},"MHS013MHCurrencyModel","MHS01310","Record rejected - End Date (Mental Health Resource Group) is after the end date of the reporting period.","If End Date (Mental Health Resource Group) is populated and is before the start of the reporting period, the record will be rejected.  If End Date (Mental Health Resource Group) is populated and is after the end of the reporting period, the record will be rejected.  If End Date (Mental Health Resource Group) is populated and before the Start Date (Mental Health Resource Group), the record will be rejected.","MHS013","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D279)","v":0},"MHS013MHCurrencyModel","MHS01311","Record rejected - End Date (Mental Health Resource Group) is prior to the associated Start Date (Mental Health Resource Group).","If End Date (Mental Health Resource Group) is populated and is before the start of the reporting period, the record will be rejected.  If End Date (Mental Health Resource Group) is populated and is after the end of the reporting period, the record will be rejected.  If End Date (Mental Health Resource Group) is populated and before the Start Date (Mental Health Resource Group), the record will be rejected.","MHS013","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D280)","v":0},"MHS014eMED3FitNote","MHS01401","Group rejected - No valid [MHS001]MPI submitted for this [M014901]LocalPatientID. [M014901]LocalPatientID=<LocalPatientID>","Record in the MHS014eMED3FitNote table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D281)","v":0},"MHS014eMED3FitNote","MHS01402","Group rejected - More than one [MHS014]eMED3FitNote submitted for this [M014901]LocalPatientID + [M014010]FitNoteAssessmentDate combination. [M014901]LocalPatientID=<LocalPatientID> [M014010]FitNoteAssessmentDate=<FitNoteAssessmentDate>","More than one fit note has been issued for this LocalPatientID + FitNoteAssessmentDate combination. All duplicate records will be rejected with group-level rejection error.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D282)","v":0},"MHS014eMED3FitNote","MHS01405","Record rejected - [M014901]LocalPatientID is blank.","LocalPatientID is mandatory in the MHS014 table and should be alpha-numeric with a maximum length of 20 characters. It must match a LocalPatientId given in MHS001MPI. Otherwise the record will be rejected.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D283)","v":0},"MHS014eMED3FitNote","MHS01406","Record rejected - [M014901]LocalPatientID has an incorrect data format. [M014901]LocalPatientID=<LocalPatientID>","LocalPatientID is mandatory in the MHS014 table and should be alpha-numeric with a maximum length of 20 characters. It must match a LocalPatientId given in MHS001MPI. Otherwise the record will be rejected.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D284)","v":0},"MHS014eMED3FitNote","MHS01407","Record rejected - [M014010]FitNoteAssessmentDate has an incorrect data format. [M014901]LocalPatientID=<LocalPatientID> [M014010]FitNoteAssessmentDate=<FitNoteAssessmentDate>","An eMED3 Fit Note Assessment Date is the date on which a PATIENT was assessed as requiring an eMED3 Fit Note.\n\nThe Fit Note Assessment Date should be a valid date and in the reporting period.\n\nThe data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D285)","v":0},"MHS014eMED3FitNote","MHS01408","Record rejected - [M014010]FitNoteAssessmentDate is before the  [M000050]ReportingPeriodStartDate.  [M014010]FitNoteAssessmentDate=<FitNoteAssessmentDate> [M014901]LocalPatientID=<LocalPatientID> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","An eMED3 Fit Note Assessment Date is the date on which a PATIENT was assessed as requiring an eMED3 Fit Note.\n\nThe Fit Note Assessment Date should be in the reporting period.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D286)","v":0},"MHS014eMED3FitNote","MHS01409","Record rejected - [M014010]FitNoteAssessmentDate is after the [M000060]ReportingPeriodEndDate. [M014901]LocalPatientID=<LocalPatientID> [M014010]FitNoteAssessmentDate=<FitNoteAssessmentDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","An eMED3 Fit Note Assessment Date is the date on which a PATIENT was assessed as requiring an eMED3 Fit Note.\n\nThe Fit Note Assessment Date should be in the reporting period.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D287)","v":0},"MHS014eMED3FitNote","MHS01410","Record rejected - [M014020]FitNoteCond has an incorrect data format. [M014901]LocalPatientID=<LocalPatientID> [M014020]FitNoteCond=<FitNoteCond>","The SNOMED CT concept ID which is used to describe the reason that a CARE PROFESSIONAL issued an eMED3 Fit Note for a PATIENT.\n\nThe FitNoteCond should be a valid SNOMED code that is between 6 and 18 characters long.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D288)","v":0},"MHS014eMED3FitNote","MHS01411","Record rejected - [M014020]FitNoteCond has failed SNOMED CT checks. [M014901]LocalPatientID=<LocalPatientID> [M014020]FitNoteCond=<FitNoteCond>","The SNOMED CT concept ID which is used to describe the reason that a CARE PROFESSIONAL issued an eMED3 Fit Note for a PATIENT.\n\nThe FitNoteCond should be a valid SNOMED code that is between 6 and 18 characters long.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D289)","v":0},"MHS014eMED3FitNote","MHS01412","Record rejected - [M014030]FitNoteDiagnosis has an incorrect data format. [M014901]LocalPatientID=<LocalPatientID> [M014030]FitNoteDiagnosis=<FitNoteDiagnosis>","EMED3 FIT NOTE DIAGNOSIS (ICD) is the International Classification of Diseases (ICD) code used to describe the reason that a CARE PROFESSIONAL issued an eMED3 Fit Note for a PATIENT.\n\nFitNoteDiagnosis should be a valid ICD10 code between 4 and 6 characters long.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D290)","v":0},"MHS014eMED3FitNote","MHS01413","Record rejected - [M014040]FitNoteStartDate has an incorrect data format. [M014901]LocalPatientID=<LocalPatientID> [M014040]FitNoteStartDate=<FitNoteStartDate>","EMED3 FIT NOTE START DATE is the date that the eMED3 Fit Note Applicable Period commenced.\n\nThe data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D291)","v":0},"MHS014eMED3FitNote","MHS01414","Record rejected - [M014040]FitNoteStartDate is before the [M000050]ReportingPeriodStartDate. [M014901]LocalPatientID=<LocalPatientID> [M014040]FitNoteStartDate=<FitNoteStartDate> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","EMED3 FIT NOTE START DATE is the date that the eMED3 Fit Note Applicable Period commenced.\n\nThe FitNoteStartDate should be a valid date and in the reporting period.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D292)","v":0},"MHS014eMED3FitNote","MHS01415","Record rejected - [M014040]FitNoteStartDate is after the [M000060]ReportingPeriodEndDate. [M014040]FitNoteStartDate=<FitNoteStartDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","EMED3 FIT NOTE START DATE is the date that the eMED3 Fit Note Applicable Period commenced.\n\nThe FitNoteStartDate should be a valid date and in the reporting period.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D293)","v":0},"MHS014eMED3FitNote","MHS01416","Record rejected - [M014050]FitNoteEndDate has an incorrect data format. [M014901]LocalPatientID=<LocalPatientID> [M014050]FitNoteEndDate=<FitNoteEndDate>","EMED3 FIT NOTE END DATE is the date that the eMED3 Fit Note Applicable Period ended.\n\nThe data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D294)","v":0},"MHS014eMED3FitNote","MHS01417","Record rejected - [M014050]FitNoteEndDate is after the [M000060]ReportingPeriodEndDate. [M014901]LocalPatientID=<LocalPatientID> [M014050]FitNoteEndDate=<FitNoteEndDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","EMED3 FIT NOTE END DATE is the date that the eMED3 Fit Note Applicable Period ended.\n\nThe FitNoteEndDate should be a valid date and in the reporting period..","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D295)","v":0},"MHS014eMED3FitNote","MHS01418","Record rejected - [M014060]FitNoteDuration has an incorrect data format. [M014901]LocalPatientID=<LocalPatientID> [M014060]FitNoteDuration=<FitNoteDuration>","EMED3 FIT NOTE DURATION is the number of days duration of an eMED3 Fit Note Applicable Period.\n\nFitNoteDuration should be alpha-numeric and max 3 characters long.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D296)","v":0},"MHS014eMED3FitNote","MHS01419","Record rejected - [M014070]FitNoteRecordedDate has an incorrect data format. [M014901]LocalPatientID=<LocalPatientID> [M014070]FitNoteRecordedDate=<FitNoteRecordedDate>","An eMED3 Fit Note Recorded Date is the date on which a record of an eMED3 Fit Note issued to a PATIENT was recorded on the Health Care Provider's ELECTRONIC HEALTH RECORD.\n\nThe data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D297)","v":0},"MHS014eMED3FitNote","MHS01420","Record rejected - [M014080]FitNoteFollowUpIndicator has an incorrect data format. [M014901]LocalPatientID=<LocalPatientID> [M014080]FitNoteFollowUpIndicator=<FitNoteFollowUpIndicator>","An indication of whether a follow up CARE CONTACT is required at the end of the eMED3 Fit Note Applicable Period.\n\nThe FitNoteFollowUpIndicator should contain a valid value from the Technical Output Specification.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D298)","v":0},"MHS014eMED3FitNote","MHS01421","Record rejected - [M014090]FitNoteIssuer has an incorrect data format. [M014901]LocalPatientID=<LocalPatientID> [M014090]FitNoteIssuer=<FitNoteIssuer>","The type of CARE PROFESSIONAL responsible for issuing the eMED3 Fit Note.\n\nThe FitNoteIssuer should contain a valid value from the Technical Output Specification.","MHS014","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D299)","v":0},"MHS014eMED3FitNote","MHS01422","Warning - [M014080]FitNoteFollowUpIndicator contains an invalid national code. [M014901]LocalPatientID=<LocalPatientID> [M014080]FitNoteFollowUpIndicator=<FitNoteFollowUpIndicator>","An indication of whether a follow up CARE CONTACT is required at the end of the eMED3 Fit Note Applicable Period.\n\nThe FitNoteFollowUpIndicator should contain a valid value from the Technical Output Specification.","MHS014","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D300)","v":0},"MHS014eMED3FitNote","MHS01423","Warning - [M014090]FitNoteIssuer contains an invalid national code. [M014901]LocalPatientID=<LocalPatientID> [M014090]FitNoteIssuer=<FitNoteIssuer>","The type of CARE PROFESSIONAL responsible for issuing the eMED3 Fit Note.\n\nThe FitNoteIssuer should contain a valid value from the Technical Output Specification.","MHS014","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D301)","v":0},"MHS014eMED3FitNote","MHS01424","Record rejected - [M014070]FitNoteRecordedDate is before the [M000050]ReportingPeriodStartDate. [M014901]LocalPatientID=<LocalPatientID> [M014070]FitNoteRecordedDate=<FitNoteRecordedDate> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","An eMED3 Fit Note Recorded Date is the date on which a record of an eMED3 Fit Note issued to a PATIENT was recorded on the Health Care Provider's ELECTRONIC HEALTH RECORD.\n\nFitNoteRecordedDate should be a valid date and in the reporting period.","MHS014","Rejection"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D302)","v":0},"MHS014eMED3FitNote","MHS01425","Record rejected - [M014070]FitNoteRecordedDate is is after the [M000060]ReportingPeriodEndDate. [M014901]LocalPatientID=<LocalPatientID> [M014070]FitNoteRecordedDate=<FitNoteRecordedDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","An eMED3 Fit Note Recorded Date is the date on which a record of an eMED3 Fit Note issued to a PATIENT was recorded on the Health Care Provider's ELECTRONIC HEALTH RECORD.\n\nFitNoteRecordedDate should be a valid date and in the reporting period.","MHS014","Rejection"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D303)","v":0},"MHS014eMED3FitNote","MHS01426","Record rejected - [M014040]FitNoteStartDate is after the [M014050]FitNoteEndDate. [M014901]LocalPatientID=<LocalPatientID> [M014040]FitNoteStartDate=<FitNoteStartDate> [M014050]FitNoteEndDate=<FitNoteEndDate>","EMED3 FIT NOTE START DATE is the date that the eMED3 Fit Note Applicable Period commenced.\n\nThe FitNoteStartDate should be a valid date, in the reporting period and before or equal to the FitNoteEndDate.","MHS014","Rejection"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D304)","v":0},"MHS101ServiceorTeamReferral","MHS10101","Group rejected - No valid [MHS001]MPI submitted for this [M101901]LocalPatientID. [M101901]LocalPatientID=<LocalPatientID>","Record in the MHS101Referral table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D305)","v":0},"MHS101ServiceorTeamReferral","MHS10103","Group rejected - More than one [MHS101]Referral submitted for this [M101902]ServiceRequestID. [M101902]ServiceRequestID=<ServiceRequestID>","Duplicate records have been submitted using the same ServiceRequestId. All duplicate records will be rejected with group-level rejection error.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D306)","v":0},"MHS101Referral","MHS10104","Record rejected - [M101902]ServiceRequestID is blank. [M101901]LocalPatientID=<LocalPatientID>","The ServiceRequestId is a mandatory field so cannot be left blank. The ServiceRequestId is used to uniquely identify the referral and provides a means for linking each referral with additional data associated directly with that referral.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D307)","v":0},"MHS101Referral","MHS10105","Record rejected - [M101902]ServiceRequestID has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID>","This is the ServiceRequestId field and can accept up to 20 characters.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D308)","v":0},"MHS101Referral","MHS10106","Record rejected - [M101901]LocalPatientID is blank. [M101902]ServiceRequestID=<ServiceRequestID>","The LocalPatientId field is a mandatory field so cannot be left blank. It must match a LocalPatientId given in MHS001MPI.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D309)","v":0},"MHS101Referral","MHS10107","Record rejected - [M101901]LocalPatientID has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID>","The LocalPatientId field can accept up to 20 characters. It must match a LocalPatientId given in MHS001MPI.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D310)","v":0},"MHS101Referral","MHS10108","Record rejected - [M101922]OrgIDComm is blank. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID>","The OrgIDComm field is a mandatory field so cannot be left blank. This field is expecting to be populated with the Organisation Identifier (ODS code) of the Organisation commissioning health care. A list of live organisations and their ODS codes (including GPs, CCGs, healthcare providers, schools etc) are available to download from the file downloads page: https://digital.nhs.uk/services/organisation-data-service/file-downloads. Alternatively, you can search for the organisation on the ODS portal: https://odsportal.digital.nhs.uk/.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D311)","v":0},"MHS101Referral","MHS10109","Record rejected - [M101922]OrgIDComm has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101922]OrgIDComm=<OrgIDComm>","The OrgIDComm field is expecting a format of min an3 max an5. A list of live Clinical Commissioning Groups and their codes are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads/other-nhs-Organisations. Alternatively, you can search for the Clinical Commissioning Group on the ODS portal: https://odsportal.digital.nhs.uk/.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D312)","v":0},"MHS101Referral","MHS10110","Warning - [M101922]OrgIDComm is not for a current live organisation in national tables. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101922]OrgIDComm=<OrgIDComm>","This is the OrgIDComm field. The ODS code provided is not recognised as being live. A list of live Organisations and their ODS codes (including GPs, CCGs, healthcare providers, schools etc) are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads. Alternatively, you can search for the Organisation on the ODS portal: https://odsportal.digital.nhs.uk/. Make sure that the Organisation is listed on the ODS portal or in the list of national codes provided on the file downloads pages and check that the Organisation has not closed.","MHS101","Warning","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D313)","v":0},"MHS101Referral","MHS10111","Record rejected - [M101010]ReferralRequestReceivedDate is blank. [M101902]ServiceRequestID=<ServiceRequestID>","The ReferralRequestReceivedDate field is a mandatory field so cannot be left blank. This is the date the referral request was received by your organisation. It can be before the ReportingPeriodStartDate if the referral is still open. It cannot be after the ReportingPeriodEndDate.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D314)","v":0},"MHS101Referral","MHS10112","Record rejected - [M101010]ReferralRequestReceivedDate has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101010]ReferralRequestReceivedDate=<ReferralRequestReceivedDate>","This is the ReferralRequestReceivedDate field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D315)","v":0},"MHS101Referral","MHS10113","Record rejected - [M101010]ReferralRequestReceivedDate is after the [M000060]ReportingPeriodEndDate. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101010]ReferralRequestReceivedDate=<ReferralRequestReceivedDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the ReferralRequestReceivedDate field. Only referrals that are open during the reporting period should be submitted (including those that closed during the reporting period). This means that the ReferralRequestReceivedDate should not be after the ReportingPeriodEndDate.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D316)","v":0},"MHS101Referral","MHS10115","Record rejected - [M101020]ReferralRequestReceivedTime has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101020]ReferralRequestReceivedTime=<ReferralRequestReceivedTime>","This is the ReferralRequestReceivedTime field. The format this is expecting is an8 (HH:MM:SS).","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D317)","v":0},"MHS101Referral","MHS10116","Record rejected - [M101907]NHSServAgreeLineID has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101907]NHSServAgreeLineID=<NHSServAgreeLineID>","This is the NHSServAgreeLineNum field. This field is expecting a format of max an10.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D318)","v":0},"MHS101Referral","MHS10117","Record rejected - [M101030]SourceOfReferralMH has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101030]SourceOfReferralMH=<SourceOfReferralMH>","This is the SourceOfReferralMH field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D319)","v":0},"MHS101Referral","MHS10118","Warning - [M101030]SourceOfReferralMH contains an invalid national code value. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101030]SourceOfReferralMH=<SourceOfReferralMH>","This is the SourceOfReferralMH field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS101","Warning","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D320)","v":0},"MHS101Referral","MHS10119","Record rejected - [M101180]OrgIDReferringOrg has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101180]OrgIDReferringOrg=<OrgIDReferringOrg>","This is the OrgIDReferringOrg field and is the the Organisation Identifier (ODS code) of the Organisation from which the referral is made, such as a GP Practice, NHS Trust or NHS Foundation Trust. The expected format is min an3 max an6. You can search for the ODS code on the ODS portal: https://odsportal.digital.nhs.uk/.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D321)","v":0},"MHS101Referral","MHS10120","Warning - [M101180]OrgIDReferringOrg is not for a current live organisation in national tables. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101180]OrgIDReferringOrg=<OrgIDReferringOrg>","This is the OrgIDReferringOrg field. The ODS code provided is not recognised as being live. A list of live Organisations and their ODS codes (including GPs, CCGs, healthcare providers, schools etc) are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads. Alternatively, you can search for the Organisation on the ODS portal: https://odsportal.digital.nhs.uk/. Make sure that the Organisation is listed on the ODS portal or in the list of national codes provided on the file downloads pages and check that the Organisation has not closed.","MHS101","Warning","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D322)","v":0},"MHS101Referral","MHS10121","Record rejected - [M101050]ReferringCareProfessionalType has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101050]ReferringCareProfessionalType=<ReferringCareProfessionalType>","This is the ReferringCareProfessionalType field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.",{"$f":"LEFT(D322,6)","v":"MHS101"},{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E322)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E322)),\"Warning\",\"\"))","v":"Rejection"},"N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D323)","v":0},"MHS101Referral","MHS10122","Warning - [M101050]ReferringCareProfessionalType contains an invalid national code value. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101050]ReferringCareProfessionalType=<ReferringCareProfessionalType>","This is the ReferringCareProfessionalType. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS101","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D324)","v":0},"MHS101Referral","MHS10123","Record rejected - [M101070]ClinRespPriorityType has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101070]ClinRespPriorityType=<ClinRespPriorityType>","This is the ClinRespPriorityType. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D325)","v":0},"MHS101Referral","MHS10124","Warning - [M101070]ClinRespPriorityType contains an invalid national code value. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101070]ClinRespPriorityType=<ClinRespPriorityType>","This is the ClinRespPriorityType. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS101","Warning","N/A",null,null,null,null,"CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D326)","v":0},"MHS101Referral","MHS10125","Record rejected - [M101080]PrimReasonReferralMH has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101080]PrimReasonReferralMH=<PrimReasonReferralMH>","This is the PrimReasonReferralMH. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D327)","v":0},"MHS101Referral","MHS10126","Warning - [M101080]PrimReasonReferralMH contains an invalid national code value. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101080]PrimReasonReferralMH=<PrimReasonReferralMH>","This is the PrimReasonReferralMH. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS101","Warning","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D328)","v":0},"MHS101Referral","MHS10127","Record rejected - [M101090]ServDischDate has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101090]ServDischDate=<ServDischDate>","This is the ServDischDate field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D329)","v":0},"MHS101Referral","MHS10128","Record rejected - [M101090]ServDischDate is before the associated [M101010]ReferralRequestReceivedDate. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101090]ServDischDate=<ServDischDate> [M101010]ReferralRequestReceivedDate=<ReferralRequestReceivedDate>","This is the ServDischDate field. ServDischDate is the date a patient was discharged from a service. Therefore the ServDischDate cannot be before the date that the referral was received (ReferralRequestReceivedDate).","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D330)","v":0},"MHS101Referral","MHS10129","Record rejected - [M101090]ServDischDate is before the [M000050]ReportingPeriodStartDate. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101090]ServDischDate=<ServDischDate> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","This is the ServDischDate field. ServDischDate is the date a patient was discharged from a service. Only referrals that are open during the reporting period should be submitted (including those that closed during the reporting period). This means that the ServDischDate should not be before the ReportingPeriodStartDate.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D331)","v":0},"MHS101Referral","MHS10130","Warning - [M101090]ServDischDate is after the [M000060]ReportingPeriodEndDate plus 24 hours. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101090]ServDischDate=<ServDischDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the ServDischDate field. ServDischDate is the date a patient was discharged from a service. Only activity that took place during the reporting period should be submitted. This means that the ServDischDate should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS101","Warning","N/A",null,null,null,"EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D332)","v":0},"MHS101Referral","MHS10131","Record rejected - [M101090]ServDischDate is after the [M000070]DateTimeDatSetCreate. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101090]ServDischDate=<ServDischDate> [M000070]DateTimeDatSetCreate=<DateTimeDatSetCreate>","This is the ServDischDate field. ServDischDate is the date a patient was discharged from a service. Only activity that took place during the reporting period should be submitted. This means that the ServDischDate should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate. The DateTimeDatSetCreate field is expecting to be populated with the date that the database was created (may be today's date) and should be after the ReportingPeriodEndDate. ","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D333)","v":0},"MHS101Referral","MHS10134","Record rejected - [M101140]ReasonOAT has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101140]ReasonOAT=<ReasonOAT>","This is the ReasonOAT field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D334)","v":0},"MHS101Referral","MHS10135","Warning - [M101140]ReasonOAT contains an invalid national code value. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101140]ReasonOAT=<ReasonOAT>","This is the ReasonOAT field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS101","Warning","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D335)","v":0},"MHS101Referral","MHS10136","Record rejected - [M101120]DischPlanCreationDate has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101120]DischPlanCreationDate=<DischPlanCreationDate>","This is the DischPlanCreationDate field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D336)","v":0},"MHS101Referral","MHS10137","Record rejected - [M101120]DischPlanCreationDate is before the associated [M101010]ReferralRequestReceivedDate. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101120]DischPlanCreationDate=<DischPlanCreationDate> [M101010]ReferralRequestReceivedDate=<ReferralRequestReceivedDate>","This is the DischPlanCreationDate field and is expecting the date that a Discharge Plan was created for a patient. The DischPlanCreationDate cannot be before the ReferralRequestReceivedDate (the date that the referral was received).","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D337)","v":0},"MHS101Referral","MHS10138","Record rejected - [M101120]DischPlanCreationDate is after the [M000060]ReportingPeriodEndDate. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101120]DischPlanCreationDate=<DischPlanCreationDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the DischPlanCreationDate field. Only activity that took place during the reporting period should be submitted. This means that the DischPlanCreationDate date should not be after the ReportingPeriodEndDate.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D338)","v":0},"MHS101Referral","MHS10139","Record rejected - [M101130]DischPlanLastUpdatedDate has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101130]DischPlanLastUpdatedDate=<DischPlanLastUpdatedDate>","This is the DischPlanLastUpdatedDate field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D339)","v":0},"MHS101Referral","MHS10140","Record rejected - [M101130]DischPlanLastUpdatedDate is before the associated [M101120]DischargePlanCreationDate. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101130]DischPlanLastUpdatedDate=<DischPlanLastUpdatedDate> [M101120]DischPlanCreationDate=<DischPlanCreationDate>","This is the DischPlanLastUpdatedDate field. The date that the Discharge Plan was last updated for a patient. Where the Discharge Plan has not otherwise been updated this will be the same as the DischPlanCreationDate. The DischPlanLastUpdatedDate cannot be before the DischPlanCreationDate.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D340)","v":0},"MHS101Referral","MHS10141","Record rejected - [M101130]DischPlanLastUpdatedDate is after the [M000060]ReportingPeriodEndDate. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101130]DischPlanLastUpdatedDate=<DischPlanLastUpdatedDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the DischPlanLastUpdatedDate field. Only activity that took place during the reporting period should be submitted. This means that the DischPlanLastUpdatedDate date should not be after the ReportingPeriodEndDate.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D341)","v":0},"MHS101Referral","MHS10142","Record rejected - [M101110]ServDischTime has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101110]ServDischTime=<ServDischTime>","This is the ServDischTime field. The format this is expecting is an8 (HH:MM:SS).","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D342)","v":0},"MHS101Referral","MHS10144","Record rejected - [M101913]DischPlanCreationTime has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101913]DischPlanCreationTime=<DischPlanCreationTime>","This is the DischPlanCreationTime field. The format this is expecting is an8 (HH:MM:SS).","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D343)","v":0},"MHS101Referral","MHS10145","Record rejected - [M101200]DischPlanLastUpdatedTime has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101200]DischPlanLastUpdatedTime=<DischPlanLastUpdatedTime>","This is the DischPlanLastUpdatedTime field. The format this is expecting is an8 (HH:MM:SS).","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D344)","v":0},"MHS101Referral","MHS10146","Record rejected - [M101190]SpecialisedMHServiceCode has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101190]SpecialisedMHServiceCode=<SpecialisedMHServiceCode>","This is the SpecialisedMHServiceCode field. It is expecting a format of max an50.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D345)","v":0},"MHS101Referral","MHS10149","Record rejected - [M101150]DecisionToTreatDate has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101150]DecisionToTreatDate=<DecisionToTreatDate>","If Decision To Treat Date (Mental Health Home Treatment) is after the end of the reporting period, the record will be rejected.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D346)","v":0},"MHS101Referral","MHS10150","Record rejected - [M101150]DecisionToTreatDate is after the [M000060]ReportingPeriodEndDate. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101150]DecisionToTreatDate=<DecisionToTreatDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Decision To Treat Date (Mental Health Home Treatment) is after the end of the reporting period, the record will be rejected.","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D347)","v":0},"MHS101Referral","MHS10151","Record rejected - [M101160]DecisionToTreatTime has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101160]DecisionToTreatTime=<DecisionToTreatTime>","The time that it was first identified that the patient needs mental health treatment, but the formal service request has not yet been created. However, the patient may be formally under the care of the Home Treatment Service. This applies to home treatments. ","MHS101","Rejection","N/A","CYP Access","OAPs","IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D348)","v":0},"MHS101Referral","MHS10152","Warning - [M101190]SpecialisedMHServiceCode contains an invalid national code value. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101190]SpecialisedMHServiceCode=<SpecialisedMHServiceCode>","The category of the specialised Mental Health Service provided in a SERVICE PROVIDED UNDER AGREEMENT.  The SPECIALISED MENTAL HEALTH SERVICE CATEGORY CODE National Codes are published by NHS England and can be accessed at Specialised Services Reporting Requirements.","MHS101","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D349)","v":0},"MHS101Referral","MHS10153","Record rejected - [M101930]CareProfTeamLocalID is blank. [M101902]ServiceRequestID=<ServiceRequestID>",null,"MHS101","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D350)","v":0},"MHS101Referral","MHS10154","Record rejected - [M101930]CareProfTeamLocalID has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101930]CareProfTeamLocalID=<CareProfTeamLocalID>",null,"MHS101","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D351)","v":0},"MHS101Referral","MHS10157","Record rejected - [M101210]ReferRejectionDate has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101210]ReferRejectionDate=<ReferRejectionDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>",null,"MHS101","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D352)","v":0},"MHS101Referral","MHS10158","Warning - [M101210]ReferRejectionDate is after the [M000060]ReportingPeriodEndDate. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101210]ReferRejectionDate=<ReferRejectionDate> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>",null,"MHS101","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D353)","v":0},"MHS101Referral","MHS10159","Record rejected - [M101210]ReferRejectionDate is before the [M000050]ReportingPeriodStartDate. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101210]ReferRejectionDate=<ReferRejectionDate> [M000070]DateTimeDatSetCreate=<DateTimeDatSetCreate>",null,"MHS101","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D354)","v":0},"MHS101Referral","MHS10160","Record rejected - [M101210]ReferRejectionDate is after the [M000070]DateTimeDatSetCreate. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101210]ReferRejectionDate=<ReferRejectionDate> [M101010]ReferralRequestReceivedDate=<ReferralRequestReceivedDate>",null,"MHS101","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D355)","v":0},"MHS101Referral","MHS10161","Record rejected - [M101210]ReferRejectionDate is before the [M101010]ReferralRequestReceivedDate. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101210]ReferRejectionDate=<ReferRejectionDate>",null,"MHS101","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D356)","v":0},"MHS101Referral","MHS10162","Record rejected - [M101220]ReferRejectionTime has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101220]ReferRejectionTime=<ReferRejectionTime>",null,"MHS101","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D357)","v":0},"MHS101Referral","MHS10163","Record rejected - [M101230]ReferRejectReason has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> ReferRejectReason=<ReferRejectReason>",null,"MHS101","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D358)","v":0},"MHS101Referral","MHS10164","Warning - [M101230]ReferRejectReason contains an invalid national code value. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101240]ReferClosReason=<ReferClosReason>ReferRejectReason=<ReferRejectReason>",null,"MHS101","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D359)","v":0},"MHS101Referral","MHS10165","Record rejected - [M101240]ReferClosReason has an incorrect data format. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101240]ReferClosReason=<ReferClosReason>",null,"MHS101","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D360)","v":0},"MHS101Referral","MHS10166","Warning - [M101240]ReferClosReason contains an invalid national code value. [M101902]ServiceRequestID=<ServiceRequestID> [M101901]LocalPatientID=<LocalPatientID> [M101240]ReferClosReason=<ReferClosReason>",null,"MHS101","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D361)","v":0},"MHS102ServiceTypeReferredTo","MHS10201","Record rejected - Care Professional Team Local Identifier has incorrect data format.","A unique local CARE PROFESSIONAL TEAM IDENTIFIER within a Health Care Provider which may be assigned automatically by the computer system.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D362)","v":0},"MHS102ServiceTypeReferredTo","MHS10202","Record rejected - [M102902]ServiceRequestID is blank.","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D363)","v":0},"MHS102ServiceTypeReferredTo","MHS10203","Record rejected - [M102902]ServiceRequestID has an incorrect data format. [M102902]ServiceRequestID=<ServiceRequestID>","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D364)","v":0},"MHS102ServiceTypeReferredTo","MHS10204","Record rejected - Service or Team Type Referred to (Mental Health) is blank.","The type of service or team within a Mental Health Service that a patient was referred to","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D365)","v":0},"MHS102ServiceTypeReferredTo","MHS10205","Record rejected - Service or Team Type Referred to (Mental Health) has incorrect data format.","The type of service or team within a Mental Health Service that a patient was referred to","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D366)","v":0},"MHS102ServiceTypeReferredTo","MHS10206","Warning - Service or Team Type Referred to (Mental Health) contains an invalid Service or Team Type Referred to (Mental Health).","The type of service or team within a Mental Health Service that a patient was referred to","MHS102","Warning","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D367)","v":0},"MHS102ServiceTypeReferredTo","MHS10212","Record rejected - [M102040]ReferClosureDate has an incorrect data format. [M102902]ServiceRequestID=<ServiceRequestID> [M102040]ReferClosureDate=<ReferClosureDate>","If REFERRAL CLOSURE DATE is populated and is before the start of the reporting period, the record will be rejected.  If REFERRAL CLOSURE DATE is populated and is after the File Creation Date, the record will be rejected.  If REFERRAL CLOSURE DATE is populated and is after the end of the reporting period, a warning will be reported.  If Service Discharge Date in MHS101 is populated, the REFERRAL CLOSURE DATE should be less than or equal to the Service Discharge Date or the record will be rejected.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D368)","v":0},"MHS102ServiceTypeReferredTo","MHS10213","Record rejected - [M102040]ReferClosureDate is before the [M000050]ReportingPeriodStartDate. [M102902]ServiceRequestID=<ServiceRequestID> [M102040]ReferClosureDate=<ReferClosureDate> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","If REFERRAL CLOSURE DATE is populated and is before the start of the reporting period, the record will be rejected.  If REFERRAL CLOSURE DATE is populated and is after the File Creation Date, the record will be rejected.  If REFERRAL CLOSURE DATE is populated and is after the end of the reporting period, a warning will be reported.  If Service Discharge Date in MHS101 is populated, the REFERRAL CLOSURE DATE should be less than or equal to the Service Discharge Date or the record will be rejected.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D369)","v":0},"MHS102ServiceTypeReferredTo","MHS10214","Record rejected - [M102040]ReferClosureDate is after the [M000070]DateTimeDatSetCreate. [M102902]ServiceRequestID=<ServiceRequestID> [M102040]ReferClosureDate=<ReferClosureDate> [M000070]DateTimeDatSetCreate=<DateTimeDatSetCreate>","If REFERRAL CLOSURE DATE is populated and is before the start of the reporting period, the record will be rejected.  If REFERRAL CLOSURE DATE is populated and is after the File Creation Date, the record will be rejected.  If REFERRAL CLOSURE DATE is populated and is after the end of the reporting period, a warning will be reported.  If Service Discharge Date in MHS101 is populated, the REFERRAL CLOSURE DATE should be less than or equal to the Service Discharge Date or the record will be rejected.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D370)","v":0},"MHS102ServiceTypeReferredTo","MHS10215","Warning - [M102040]ReferClosureDate is after the [M000060]ReportingPeriodEndDate. [M102902]ServiceRequestID=<ServiceRequestID> [M102040]ReferClosureDate=<ReferClosureDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If REFERRAL CLOSURE DATE is populated and is before the start of the reporting period, the record will be rejected.  If REFERRAL CLOSURE DATE is populated and is after the File Creation Date, the record will be rejected.  If REFERRAL CLOSURE DATE is populated and is after the end of the reporting period, a warning will be reported.  If Service Discharge Date in MHS101 is populated, the REFERRAL CLOSURE DATE should be less than or equal to the Service Discharge Date or the record will be rejected.","MHS102","Warning","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D371)","v":0},"MHS102ServiceTypeReferredTo","MHS10216","Record rejected - [M102040]ReferClosureDate is after the [M101090]ServDischDate. [M102902]ServiceRequestID=<ServiceRequestID> [M102040]ReferClosureDate=<ReferClosureDate> [M101090]ServDischDate=<ServDischDate>","If REFERRAL CLOSURE DATE is populated and is before the start of the reporting period, the record will be rejected.  If REFERRAL CLOSURE DATE is populated and is after the File Creation Date, the record will be rejected.  If REFERRAL CLOSURE DATE is populated and is after the end of the reporting period, a warning will be reported.  If Service Discharge Date in MHS101 is populated, the REFERRAL CLOSURE DATE should be less than or equal to the Service Discharge Date or the record will be rejected.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D372)","v":0},"MHS102ServiceTypeReferredTo","MHS10217","Record rejected - [M102050]ReferRejectionDate has an incorrect data format. [M102902]ServiceRequestID=<ServiceRequestID> [M102050]ReferRejectionDate=<ReferRejectionDate>","If REFERRAL REJECTION DATE is populated and is before the start of the reporting period, the record will be rejected.  If REFERRAL REJECTION DATE is populated and is after the Date and Time Data Set Created, the record will be rejected.  If REFERRAL REJECTION DATE is populated and is after the end of the reporting period, a warning will be reported.  If Service Discharge Date in MHS101 is populated, the REFERRAL REJECTION DATE should be less than or equal to the Service Discharge Date or the record will be rejected.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D373)","v":0},"MHS102ServiceTypeReferredTo","MHS10218","Record rejected - [M102050]ReferRejectionDate is before the [M000050]ReportingPeriodStartDate. [M102902]ServiceRequestID=<ServiceRequestID> [M102050]ReferRejectionDate=<ReferRejectionDate> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","If REFERRAL REJECTION DATE is populated and is before the start of the reporting period, the record will be rejected.  If REFERRAL REJECTION DATE is populated and is after the Date and Time Data Set Created, the record will be rejected.  If REFERRAL REJECTION DATE is populated and is after the end of the reporting period, a warning will be reported.  If Service Discharge Date in MHS101 is populated, the REFERRAL REJECTION DATE should be less than or equal to the Service Discharge Date or the record will be rejected.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D374)","v":0},"MHS102ServiceTypeReferredTo","MHS10219","Record rejected - [M102050]ReferRejectionDate is after the [M000070]DateTimeDatSetCreate. [M102902]ServiceRequestID=<ServiceRequestID> [M102050]ReferRejectionDate=<ReferRejectionDate> [M000070]DateTimeDatSetCreate=<DateTimeDatSetCreate>","If REFERRAL REJECTION DATE is populated and is before the start of the reporting period, the record will be rejected.  If REFERRAL REJECTION DATE is populated and is after the Date and Time Data Set Created, the record will be rejected.  If REFERRAL REJECTION DATE is populated and is after the end of the reporting period, a warning will be reported.  If Service Discharge Date in MHS101 is populated, the REFERRAL REJECTION DATE should be less than or equal to the Service Discharge Date or the record will be rejected.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D375)","v":0},"MHS102ServiceTypeReferredTo","MHS10220","Warning - [M102050]ReferRejectionDate is after the [M000060]ReportingPeriodEndDate. [M102902]ServiceRequestID=<ServiceRequestID> [M102050]ReferRejectionDate=<ReferRejectionDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If REFERRAL REJECTION DATE is populated and is before the start of the reporting period, the record will be rejected.  If REFERRAL REJECTION DATE is populated and is after the Date and Time Data Set Created, the record will be rejected.  If REFERRAL REJECTION DATE is populated and is after the end of the reporting period, a warning will be reported.  If Service Discharge Date in MHS101 is populated, the REFERRAL REJECTION DATE should be less than or equal to the Service Discharge Date or the record will be rejected.","MHS102","Warning","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D376)","v":0},"MHS102ServiceTypeReferredTo","MHS10221","Record rejected - [M102050]ReferRejectionDate is after the [M101090]ServDischDate. [M102902]ServiceRequestID=<ServiceRequestID> [M102050]ReferRejectionDate=<ReferRejectionDate> [M101090]ServDischDate=<ServDischDate>","If REFERRAL REJECTION DATE is populated and is before the start of the reporting period, the record will be rejected.  If REFERRAL REJECTION DATE is populated and is after the Date and Time Data Set Created, the record will be rejected.  If REFERRAL REJECTION DATE is populated and is after the end of the reporting period, a warning will be reported.  If Service Discharge Date in MHS101 is populated, the REFERRAL REJECTION DATE should be less than or equal to the Service Discharge Date or the record will be rejected.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D377)","v":0},"MHS102ServiceTypeReferredTo","MHS10222","Record rejected - [M102060]ReferClosReason has an incorrect data format. [M102902]ServiceRequestID=<ServiceRequestID> [M102060]ReferClosReason=<ReferClosReason>","If Referral Closure Date is populated but Referral Closure Reason is blank, a warning will be generated.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D378)","v":0},"MHS102ServiceTypeReferredTo","MHS10223","Warning - [M102060]ReferClosReason contains an invalid national code value. [M102902]ServiceRequestID=<ServiceRequestID> [M102060]ReferClosReason=<ReferClosReason>","If Referral Closure Date is populated but Referral Closure Reason is blank, a warning will be generated.","MHS102","Warning","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D379)","v":0},"MHS102ServiceTypeReferredTo","MHS10224","Warning - [M102060]ReferClosReason is blank but [M102040]ReferClosureDate is populated. [M102902]ServiceRequestID=<ServiceRequestID> [M102060]ReferClosReason=<ReferClosReason> [M102040]ReferClosureDate=<ReferClosureDate>","If Referral Closure Date is populated but Referral Closure Reason is blank, a warning will be generated.","MHS102","Warning","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D380)","v":0},"MHS102ServiceTypeReferredTo","MHS10225","Record rejected - [M102070]ReferRejectReason has an incorrect data format. [M102902]ServiceRequestID=<ServiceRequestID> [M102070]ReferRejectReason=<ReferRejectReason>","If Referral Rejection Date is populated but Referral Rejection Reason is blank, a warning will be generated.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D381)","v":0},"MHS102ServiceTypeReferredTo","MHS10226","Warning - [M102070]ReferRejectReason contains an invalid national code value. [M102902]ServiceRequestID=<ServiceRequestID> [M102070]ReferRejectReason=<ReferRejectReason>","If Referral Rejection Date is populated but Referral Rejection Reason is blank, a warning will be generated.","MHS102","Warning","N/A",null,null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D382)","v":0},"MHS102ServiceTypeReferredTo","MHS10227","Warning - [M102070]ReferRejectReason is blank but  [M102050]ReferRejectionDate is populated. [M102902]ServiceRequestID=<ServiceRequestID> [M102070]ReferRejectReason=<ReferRejectReason> [M102050]ReferRejectionDate=<ReferRejectionDate>","If Referral Rejection Date is populated but Referral Rejection Reason is blank, a warning will be generated.","MHS102","Warning","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D383)","v":0},"MHS102ServiceorTeamTypeReferredTo","MHS10228","Group rejected - No valid [MHS101]Referral submitted for this [M102902]ServiceRequestID. [M102902]ServiceRequestID=<ServiceRequestID>","Record in the MHS102ServiceTypeReferredTo table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ServiceRequestId in the linked table (MHS101Referral).","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D384)","v":0},"MHS102ServiceorTeamTypeReferredTo","MHS10229","Group rejected - More than one [MHS102]OtherServiceType submitted for this [M102910]OtherCareProfTeamLocalID + [M102902]ServiceRequestID combination. [M102910]OtherCareProfTeamLocalID=<OtherCareProfTeamLocalID> [M102902]ServiceRequestID=<ServiceRequestID>","Duplicate records have been submitted with the same values in the following fields: CareProfTeamLocalId and ServiceRequestId. All duplicate records will be rejected with group-level rejection error.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D385)","v":0},"MHS102ServiceTypeReferredTo","MHS10230","Record rejected - [M102080]ReferClosureTime has an incorrect data format. [M102902]ServiceRequestID=<ServiceRequestID> [M102080]ReferClosureTime=<ReferClosureTime>","The time the Referral Request to a Health Care Provider's Service was closed by the Health Care Provider's Service. The overarching referral may remain open if another service or team involved in the same referral is still actively treating the patient.","MHS102","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D386)","v":0},"MHS102ServiceTypeReferredTo","MHS10231","Record rejected - [M102090]ReferRejectionTime has an incorrect data format. [M102902]ServiceRequestID=<ServiceRequestID> [M102090]ReferRejectionTime=<ReferRejectionTime>","The time the Referral Request to a Health Care Provider's Service was rejected by the Health Care Provider's Service. The overarching referral may remain open if another service or team involved in the same referral is still actively treating the patient.",{"$f":"LEFT(D386,6)","v":"MHS102"},{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E386)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E386)),\"Warning\",\"\"))","v":"Rejection"},"N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D387)","v":0},"MHS102OtherServiceType","MHS10232","Record rejected - [M102910]OtherCareProfTeamLocalID has an incorrect data format. [M102902]ServiceRequestID=<ServiceRequestID> [M102910]OtherCareProfTeamLocalID=<OtherCareProfTeamLocalID>",null,"MHS102","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D388)","v":0},"MHS102OtherServiceType","MHS10233","Record rejected - [M102910]OtherCareProfTeamLocalID is blank.",null,"MHS102","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D389)","v":0},"MHS103OtherReasonReferral","MHS10301","Record rejected - [M103902]ServiceRequestID is blank.","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS103","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D390)","v":0},"MHS103OtherReasonReferral","MHS10302","Record rejected - [M103902]ServiceRequestID has an incorrect data format. [M103902]ServiceRequestID=<ServiceRequestID>","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS103","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D391)","v":0},"MHS103OtherReasonReferral","MHS10303","Record rejected - [M103010]OtherReasonReferMH is blank. [M103902]ServiceRequestID=<ServiceRequestID>","The secondary presenting conditions or symptoms for which the patient was referred to a Mental Health Service.","MHS103","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D392)","v":0},"MHS103OtherReasonReferral","MHS10304","Record rejected - [M103010]OtherReasonReferMH has an incorrect data format. [M103902]ServiceRequestID=<ServiceRequestID> [M103010]OtherReasonReferMH=<OtherReasonReferMH>","The secondary presenting conditions or symptoms for which the patient was referred to a Mental Health Service.","MHS103","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D393)","v":0},"MHS103OtherReasonReferral","MHS10305","Warning - [M103010]OtherReasonReferMH contains an invalid national code value. [M103902]ServiceRequestID=<ServiceRequestID>","The secondary presenting conditions or symptoms for which the patient was referred to a Mental Health Service.","MHS103","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D394)","v":0},"MHS103OtherReasonforReferral","MHS10306","Group rejected - No valid [MHS101]Referral submitted for this [M103902]ServiceRequestID. [M103902]ServiceRequestID=<ServiceRequestID>","Record in the MHS103OtherReasonReferral table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ServiceRequestId in the linked table (MHS101Referral).","MHS103","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D395)","v":0},"MHS103OtherReasonforReferral","MHS10307","Group rejected - More than one [MHS103]OtherReasonReferral submitted for this [M103902]ServiceRequestID + [M103010]OtherReasonReferMH combination. [M103902]ServiceRequestID=<ServiceRequestID> [M103010]OtherReasonReferMH=<OtherReasonReferMH>","Duplicate records have been submitted with the same values in the following fields: ServiceRequestId and OtherReasonReferMH. All duplicate records will be rejected with group-level rejection error.","MHS103","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D396)","v":0},"MHS104RTT","MHS10401","Record rejected - [M104902]ServiceRequestID is blank.","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D397)","v":0},"MHS104RTT","MHS10402","Record rejected - [M104902]ServiceRequestID has an incorrect data format. [M104902]ServiceRequestID=<ServiceRequestID>","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D398)","v":0},"MHS104RTT","MHS10404","Record rejected - [M104020]PatPathID has an incorrect data format. [M104902]ServiceRequestID=<ServiceRequestID> [M104020]PatPathID=<PatPathID>","An identifier, which together with the ORGANISATION CODE of the issuer, uniquely identifies a PATIENT PATHWAY.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D399)","v":0},"MHS104RTT","MHS10407","Record rejected - [M104040]WaitTimeMeasureType has an incorrect data format. [M104902]ServiceRequestID=<ServiceRequestID> [M104040]WaitTimeMeasureType=<WaitTimeMeasureType>","The type of waiting time measurement methodology which may be applied during a PATIENT PATHWAY. The methodology applied may be for one part of a PATIENT PATHWAY, such as the measurement of a REFERRAL TO TREATMENT PERIOD, or other parts of the PATIENT PATHWAY according to Department of Health policy.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D400)","v":0},"MHS104RTT","MHS10408","Warning - [M104040]WaitTimeMeasureType contains an invalid national code value. [M104902]ServiceRequestID=<ServiceRequestID> [M104040]WaitTimeMeasureType=<WaitTimeMeasureType>","The type of waiting time measurement methodology which may be applied during a PATIENT PATHWAY. The methodology applied may be for one part of a PATIENT PATHWAY, such as the measurement of a REFERRAL TO TREATMENT PERIOD, or other parts of the PATIENT PATHWAY according to Department of Health policy.","MHS104","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D401)","v":0},"MHS104RTT","MHS10409","Record rejected - [M104050]ReferToTreatPeriodStartDate has an incorrect data format. [M104902]ServiceRequestID=<ServiceRequestID> [M104050]ReferToTreatPeriodStartDate=<ReferToTreatPeriodStartDate>","If Referral To Treatment Period Start Date is populated and is after the end of the reporting period, the record will be rejected.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D402)","v":0},"MHS104RTT","MHS10410","Record rejected - [M104050]ReferToTreatPeriodStartDate is after the [M000060]ReportingPeriodEndDate. [M104902]ServiceRequestID=<ServiceRequestID> [M104050]ReferToTreatPeriodStartDate=<ReferToTreatPeriodStartDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Referral To Treatment Period Start Date is populated and is after the end of the reporting period, the record will be rejected.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D403)","v":0},"MHS104RTT","MHS10411","Record rejected - [M104060]ReferToTreatPeriodEndDate has an incorrect data format. [M104902]ServiceRequestID=<ServiceRequestID> [M104060]ReferToTreatPeriodEndDate=<ReferToTreatPeriodEndDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D404)","v":0},"MHS104RTT","MHS10412","Record rejected - [M104060]ReferToTreatPeriodEndDate is before the [M000050]ReportingPeriodStartDate. [M104902]ServiceRequestID=<ServiceRequestID> [M104060]ReferToTreatPeriodEndDate=<ReferToTreatPeriodEndDate> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D405)","v":0},"MHS104RTT","MHS10413","Record rejected - [M104060]ReferToTreatPeriodEndDate is after the [M000060]ReportingPeriodEndDate. [M104902]ServiceRequestID=<ServiceRequestID> [M104060]ReferToTreatPeriodEndDate=<ReferToTreatPeriodEndDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D406)","v":0},"MHS104RTT","MHS10414","Record rejected - [M104060]ReferToTreatPeriodEndDate is before the associated [M104050]ReferToTreatPeriodStartDate. [M104902]ServiceRequestID=<ServiceRequestID> [M104060]ReferToTreatPeriodEndDate=<ReferToTreatPeriodEndDate> [M104050]ReferToTreatPeriodStartDate=<ReferToTreatPeriodStartDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D407)","v":0},"MHS104RTT","MHS10415","Record rejected - [M104070]ReferToTreatPeriodStatus has an incorrect data format. [M104902]ServiceRequestID=<ServiceRequestID> [M104070]ReferToTreatPeriodStatus=<ReferToTreatPeriodStatus>","The status of an ACTIVITY (or anticipated ACTIVITY) for the REFERRAL TO TREATMENT PERIOD decided by the lead CARE PROFESSIONAL.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D408)","v":0},"MHS104RTT","MHS10416","Warning - [M104070]ReferToTreatPeriodStatus contains an invalid national code value. [M104902]ServiceRequestID=<ServiceRequestID> [M104070]ReferToTreatPeriodStatus=<ReferToTreatPeriodStatus>","The status of an ACTIVITY (or anticipated ACTIVITY) for the REFERRAL TO TREATMENT PERIOD decided by the lead CARE PROFESSIONAL.","MHS104","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D409)","v":0},"MHS104ReferraltoTreatment(RTT)","MHS10417","Group rejected - No valid [MHS101]Referral submitted for this [M104902]ServiceRequestID. [M104902]ServiceRequestID=<ServiceRequestID>","Record in the MHS104RTT table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ServiceRequestId in the linked table (MHS101Referral).","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D410)","v":0},"MHS104ReferraltoTreatment(RTT)","MHS10418","Group rejected - More than one [MHS104]RTT submitted for this [M104902]ServiceRequestID + [M104050]ReferToTreatPeriodStartDate + [M104060]ReferToTreatPeriodEndDate + [M104070]ReferToTreatPeriodStatus combination. [M104902]ServiceRequestID=<ServiceRequestID> [M104050]ReferToTreatPeriodStartDate=<ReferToTreatPeriodStartDate> [M104060]ReferToTreatPeriodEndDate=<ReferToTreatPeriodEndDate> [M104070]ReferToTreatPeriodStatus=<ReferToTreatPeriodStatus>","Duplicate records have been submitted with the same values in the following fields: ServiceRequestId, ReferToTreatPeriodStartDate, ReferToTreatPeriodEndDate and ReferToTreatPeriodStatus. All duplicate records will be rejected with group-level rejection error.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D411)","v":0},"MHS104ReferraltoTreatment(RTT)","MHS10420","Group rejected - More than one [MHS104]RTT submitted for this [M104020]PatPathID. [M104020]PatPathID=<PatPathID>","Duplicate records have been submitted using the same PatPathId. All duplicate records will be rejected with group-level rejection error.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D412)","v":0},"MHS104RTT","MHS10421","Record rejected - [M104040]WaitTimeMeasureType is blank. [M104902]ServiceRequestID=<ServiceRequestID>","The type of waiting time measurement methodology which may be applied during a PATIENT PATHWAY. The methodology applied may be for one part of a PATIENT PATHWAY, such as the measurement of a REFERRAL TO TREATMENT PERIOD, or other parts of the PATIENT PATHWAY according to Department of Health policy.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D413)","v":0},"MHS104RTT","MHS10422","Record rejected - [M104080]OrgIDPatPathIDIssuer has an incorrect data format. [M104902]ServiceRequestID=<ServiceRequestID> [M104080]OrgIDPatPathIDIssuer=<OrgIDPatPathIDIssuer>","If Organisation Identifier (Patient Pathway Identifier Issuer) is not in national tables a warning will be output.","MHS104","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D414)","v":0},"MHS104RTT","MHS10423","Warning - [M104080]OrgIDPatPathIDIssuer is not for a current live organisation in national tables. [M104902]ServiceRequestID=<ServiceRequestID> [M104080]OrgIDPatPathIDIssuer=<OrgIDPatPathIDIssuer>","If Organisation Identifier (Patient Pathway Identifier Issuer) is not in national tables a warning will be output.","MHS104","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D415)","v":0},"MHS105OnwardReferral","MHS10501","Record rejected - [M105902]ServiceRequestID is blank.","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS105","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D416)","v":0},"MHS105OnwardReferral","MHS10502","Record rejected - [M105902]ServiceRequestID has an incorrect data format. [M105902]ServiceRequestID=<ServiceRequestID>","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS105","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D417)","v":0},"MHS105OnwardReferral","MHS10503","Record rejected - [M105010]OnwardReferDate is blank. [M105902]ServiceRequestID=<ServiceRequestID>","If ONWARD REFERRAL DATE is not within the reporting period, the record will be rejected.","MHS105","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D418)","v":0},"MHS105OnwardReferral","MHS10504","Record rejected - [M105010]OnwardReferDate has an incorrect data format. [M105902]ServiceRequestID=<ServiceRequestID> [M105010]OnwardReferDate=<OnwardReferDate>","If ONWARD REFERRAL DATE is not within the reporting period, the record will be rejected.","MHS105","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D419)","v":0},"MHS105OnwardReferral","MHS10505","Record rejected - Onward Referral Date is outside of the reporting period.","If ONWARD REFERRAL DATE is not within the reporting period, the record will be rejected.","MHS105","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D420)","v":0},"MHS105OnwardReferral","MHS10506","Record rejected - [M105020]OnwardReferReason has an incorrect data format. [M105902]ServiceRequestID=<ServiceRequestID> [M105020]OnwardReferReason=<OnwardReferReason>","The reason why the PATIENT was referred to another service, which may be in the same or a different organisation.","MHS105","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D421)","v":0},"MHS105OnwardReferral","MHS10507","Warning - [M105020]OnwardReferReason contains an invalid national code value. [M105902]ServiceRequestID=<ServiceRequestID> [M105020]OnwardReferReason=<OnwardReferReason>","The reason why the PATIENT was referred to another service, which may be in the same or a different organisation.","MHS105","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D422)","v":0},"MHS105OnwardReferral","MHS10510","Group rejected - No valid [MHS101]Referral submitted for this [M105902]ServiceRequestID. [M105902]ServiceRequestID=<ServiceRequestID>","Record in the MHS105OnwardReferral table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ServiceRequestId in the linked table (MHS101Referral).","MHS105","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D423)","v":0},"MHS105OnwardReferral","MHS10511","Record rejected - [M105070]DecisionToReferDate has an incorrect data format. [M105902]ServiceRequestID=<ServiceRequestID> [M105070]DecisionToReferDate=<DecisionToReferDate>","If Decision to Refer Date (Onward Referral) is after the Onward Referral Date, the record will be rejected.","MHS105","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D424)","v":0},"MHS105OnwardReferral","MHS10512","Record Rejected - [M105070]DecisionToReferDate is after the [M105010]OnwardReferDate. [M105902]ServiceRequestID=<ServiceRequestID> [M105070]DecisionToReferDate=<DecisionToReferDate> [M105010]OnwardReferDate=<OnwardReferDate>","If Decision to Refer Date (Onward Referral) is after the Onward Referral Date, the record will be rejected.","MHS105","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D425)","v":0},"MHS105OnwardReferral","MHS10513","Record Rejected - [M105080]DecisionToReferTime has an incorrect data format. [M105902]ServiceRequestID=<ServiceRequestID> [M105080]DecisionToReferTime=<DecisionToReferTime>","DECISION TO REFER TIME (ONWARD REFERRAL) is the TIME on which a decision was made to refer the PATIENT from one SERVICE to another SERVICE, which may be in the same or a different ORGANISATION.","MHS105","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D426)","v":0},"MHS105OnwardReferral","MHS10514","Record Rejected - [M105060]OnwardReferTime has an incorrect data format. [M105902]ServiceRequestID=<ServiceRequestID> [M105060]OnwardReferTime=<OnwardReferTime>","The time the patient was referred to another service, which may be in the same or a different organisation.","MHS105","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D427)","v":0},"MHS105OnwardReferral","MHS10515","Record rejected - [M105050]OATReason has an incorrect data format. [M105902]ServiceRequestID=<ServiceRequestID> [M105050]OATReason=<OATReason>","The reason that a patient with assessed acute mental health needs requiring adult mental health acute inpatient care is being referred to a unit that does not form part of the organisation's usual local network of services, where the patient's Mental Health Care Coordinator cannot visit the patient as often as stated in the Organisation's policy.","MHS105","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D428)","v":0},"MHS105OnwardReferral","MHS10516","Warning - [M105050]OATReason contains an invalid national code value. [M105902]ServiceRequestID=<ServiceRequestID> [M105050]OATReason=<OATReason>","The reason that a patient with assessed acute mental health needs requiring adult mental health acute inpatient care is being referred to a unit that does not form part of the organisation's usual local network of services, where the patient's Mental Health Care Coordinator cannot visit the patient as often as stated in the Organisation's policy.","MHS105","Warning","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D429)","v":0},"MHS105OnwardReferral","MHS10518","Record rejected - [M105090]OrgIDReceiving has an incorrect data format. [M105902]ServiceRequestID=<ServiceRequestID> [M105090]OrgIDReceiving=<OrgIDReceiving>","If Organisation Identifier (Receiving) is not in national tables, a warning will be output.","MHS105","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D430)","v":0},"MHS105OnwardReferral","MHS10519","Warning - [M105090]OrgIDReceiving is not for a current live organisation in national tables. [M105902]ServiceRequestID=<ServiceRequestID> [M105090]OrgIDReceiving=<OrgIDReceiving>","If Organisation Identifier (Receiving) is not in national tables, a warning will be output.","MHS105","Warning","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D431)","v":0},"MHS105OnwardReferral","MHS10520","Record rejected - [M105100]ReferralProc has failed SNOMED CT checks. [M105902]ServiceRequestID=<ServiceRequestID> [M105100]ReferralProc=<ReferralProc>","The SNOMED CT EXPRESSION which is used to identify a procedure plus the status of the procedure.  Allows a specific purpose for the onward referral to be attributed.","MHS105","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D432)","v":0},"MHS105OnwardReferral","MHS10521","Record rejected - [M105010]OnwardReferDate is before the [M000050]ReportingPeriodStartDate. [M105902]ServiceRequestID=<ServiceRequestID> [M105010]OnwardReferDate=<OnwardReferDate> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>",null,"MHS105","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D433)","v":0},"MHS105OnwardReferral","MHS10522","Record rejected - [M105010]OnwardReferDate is after the [M000060]ReportingPeriodEndDate. [M105902]ServiceRequestID=<ServiceRequestID> [M105010]OnwardReferDate=<OnwardReferDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>",null,"MHS105","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D434)","v":0},"MHS105OnwardReferral","MHS10523","Record rejected - [M105100]ReferralProc has an incorrect data format. [M105902]ServiceRequestID=<ServiceRequestID> [M105100]ReferralProc=<ReferralProc>",null,"MHS105","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D435)","v":0},"MHS106DischargePlanAgreement","MHS10601","Group rejected - No valid [MHS101]Referral submitted for this [M106902]ServiceRequestID. [M106902]ServiceRequestID=<ServiceRequestID>","Record in the MHS106DischargePlanAgreement table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ServiceRequestId in the linked table (MHS101Referral).","MHS106","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D436)","v":0},"MHS106DischargePlanAgreement","MHS10602","Record rejected - [M106902]ServiceRequestID is blank.","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS106","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D437)","v":0},"MHS106DischargePlanAgreement","MHS10603","Record rejected - [M106902]ServiceRequestID has an incorrect data format. [M106902]ServiceRequestID=<ServiceRequestID>","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS106","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D438)","v":0},"MHS106DischargePlanAgreement","MHS10605","Record rejected - [M106030]DischPlanContentAgreedBy has an incorrect data format. [M106902]ServiceRequestID=<ServiceRequestID> [M106030]DischPlanContentAgreedBy=<DischPlanContentAgreedBy>","The type of PERSON, SERVICE or ORGANISATION that agreed the content of the Discharge Plan for the PATIENT.","MHS106","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D439)","v":0},"MHS106DischargePlanAgreement","MHS10606","Record rejected - [M106040]DischPlanContentAgreedDate has an incorrect data format. [M106902]ServiceRequestID=<ServiceRequestID> [M106040]DischPlanContentAgreedDate=<DischPlanContentAgreedDate>","If Discharge Plan Content Agreed Date is after the end of the reporting period, the record will be rejected.  If Discharge Plan Content Agreed Date is before the Discharge Plan Creation Date, the record will be rejected.","MHS106","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D440)","v":0},"MHS106DischargePlanAgreement","MHS10607","Record rejected - [M106040]DischPlanContentAgreedDate is after the [M000060]ReportingPeriodEndDate. [M106902]ServiceRequestID=<ServiceRequestID> [M106040]DischPlanContentAgreedDate=<DischPlanContentAgreedDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Discharge Plan Content Agreed Date is after the end of the reporting period, the record will be rejected.  If Discharge Plan Content Agreed Date is before the Discharge Plan Creation Date, the record will be rejected.","MHS106","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D441)","v":0},"MHS106DischargePlanAgreement","MHS10608","Record rejected - [M106040]DischPlanContentAgreedDate is before the associated [M101120]DischPlanCreationDate. [M106902]ServiceRequestID=<ServiceRequestID> [M106040]DischPlanContentAgreedDate=<DischPlanContentAgreedDate> [M101120]DischPlanCreationDate=<DischPlanCreationDate>","If Discharge Plan Content Agreed Date is after the end of the reporting period, the record will be rejected.  If Discharge Plan Content Agreed Date is before the Discharge Plan Creation Date, the record will be rejected.","MHS106","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D442)","v":0},"MHS106DischargePlanAgreement","MHS10609","Warning - [M106030]DischPlanContentAgreedBy contains an invalid national code value. [M106902]ServiceRequestID=<ServiceRequestID> [M106030]DischPlanContentAgreedBy=<DischPlanContentAgreedBy>","The type of PERSON, SERVICE or ORGANISATION that agreed the content of the Discharge Plan for the PATIENT.","MHS106","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D443)","v":0},"MHS106DischargePlanAgreement","MHS10610","Record rejected - [M106950]DischPlanContentAgreedTime has an incorrect data format. [M106902]ServiceRequestID=<ServiceRequestID> [M106950]DischPlanContentAgreedTime=<DischPlanContentAgreedTime>","The time at which the content of the Discharge Plan was agreed by a PATIENT or Patient Proxy.","MHS106","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D444)","v":0},"MHS106DischargePlanAgreement","MHS10611","Record rejected - [M106030]DischPlanContentAgreedBy is blank. [M106902]ServiceRequestID=<ServiceRequestID>","The type of PERSON, SERVICE or ORGANISATION that agreed the content of the Discharge Plan for the PATIENT.","MHS106","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D445)","v":0},"MHS107MedicationPrescription","MHS10701","Group rejected - No valid MHS101 group transmitted for this Service Request Identifier.","This is currently a pilot table, any records submitted in this table will be rejected.","MHS107","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D446)","v":0},"MHS107MedicationPrescription","MHS10702","Record rejected - Service Request Identifier is blank.","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS107","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D447)","v":0},"MHS107MedicationPrescription","MHS10703","Record rejected - Service Request Identifier has incorrect data format.","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS107","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D448)","v":0},"MHS107MedicationPrescription","MHS10704","Record rejected - Prescription Identifier is blank.","The unique identifier of a PRESCRIPTION.","MHS107","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D449)","v":0},"MHS107MedicationPrescription","MHS10705","Record rejected - Prescription Identifier has incorrect data format.","The unique identifier of a PRESCRIPTION.","MHS107","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D450)","v":0},"MHS107MedicationPrescription","MHS10707","Record rejected - Prescription Date (Medication) has incorrect data format.","If Prescription Date (Medication) is after the end of the reporting period, the record will be rejected.",{"$f":"LEFT(D450,6)","v":"MHS107"},{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E450)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E450)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D451)","v":0},"MHS107MedicationPrescription","MHS10708","Record rejected - Prescription Date (Medication) is after the end date of the reporting period.","If Prescription Date (Medication) is after the end of the reporting period, the record will be rejected.","MHS107","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D452)","v":0},"MHS107MedicationPrescription","MHS10710","Record rejected - Prescription Time (Medication) has incorrect data format.","The time on which the PRESCRIPTION of Medication was signed by the CARE PROFESSIONAL.","MHS107","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D453)","v":0},"MHS107MedicationPrescription","MHS10711","Group Rejected - Table MHS107 is a pilot table.","This is currently a pilot table, any records submitted in this table will be rejected.","MHS107","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D454)","v":0},"MHS201CareContact","MHS20101","Record rejected - [M201903]CareContactID is blank.","The CareContactId field is a mandatory field so cannot be left blank. The CareContactId is used to uniquely identify the Care Contact within the Health Care Provider. The CareContactId provides a link between records in the MHS201CareContact table and associated Care Activity carried out during a Care Contact.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D455)","v":0},"MHS201CareContact","MHS20102","Record rejected - [M201903]CareContactID has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID>","This is the CareContactId field and can accept up to 20 characters.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D456)","v":0},"MHS201CareContact","MHS20103","Record rejected - [M201902]ServiceRequestID is blank. [M201903]CareContactID=<CareContactID>","The ServiceRequestId field is a mandatory field so cannot be left blank. It must match a ServiceRequestId given in MHS101Referral.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D457)","v":0},"MHS201CareContact","MHS20104","Record rejected - [M201902]ServiceRequestID has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID>","This is the ServiceRequestId field and can accept up to 20 characters. It must match a ServiceRequestId given in MHS101Referral.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D458)","v":0},"MHS201CareContact","MHS20105","Record rejected - CARE PROFESSIONAL TEAM LOCAL IDENTIFIER has incorrect data format.","This is the CareProfTeamLocalId field and is expecting a unique local care professional team identifier within a Health Care Provider which may be assigned automatically by the computer system. The format is max an20.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D459)","v":0},"MHS201CareContact","MHS20106","Record rejected - [M201010]CareContDate is blank. [M201903]CareContactID=<CareContactID>","The CareContDate field is a mandatory field so cannot be left blank. This field is expecting the date on which a Care Contact took place, or, if cancelled, was scheduled to take place.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D460)","v":0},"MHS201CareContact","MHS20107","Record rejected - [M201010]CareContDate has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201010]CareContDate=<CareContDate>","This is the CareContDate field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D461)","v":0},"MHS201CareContact","MHS20108","Record rejected - Care Contact Date is outside of the reporting period.","This is the CareContDate field. Only activity that took place during the reporting period should be submitted. This means that the CareContDate date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D462)","v":0},"MHS201CareContact","MHS20109","Record rejected - [M201020]CareContTime has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201020]CareContTime=<CareContTime>","This is the CareContTime field. The format this is expecting is an8 (HH:MM:SS).","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D463)","v":0},"MHS201CareContact","MHS20112","Record rejected - [M201030]AdminCatCode has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201030]AdminCatCode=<AdminCatCode>","This is the AdminCatCode field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D464)","v":0},"MHS201CareContact","MHS20113","Warning - [M201030]AdminCatCode contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201030]AdminCatCode=<AdminCatCode>","This is the AdminCatCode field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D465)","v":0},"MHS201CareContact","MHS20114","Record rejected - [M201040]ClinContDurOfCareCont has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201040]ClinContDurOfCareCont=<ClinContDurOfCareCont>","This is the ClinContDurOfCareCont field. It is expecting a format of max n4.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D466)","v":0},"MHS201CareContact","MHS20115","Record rejected - [M201050]ConsType has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201050]ConsType=<ConsType>","This is the ConsType field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D467)","v":0},"MHS201CareContact","MHS20116","Warning - [M201050]ConsType contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201050]ConsType=<ConsType>","This is the ConsType field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D468)","v":0},"MHS201CareContact","MHS20117","Record rejected - [M201060]CareContSubj has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201060]CareContSubj=<CareContSubj>","This is the CareContSubj field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D469)","v":0},"MHS201CareContact","MHS20118","Warning - [M201060]CareContSubj contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201060]CareContSubj=<CareContSubj>","This is the CareContSubj field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D470)","v":0},"MHS201CareContact","MHS20119","Record rejected - [M201220]ConsMechanismMH has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201220]ConsMechanismMH=<ConsMechanismMH>","This is the ConsMechanismMH field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D471)","v":0},"MHS201CareContact","MHS20120","Warning - [M201220]ConsMechanismMH contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201220]ConsMechanismMH=<ConsMechanismMH>","This is the ConsMechanismMH field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Warning","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D472)","v":0},"MHS201CareContact","MHS20121","Record rejected - [M201909]ActLocTypeCode has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201909]ActLocTypeCode=<ActLocTypeCode>","This is the ActLocTypeCode field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D473)","v":0},"MHS201CareContact","MHS20122","Severity 1 Warning - [M201909]ActLocTypeCode contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201909]ActLocTypeCode=<ActLocTypeCode>","This is the ActLocTypeCode field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D474)","v":0},"MHS201CareContact","MHS20125","Record rejected - [M201190]CareContPatientTherMode has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201190]CareContPatientTherMode=<CareContPatientTherMode>","This is the GroupTherapyInd field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D475)","v":0},"MHS201CareContact","MHS20126","Warning - [M201190]CareContPatientTherMode contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201190]CareContPatientTherMode=<CareContPatientTherMode>","This is the GroupTherapyInd field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D476)","v":0},"MHS201CareContact","MHS20127","Record rejected - [M201090]AttendStatus has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201090]AttendStatus=<AttendStatus>","This is the AttendOrDNACode field. This indicates whether or not an appointment for a care contact took place. If the appointment did not take place it also indicates whether or not advance warning was given. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D477)","v":0},"MHS201CareContact","MHS20128","Severity 1 Warning - [M201090]AttendStatus contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201090]AttendStatus=<AttendStatus>","This is the AttendOrDNACode field. This indicates whether or not an appointment for a care contact took place. If the appointment did not take place it also indicates whether or not advance warning was given. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Warning","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D478)","v":0},"MHS201CareContact","MHS20129","Record rejected - [M201100]EarliestReasonOfferDate has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201100]EarliestReasonOfferDate=<EarliestReasonOfferDate>","The EarliestReasonOfferDate field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D479)","v":0},"MHS201CareContact","MHS20131","Record rejected - [M201110]EarliestClinAppDate has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201110]EarliestClinAppDate=<EarliestClinAppDate>","The EarliestClinAppDate field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D480)","v":0},"MHS201CareContact","MHS20133","Record rejected - [M201120]CareContCancelDate has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201120]CareContCancelDate=<CareContCancelDate>","The CareContCancelDate field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D481)","v":0},"MHS201CareContact","MHS20135","Record rejected - [M201130]CareContCancelReas has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201130]CareContCancelReas=<CareContCancelReas>","The CareContCancelReas field is the reason that a Care Contact was cancelled. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D482)","v":0},"MHS201CareContact","MHS20136","Warning - [M201130]CareContCancelReas contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201130]CareContCancelReas=<CareContCancelReas>","The CareContCancelReas field is the reason that a Care Contact was cancelled. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D483)","v":0},"MHS201CareContact","MHS20137","Warning - [M201130]CareContCancelReas is blank, but [M201120]CareContCancelDate is populated. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201130]CareContCancelReas=<CareContCancelReas> [M201120]CareContCancelDate=<CareContCancelDate>","The CareContCancelReas field is the reason that a Care Contact was cancelled. If the CareContCancelDate field is populated, then a reason should be provided in CareContCancelReas using one of the set selection of codes, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D484)","v":0},"MHS201CareContact","MHS20141","Record rejected - [M201160]PlaceOfSafetyInd has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201160]PlaceOfSafetyInd=<PlaceOfSafetyInd>","This is the PlaceOfSafetyInd field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D485)","v":0},"MHS201CareContact","MHS20142","Group rejected - No valid [MHS101]Referral submitted for this [M201902]ServiceRequestID. [M201902]ServiceRequestID=<ServiceRequestID>","Record in the MHS201CareContact table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ServiceRequestId in the linked table (MHS101Referral).","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D486)","v":0},"MHS201CareContact","MHS20143","Group rejected - More than one [MHS201]CareContact submitted for this [M201903]CareContactID. [M201903]CareContactID=<CareContactID>","Duplicate records have been submitted using the same CareContactId. All duplicate records will be rejected with group-level rejection error.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D487)","v":0},"MHS201CareContact","MHS20144","Group rejected - No valid [MHS102]OtherServiceType submitted for this [M201930]OtherCareProfTeamLocalID. [M201930]OtherCareProfTeamLocalID=<OtherCareProfTeamLocalID>","Warning generated for MHS201CareContact record because there is no corresponding record in the MHS102ServiceTypeReferredTo table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS102ServiceTypeReferredTo) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareProfTeamLocalId in the linked table (MHS102ServiceTypeReferredTo).","MHS201","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D488)","v":0},"MHS201CareContact","MHS20145","Warning - [M201160]PlaceOfSafetyInd contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201160]PlaceOfSafetyInd=<PlaceOfSafetyInd>","This is the PlaceOfSafetyInd field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS201","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D489)","v":0},"MHS201CareContact","MHS20146","Record rejected - [M201922]OrgIDComm has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201922]OrgIDComm=<OrgIDComm>","The OrgIDComm field is expecting a format of min an3 max an5. A list of live Clinical Commissioning Groups and their codes are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads/other-nhs-Organisations. Alternatively, you can search for the Clinical Commissioning Group on the ODS portal: https://odsportal.digital.nhs.uk/.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D490)","v":0},"MHS201CareContact","MHS20147","Severity 1 Warning - [M201922]OrgIDComm is not for a current live organisation in national tables. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201922]OrgIDComm=<OrgIDComm>","This is the OrgIDComm field. The ODS code provided is not recognised as being live. A list of live Organisations and their ODS codes (including GPs, CCGs, healthcare providers, schools etc) are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads. Alternatively, you can search for the Organisation on the ODS portal: https://odsportal.digital.nhs.uk/. Make sure that the Organisation is listed on the ODS portal or in the list of national codes provided on the file downloads pages and check that the Organisation has not closed.","MHS201","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D491)","v":0},"MHS201CareContact","MHS20148","Record rejected - [M201921]SiteIDOfTreat has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201921]SiteIDOfTreat=<SiteIDOfTreat>","The SiteIDOfTreat field is expecting the Organisation Identifier (ODS code) of the Organisation Site where the Patient was treated. The format is min an5 max an9.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D492)","v":0},"MHS201CareContact","MHS20149","Severity 1 Warning - [M201921]SiteIDOfTreat contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201921]SiteIDOfTreat=<SiteIDOfTreat>","This is the SiteIDOfTreat field. The ODS code provided is not recognised as being live. A list of live Organisations and their ODS codes (including GPs, CCGs, healthcare providers, schools etc) are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads. Alternatively, you can search for the Organisation on the ODS portal: https://odsportal.digital.nhs.uk/. Make sure that the Organisation is listed on the ODS portal or in the list of national codes provided on the file downloads pages and check that the Organisation has not closed.","MHS201","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D493)","v":0},"MHS201CareContact","MHS20150","Record rejected - [M201170]SpecialisedMHServiceCode has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201170]SpecialisedMHServiceCode=<SpecialisedMHServiceCode>","This is the SpecialisedMHServiceCode field. It is expecting a format of max an50.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D494)","v":0},"MHS201CareContact","MHS20151","Record rejected - [M201180]PlannedCareContIndicator has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201180]PlannedCareContIndicator=<PlannedCareContIndicator>","An indication as to whether a Care Contact is a result of a Planned Appointment.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D495)","v":0},"MHS201CareContact","MHS20152","Warning - [M201180]PlannedCareContIndicator contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201180]PlannedCareContIndicator=<PlannedCareContIndicator>","An indication as to whether a Care Contact is a result of a Planned Appointment.","MHS201","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D496)","v":0},"MHS201CareContact","MHS20153","Record rejected - [M201200]ReasonableAdjustmentMade has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201200]ReasonableAdjustmentMade=<ReasonableAdjustmentMade>","Was a reasonable adjustment made for this patient?","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D497)","v":0},"MHS201CareContact","MHS20154","Warning - [M201200]ReasonableAdjustmentMade contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201200]ReasonableAdjustmentMade=<ReasonableAdjustmentMade>","Was a reasonable adjustment made for this patient?","MHS201","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D498)","v":0},"MHS201CareContact","MHS20155","Warning - [M201170]SpecialisedMHServiceCode contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201170]SpecialisedMHServiceCode=<SpecialisedMHServiceCode>","The category of the specialised Mental Health Service provided in a SERVICE PROVIDED UNDER AGREEMENT.  The SPECIALISED MENTAL HEALTH SERVICE CATEGORY CODE National Codes are published by NHS England and can be accessed at Specialised Services Reporting Requirements.","MHS201","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D499)","v":0},"MHS201CareContact","MHS20156","Record rejected - [M201210]ComPeriMHPartAssessOfferInd has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201210]ComPeriMHPartAssessOfferInd=<ComPeriMHPartAssessOfferInd>","An indication of whether a Community Perinatal Mental Health Partner Assessment has been offered to the partner of a PERSON in contact with a Specialist Perinatal Mental Health Community Service.","MHS201","Rejection","N/A","CYP Access",null,"IPS","EIP","CYPED"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D500)","v":0},"MHS201CareContact","MHS20157","Warning - [M201210]ComPeriMHPartAssessOfferInd contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201210]ComPeriMHPartAssessOfferInd=<ComPeriMHPartAssessOfferInd>","An indication of whether a Community Perinatal Mental Health Partner Assessment has been offered to the partner of a PERSON in contact with a Specialist Perinatal Mental Health Community Service.","MHS201","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D501)","v":0},"MHS201CareContact","MHS20158","Record rejected - [M201930]OtherCareProfTeamLocalID has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201930]OtherCareProfTeamLocalID=<OtherCareProfTeamLocalID>",null,"MHS201","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D502)","v":0},"MHS201CareContact","MHS20159","Record rejected - [M201925]LanguageCodeTreat has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201925]LanguageCodeTreat=<LanguageCodeTreat>",null,"MHS201","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D503)","v":0},"MHS201CareContact","MHS20160","Warning - [M201925]LanguageCodeTreat contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201925]LanguageCodeTreat=<LanguageCodeTreat>",null,"MHS201","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D504)","v":0},"MHS201CareContact","MHS20161","Record rejected - [M201927]InterpreterPresentInd has an incorrect data format. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201927]InterpreterPresentInd=<InterpreterPresentInd>",null,"MHS201","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D505)","v":0},"MHS201CareContact","MHS20162","Warning - [M201927]InterpreterPresentInd contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201927]InterpreterPresentInd=<InterpreterPresentInd>",null,"MHS201","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D506)","v":0},"MHS201CareContact","MHS20163","Record rejected - [M201225]ReasonPatientNoIMCA has an incorrect data format. [M201903]CareContactID=<CareContactID> [M202903]CareContactID=<CareContactID> [M201225]ReasonPatientNoIMCA=<ReasonPatientNoIMCA>",null,"MHS201","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D507)","v":0},"MHS201CareContact","MHS20164","Warning - [M201225]ReasonPatientNoIMCA contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M202903]CareContactID=<CareContactID> [M201225]ReasonPatientNoIMCA=<ReasonPatientNoIMCA>",null,"MHS201","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D508)","v":0},"MHS201CareContact","MHS20165","Record rejected - [M201230]ReasonPatientNoIMHA has an incorrect data format. [M201903]CareContactID=<CareContactID> [M202903]CareContactID=<CareContactID> [M201230]ReasonPatientNoIMHA=<ReasonPatientNoIMHA>",null,"MHS201","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D509)","v":0},"MHS201CareContact","MHS20166","Warning - [M201230]ReasonPatientNoIMHA contains an invalid national code value. [M201903]CareContactID=<CareContactID> [M202903]CareContactID=<CareContactID> [M201230]ReasonPatientNoIMHA=<ReasonPatientNoIMHA>",null,"MHS201","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D510)","v":0},"MHS201CareContact","MHS20167","Record rejected - [M201010]CareContDate is before the [M000050]ReportingPeriodStartDate. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201010]CareContDate=<CareContDate> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>",null,"MHS201","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D511)","v":0},"MHS201CareContact","MHS20168","Record rejected - [M201010]CareContDate is after the [M000060]ReportingPeriodEndDate. [M201903]CareContactID=<CareContactID> [M201902]ServiceRequestID=<ServiceRequestID> [M201010]CareContDate=<CareContDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>",null,"MHS201","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D512)","v":0},"MHS202CareActivity","MHS20201","Record rejected - [M202904]CareActID is blank. [M202903]CareContactID=<CareContactID>","The unique identifier for a CARE ACTIVITY.   It would normally be automatically generated by the local system upon recording a new activity, although could be manually assigned.","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D513)","v":0},"MHS202CareActivity","MHS20202","Record rejected - [M202904]CareActID has an incorrect data format. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID>","The unique identifier for a CARE ACTIVITY.   It would normally be automatically generated by the local system upon recording a new activity, although could be manually assigned.","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D514)","v":0},"MHS202CareActivity","MHS20203","Record rejected - [M202903]CareContactID is blank. [M202904]CareActID=<CareActID>","The CARE CONTACT IDENTIFIER is used to uniquely identify the CARE CONTACT within the Health Care Provider.  It would normally be automatically generated by the local system upon recording a new Care Contact, although could be manually assigned.",{"$f":"LEFT(D514,6)","v":"MHS202"},{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E514)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E514)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D515)","v":0},"MHS202CareActivity","MHS20204","Record rejected - [M202903]CareContactID has an incorrect data format. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID>","The CARE CONTACT IDENTIFIER is used to uniquely identify the CARE CONTACT within the Health Care Provider.  It would normally be automatically generated by the local system upon recording a new Care Contact, although could be manually assigned.","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D516)","v":0},"MHS202CareActivity","MHS20205","Record rejected - Care Professional local Identifier has incorrect data format.","A unique local CARE PROFESSIONAL IDENTIFIER within a Health Care Provider which may be assigned automatically by the computer system.   ","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D517)","v":0},"MHS202CareActivity","MHS20206","Record rejected - [M202020]ClinContactDurOfCareAct has an incorrect data format. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202020]ClinContactDurOfCareAct=<ClinContactDurOfCareAct>","The duration of a CARE ACTIVITY in minutes, excluding any administration time prior to or after the CARE ACTIVITY and the CARE PROFESSIONAL's travelling time to the LOCATION where the CARE ACTIVITY was provided.  This is calculated from the Start Time and End Time of the CARE ACTIVITY.","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D518)","v":0},"MHS202CareActivity","MHS20212","Record rejected - [M202050]FindSchemeInUse has an incorrect data format. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202050]FindSchemeInUse=<FindSchemeInUse>","If Coded Finding (Coded Clinical Entry) is populated,  Finding Scheme in Use must contain a valid value or the record will be rejected.","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D519)","v":0},"MHS202CareActivity","MHS20213","Warning - [M202050]FindSchemeInUse contains an invalid national code value. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202050]FindSchemeInUse=<FindSchemeInUse>","If Coded Finding (Coded Clinical Entry) is populated,  Finding Scheme in Use must contain a valid value or the record will be rejected.","MHS202","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D520)","v":0},"MHS202CareActivity","MHS20214","Record Rejected - [M202050]FindSchemeInUse does not contain a valid value but [M202060]Finding is populated. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202050]FindSchemeInUse=<FindSchemeInUse> [M202060]Finding=<Finding>","If Coded Finding (Coded Clinical Entry) is populated,  Finding Scheme in Use must contain a valid value or the record will be rejected.","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D521)","v":0},"MHS202CareActivity","MHS20215","Record rejected - [M202060]Finding has an incorrect data format. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202060]Finding=<Finding>","If Finding Scheme In Use is populated and Coded Finding (Coded Clinical Entry) is blank, then a warning will be generated.  If Coded Finding (Coded Clinical Entry) format does not match expected format from selected Finding Scheme in Use, the record will be rejected.","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D522)","v":0},"MHS202CareActivity","MHS20216","Warning - [M202060]Finding is populated but no valid [M202050]FindSchemeInUse has been provided. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202060]Finding=<Finding> [M202050]FindSchemeInUse=<FindSchemeInUse>","If Finding Scheme In Use is populated and Coded Finding (Coded Clinical Entry) is blank, then a warning will be generated.  If Coded Finding (Coded Clinical Entry) format does not match expected format from selected Finding Scheme in Use, the record will be rejected.","MHS202","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D523)","v":0},"MHS202CareActivity","MHS20220","Record rejected - [M202080]Observation has an incorrect data format. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202080]Observation=<Observation>","A unique identifier for an observation from a specific clinical terminology.","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D524)","v":0},"MHS202CareActivity","MHS20222","Record rejected - [M202090]ObsValue has an incorrect data format. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202090]ObsValue=<ObsValue>","The numeric value resulting from a clinical observation.","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D525)","v":0},"MHS202CareActivity","MHS20223","Record rejected - [M202100]UnitofMeasurement_UCUM has an incorrect data format. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202100]UnitofMeasurement_UCUM=<UnitofMeasurement_UCUM>","If Observation Value is populated and the UCUM Unit of Measurement is blank, a warning will be reported.","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D526)","v":0},"MHS202CareActivity","MHS20224","Group rejected - No valid [MHS201]CareContact submitted for this [M202903]CareContactID. [M202903]CareContactID=<CareContactID>","Record in the MHS202CareActivity table rejected because there is no corresponding record in the MHS201CareContact table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS201CareContact) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareContactId in the linked table (MHS201CareContact).","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D527)","v":0},"MHS202CareActivity","MHS20225","Group rejected - More than one [MHS202]CareActivity submitted for this [M202904]CareActID. [M202904]CareActID=<CareActID>","Duplicate records have been submitted using the same CareActivityId. All duplicate records will be rejected with group-level rejection error.","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D528)","v":0},"MHS202CareActivity","MHS20226","Warning - No valid MHS901 group transmitted for this Care Professional Local Identifier.","Warning generated for MHS202CareActivity record because there is no corresponding record in the MHS901StaffDetails table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS901StaffDetails) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareProfLocalId in the linked table (MHS901StaffDetails).","MHS202","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D529)","v":0},"MHS202CareActivity","MHS20227","Warning - [M202100]UnitofMeasurement_UCUM is blank but [M202090]ObsValue is populated. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202100]UnitofMeasurement_UCUM=<UnitofMeasurement_UCUM> [M202090]ObsValue=<ObsValue>","If Observation Value is populated and the UCUM Unit of Measurement is blank, a warning will be reported.","MHS202","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D530)","v":0},"MHS202CareActivity","MHS20228","Record rejected - [M202060]Finding is populated but the format does not match expected format from selected [M202050]FindSchemeInUse. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202060]Finding=<Finding> [M202050]FindSchemeInUse=<FindSchemeInUse>","If Finding Scheme In Use is populated and Coded Finding (Coded Clinical Entry) is blank, then a warning will be generated.  If Coded Finding (Coded Clinical Entry) format does not match expected format from selected Finding Scheme in Use, the record will be rejected.","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D531)","v":0},"MHS202CareActivity","MHS20229","Record rejected - [M202110]Procedure has an incorrect data format. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202110]Procedure=<Procedure>",null,"MHS202","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D532)","v":0},"MHS202CareActivity","MHS20230","Record rejected - [M202110]Procedure has failed SNOMED CT checks. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202110]Procedure=<Procedure>","The SNOMED CT EXPRESSION which is used to identify a procedure plus the status of the procedure.","MHS202","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D533)","v":0},"MHS202CareActivity","MHS20231","Record rejected - [M202080]Observation has failed SNOMED CT checks. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202080]Observation=<Observation>",null,"MHS202","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D534)","v":0},"MHS202CareActivity","MHS20232","Warning - [M202050]FindSchemeInUse does not contain a valid value but [M202060]Finding is populated. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202050]FindSchemeInUse=<FindSchemeInUse> [M202060]Finding=<Finding>",null,"MHS202","Warning"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D535)","v":0},"MHS202CareActivity","MHS20233","Warning - [M202060]Finding is blank but [M202050]FindSchemeInUse is populated. [M202904]CareActID=<CareActID> [M202903]CareContactID=<CareContactID> [M202060]Finding=<Finding> [M202050]FindSchemeInUse=<FindSchemeInUse>",null,"MHS202","Warning"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D536)","v":0},"MHS203OtherinAttendance","MHS20304","Group rejected - No valid [MHS201]CareContact submitted for this [M203903]CareContactID. [M203903]CareContactID=<CareContactID>","Record in the MHS203OtherAttend table rejected because there is no corresponding record in the MHS201CareContact table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS201CareContact) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareContactId in the linked table (MHS201CareContact).","MHS203",{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E536)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E536)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D537)","v":0},"MHS203OtherAttend","MHS20305","Record rejected - [M203903]CareContactID is blank.","The CARE CONTACT IDENTIFIER is used to uniquely identify the CARE CONTACT within the Health Care Provider.  It would normally be automatically generated by the local system upon recording a new Care Contact, although could be manually assigned.","MHS203","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D538)","v":0},"MHS203OtherAttend","MHS20306","Record rejected - [M203903]CareContactID has an incorrect data format. [M203903]CareContactID=<CareContactID>","The CARE CONTACT IDENTIFIER is used to uniquely identify the CARE CONTACT within the Health Care Provider.  It would normally be automatically generated by the local system upon recording a new Care Contact, although could be manually assigned.","MHS203","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D539)","v":0},"MHS203OtherAttend","MHS20307","Record rejected - [M203010]OtherPersonInAttend is blank. [M203903]CareContactID=<CareContactID>","The other PERSON in attendance, with the PATIENT, at the CARE CONTACT.","MHS203","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D540)","v":0},"MHS203OtherAttend","MHS20308","Record rejected - [M203010]OtherPersonInAttend has an incorrect data format. [M203903]CareContactID=<CareContactID> [M203010]OtherPersonInAttend=<OtherPersonInAttend>","The other PERSON in attendance, with the PATIENT, at the CARE CONTACT.","MHS203","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D541)","v":0},"MHS203OtherAttend","MHS20309","Warning - [M203010]OtherPersonInAttend contains an invalid national code value. [M203903]CareContactID=<CareContactID> [M203010]OtherPersonInAttend=<OtherPersonInAttend>","The other PERSON in attendance, with the PATIENT, at the CARE CONTACT.","MHS203","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D542)","v":0},"MHS203OtherAttend","MHS20311","Record rejected - Reason Patient Does Not Have Independent Mental Capacity Advocate has incorrect data format.","Reason the patient does not have an Independent Mental Capacity Advocate (IMCA)  This only needs to be captured for inpatients that are in scope of Transforming Care","MHS203","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D543)","v":0},"MHS203OtherAttend","MHS20312","Warning - Reason Patient Does Not Have Independent Mental Capacity Advocate contains an invalid Reason Patient Does Not Have Independent Mental Capacity Advocate.","Reason the patient does not have an Independent Mental Capacity Advocate (IMCA)  This only needs to be captured for inpatients that are in scope of Transforming Care","MHS203","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D544)","v":0},"MHS203OtherAttend","MHS20314","Record rejected - Reason Patient Does Not Have Independent Mental Health Advocate has incorrect data format.","Reason the patient does not have an Independent Mental Health Advocate (IMHA)  This only needs to be captured for inpatients that are in scope of Transforming Care","MHS203","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D545)","v":0},"MHS203OtherAttend","MHS20315","Warning - Reason Patient Does Not Have Independent Mental Health Advocate contains an invalid Reason Patient Does Not Have Independent Mental Health Advocate.","Reason the patient does not have an Independent Mental Health Advocate (IMHA)  This only needs to be captured for inpatients that are in scope of Transforming Care","MHS203","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D546)","v":0},"MHS204IndirectActivity","MHS20403","Group rejected - No valid [MHS101]Referral submitted for this [M204902]ServiceRequestID. [M204902]ServiceRequestID=<ServiceRequestID>","Record in the MHS204IndirectActivity table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ServiceRequestId in the linked table (MHS101Referral).","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D547)","v":0},"MHS204IndirectActivity","MHS20404","Record rejected - [M204902]ServiceRequestID is blank.","The ServiceRequestId field is a mandatory field so cannot be left blank. It must match a ServiceRequestId given in MHS101Referral.","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D548)","v":0},"MHS204IndirectActivity","MHS20405","Record rejected - [M204902]ServiceRequestID has an incorrect data format. [M204902]ServiceRequestID=<ServiceRequestID>","This is the ServiceRequestId field and can accept up to 20 characters. It must match a ServiceRequestId given in MHS101Referral.","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D549)","v":0},"MHS204IndirectActivity","MHS20406","Record rejected - Care Professional Team Local Identifier has incorrect data format.","A unique local CARE PROFESSIONAL TEAM IDENTIFIER within a Health Care Provider which may be assigned automatically by the computer system.","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D550)","v":0},"MHS204IndirectActivity","MHS20407","Record rejected - [M204010]IndirectActDate is blank. [M204902]ServiceRequestID=<ServiceRequestID>","The IndirectActDate field is a mandatory field so cannot be left blank. This field is expecting the date that the indirect activity took place.","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D551)","v":0},"MHS204IndirectActivity","MHS20408","Record rejected - [M204010]IndirectActDate has an incorrect data format. [M204902]ServiceRequestID=<ServiceRequestID> [M204010]IndirectActDate=<IndirectActDate>","This is the IndirectActDate field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D552)","v":0},"MHS204IndirectActivity","MHS20409","Record rejected - Indirect Activity Date is outside of the reporting period.","This is the IndirectActDate field. Only activity that took place during the reporting period should be submitted. This means that the IndirectActDate date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D553)","v":0},"MHS204IndirectActivity","MHS20410","Record rejected - [M204020]IndirectActTime has an incorrect data format. [M204902]ServiceRequestID=<ServiceRequestID> [M204020]IndirectActTime=<IndirectActTime>","The time that the indirect activity took place","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D554)","v":0},"MHS204IndirectActivity","MHS20411","Record rejected - [M204030]DurationIndirectAct has an incorrect data format. [M204902]ServiceRequestID=<ServiceRequestID> [M204030]DurationIndirectAct=<DurationIndirectAct>","The duration of the indirect activity in minutes, excluding any administration time prior to or after the indirect activity and the CARE PROFESSIONAL's travelling time to the LOCATION where the indirect activity was provided.","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D555)","v":0},"MHS204IndirectActivity","MHS20414","Record rejected - [M204908]CareProfLocalID has an incorrect data format. [M204902]ServiceRequestID=<ServiceRequestID> [M204908]CareProfLocalID=<CareProfLocalID>","A unique local CARE PROFESSIONAL IDENTIFIER within a Health Care Provider which may be assigned automatically by the computer system.   ","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D556)","v":0},"MHS204IndirectActivity","MHS20420","Group rejected - No valid [MHS102]OtherServiceType submitted for this [M204930]OtherCareProfTeamLocalID. [M204930]OtherCareProfTeamLocalID=<OtherCareProfTeamLocalID>","Warning generated for MHS204IndirectActivity record because there is no corresponding record in the MHS102ServiceTypeReferredTo table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS102ServiceTypeReferredTo) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareProfTeamLocalId in the linked table (MHS102ServiceTypeReferredTo).","MHS204","Rejection","N/A",null,null,"IPS","EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D557)","v":0},"MHS204IndirectActivity","MHS20421","Warning - No valid [MHS901]StaffDetails submitted for this [M204908]CareProfLocalID. [M204908]CareProfLocalID=<CareProfLocalID>","Warning generated for MHS204IndirectActivity record because there is no corresponding record in the MHS901StaffDetails table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS901StaffDetails) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareProfLocalId in the linked table (MHS901StaffDetails).","MHS204","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D558)","v":0},"MHS204IndirectActivity","MHS20423","Record rejected - [M204922]OrgIDComm has an incorrect data format. [M204902]ServiceRequestID=<ServiceRequestID> [M204922]OrgIDComm=<OrgIDComm>","If Organisation Identifier (Code of Commissioner) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D559)","v":0},"MHS204IndirectActivity","MHS20424","Warning - [M204922]OrgIDComm is not for a current live organisation in national tables. [M204902]ServiceRequestID=<ServiceRequestID> [M204922]OrgIDComm=<OrgIDComm>","If Organisation Identifier (Code of Commissioner) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS204","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D560)","v":0},"MHS204IndirectActivity","MHS20425","Record rejected - [M204080]FindSchemeInUse has an incorrect data format. [M204902]ServiceRequestID=<ServiceRequestID> [M204080]FindSchemeInUse=<FindSchemeInUse>","If Coded Finding (Coded Clinical Entry) is populated,  Finding Scheme in Use must contain a valid value or the record will be rejected.","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D561)","v":0},"MHS204IndirectActivity","MHS20426","Warning - [M204080]FindSchemeInUse contains an invalid national code value. [M204902]ServiceRequestID=<ServiceRequestID> [M204080]FindSchemeInUse=<FindSchemeInUse>","If Coded Finding (Coded Clinical Entry) is populated,  Finding Scheme in Use must contain a valid value or the record will be rejected.","MHS204","Warning","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D562)","v":0},"MHS204IndirectActivity","MHS20427","Record Rejected - [M204080]FindSchemeInUse is blank but [M204090]CodeFind is populated. [M204902]ServiceRequestID=<ServiceRequestID> [M204080]FindSchemeInUse=<FindSchemeInUse> [M204090]Finding=<Finding>","If Coded Finding (Coded Clinical Entry) is populated,  Finding Scheme in Use must contain a valid value or the record will be rejected.","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D563)","v":0},"MHS204IndirectActivity","MHS20428","Record rejected - [M204090]Finding has an incorrect data format. [M204902]ServiceRequestID=<ServiceRequestID> [M204090]Finding=<Finding>","If Finding Scheme In Use is populated and Coded Finding (Coded Clinical Entry) is blank, then a warning will be generated.  If Coded Finding (Coded Clinical Entry) format does not match expected format from selected Finding Scheme in Use, the record will be rejected.","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D564)","v":0},"MHS204IndirectActivity","MHS20429","Warning - [M204090]Finding is blank but [M204080]FindSchemeInUse is populated. [M204902]ServiceRequestID=<ServiceRequestID> [M204090]Finding=<Finding> [M204080]FindSchemeInUse=<FindSchemeInUse>","If Finding Scheme In Use is populated and Coded Finding (Coded Clinical Entry) is blank, then a warning will be generated.  If Coded Finding (Coded Clinical Entry) format does not match expected format from selected Finding Scheme in Use, the record will be rejected.","MHS204","Warning","N/A",null,null,null,"EIP"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D565)","v":0},"MHS204IndirectActivity","MHS20430","Record rejected - [M204090]Finding is populated but the format does not match the format selected in [M204080]FindSchemeInUse. [M204902]ServiceRequestID=<ServiceRequestID> [M204090]Finding=<Finding> [M204080]FindSchemeInUse=<FindSchemeInUse>","If Finding Scheme In Use is populated and Coded Finding (Coded Clinical Entry) is blank, then a warning will be generated.  If Coded Finding (Coded Clinical Entry) format does not match expected format from selected Finding Scheme in Use, the record will be rejected.","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D566)","v":0},"MHS204IndirectActivity","MHS20431","Record rejected - [M204100]IndActProcedure has failed SNOMED CT checks. [M204902]ServiceRequestID=<ServiceRequestID> [M204100]IndActProcedure=<IndActProcedure>","The SNOMED CT EXPRESSION which is used to identify a procedure plus the status of the procedure.  Allows the capture of indirect activity to be attributed.","MHS204","Rejection","N/A","CYP Access",null,"IPS"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D567)","v":0},"MHS204IndirectActivity","MHS20432","Record rejected - [M204012]IndActPersCons has an incorrect data format. [M204902]ServiceRequestID=<ServiceRequestID> [M204012]IndActPersCons=<IndActPersCons>",null,"MHS204","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D568)","v":0},"MHS204IndirectActivity","MHS20433","Record rejected - [M204930]OtherCareProfTeamLocalID has an incorrect data format. [M204902]ServiceRequestID=<ServiceRequestID> [M204930]OtherCareProfTeamLocalID=<OtherCareProfTeamLocalID>",null,"MHS204","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D569)","v":0},"MHS204IndirectActivity","MHS20434","Record rejected - [M204100]IndActProcedure has an incorrect data format. [M204902]ServiceRequestID=<ServiceRequestID> [M204100]IndActProcedure=<IndActProcedure>",null,"MHS204","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D570)","v":0},"MHS204IndirectActivity","MHS20435","Record rejected - [M204010]IndirectActDate is before the [M000050]ReportingPeriodStartDate. [M204902]ServiceRequestID=<ServiceRequestID> [M204010]IndirectActDate=<IndirectActDate> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>",null,"MHS204","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D571)","v":0},"MHS204IndirectActivity","MHS20436","Record rejected - [M204010]IndirectActDate is after the [M000060]ReportingPeriodEndDate. [M204902]ServiceRequestID=<ServiceRequestID> [M204010]IndirectActDate=<IndirectActDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>",null,"MHS204","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D572)","v":0},"MHS204IndirectActivity","MHS20437","Warning - [M204012]IndActPersCons contains an invalid national code value. [M204902]ServiceRequestID=<ServiceRequestID> [M204012]IndActPersCons=<IndActPersCons>",null,"MHS204","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D573)","v":0},"MHS205PatientSDDI","MHS20501","Group rejected - No valid [MHS101]Referral submitted for this [M205010]ServiceRequestID. [M205010]ServiceRequestID=<ServiceRequestID>","Record in the MHS205PatientSDDI table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ServiceReqestID in the linked table (MHS101Referral).","MHS205","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D574)","v":0},"MHS205PatientSDDI","MHS20502","Group rejected - More than one [MHS205]PatientSDDI submitted for this [M205010]ServiceRequestID + [M205030]StartDatePSDDI + [M205040]EndDatePSDDI + [M205060]PSDDIProcedure combination. [M205010]ServiceRequestID=<ServiceRequestID> [M205030]StartDatePSDDI=<StartDatePSDDI> [M205040]EndDatePSDDI=<EndDatePSDDI> [M205060]PSDDIProcedure=<PSDDIProcedure>",null,"MHS205","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D575)","v":0},"MHS205SDDigitalIntervention","MHS20505","Record rejected - [M205010]ServiceRequestID is blank.","The ServiceRequestId field is a mandatory field so cannot be left blank. It must match a ServiceRequestId given in MHS101Referral.","MHS205","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D576)","v":0},"MHS205SDDigitalIntervention","MHS20506","Record rejected - [M205010]ServiceRequestID has an incorrect data format. [M205010]ServiceRequestID=<ServiceRequestID> [M205010]ServiceRequestID=<ServiceRequestID>",null,"MHS205","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D577)","v":0},"MHS205PatientSDDI","MHS20507","Record rejected - [M205020]OrgIDPSDDIProvider is blank. [M205010]ServiceRequestID=<ServiceRequestID>","The ORGANISATION IDENTIFIER of the provider ORGANISATION of a Patient Self-Directed Digital Intervention.\n\nOrgIDPSDDIProvider is mandatory and must be alpha-numeric between 3 and 5 characters long. Otherwise the record will be rejected.","MHS205","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D578)","v":0},"MHS205PatientSDDI","MHS20508","Record rejected - [M205020]OrgIDPSDDIProvider has an incorrect data format. [M205010]ServiceRequestID=<ServiceRequestID> [M205020]OrgIDPSDDIProvider=<OrgIDPSDDIProvider>","The ORGANISATION IDENTIFIER of the provider ORGANISATION of a Patient Self-Directed Digital Intervention.\n\nOrgIDPSDDIProvider is mandatory and must be alpha-numeric between 3 and 5 characters long. Otherwise the record will be rejected.",{"$f":"LEFT(D578,6)","v":"MHS205"},"Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D579)","v":0},"MHS205PatientSDDI","MHS20509","Record rejected - [M205030]StartDatePSDDI is blank. [M205010]ServiceRequestID=<ServiceRequestID>","The Start Date of the Patient Self-Directed Digital Intervention, i.e. the date when the PATIENT is directed to and given access to the digital intervention.\n\nStartDatePSDDI is mandatory so must be valid and populated - otherwise the record will be rejected.\n\nThe data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS205","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D580)","v":0},"MHS205PatientSDDI","MHS20510","Record rejected - [M205030]StartDatePSDDI has an incorrect data format. [M205010]ServiceRequestID=<ServiceRequestID> [M205030]StartDatePSDDI=<StartDatePSDDI>","The Start Date of the Patient Self-Directed Digital Intervention, i.e. the date when the PATIENT is directed to and given access to the digital intervention.\n\nThe data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS205","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D581)","v":0},"MHS205PatientSDDI","MHS20511","Record rejected - [M205030]StartDatePSDDI is after the [M000060]ReportingPeriodEndDate. [M205010]ServiceRequestID=<ServiceRequestID> [M205030]StartDatePSDDI=<StartDatePSDDI> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","The Start Date of the Patient Self-Directed Digital Intervention, i.e. the date when the PATIENT is directed to and given access to the digital intervention.\n\nStartDatePSDDI must be before the end of the reporting period - otherwise the record will be rejected.","MHS205","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D582)","v":0},"MHS205PatientSDDI","MHS20512","Record rejected - [M205040]EndDatePSDDI has an incorrect data format. [M205010]ServiceRequestID=<ServiceRequestID> [M205040]EndDatePSDDI=<EndDatePSDDI>","The End Date of the Patient Self-Directed Digital Intervention, i.e. the date that the PATIENT stopped using the digital intervention.\n\nThe data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS205","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D583)","v":0},"MHS205PatientSDDI","MHS20513","Record rejected - [M205040]EndDatePSDDI is before the [M000050]ReportingPeriodStartDate. [M205010]ServiceRequestID=<ServiceRequestID> [M205040]EndDatePSDDI=<EndDatePSDDI> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","The End Date of the Patient Self-Directed Digital Intervention, i.e. the date that the PATIENT stopped using the digital intervention.\n\nIf the EndDatePSDDI is before the reporting period start date - then the record will be rejected.","MHS205","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D584)","v":0},"MHS205PatientSDDI","MHS20514","Record rejected - [M205040]EndDatePSDDI is before the associated [M205030]StartDateSDDI. [M205010]ServiceRequestID=<ServiceRequestID> [M205040]EndDatePSDDI=<EndDatePSDDI> [M205030]StartDatePSDDI=<StartDatePSDDI>","The End Date of the Patient Self-Directed Digital Intervention, i.e. the date that the PATIENT stopped using the digital intervention.\n\nIf the EndDatePSDDI is before the SateDatePSDDI - then the record will be rejected.","MHS205","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D585)","v":0},"MHS205PatientSDDI","MHS20515","Record rejected - [M205050]PSDDIMech has an incorrect data format. [M205010]ServiceRequestID=<ServiceRequestID> [M205050]PSDDIMech=<PSDDIMech>","he primary mechanism of delivery of the Patient Self-Directed Digital Intervention.\n\nThis is the primary mechanism of delivery of therapy or assessment through an internet or digital based programme, which is accessed by the patient in their own time.\n\nPSDDIMech should contain a valid value from the Technical Output Specification.","MHS205","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D586)","v":0},"MHS205PatientSDDI","MHS20516","Warning - [M205050]PSDDIMech contains an invalid national code value. [M205010]ServiceRequestID=<ServiceRequestID> [M205050]PSDDIMech=<PSDDIMech>","he primary mechanism of delivery of the Patient Self-Directed Digital Intervention.\n\nThis is the primary mechanism of delivery of therapy or assessment through an internet or digital based programme, which is accessed by the patient in their own time.\n\nPSDDIMech should contain a valid value from the Technical Output Specification.","MHS205","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D587)","v":0},"MHS205PatientSDDI","MHS20517","Record rejected - [M205060]PSDDIProcedure has an incorrect data format. [M205010]ServiceRequestID=<ServiceRequestID> [M205060]PSDDIProcedure=<PSDDIProcedure>","A structured combination of one or more SNOMED CT concept identifiers which are used to describe a Patient Procedure for a Self-Directed Digital Intervention\n\nPSDDIProcedure should contain a valid SNOMED code.","MHS205","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D588)","v":0},"MHS205PatientSDDI","MHS20518","Record rejected - [M205060]PSDDIProcedure has failed SNOMED CT checks. [M205010]ServiceRequestID=<ServiceRequestID> [M205060]PSDDIProcedure=<PSDDIProcedure>","A structured combination of one or more SNOMED CT concept identifiers which are used to describe a Patient Procedure for a Self-Directed Digital Intervention\n\nPSDDIProcedure should contain a valid SNOMED code.","MHS205","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D589)","v":0},"MHS206StaffActivity","MHS20601","Group rejected - No valid [MHS202]CareActivity submitted for this [M206010]CareActID. [M206010]CareActID=<CareActID>","Record in the MHS206StaffActivity table rejected because there is no corresponding record in the MHS202CareActivity table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS202CareActivity) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareActID in the linked table (MHS202CareActivity).","MHS206","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D590)","v":0},"MHS206StaffActivity","MHS20602","Warning - No valid [MHS901]StaffDetails submitted for this [M206020]CareProfLocalID. [M206020]CareProfLocalID=<CareProfLocalID>","Record in the MHS206StaffActivity table rejected because there is no corresponding record in the MHS901StaffDetails table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS901StaffDetails) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareProfLocalID in the linked table (MHS901StaffDetails).","MHS206","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D591)","v":0},"MHS206StaffActivity","MHS20605","Record rejected - [M206010]CareActID is blank.","The CareActId field is a mandatory field so cannot be left blank. It must match a CareActId given in MHS202CareActivity.","MHS206","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D592)","v":0},"MHS206StaffActivity","MHS20606","Record rejected - [M206010]CareActID has an incorrect data format. [M206010]CareActID=<CareActID>","This is the CareActId field and can accept up to 20 characters. It must match a CareActId given in MHS202CareActivity.","MHS206","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D593)","v":0},"MHS206StaffActivity","MHS20607","Record rejected - [M206020]CareProfLocalID is blank. [M206010]CareActID=<CareActID>","A unique local CARE PROFESSIONAL IDENTIFIER within a Health Care Provider which may be assigned automatically by the computer system.\n\nCARE PROFESSIONAL LOCAL IDENTIFIER is a unique local CARE PROFESSIONAL IDENTIFIER within a Health Care Provider and may be assigned automatically by the computer system.\n\nCareProfLocalID is mandatory in the MHS206 table - therefore if it blank the record will be rejected.\n","MHS206","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D594)","v":0},"MHS206StaffActivity","MHS20608","Record rejected - [M206020]CareProfLocalID has an incorrect data format. [M206010]CareActID=<CareActID> [M206020]CareProfLocalID=<CareProfLocalID>","A unique local CARE PROFESSIONAL IDENTIFIER within a Health Care Provider which may be assigned automatically by the computer system.\n\nCARE PROFESSIONAL LOCAL IDENTIFIER is a unique local CARE PROFESSIONAL IDENTIFIER within a Health Care Provider and may be assigned automatically by the computer system.\n\nCareProfLocalID should be alpha-numeric and have a length of max 20 characters.\n","MHS206","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D595)","v":0},"MHS206StaffActivity","MHS20609","Group rejected - More than one [MHS206]StaffActivity submitted for this [M206010]CareActID + [M206020]CareProfLocalID combination. [M206010]CareActID=<CareActID> [M206020]CareProfLocalID=<CareProfLocalID>","This record was rejected because the same CareProfLocalID was used more than once for the same care activity. Each care professional only needs to be recorded once for each care activity.","MHS206","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D596)","v":0},"MHS301GroupSession","MHS30101","Record rejected - [M301010]GroupSessID is blank.","The GROUP SESSION IDENTIFIER  is used to uniquely identify the GROUP SESSION within the Health Care Provider.  It would normally be automatically generated by the local system upon recording a new Group Session, although could be manually assigned.","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D597)","v":0},"MHS301GroupSession","MHS30102","Record rejected - [M301010]GroupSessID has an incorrect data format. [M301010]GroupSessID=<GroupSessID>","The GROUP SESSION IDENTIFIER  is used to uniquely identify the GROUP SESSION within the Health Care Provider.  It would normally be automatically generated by the local system upon recording a new Group Session, although could be manually assigned.","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D598)","v":0},"MHS301GroupSession","MHS30103","Record rejected - [M301020]GroupSessDate is blank. [M301010]GroupSessID=<GroupSessID>","If Group Session Date is populated and not within the reporting period, the record will be rejected.","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D599)","v":0},"MHS301GroupSession","MHS30104","Record rejected - [M301020]GroupSessDate has an incorrect data format. [M301010]GroupSessID=<GroupSessID> [M301020]GroupSessDate=<GroupSessDate>","If Group Session Date is populated and not within the reporting period, the record will be rejected.","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D600)","v":0},"MHS301GroupSession","MHS30105","Record rejected - Group Session Date is outside of the reporting period.","If Group Session Date is populated and not within the reporting period, the record will be rejected.","MHS301",{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E600)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E600)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D601)","v":0},"MHS301GroupSession","MHS30109","Record rejected - [M301030]ClinContDurOfGroupSess has an incorrect data format. [M301010]GroupSessID=<GroupSessID> [M301030]ClinContDurOfGroupSess=<ClinContDurOfGroupSess>","The duration of a Group Session in minutes, excluding any administration time prior to or after the Group Session and the CARE PROFESSIONAL's travelling time to the LOCATION where the Group Session was provided.","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D602)","v":0},"MHS301GroupSession","MHS30110","Record rejected - [M301040]GroupSessType has an incorrect data format. [M301010]GroupSessID=<GroupSessID> [M301040]GroupSessType=<GroupSessType>","The type of Group Session provided by a Mental Health Service.","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D603)","v":0},"MHS301GroupSession","MHS30111","Warning - [M301040]GroupSessType contains an invalid national code value. [M301010]GroupSessID=<GroupSessID> [M301040]GroupSessType=<GroupSessType>","The type of Group Session provided by a Mental Health Service.","MHS301","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D604)","v":0},"MHS301GroupSession","MHS30112","Record rejected - [M301050]NumberOfGroupSessParticip has an incorrect data format. [M301010]GroupSessID=<GroupSessID> [M301050]NumberOfGroupSessParticip=<NumberOfGroupSessParticip>","The number of persons who participated in the Group Session excluding the care professionals.","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D605)","v":0},"MHS301GroupSession","MHS30113","Record rejected - [M301909]ActLocTypeCode has an incorrect data format. [M301010]GroupSessID=<GroupSessID> [M301909]ActLocTypeCode=<ActLocTypeCode>","The type of LOCATION for an ACTIVITY: • where PATIENTS are seen • where SERVICES are provided or • from which requests for SERVICES are sent.","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D606)","v":0},"MHS301GroupSession","MHS30114","Warning - [M301909]ActLocTypeCode contains an invalid national code value. [M301010]GroupSessID=<GroupSessID> [M301909]ActLocTypeCode=<ActLocTypeCode>","The type of LOCATION for an ACTIVITY: • where PATIENTS are seen • where SERVICES are provided or • from which requests for SERVICES are sent.","MHS301","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D607)","v":0},"MHS301GroupSession","MHS30117","Record rejected - [M301908]CareProfLocalID has an incorrect data format. [M301010]GroupSessID=<GroupSessID> [M301908]CareProfLocalID=<CareProfLocalID>","A unique local CARE PROFESSIONAL IDENTIFIER within a Health Care Provider which may be assigned automatically by the computer system.   ","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D608)","v":0},"MHS301GroupSession","MHS30118","Record rejected - [M301907]NHSServAgreeLineID has an incorrect data format. [M301010]GroupSessID=<GroupSessID> [M301907]NHSServAgreeLineID=<NHSServAgreeLineID>","A number (alphanumeric) to provide a unique identifier for a line within a NHS SERVICE AGREEMENT.  An NHS SERVICE AGREEMENT is a formal agreement between a commissioner Organisation and one or more Health Care Provider Organisations for the provision of PATIENT care SERVICES.","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D609)","v":0},"MHS301GroupSession","MHS30119","Record Rejected - [M301913]ServTeamTypeRefToMH has an incorrect data format. [M301010]GroupSessID=<GroupSessID> [M301913]ServTeamTypeRefToMH=<ServTeamTypeRefToMH>","The type of service or team within a Mental Health Service that a patient was referred to","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D610)","v":0},"MHS301GroupSession","MHS30120","Warning - [M301913]ServTeamTypeRefToMH contains an invalid national code value. [M301010]GroupSessID=<GroupSessID> [M301913]ServTeamTypeRefToMH=<ServTeamTypeRefToMH>","The type of service or team within a Mental Health Service that a patient was referred to","MHS301","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D611)","v":0},"MHS301GroupSession","MHS30121","Warning - No valid [MHS901]StaffDetails submitted for this [M301908]CareProfLocalID. [M301908]CareProfLocalID=<CareProfLocalID> [M301010]GroupSessID=<GroupSessID>","Warning generated for MHS301GroupSession record because there is no corresponding record in the MHS901StaffDetails table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS901StaffDetails) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareProfLocalId in the linked table (MHS901StaffDetails).","MHS301","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D612)","v":0},"MHS301GroupSession","MHS30122","Group rejected - More than one [MHS301]GroupSession submitted for this [M301010]GroupSessID. [M301010]GroupSessID=<GroupSessID>","Duplicate records have been submitted using the same GroupSessId. All duplicate records will be rejected with group-level rejection error.","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D613)","v":0},"MHS301GroupSession","MHS30124","Record rejected - [M301922]OrgIDComm is blank. [M301010]GroupSessID=<GroupSessID>","If Organisation IDENTIFIER (Code of Commissioner) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D614)","v":0},"MHS301GroupSession","MHS30125","Record rejected - [M301922]OrgIDComm has an incorrect data format. [M301010]GroupSessID=<GroupSessID> [M301922]OrgIDComm=<OrgIDComm>","If Organisation IDENTIFIER (Code of Commissioner) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D615)","v":0},"MHS301GroupSession","MHS30126","Warning - [M301922]OrgIDComm is not for a current live organisation in national tables. [M301010]GroupSessID=<GroupSessID> [M301922]OrgIDComm=<OrgIDComm>","If Organisation IDENTIFIER (Code of Commissioner) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS301","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D616)","v":0},"MHS301GroupSession","MHS30127","Record rejected - [M301921]SiteIDOfTreat has an incorrect data format. [M301010]GroupSessID=<GroupSessID> [M301921]SiteIDOfTreat=<SiteIDOfTreat>","If Organisation Site Identifier (Of Treatment) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS301","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D617)","v":0},"MHS301GroupSession","MHS30128","Warning - [M301921]SiteIDOfTreat contains an invalid national code value. [M301010]GroupSessID=<GroupSessID> [M301921]SiteIDOfTreat=<SiteIDOfTreat>","If Organisation Site Identifier (Of Treatment) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS301","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D618)","v":0},"MHS301GroupSession","MHS30129","Record rejected - [M301020]GroupSessDate is before the [M000050]ReportingPeriodStartDate. [M301010]GroupSessID=<GroupSessID> [M301020]GroupSessDate=<GroupSessDate> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>",null,"MHS301","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D619)","v":0},"MHS301GroupSession","MHS30130","Record rejected - [M301020]GroupSessDate is after the [M000060]ReportingPeriodEndDate. [M301010]GroupSessID=<GroupSessID> [M301020]GroupSessDate=<GroupSessDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>",null,"MHS301","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D620)","v":0},"MHS302MHDropInContact","MHS30201","Record rejected - [M302010]MHDropInContactID is blank.","The Mental Health DROP IN CONTACT IDENTIFIER  is used to uniquely identify the Mental Health DROP IN CONTACT within the Health Care Provider.  It would normally be automatically generated by the local system upon recording a new Drop In Contact, although could be manually assigned.","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D621)","v":0},"MHS302MHDropInContact","MHS30202","Record rejected - [M302010]MHDropInContactID has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID>","The Mental Health DROP IN CONTACT IDENTIFIER  is used to uniquely identify the Mental Health DROP IN CONTACT within the Health Care Provider.  It would normally be automatically generated by the local system upon recording a new Drop In Contact, although could be manually assigned.","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D622)","v":0},"MHS302MHDropInContact","MHS30204","Record rejected - [M302110]LocalPatientID has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302110]LocalPatientID=<LocalPatientID>","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D623)","v":0},"MHS302MHDropInContact","MHS30205","Record rejected - [M302020]CareContactDateMHDropInContact is blank. [M302010]MHDropInContactID=<MHDropInContactID>","If Care Contact Date (Mental Health Drop In Contact) is populated and not within the reporting period, the record will be rejected.","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D624)","v":0},"MHS302MHDropInContact","MHS30206","Record rejected - [M302020]CareContactDateMHDropInContact has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302020]CareContactDateMHDropInContact=<CareContactDateMHDropInContact>","If Care Contact Date (Mental Health Drop In Contact) is populated and not within the reporting period, the record will be rejected.","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D625)","v":0},"MHS302MHDropInContact","MHS30207","Record rejected - Care Contact Date (Mental Health Drop In Contact) is outside of the reporting period.","If Care Contact Date (Mental Health Drop In Contact) is populated and not within the reporting period, the record will be rejected.","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D626)","v":0},"MHS302MHDropInContact","MHS30208","Record rejected - [M302030]StartTimeDropInContact has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302030]StartTimeDropInContact=<StartTimeDropInContact>","The Start Time of the Mental Health Drop In Contact as reported by the Care Professional.","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D627)","v":0},"MHS302MHDropInContact","MHS30209","Warning - Person Birth Date is blank.","The date on which a PERSON was born or is officially deemed to have been born.","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D628)","v":0},"MHS302MHDropInContact","MHS30210","Warning -Gender Identity Code is blank.","The gender identity of a PERSON as stated by the PERSON  ","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D629)","v":0},"MHS302MHDropInContact","MHS30211","Record rejected - [M302050]GenderIDCode has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302050]GenderIDCode=<GenderIDCode>","The gender identity of a PERSON as stated by the PERSON  ","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D630)","v":0},"MHS302MHDropInContact","MHS30212","Warning - [M302050]GenderIDCode contains an invalid national code value. [M302010]MHDropInContactID=<MHDropInContactID> [M302050]GenderIDCode=<GenderIDCode>","The gender identity of a PERSON as stated by the PERSON  ","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D631)","v":0},"MHS302MHDropInContact","MHS30213","Record rejected - [M302060]ConsMechanismMH has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302060]ConsMechanismMH=<ConsMechanismMH>","The communication mechanism used to relay information between the CARE PROFESSIONAL and the PERSON who is the subject of the consultation, during a CARE CONTACT.  A non-face to face consultation should directly support diagnosis and care planning and must replace a face to face Out-Patient Attendance Consultant, Clinic Attendance Nurse or Clinic Attendance Midwife, or other types of CARE CONTACT.  A record of the consultation must be retained in the PATIENT's records.  Contact with PATIENTS solely for the purpose of informing them of the outcome of Diagnostic Test results, with no other clinical interaction, are not classified as CARE CONTACTS.","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D632)","v":0},"MHS302MHDropInContact","MHS30214","Warning - [M302060]ConsMechanismMH contains an invalid national code value. [M302010]MHDropInContactID=<MHDropInContactID> [M302060]ConsMechanismMH=<ConsMechanismMH>","The communication mechanism used to relay information between the CARE PROFESSIONAL and the PERSON who is the subject of the consultation, during a CARE CONTACT.  A non-face to face consultation should directly support diagnosis and care planning and must replace a face to face Out-Patient Attendance Consultant, Clinic Attendance Nurse or Clinic Attendance Midwife, or other types of CARE CONTACT.  A record of the consultation must be retained in the PATIENT's records.  Contact with PATIENTS solely for the purpose of informing them of the outcome of Diagnostic Test results, with no other clinical interaction, are not classified as CARE CONTACTS.","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D633)","v":0},"MHS302MHDropInContact","MHS30215","Record rejected - [M302070]MHDropInContactServiceType has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302070]MHDropInContactServiceType=<MHDropInContactServiceType>","The type of SERVICE where the Mental Health Drop In Contact took place.","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D634)","v":0},"MHS302MHDropInContact","MHS30216","Warning - [M302070]MHDropInContactServiceType contains an invalid national code value. [M302010]MHDropInContactID=<MHDropInContactID> [M302070]MHDropInContactServiceType=<MHDropInContactServiceType>","The type of SERVICE where the Mental Health Drop In Contact took place.","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D635)","v":0},"MHS302MHDropInContact","MHS30217","Record rejected - [M302080]CareProfLocalID has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302080]CareProfLocalID=<CareProfLocalID>","A unique local CARE PROFESSIONAL IDENTIFIER within a Health Care Provider which may be assigned automatically by the computer system.   ","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D636)","v":0},"MHS302MHDropInContact","MHS30220","Record rejected - [M302100]EndTimeDropInContact has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302100]EndTimeDropInContact=<EndTimeDropInContact>","The End Time of the Mental Health Drop In Contact as reported by the Care Professional.","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D637)","v":0},"MHS302MentalHealthDropInContact","MHS30221","Warning - No valid [MHS901]StaffDetails submitted for this [M302080]CareProfLocalID. [M302080]CareProfLocalID=<CareProfLocalID>","Warning generated for MHS302MentalHealthDropInContact record because there is no corresponding record in the MHS901StaffDetails table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS901StaffDetails) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareProfLocalId in the linked table (MHS901StaffDetails).","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D638)","v":0},"MHS302MentalHealthDropInContact","MHS30222","Group rejected - More than one [MHS302]MHDropInContact submitted for this [M302010]MHDropInContactID. [M302010]MHDropInContactID=<MHDropInContactID>","Duplicate records have been submitted using the same MHDropInContactId. All duplicate records will be rejected with group-level rejection error.","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D639)","v":0},"MHS302MHDropInContact","MHS30223","Warning - [M302170]GenderSameAtBirth contains an invalid national code value. [M302010]MHDropInContactID=<MHDropInContactID> [M302170]GenderSameAtBirth=<GenderSameAtBirth>","An indication of whether the patient's gender identity is the same as their gender assigned at birth. ","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D640)","v":0},"MHS302MHDropInContact","MHS30224","Record rejected - [M302120]EthnicCategory has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302120]EthnicCategory=<EthnicCategory>","The ethnicity of a PERSON, as specified by the PERSON.","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D641)","v":0},"MHS302MHDropInContact","MHS30225","Warning - [M302120]EthnicCategory contains an invalid national code value. [M302010]MHDropInContactID=<MHDropInContactID> [M302120]EthnicCategory=<EthnicCategory>","The ethnicity of a PERSON, as specified by the PERSON.","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D642)","v":0},"MHS302MHDropInContact","MHS30226","Record rejected - [M302150]MHDropInContactOutcome has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302150]MHDropInContactOutcome=<MHDropInContactOutcome>","The outcome of the Mental Health Drop In Contact as reported by the Care Professional.",{"$f":"LEFT(D642,6)","v":"MHS302"},"Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D643)","v":0},"MHS302MHDropInContact","MHS30227","Warning - [M302150]MHDropInContactOutcome contains an invalid national code value. [M302010]MHDropInContactID=<MHDropInContactID> [M302150]MHDropInContactOutcome=<MHDropInContactOutcome>","The outcome of the Mental Health Drop In Contact as reported by the Care Professional.","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D644)","v":0},"MHS302MHDropInContact","MHS30228","Record rejected - [M302160]OrgIDReceiving has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302160]OrgIDReceiving=<OrgIDReceiving>","If Organisation Identifier (Receiving) is not in national tables, a warning will be output.","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D645)","v":0},"MHS302MHDropInContact","MHS30229","Warning - [M302160]OrgIDReceiving is not for a current live organisation in national tables. [M302010]MHDropInContactID=<MHDropInContactID> [M302160]OrgIDReceiving=<OrgIDReceiving>","If Organisation Identifier (Receiving) is not in national tables, a warning will be output.","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D646)","v":0},"MHS302MHDropInContact","MHS30230","Warning - [M302140]NHSNumber is blank. [M302010]MHDropInContactID=<MHDropInContactID>","If NHS Number fails standard NHS number checks (Modulus-11 and check for disallowed numbers), the file will be rejected.","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D647)","v":0},"MHS302MHDropInContact","MHS30231","Warning -Gender Identity Same At Birth Indicator is blank.","An indication of whether the patient's gender identity is the same as their gender assigned at birth. ","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D648)","v":0},"MHS302MHDropInContact","MHS30232","Record rejected - [M302170]GenderSameAtBirth has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302170]GenderSameAtBirth=<GenderSameAtBirth>","An indication of whether the patient's gender identity is the same as their gender assigned at birth. ","MHS302","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D649)","v":0},"MHS302MHDropInContact","MHS30233","Warning - Start Time (Mental Health Drop In Contact) is blank.","The Start Time of the Mental Health Drop In Contact as reported by the Care Professional.","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D650)","v":0},"MHS302MHDropInContact","MHS30234","Warning - End Time (Mental Health Drop In Contact) is blank.","The End Time of the Mental Health Drop In Contact as reported by the Care Professional.","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D651)","v":0},"MHS302MHDropInContact","MHS30235","Warning - Local Patient Identifier (Extended) is blank.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.","MHS302","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D652)","v":0},"MHS302MHDropInContact","MHS30236","Record rejected - [M302025]OrgIDComm is blank. [M302010]MHDropInContactID=<MHDropInContactID>",null,"MHS302","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D653)","v":0},"MHS302MHDropInContact","MHS30237","Record rejected - [M302025]OrgIDComm has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302025]OrgIDComm=<OrgIDComm>",null,"MHS302","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D654)","v":0},"MHS302MHDropInContact","MHS30238","Severity 1 Warning - [M302025]OrgIDComm is not for a current live organisation in national tables. [M302010]MHDropInContactID=<MHDropInContactID> [M302025]OrgIDComm=<OrgIDComm>",null,"MHS302","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D655)","v":0},"MHS302MHDropInContact","MHS30239","Record rejected - [M302140]NHSNumber has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302140]NHSNumber=<NHSNumber>",null,"MHS302","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D656)","v":0},"MHS302MHDropInContact","MHS30240","Warning - [M302040]PersonBirthDate is blank. [M302010]MHDropInContactID=<MHDropInContactID>",null,"MHS302","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D657)","v":0},"MHS302MHDropInContact","MHS30241","Record rejected - [M302040]PersonBirthDate has an incorrect data format. [M302010]MHDropInContactID=<MHDropInContactID> [M302040]PersonBirthDate=<PersonBirthDate>",null,"MHS302","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D658)","v":0},"MHS302MHDropInContact","MHS30242","Warning - [M302040]PersonBirthDate is populated with a date that indicates the person is outside of the 0-130 years age range. [M302010]MHDropInContactID=<MHDropInContactID> [M302040]PersonBirthDate=<PersonBirthDate>",null,"MHS302","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D659)","v":0},"MHS302MHDropInContact","MHS30242","Record rejected - [M302040]PersonBirthDate is populated with a date that indicates the person is outside of the 0-130 years age range. [M302010]MHDropInContactID=<MHDropInContactID> [M302040]PersonBirthDate=<PersonBirthDate>",null,"MHS302","Rejection"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D660)","v":0},"MHS302MHDropInContact","MHS30243","Record rejected - [M302020]CareContactDateMHDropInContact is before the [M000050]ReportingPeriodStartDate. [M302010]MHDropInContactID=<MHDropInContactID> [M302020]CareContactDateMHDropInContact=<CareContactDateMHDropInContact> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>",null,"MHS302","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D661)","v":0},"MHS302MHDropInContact","MHS30244","Record rejected - [M302020]CareContactDateMHDropInContact is after the [M000060]ReportingPeriodEndDate. [M302010]MHDropInContactID=<MHDropInContactID> [M302020]CareContactDateMHDropInContact=<CareContactDateMHDropInContact> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>",null,"MHS302","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D662)","v":0},"MHS401MHActPeriod","MHS40101","Record rejected - [M401914]MHActLegalStatusClassPeriodID is blank.","The MHActLegalStatusClassPeriodId is a mandatory field so cannot be left blank. The MHActLegalStatusClassPeriodId is used to uniquely identify the Mental Health Act Legal Status Classification Assignment Period. The MHActLegalStatusClassPeriodId provides a link between records in the MHS401MHActPeriod table and associated Mental Health Act specific data.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D663)","v":0},"MHS401MHActPeriod","MHS40102","Record rejected - [M401914]MHActLegalStatusClassPeriodID has an incorrect data format. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID>","This is the MHActLegalStatusClassPeriodId field and can accept up to 20 characters.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D664)","v":0},"MHS401MHActPeriod","MHS40103","Record rejected - [M401901]LocalPatientID is blank. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","The LocalPatientId field is a mandatory field so cannot be left blank. It must match a LocalPatientId given in MHS101Referral.","MHS401",{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E664)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E664)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D665)","v":0},"MHS401MHActPeriod","MHS40104","Record rejected - [M401901]LocalPatientID has an incorrect data format. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID>","This is the LocalPatientId field and can accept up to 20 characters. It must match a LocalPatientId given in MHS101Referral.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D666)","v":0},"MHS401MHActPeriod","MHS40105","Record rejected - [M401010]StartDateMHActLegalStatusClass is blank. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","The StartDateMHActLegalStatusClass is a mandatory field so cannot be left blank. This field is expecting the Start Date of the Mental Health Act Legal Status Classification Assignment Period.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D667)","v":0},"MHS401MHActPeriod","MHS40106","Record rejected - [M401010]StartDateMHActLegalStatusClass has an incorrect data format. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401010]StartDateMHActLegalStatusClass=<StartDateMHActLegalStatusClass>","This is the StartDateMHActLegalStatusClass field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D668)","v":0},"MHS401MHActPeriod","MHS40107","Record rejected - [M401010]StartDateMHActLegalStatusClass is after the [M000060]ReportingPeriodEndDate. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401010]StartDateMHActLegalStatusClass=<StartDateMHActLegalStatusClass> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the StartDateMHActLegalStatusClass field. Only Mental Health Act Legal Status Classification Periods that were open during the reporting period should be submitted (including those that closed during the reporting period). This means that the StartDateMHActLegalStatusClass date should not be after the ReportingPeriodEndDate.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D669)","v":0},"MHS401MHActPeriod","MHS40108","Record rejected - [M401020]StartTimeMHActLegalStatusClass is blank. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","The StartTimeMHActLegalStatusClass field is a mandatory field so cannot be left blank. This field is expecting the Start Time of the Mental Health Act Legal Status Classification Assignment Period. ","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D670)","v":0},"MHS401MHActPeriod","MHS40109","Record rejected - [M401020]StartTimeMHActLegalStatusClass has an incorrect data format. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401020]StartTimeMHActLegalStatusClass=<StartTimeMHActLegalStatusClass>","This is the StartTimeMHActLegalStatusClass field. The format this is expecting is an8 (HH:MM:SS).","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D671)","v":0},"MHS401MHActPeriod","MHS40110","Record rejected - [M401030]LegalStatusClassPeriodStartReason has an incorrect data format. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401030]LegalStatusClassPeriodStartReason=<LegalStatusClassPeriodStartReason>","This is the LegalStatusClassPeriodStartReason field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D672)","v":0},"MHS401MHActPeriod","MHS40111","Warning - [M401030]LegalStatusClassPeriodStartReason contains an invalid national code value. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401030]LegalStatusClassPeriodStartReason=<LegalStatusClassPeriodStartReason>","This is the LegalStatusClassPeriodStartReason field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS401","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D673)","v":0},"MHS401MHActPeriod","MHS40112","Record rejected - [M401040]ExpiryDateMHActLegalStatusClass has an incorrect data format. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401040]ExpiryDateMHActLegalStatusClass=<ExpiryDateMHActLegalStatusClass>","This is the ExpiryDateMHActLegalStatusClass field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D674)","v":0},"MHS401MHActPeriod","MHS40113","Record rejected - [M401050]ExpiryTimeMHActLegalStatusClass has an incorrect data format. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401050]ExpiryTimeMHActLegalStatusClass=<ExpiryTimeMHActLegalStatusClass>","This is the ExpiryTimeMHActLegalStatusClass field. The format this is expecting is an8 (HH:MM:SS).","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D675)","v":0},"MHS401MHActPeriod","MHS40114","Record rejected - [M401060]EndDateMHActLegalStatusClass has an incorrect data format. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401060]EndDateMHActLegalStatusClass=<EndDateMHActLegalStatusClass>","This is the EndDateMHActLegalStatusClass field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D676)","v":0},"MHS401MHActPeriod","MHS40115","Record rejected - [M401060]EndDateMHActLegalStatusClass is before the [M000050]ReportingPeriodStartDate. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401060]EndDateMHActLegalStatusClass=<EndDateMHActLegalStatusClass> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","This is the EndDateMHActLegalStatusClass field. Only activity that took place during the reporting period should be submitted. This means that the EndDateMHActLegalStatusClass date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D677)","v":0},"MHS401MHActPeriod","MHS40116","Record rejected - [M401060]EndDateMHActLegalStatusClass is after the [M000060]ReportingPeriodEndDate. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401060]EndDateMHActLegalStatusClass=<EndDateMHActLegalStatusClass> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the EndDateMHActLegalStatusClass field. Only activity that took place during the reporting period should be submitted. This means that the EndDateMHActLegalStatusClass date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D678)","v":0},"MHS401MHActPeriod","MHS40117","Record rejected - [M401060]EndDateMHActLegalStatusClass is before the associated [M401010]StartDateMHActLegalStatusClass. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401060]EndDateMHActLegalStatusClass=<EndDateMHActLegalStatusClass> [M401010]StartDateMHActLegalStatusClass=<StartDateMHActLegalStatusClass>","This is the EndDateMHActLegalStatusClass field and is expecting the date on which the Mental Health Act Legal Status Classification Assignment Period ended. The EndDateMHActLegalStatusClass cannot be before the associated StartDateMHActLegalStatusClass.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D679)","v":0},"MHS401MHActPeriod","MHS40118","Record rejected - [M401070]EndTimeMHActLegalStatusClass has an incorrect data format. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401070]EndTimeMHActLegalStatusClass=<EndTimeMHActLegalStatusClass>","This is the EndTimeMHActLegalStatusClass field. The format this is expecting is an8 (HH:MM:SS).","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D680)","v":0},"MHS401MHActPeriod","MHS40119","Record rejected - [M401080]LegalStatusClassPeriodEndReason has an incorrect data format. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401080]LegalStatusClassPeriodEndReason=<LegalStatusClassPeriodEndReason>","This is the LegalStatusClassPeriodEndReason field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D681)","v":0},"MHS401MHActPeriod","MHS40120","Warning - [M401080]LegalStatusClassPeriodEndReason contains an invalid national code value. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401080]LegalStatusClassPeriodEndReason=<LegalStatusClassPeriodEndReason>","This is the LegalStatusClassPeriodEndReason field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS401","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D682)","v":0},"MHS401MHActPeriod","MHS40121","Record rejected - [M401090]LegalStatusCode has an incorrect data format. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401090]LegalStatusCode=<LegalStatusCode>","This is the LegalStatusCode field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D683)","v":0},"MHS401MHActPeriod","MHS40122","Warning - [M401090]LegalStatusCode contains an invalid national code value. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401090]LegalStatusCode=<LegalStatusCode>","This is the LegalStatusCode field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS401","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D684)","v":0},"MHS401MHActPeriod","MHS40123","Record rejected - [M401100]MentalCat has an incorrect data format. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401100]MentalCat=<MentalCat>","This is the MentalCat field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D685)","v":0},"MHS401MHActPeriod","MHS40124","Warning - [M401100]MentalCat contains an invalid national code value. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M401901]LocalPatientID=<LocalPatientID> [M401100]MentalCat=<MentalCat>","This is the MentalCat field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS401","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D686)","v":0},"MHS401MentalHealthActLegalStatusClassificationAssignmentPeriod","MHS40125","Group Rejected - No valid [MHS001]MPI submitted for this [M401901]LocalPatientID. [M401901]LocalPatientID=<LocalPatientID>","Record in the MHS401MHActPeriod table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D687)","v":0},"MHS401MentalHealthActLegalStatusClassificationAssignmentPeriod","MHS40126","Group Rejected - More than one [MHS401]MHActPeriod submitted for this [M401914]MHActLegalStatusClassPeriodID. [M401914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","Duplicate records have been submitted using the same MHActLegalStatusClassPeriodId. All duplicate records will be rejected with group-level rejection error.","MHS401","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D688)","v":0},"MHS402MentalHealthResponsibleClinicianAssignmentPeriod","MHS40203","Group Rejected - No valid [MHS401]MHActPeriod submitted for this [M402914]MHActLegalStatusClassPeriodID. [M402914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","Record in the MHS402RespClinicianAssignment table rejected because there is no corresponding record in the MHS401MHActPeriod table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS401MHActPeriod) has been rejected due to a validation error. Reason 2: There is no record with a corresponding MHActLegalStatusClassPeriodId in the linked table (MHS401MHActPeriod).","MHS402","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D689)","v":0},"MHS402RespClinicianAssignPeriod","MHS40204","Record rejected - [M402914]MHActLegalStatusClassPeriodID is blank. [M402914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","The MHActLegalStatusClassPeriodId field is a mandatory field so cannot be left blank. It must match a MHActLegalStatusClassPeriodId given in MHS401MHActPeriod.","MHS402","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D690)","v":0},"MHS402RespClinicianAssignPeriod","MHS40205","Record rejected - [M402914]MHActLegalStatusClassPeriodID has an incorrect data format. [M402914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","This is the MHActLegalStatusClassPeriodId field and can accept up to 20 characters. It must match a MHActLegalStatusClassPeriodId given in MHS401MHActPeriod.","MHS402","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D691)","v":0},"MHS402RespClinicianAssignPeriod","MHS40206","Record rejected - [M402010]StartDateRespClinAssign is blank. [M402914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","The StartDateRespClinAssign is a mandatory field so cannot be left blank. This field is expecting the start date of an assignment of a Mental Health Responsible Clinician to a Patient.","MHS402","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D692)","v":0},"MHS402RespClinicianAssignPeriod","MHS40207","Record rejected - [M402010]StartDateRespClinAssign has an incorrect data format. [M402914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M402010]StartDateRespClinAssign=<StartDateRespClinAssign>","This is the StartDateRespClinAssign field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS402","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D693)","v":0},"MHS402RespClinicianAssignPeriod","MHS40208","Record rejected - [M402010]StartDateRespClinAssign is after the [M000060]ReportingPeriodEndDate. [M402914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M402010]StartDateRespClinAssign=<StartDateRespClinAssign> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the StartDateRespClinAssign field. Only Mental Health Act Legal Status Classification Periods that were open during the reporting period should be submitted (including those that closed during the reporting period). This means that the StartDateRespClinAssign date should not be after the ReportingPeriodEndDate.","MHS402","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D694)","v":0},"MHS402RespClinicianAssignPeriod","MHS40209","Record rejected - [M402908]CareProfLocalID is blank. [M402914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","The CareProfLocalId field is a mandatory field so cannot be left blank. It must match a CareProfLocalId given in MHS901StaffDetails.","MHS402","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D695)","v":0},"MHS402RespClinicianAssignPeriod","MHS40210","Record rejected - [M402908]CareProfLocalID has an incorrect data format. [M402914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M402908]CareProfLocalID=<CareProfLocalID>","This is the CareProfLocalId field and can accept up to 20 characters. It must match a CareProfLocalId given in MHS901StaffDetails.","MHS402","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D696)","v":0},"MHS402RespClinicianAssignPeriod","MHS40211","Record rejected - [M402020]EndDateRespClinAssign has an incorrect data format. [M402914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M402020]EndDateRespClinAssign=<EndDateRespClinAssign>","This is the EndDateRespClinAssign field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS402","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D697)","v":0},"MHS402RespClinicianAssignPeriod","MHS40212","Record rejected - [M402020]EndDateRespClinAssign is before the [M000050]ReportingPeriodStartDate. [M402914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M402020]EndDateRespClinAssign=<EndDateRespClinAssign> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","This is the EndDateRespClinAssign field. Only activity that took place during the reporting period should be submitted. This means that the EndDateRespClinAssign date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS402","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D698)","v":0},"MHS402RespClinicianAssignPeriod","MHS40213","Record rejected - [M402020]EndDateRespClinAssign is after the [M000060]ReportingPeriodEndDate. [M402914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M402020]EndDateRespClinAssign=<EndDateRespClinAssign> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the EndDateRespClinAssign field. Only activity that took place during the reporting period should be submitted. This means that the EndDateRespClinAssign date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS402","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D699)","v":0},"MHS402RespClinicianAssignPeriod","MHS40214","Record rejected - [M402020]EndDateRespClinAssign is before the associated [M402010]StartDateRespClinAssign. [M402914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M402020]EndDateRespClinAssign=<EndDateRespClinAssign> [M402010]StartDateRespClinAssign=<StartDateRespClinAssign>","This is the EndDateRespClinAssign field and is expecting the end date of an assignment of a Mental Health Responsible Clinician to a Patient. The End Date (Responsible Clinician Assignment Period) cannot be before the associated Start Date (Responsible Clinician Assignment Period).","MHS402","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D700)","v":0},"MHS402MentalHealthResponsibleClinicianAssignmentPeriod","MHS40215","Warning - No valid [MHS901]StaffDetails submitted for this [M402908]CareProfLocalID. [M402908]CareProfLocalID=<CareProfLocalID>","Warning generated for MHS402RespClinicianAssignment record because there is no corresponding record in the MHS901StaffDetails table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS901StaffDetails) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareProfLocalId in the linked table (MHS901StaffDetails).","MHS402","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D701)","v":0},"MHS403ConditionalDischarge","MHS40303","Group rejected - No valid [MHS401]MHActPeriod submitted for this [M403914]MHActLegalStatusClassPeriodID. [M403914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","Record in the MHS403ConditionalDischarge table rejected because there is no corresponding record in the MHS401MHActPeriod table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS401MHActPeriod) has been rejected due to a validation error. Reason 2: There is no record with a corresponding MHActLegalStatusClassPeriodId in the linked table (MHS401MHActPeriod).","MHS403","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D702)","v":0},"MHS403ConditionalDischarge","MHS40304","Record rejected - [M403914]MHActLegalStatusClassPeriodID is blank. [M403914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","The MHActLegalStatusClassPeriodId field is a mandatory field so cannot be left blank. It must match a MHActLegalStatusClassPeriodId given in MHS401MHActPeriod.","MHS403","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D703)","v":0},"MHS403ConditionalDischarge","MHS40305","Record rejected - [M403914]MHActLegalStatusClassPeriodID has an incorrect data format. [M403914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","This is the MHActLegalStatusClassPeriodId field and can accept up to 20 characters. It must match a MHActLegalStatusClassPeriodId given in MHS401MHActPeriod.","MHS403","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D704)","v":0},"MHS403ConditionalDischarge","MHS40306","Record rejected - [M403010]StartDateMHCondDisch is blank. [M403914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","The StartDateMHCondDisch is a mandatory field so cannot be left blank. This field is expecting the start date of the Mental Health Conditional Discharge Period.","MHS403","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D705)","v":0},"MHS403ConditionalDischarge","MHS40307","Record rejected - [M403010]StartDateMHCondDisch has an incorrect data format. [M403914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M403010]StartDateMHCondDisch=<StartDateMHCondDisch>","This is the StartDateMHCondDisch field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS403","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D706)","v":0},"MHS403ConditionalDischarge","MHS40308","Record rejected - [M403010]StartDateMHCondDisch is after the [M000060]ReportingPeriodEndDate. [M403914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M403010]StartDateMHCondDisch=<StartDateMHCondDisch> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the StartDateMHCondDisch field. Only Mental Health Act Legal Status Classification Periods that were open during the reporting period should be submitted (including those that closed during the reporting period). This means that the StartDateMHCondDisch date should not be after the ReportingPeriodEndDate.",{"$f":"LEFT(D706,6)","v":"MHS403"},"Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D707)","v":0},"MHS403ConditionalDischarge","MHS40309","Record rejected - [M403020]EndDateMHCondDisch has an incorrect data format. [M403914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M403020]EndDateMHCondDisch=<EndDateMHCondDisch>","This is the EndDateMHCondDisch field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS403","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D708)","v":0},"MHS403ConditionalDischarge","MHS40310","Record rejected - [M403020]EndDateMHCondDisch is before the [M000050]ReportingPeriodStartDate. [M403914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M403020]EndDateMHCondDisch=<EndDateMHCondDisch> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","This is the EndDateMHCondDisch field. Only activity that took place during the reporting period should be submitted. This means that the EndDateMHCondDisch date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS403","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D709)","v":0},"MHS403ConditionalDischarge","MHS40311","Record rejected - [M403020]EndDateMHCondDisch is after the [M000060]ReportingPeriodEndDate. [M403914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M403020]EndDateMHCondDisch=<EndDateMHCondDisch> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the EndDateMHCondDisch field. Only activity that took place during the reporting period should be submitted. This means that the EndDateMHCondDisch date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS403","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D710)","v":0},"MHS403ConditionalDischarge","MHS40312","Record rejected - [M403020]EndDateMHCondDisch is before the associated [M403010]StartDateMHCondDisch. [M403914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M403020]EndDateMHCondDisch=<EndDateMHCondDisch> [M403010]StartDateMHCondDisch=<StartDateMHCondDisch>","This is the EndDateMHCondDisch field and is expecting the end date of the Mental Health Conditional Discharge Period. TheEndDateMHCondDisch cannot be before the associated StartDateMHCondDisch.","MHS403","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D711)","v":0},"MHS403ConditionalDischarge","MHS40313","Record rejected - [M403030]CondDischEndReason has an incorrect data format. [M403914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M403030]CondDischEndReason=<CondDischEndReason>","This is the CondDischEndReason field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS403","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D712)","v":0},"MHS403ConditionalDischarge","MHS40314","Warning - [M403030]CondDischEndReason contains an invalid national code value. [M403914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M403030]CondDischEndReason=<CondDischEndReason>","This is the CondDischEndReason field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS403","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D713)","v":0},"MHS403ConditionalDischarge","MHS40315","Record rejected - [M403040]AbsDischResp has an incorrect data format. [M403914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M403040]AbsDischResp=<AbsDischResp>","The body or PERSON responsible for granting Mental Health Absolute Discharge.","MHS403","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D714)","v":0},"MHS403ConditionalDischarge","MHS40316","Warning - [M403040]AbsDischResp contains an invalid national code value. [M403914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M403040]AbsDischResp=<AbsDischResp>","This is the AbsDischResp field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS403","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D715)","v":0},"MHS404CommunityTreatmentOrder","MHS40403","Group rejected - No valid [MHS401]MHActPeriod submitted for this [M404914]MHActLegalStatusClassPeriodID. [M404914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","Record in the MHS404CommTreatOrder table rejected because there is no corresponding record in the MHS401MHActPeriod table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS401MHActPeriod) has been rejected due to a validation error. Reason 2: There is no record with a corresponding MHActLegalStatusClassPeriodId in the linked table (MHS401MHActPeriod).","MHS404","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D716)","v":0},"MHS404CommTreatOrder","MHS40404","Record rejected - [M404914]MHActLegalStatusClassPeriodID is blank.","The MHActLegalStatusClassPeriodId field is a mandatory field so cannot be left blank. It must match a MHActLegalStatusClassPeriodId given in MHS401MHActPeriod.","MHS404","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D717)","v":0},"MHS404CommTreatOrder","MHS40405","Record rejected - [M404914]MHActLegalStatusClassPeriodID has an incorrect data format. [M404914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","This is the MHActLegalStatusClassPeriodId field and can accept up to 20 characters. It must match a MHActLegalStatusClassPeriodId given in MHS401MHActPeriod.","MHS404","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D718)","v":0},"MHS404CommTreatOrder","MHS40406","Record rejected - [M404010]StartDateCommTreatOrd is blank. [M404914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","The StartDateCommTreatOrd is a mandatory field so cannot be left blank. This field is expecting the start date for a period of Community Treatment Order under S17A of the Mental Health Act 1983 (as amended by the Mental Health Act 2007).","MHS404","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D719)","v":0},"MHS404CommTreatOrder","MHS40407","Record rejected - [M404010]StartDateCommTreatOrd has an incorrect data format. [M404914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M404010]StartDateCommTreatOrd=<StartDateCommTreatOrd>","This is the StartDateCommTreatOrd field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS404","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D720)","v":0},"MHS404CommTreatOrder","MHS40408","Record rejected - [M404010]StartDateCommTreatOrd is after the [M000060]ReportingPeriodEndDate. [M404914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M404010]StartDateCommTreatOrd=<StartDateCommTreatOrd> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the StartDateCommTreatOrd field. Only Mental Health Act Legal Status Classification Periods that were open during the reporting period should be submitted (including those that closed during the reporting period). This means that the StartDateCommTreatOrd date should not be after the ReportingPeriodEndDate.","MHS404","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D721)","v":0},"MHS404CommTreatOrder","MHS40409","Record rejected - [M404020]ExpiryDateCommTreatOrd has an incorrect data format. [M404914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M404020]ExpiryDateCommTreatOrd=<ExpiryDateCommTreatOrd>","This is the ExpiryDateCommTreatOrd field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS404","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D722)","v":0},"MHS404CommTreatOrder","MHS40410","Record rejected - [M404030]EndDateCommTreatOrd has an incorrect data format. [M404914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M404030]EndDateCommTreatOrd=<EndDateCommTreatOrd>","This is the EndDateCommTreatOrd field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS404","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D723)","v":0},"MHS404CommTreatOrder","MHS40411","Record rejected - [M404030]EndDateCommTreatOrd is before the [M000050]ReportingPeriodStartDate. [M404914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M404030]EndDateCommTreatOrd=<EndDateCommTreatOrd> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","This is the EndDateCommTreatOrd field. Only activity that took place during the reporting period should be submitted. This means that the EndDateCommTreatOrd date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS404","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D724)","v":0},"MHS404CommTreatOrder","MHS40412","Record rejected - [M404030]EndDateCommTreatOrd is after the [M000060]ReportingPeriodEndDate. [M404914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M404030]EndDateCommTreatOrd=<EndDateCommTreatOrd> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the EndDateCommTreatOrd field. Only activity that took place during the reporting period should be submitted. This means that the EndDateCommTreatOrd date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS404","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D725)","v":0},"MHS404CommTreatOrder","MHS40413","Record rejected - [M404030]EndDateCommTreatOrd is before the associated [M404010]StartDateCommTreatOrd. [M404914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M404030]EndDateCommTreatOrd=<EndDateCommTreatOrd> [M404010]StartDateCommTreatOrd=<StartDateCommTreatOrd>","This is the EndDateCommTreatOrd field and is expecting the end date for a period of Community Treatment Order under S17A of the Mental Health Act 1983 (as amended by the Mental Health Act 2007). EndDateCommTreatOrd cannot be before the associated StartDateCommTreatOrd.","MHS404","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D726)","v":0},"MHS404CommTreatOrder","MHS40414","Record rejected - [M404040]CommTreatOrdEndReason has an incorrect data format. [M404914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M404040]CommTreatOrdEndReason=<CommTreatOrdEndReason>","This is the CommTreatOrdEndReason field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS404","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D727)","v":0},"MHS404CommTreatOrder","MHS40415","Warning - [M404040]CommTreatOrdEndReason contains an invalid national code value. [M404914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M404040]CommTreatOrdEndReason=<CommTreatOrdEndReason>","This is the CommTreatOrdEndReason field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS404","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D728)","v":0},"MHS405CommunityTreatmentOrderRecall","MHS40503","Group rejected - No valid [MHS401]MHActPeriod submitted for this [M405914]MHActLegalStatusClassPeriodID. [M405914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","Record in the MHS405CommTreatOrderRecall table rejected because there is no corresponding record in the MHS401MHActPeriod table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS401MHActPeriod) has been rejected due to a validation error. Reason 2: There is no record with a corresponding MHActLegalStatusClassPeriodId in the linked table (MHS401MHActPeriod).","MHS405",{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E728)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E728)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D729)","v":0},"MHS405CommTreatOrderRecall","MHS40504","Record rejected - [M405914]MHActLegalStatusClassPeriodID is blank.","The MHActLegalStatusClassPeriodId field is a mandatory field so cannot be left blank. It must match a MHActLegalStatusClassPeriodId given in MHS401MHActPeriod.","MHS405","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D730)","v":0},"MHS405CommTreatOrderRecall","MHS40505","Record rejected - [M405914]MHActLegalStatusClassPeriodID has an incorrect data format. [M405914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","This is the MHActLegalStatusClassPeriodId field and can accept up to 20 characters. It must match a MHActLegalStatusClassPeriodId given in MHS401MHActPeriod.","MHS405","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D731)","v":0},"MHS405CommTreatOrderRecall","MHS40506","Record rejected - [M405010]StartDateCommTreatOrdRecall is blank. [M405914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","The StartDateCommTreatOrdRecall is a mandatory field so cannot be left blank. This field is expecting the start date for a period of recall to hospital for treatment for a Patient on a Community Treatment Order under S17A of the Mental Health Act 1983 (as amended by the Mental Health Act 2007).","MHS405","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D732)","v":0},"MHS405CommTreatOrderRecall","MHS40507","Record rejected - [M405010]StartDateCommTreatOrdRecall has an incorrect data format. [M405914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M405010]StartDateCommTreatOrdRecall=<StartDateCommTreatOrdRecall>","This is the StartDateCommTreatOrdRecall field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification. ","MHS405","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D733)","v":0},"MHS405CommTreatOrderRecall","MHS40508","Record rejected - [M405010]StartDateCommTreatOrdRecall is after the [M000060]ReportingPeriodEndDate. [M405914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M405010]StartDateCommTreatOrdRecall=<StartDateCommTreatOrdRecall> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the StartDateCommTreatOrdRecall field. Only Mental Health Act Legal Status Classification Periods that were open during the reporting period should be submitted (including those that closed during the reporting period). This means that the StartDateCommTreatOrdRecall date should not be after the ReportingPeriodEndDate.","MHS405","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D734)","v":0},"MHS405CommTreatOrderRecall","MHS40509","Record rejected - [M405020]StartTimeCommTreatOrdRecall is blank. [M405914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID>","The StartTimeCommTreatOrdRecall is a mandatory field so cannot be left blank. This field is expecting the start time for a period of recall to hospital for treatment for a Patient on a Community Treatment Order under S17A of the Mental Health Act 1983 (as amended by the Mental Health Act 2007).","MHS405","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D735)","v":0},"MHS405CommTreatOrderRecall","MHS40510","Record rejected - [M405020]StartTimeCommTreatOrdRecall has an incorrect data format. [M405914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M405020]StartTimeCommTreatOrdRecall=<StartTimeCommTreatOrdRecall>","This is the StartTimeCommTreatOrdRecall field. The format this is expecting is an8 (HH:MM:SS).","MHS405","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D736)","v":0},"MHS405CommTreatOrderRecall","MHS40511","Record rejected - [M405030]EndDateCommTreatOrdRecall has an incorrect data format. [M405914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M405030]EndDateCommTreatOrdRecall=<EndDateCommTreatOrdRecall>","This is the EndDateCommTreatOrdRecall. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS405","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D737)","v":0},"MHS405CommTreatOrderRecall","MHS40512","Record rejected - [M405030]EndDateCommTreatOrdRecall is before the [M000050]ReportingPeriodStartDate. [M405914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M405030]EndDateCommTreatOrdRecall=<EndDateCommTreatOrdRecall> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","This is the EndDateCommTreatOrdRecall field. Only activity that took place during the reporting period should be submitted. This means that the EndDateCommTreatOrdRecall date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS405","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D738)","v":0},"MHS405CommTreatOrderRecall","MHS40513","Record rejected - [M405030]EndDateCommTreatOrdRecall is after the [M000060]ReportingPeriodEndDate. [M405914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M405030]EndDateCommTreatOrdRecall=<EndDateCommTreatOrdRecall> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the EndDateCommTreatOrdRecall field. Only activity that took place during the reporting period should be submitted. This means that the EndDateCommTreatOrdRecall date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS405","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D739)","v":0},"MHS405CommTreatOrderRecall","MHS40514","Record rejected - [M405030]EndDateCommTreatOrdRecall is before the associated [M405010]StartDateCommTreatOrdRecall. [M405914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M405030]EndDateCommTreatOrdRecall=<EndDateCommTreatOrdRecall> [M405010]StartDateCommTreatOrdRecall=<StartDateCommTreatOrdRecall>","This is the EndDateCommTreatOrdRecall field and is expecting the end date for a period of recall to hospital for treatment for a Patient on a Community Treatment Order under S17A of the Mental Health Act 1983 (as amended by the Mental Health Act 2007). The EndDateCommTreatOrdRecall cannot be before the associated StartDateCommTreatOrdRecall.","MHS405","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D740)","v":0},"MHS405CommTreatOrderRecall","MHS40515","Record rejected - [M405040]EndTimeCommTreatOrdRecall has an incorrect data format. [M405914]MHActLegalStatusClassPeriodID=<MHActLegalStatusClassPeriodID> [M405040]EndTimeCommTreatOrdRecall=<EndTimeCommTreatOrdRecall>","This is the EndTimeCommTreatOrdRecall field. The format this is expecting is an8 (HH:MM:SS).","MHS405","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D741)","v":0},"MHS501HospitalProviderSpell","MHS50102","Group rejected - No valid [MHS101]Referral submitted for this [M501902]ServiceRequestID. [M501902]ServiceRequestID=<ServiceRequestID>","Record in the MHS501HospProvSpell table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ServiceRequestId in the linked table (MHS101Referral).","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D742)","v":0},"MHS501HospitalProviderSpell","MHS50103","Group rejected - More than one [MHS501]HospProvSpell submitted for this [M501200]HospProvSpellID. [M501200]HospProvSpellID=<HospProvSpellID>","Duplicate records have been submitted using the same HospProvSpellID. All duplicate records will be rejected with group-level rejection error.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D743)","v":0},"MHS501HospProvSpell","MHS50104","Record rejected - [M501200]HospProvSpellID is blank. [M501902]ServiceRequestID=<ServiceRequestID>","The HospProvSpellID is a mandatory field so cannot be left blank. This field is expecting a unique identifier for each Hospital Provider Spell for a Health Care Provider.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D744)","v":0},"MHS501HospProvSpell","MHS50105","Record rejected - [M501200]HospProvSpellID has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID>","The HospProvSpellID has an expected format of max an12.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D745)","v":0},"MHS501HospProvSpell","MHS50106","Record rejected - [M501902]ServiceRequestID is blank. [M501200]HospProvSpellID=<HospProvSpellID>","The ServiceRequestId is a mandatory field so cannot be left blank. It must match a ServiceRequestId given in MHS101Referral.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D746)","v":0},"MHS501HospProvSpell","MHS50107","Record rejected - [M501902]ServiceRequestID has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID>","This is the ServiceRequestId field and can accept up to 20 characters. It must match a ServiceRequestId given in MHS101Referral.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D747)","v":0},"MHS501HospProvSpell","MHS50108","Record rejected - [M501010]StartDateHospProvSpell is blank. [M501200]HospProvSpellID=<HospProvSpellID>","The StartDateHospProvSpell field is a mandatory field so cannot be left blank. This field is expecting the start date of a Hospital Provider Spell.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D748)","v":0},"MHS501HospProvSpell","MHS50109","Record rejected - [M501010]StartDateHospProvSpell has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501010]StartDateHospProvSpell=<StartDateHospProvSpell>","This is the StartDateHospProvSpell field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D749)","v":0},"MHS501HospProvSpell","MHS50110","Record rejected - [M501010]StartDateHospProvSpell is after the [M000060]ReportingPeriodEndDate. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501010]StartDateHospProvSpell=<StartDateHospProvSpell> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the StartDateHospProvSpell field. Only Hospital Provider Spells that were open during the reporting period should be submitted (including those that closed during the reporting period). This means that the StartDateHospProvSpell date should not be after the ReportingPeriodEndDate.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D750)","v":0},"MHS501HospProvSpell","MHS50111","Record rejected - [M501020]StartTimeHospProvSpell has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501020]StartTimeHospProvSpell=<StartTimeHospProvSpell>","This is the StartTimeHospProvSpell field. The format this is expecting is an8 (HH:MM:SS).","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D751)","v":0},"MHS501HospProvSpell","MHS50112","Record rejected - [M501210]SourceAdmMHHospProvSpell has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501210]SourceAdmMHHospProvSpell=<SourceAdmMHHospProvSpell>","This is the SourceAdmMHHospProvSpell field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D752)","v":0},"MHS501HospProvSpell","MHS50113","Severity 1 Warning - [M501210]SourceAdmMHHospProvSpell contains an invalid national code value. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501210]SourceAdmMHHospProvSpell=<SourceAdmMHHospProvSpell>","This is the SourceAdmMHHospProvSpell field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS501","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D753)","v":0},"MHS501HospProvSpell","MHS50114","Record rejected - [M501220]MethAdmMHHospProvSpell has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501220]MethAdmMHHospProvSpell=<MethAdmMHHospProvSpell>","This is the AdmMethCodeHospProvSpell field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D754)","v":0},"MHS501HospProvSpell","MHS50115","Warning - [M501220]MethAdmMHHospProvSpell contains an invalid national code value. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501220]MethAdmMHHospProvSpell=<MethAdmMHHospProvSpell>","This is the AdmMethCodeHospProvSpell field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS501","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D755)","v":0},"MHS501HospProvSpell","MHS50116","Record rejected - [M501090]PlannedDischDateHospProvSpell has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501090]PlannedDischDateHospProvSpell=<PlannedDischDateHospProvSpell>","This is the PlannedDischDateHospProvSpell field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D756)","v":0},"MHS501HospProvSpell","MHS50117","Record rejected - [M501050]DischDateHospProvSpell has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell>","This is the DischDateHospProvSpell field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D757)","v":0},"MHS501HospProvSpell","MHS50118","Record rejected - [M501050]DischDateHospProvSpell is before the [M000050]ReportingPeriodStartDate. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","This is the DischDateHospProvSpell field. Only activity that took place during the reporting period should be submitted. This means that the DischDateHospProvSpell date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D758)","v":0},"MHS501HospProvSpell","MHS50119","Record rejected - [M501050]DischDateHospProvSpell is after the [M000060]ReportingPeriodEndDate. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the DischDateHospProvSpell field. Only activity that took place during the reporting period should be submitted. This means that the DischDateHospProvSpell date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D759)","v":0},"MHS501HospProvSpell","MHS50120","Record rejected - [M501050]DischDateHospProvSpell is before the associated [M501010]StartDateHospProvSpell. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell> [M501010]StartDateHospProvSpell=<StartDateHospProvSpell>","This is the DischDateHospProvSpell field and is expecting the discharge date from a Hospital Provider Spell. Therefore the DischDateHospProvSpell cannot be before the StartDateHospProvSpell","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D760)","v":0},"MHS501HospProvSpell","MHS50121","Record rejected - [M501060]DischTimeHospProvSpell has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501060]DischTimeHospProvSpell=<DischTimeHospProvSpell>","This is the DischTimeHospProvSpell field. The format this is expecting is an8 (HH:MM:SS).","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D761)","v":0},"MHS501HospProvSpell","MHS50122","Record rejected - [M501240]MethOfDischMHHospProvSpell has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501240]MethOfDischMHHospProvSpell=<MethOfDischMHHospProvSpell>","This is the MethOfDischMHHospProvSpell field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D762)","v":0},"MHS501HospProvSpell","MHS50123","Warning - [M501240]MethOfDischMHHospProvSpell contains an invalid national code value. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501240]MethOfDischMHHospProvSpell=<MethOfDischMHHospProvSpell>","This is the MethOfDischMHHospProvSpell field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS501","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D763)","v":0},"MHS501HospProvSpell","MHS50124","Record rejected - [M501250]DestOfDischHospProvSpell has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501250]DestOfDischHospProvSpell=<DestOfDischHospProvSpell>","This is the DestOfDischHospProvSpell field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D764)","v":0},"MHS501HospProvSpell","MHS50125","Severity 1 Warning - [M501250]DestOfDischHospProvSpell contains an invalid national code value. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501250]DestOfDischHospProvSpell=<DestOfDischHospProvSpell>","This is the DestOfDischHospProvSpell field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS501","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D765)","v":0},"MHS501HospProvSpell","MHS50126","Record rejected - [M501100]PostcodeMainVisitor has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501100]PostcodeMainVisitor=<PostcodeMainVisitor>","This is the PostcodeMainVisitor field. Postcodes must have a space at the fourth character from the right and use one of the following formats:\n•\tA1 1AA\n•\tA11 1AA\n•\tAA1 1AA\n•\tAA11 1AA\n•\tA1A 1AA\n•\tAA1A 1AA","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D766)","v":0},"MHS501HospProvSpell","MHS50127","Warning - [M501100]PostcodeMainVisitor contains an invalid national code value. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501100]PostcodeMainVisitor=<PostcodeMainVisitor>","This is the PostcodeMainVisitor field. A list of national postcodes is available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads.","MHS501","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D767)","v":0},"MHS501HospProvSpell","MHS50128","Record rejected - [M501230]PlannedDestDisch has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501230]PlannedDestDisch=<PlannedDestDisch>","This is the PlannedDestDisch field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D768)","v":0},"MHS501HospProvSpell","MHS50129","Severity 1 Warning - [M501230]PlannedDestDisch contains an invalid national code value. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501230]PlannedDestDisch=<PlannedDestDisch>","This is the PlannedDestDisch field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS501","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D769)","v":0},"MHS501HospProvSpell","MHS50130","Record rejected - [M501160]EstimatedDischDateHospProvSpell has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501160]EstimatedDischDateHospProvSpell=<EstimatedDischDateHospProvSpell>","This is the EstimatedDischDateHospProvSpell field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D770)","v":0},"MHS501HospProvSpell","MHS50131","Record rejected - [M501170]PostcodeDischDestHospProvSpell has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501170]PostcodeDischDestHospProvSpell=<PostcodeDischDestHospProvSpell>","This is the PostcodeDischDestHospProvSpell field. Postcodes must have a space at the fourth character from the right and use one of the following formats:\n•\tA1 1AA\n•\tA11 1AA\n•\tAA1 1AA\n•\tAA11 1AA\n•\tA1A 1AA\n•\tAA1A 1AA",{"$f":"LEFT(D770,6)","v":"MHS501"},"Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D771)","v":0},"MHS501HospProvSpell","MHS50132","Severity 1 Warning - [M501170]PostcodeDischDestHospProvSpell contains an invalid national code value. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501170]PostcodeDischDestHospProvSpell=<PostcodeDischDestHospProvSpell>","This is the PostcodeDischDestHospProvSpell field. A list of national postcodes is available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads.","MHS501","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D772)","v":0},"MHS501HospProvSpell","MHS50134","Record rejected - [M501180]DecidedToAdmitDate has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501180]DecidedToAdmitDate=<DecidedToAdmitDate>","If Decided to Admit Date is after the end of the reporting period, the record will be rejected.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D773)","v":0},"MHS501HospProvSpell","MHS50135","Record rejected - [M501180]DecidedToAdmitDate is after the [M000060]ReportingPeriodEndDate. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501180]DecidedToAdmitDate=<DecidedToAdmitDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Decided to Admit Date is after the end of the reporting period, the record will be rejected.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D774)","v":0},"MHS501HospProvSpell","MHS50136","Record rejected - [M501190]DecidedToAdmitTime has an incorrect data format. [M501200]HospProvSpellID=<HospProvSpellID> [M501902]ServiceRequestID=<ServiceRequestID> [M501190]DecidedToAdmitTime=<DecidedToAdmitTime>","The time a DECISION TO ADMIT was made.","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D775)","v":0},"MHS501HospProvSpell","MHS50141","Record rejected - Transforming Care Category has incorrect data format.","Category of patients in scope of Transforming Care  This only needs to be captured for inpatients that are in scope of Transforming Care","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D776)","v":0},"MHS501HospProvSpell","MHS50142","Warning - Transforming Care Category contains an invalid Transforming Care Category.","Category of patients in scope of Transforming Care  This only needs to be captured for inpatients that are in scope of Transforming Care","MHS501","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D777)","v":0},"MHS501HospProvSpell","MHS50143","Record rejected - Transforming Care Indicator has incorrect data format.","Indicator to show if the patient is in scope of Transforming Care  This only needs to be captured for inpatients that are in scope of Transforming Care","MHS501","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D778)","v":0},"MHS501HospProvSpell","MHS50144","Warning - Transforming Care Indicator contains an invalid Transforming Care Indicator.","Indicator to show if the patient is in scope of Transforming Care  This only needs to be captured for inpatients that are in scope of Transforming Care","MHS501","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D779)","v":0},"MHS502WardStay","MHS50203","Group rejected - No valid [MHS501]HospProvSpell submitted for this [M502160]HospProvSpellID. [M502160]HospProvSpellID=<HospProvSpellID>","Record in the MHS502WardStay table rejected because there is no corresponding record in the MHS501HospProvSpell table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS501HospProvSpell) has been rejected due to a validation error. Reason 2: There is no record with a corresponding HospProvSpellID in the linked table (MHS501HospProvSpell).","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D780)","v":0},"MHS502WardStay","MHS50204","Group rejected - More than one [MHS502]WardStay submitted for this [M502915]WardStayID. [M502915]WardStayID=<WardStayID>","Duplicate records have been submitted using the same WardStayId. All duplicate records will be rejected with group-level rejection error.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D781)","v":0},"MHS502WardStay","MHS50205","Record rejected - [M502915]WardStayID is blank.","The WardStayId field is a mandatory field so cannot be left blank.  The WardStayId is used to uniquely identify the Patient Ward Stay within a Hospital Provider Spell. The WardStayId provides a means for linking records in the MHS502 Ward Stay table with additional data associated directly with that Ward Stay.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D782)","v":0},"MHS502WardStay","MHS50206","Record rejected - [M502915]WardStayID has an incorrect data format. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID>","This is the WardStayId field and can accept up to 20 characters. ","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D783)","v":0},"MHS502WardStay","MHS50207","Record rejected - [M502160]HospProvSpellID is blank. [M502915]WardStayID=<WardStayID>","The HospProvSpellID field is a mandatory field so cannot be left blank. It must match a HospProvSpellID given in MHS501HospProvSpell.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D784)","v":0},"MHS502WardStay","MHS50208","Record rejected - [M502160]HospProvSpellID has an incorrect data format. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID>","This is the HospProvSpellID field and can accept up to 20 characters. It must match a HospProvSpellID given in MHS501HospProvSpell.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D785)","v":0},"MHS502WardStay","MHS50209","Record rejected - [M502010]StartDateWardStay is blank. [M502915]WardStayID=<WardStayID>","The StartDateWardStay field is a mandatory field so cannot be left blank. This field is expecting the start date of a ward stay.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D786)","v":0},"MHS502WardStay","MHS50210","Record rejected - [M502010]StartDateWardStay has an incorrect data format. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502010]StartDateWardStay=<StartDateWardStay>","This is the StartDateWardStay field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D787)","v":0},"MHS502WardStay","MHS50211","Record rejected - [M502010]StartDateWardStay is after the [M000060]ReportingPeriodEndDate. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502010]StartDateWardStay=<StartDateWardStay> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the StartDateWardStay field. Only Ward Stays that were open during the reporting period should be submitted (including those that closed during the reporting period). This means that the StartDateWardStay date should not be after the ReportingPeriodEndDate.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D788)","v":0},"MHS502WardStay","MHS50212","Record rejected - [M502020]StartTimeWardStay has an incorrect data format. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502020]StartTimeWardStay=<StartTimeWardStay>","This is the StartTimeWardStay field. The format this is expecting is an8 (HH:MM:SS).","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D789)","v":0},"MHS502WardStay","MHS50213","Record rejected - [M502030]EndDateWardStay has an incorrect data format. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502030]EndDateWardStay=<EndDateWardStay>","This is the EndDateWardStay field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D790)","v":0},"MHS502WardStay","MHS50214","Record rejected - [M502030]EndDateWardStay is before the [M000050]ReportingPeriodStartDate. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502030]EndDateWardStay=<EndDateWardStay> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","This is the EndDateWardStay field. Only activity that took place during the reporting period should be submitted. This means that the EndDateWardStay date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D791)","v":0},"MHS502WardStay","MHS50215","Record rejected - [M502030]EndDateWardStay is after the [M000060]ReportingPeriodEndDate. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502030]EndDateWardStay=<EndDateWardStay> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the EndDateWardStay field. Only activity that took place during the reporting period should be submitted. This means that the EndDateWardStay date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D792)","v":0},"MHS502WardStay","MHS50216","Record rejected - [M502030]EndDateWardStay is before the associated [M502010]StartDateWardStay. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502030]EndDateWardStay=<EndDateWardStay> [M502010]StartDateWardStay=<StartDateWardStay>","This is the EndDateWardStay field and is expecting the end date of a ward stay. The EndDateWardStay cannot be before the associated StartDateWardStay.","MHS502",{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E792)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E792)),\"Warning\",\"\"))","v":"Rejection"},"N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D793)","v":0},"MHS502WardStay","MHS50217","Record rejected - [M502040]EndTimeWardStay has an incorrect data format. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502040]EndTimeWardStay=<EndTimeWardStay>","This is the EndTimeWardStay field. The format this is expecting is an8 (HH:MM:SS).","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D794)","v":0},"MHS502WardStay","MHS50220","Record rejected - Ward Setting Type (Mental Health) has incorrect data format.","This is the WardType field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D795)","v":0},"MHS502WardStay","MHS50221","Warning - Ward Setting Type (Mental Health) contains an invalid Ward Setting Type(Mental Health).","This is the WardType field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS502","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D796)","v":0},"MHS502WardStay","MHS50222","Record rejected - Sex Of Patients Code (Mental Health) has incorrect data format.","This is the WardSexTypeCode field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D797)","v":0},"MHS502WardStay","MHS50223","Warning - Sex Of Patients Code (Mental Health) contains an invalid Sex Of Patients Code (Mental Health).","This is the WardSexTypeCode field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS502","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D798)","v":0},"MHS502WardStay","MHS50224","Record rejected - Intended Clinical Care Intensity Code (Mental Health) has incorrect data format.","This is the IntendClinCareIntenCodeMH field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D799)","v":0},"MHS502WardStay","MHS50225","Warning - Intended Clinical Care Intensity Code (Mental Health) contains an invalid Intended Clinical Care Intensity Code (Mental Health).","This is the IntendClinCareIntenCodeMH field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS502","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D800)","v":0},"MHS502WardStay","MHS50226","Record rejected - Ward Security Level has incorrect data format.","This is the WardSecLevel field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D801)","v":0},"MHS502WardStay","MHS50227","Warning - Severity 1 - Ward Security Level contains an invalid Ward Security Level.","This is the WardSecLevel field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS502","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D802)","v":0},"MHS502WardStay","MHS50228","Record rejected - Locked Ward Indicator has incorrect data format.","This is the LockedWardInd field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D803)","v":0},"MHS502WardStay","MHS50229","Warning - Locked Ward Indicator contains an invalid Locked Ward Indicator.","This is the LockedWardInd field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS502","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D804)","v":0},"MHS502WardStay","MHS50230","Record rejected - [M502010]StartDateWardStay is before the associated [M501010]StartDateHospProvSpell. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502010]StartDateWardStay=<StartDateWardStay> [M501010]StartDateHospProvSpell=<StartDateHospProvSpell>","This is the StartDateWardStay field and is expecting the start date of a ward stay. The StartDateWardStay cannot be before the StartDateHospProvSpell.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D805)","v":0},"MHS502WardStay","MHS50231","Record rejected - [M502010]StartDateWardStay is after the associated [M501050]DischDateHospProvSpell. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502010]StartDateWardStay=<StartDateWardStay> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell>","This is the StartDateWardStay field and is expecting the start date of a ward stay. The StartDateWardStay cannot be after the DischDateHospProvSpell.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D806)","v":0},"MHS502WardStay","MHS50232","Record rejected - [M502030]EndDateWardStay is before the associated [M501010]StartDateHospProvSpell. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502030]EndDateWardStay=<EndDateWardStay> [M502010]StartDateWardStay=<StartDateWardStay>","This is the EndDateWardStay field and is expecting the end date of a ward stay. The EndDateWardStay cannot be before the StartDateHospProvSpell.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D807)","v":0},"MHS502WardStay","MHS50233","Record rejected - [M502030]EndDateWardStay is after the associated [M501050]DischDateHospProvSpell. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502030]EndDateWardStay=<EndDateWardStay> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell>","This is the EndDateWardStay field and is expecting the end date of a ward stay. The EndDateWardStay cannot be after the DischDateHospProvSpell.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D808)","v":0},"MHS502WardStay","MHS50234","Record rejected - Intended Age Group (Mental Health) has incorrect data format.","This is the WardAge field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D809)","v":0},"MHS502WardStay","MHS50235","Warning - Intended Age Group (Mental Health) contains an invalid Intended Age Group (Mental Health).","This is the WardAge field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS502","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D810)","v":0},"MHS502WardStay","MHS50236","Record rejected - [M502120]MHAdmittedPatientClass has an incorrect data format. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502120]MHAdmittedPatientClass=<MHAdmittedPatientClass>","This is the HospitalBedTypeMH field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D811)","v":0},"MHS502WardStay","MHS50237","Warning - [M502120]MHAdmittedPatientClass contains an invalid national code value. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502120]MHAdmittedPatientClass=<MHAdmittedPatientClass>","This is the HospitalBedTypeMH field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS502","Warning","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D812)","v":0},"MHS502WardStay","MHS50238","Record rejected - Organisation Site Identifier (Of Treatment) has incorrect data format.","This is the SiteIDOfTreat field. The format is min an5 max an9. A list of live Organisations and their ODS codes (including GPs, CCGs, healthcare providers, schools etc) are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads. Alternatively, you can search for the Organisation on the ODS portal: https://odsportal.digital.nhs.uk/. Make sure that the Organisation is listed on the ODS portal or in the list of national codes provided on the file downloads pages and check that the Organisation has not closed.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D813)","v":0},"MHS502WardStay","MHS50239","Warning - Severity 1 - Organisation Site Identifier (Of Treatment) is not for a current live organisation in national tables.","This is the SiteIDOfTreat field. The ODS code provided is not recognised as being live. A list of live Organisations and their ODS codes (including GPs, CCGs, healthcare providers, schools etc) are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads. Alternatively, you can search for the Organisation on the ODS portal: https://odsportal.digital.nhs.uk/. Make sure that the Organisation is listed on the ODS portal or in the list of national codes provided on the file downloads pages and check that the Organisation has not closed.","MHS502","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D814)","v":0},"MHS502WardStay","MHS50240","Record rejected - [M502130]SpecialisedMHServiceCode has an incorrect data format. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502130]SpecialisedMHServiceCode=<SpecialisedMHServiceCode>","This is the SpecialisedMHServiceCode field. It is expecting a format of max an50.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D815)","v":0},"MHS502WardStay","MHS50241","Record rejected - [M502140]WardCode has an incorrect data format. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502140]WardCode=<WardCode>","This is the WardCode field. It is expecting a format of max an12.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D816)","v":0},"MHS502WardStay","MHS50242","Warning - [M502130]SpecialisedMHServiceCode contains an invalid national code value. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502130]SpecialisedMHServiceCode=<SpecialisedMHServiceCode>","This is the EndDateMHTrialLeave field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS502","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D817)","v":0},"MHS502WardStay","MHS50243","Record rejected - [M502150]EndDateMHTrialLeave has an incorrect data format. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502150]EndDateMHTrialLeave=<EndDateMHTrialLeave>","The End Date of a period of Mental Health Trial Leave for a PATIENT.","MHS502","Rejection","N/A",null,"OAPs"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D818)","v":0},"MHS502WardStay","MHS50244","Record rejected - [M502150]EndDateMHTrialLeave is before the [M000050]ReportingPeriodStartDate. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502150]EndDateMHTrialLeave=<EndDateMHTrialLeave> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>",null,"MHS502","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D819)","v":0},"MHS502WardStay","MHS50245","Record rejected - [M502150]EndDateMHTrialLeave is after the [M000060]ReportingPeriodEndDate. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502150]EndDateMHTrialLeave=<EndDateMHTrialLeave> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>",null,"MHS502","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D820)","v":0},"MHS502WardStay","MHS50246","Record rejected - [M502150]EndDateMHTrialLeave is before the associated [M502010]StartDateWardStay. [M502915]WardStayID=<WardStayID> [M502160]HospProvSpellID=<HospProvSpellID> [M502150]EndDateMHTrialLeave=<EndDateMHTrialLeave> [M502010]=<StartDateWardStay>",null,"MHS502","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D821)","v":0},"MHS502WardStay","MHS50247","Record rejected - [M502140]WardCode is blank.",null,"MHS502","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D822)","v":0},"MHS503AssignedCareProfessional","MHS50301","Group rejected - No valid [MHS501]HospProvSpell submitted for this [M503050]HospProvSpellID. [M503050]HospProvSpellID=<HospProvSpellID>","Record in the MHS503AssignedCareProf table rejected because there is no corresponding record in the MHS501HospProvSpell table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS501HospProvSpell) has been rejected due to a validation error. Reason 2: There is no record with a corresponding HospProvSpellID in the linked table (MHS501HospProvSpell).","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D823)","v":0},"MHS503AssignedCareProf","MHS50302","Record rejected - [M503050]HospProvSpellID is blank.","The HospProvSpellID is a mandatory field so cannot be left blank. It must match a HospProvSpellID given in MHS501HospProvSpell.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D824)","v":0},"MHS503AssignedCareProf","MHS50303","Record rejected - [M503050]HospProvSpellID has an incorrect data format. [M503050]HospProvSpellID=<HospProvSpellID>","This is the HospProvSpellID field and can accept up to 20 characters. It must match a HospProvSpellID given in MHS501HospProvSpell.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D825)","v":0},"MHS503AssignedCareProf","MHS50304","Record rejected - [M503908]CareProfLocalID is blank. [M503050]HospProvSpellID=<HospProvSpellID>","The CareProfLocalId field is a mandatory field so cannot be left blank. It must match a CareProfLocalId given in MHS901StaffDetails.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D826)","v":0},"MHS503AssignedCareProf","MHS50305","Record rejected - [M503908]CareProfLocalID has an incorrect data format. [M503050]HospProvSpellID=<HospProvSpellID> [M503908]CareProfLocalID=<CareProfLocalID>","This is the CareProfLocalId field and can accept up to 20 characters. It must match a CareProfLocalId given in MHS901StaffDetails.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D827)","v":0},"MHS503AssignedCareProf","MHS50306","Record rejected - [M503010]StartDateAssCareProf is blank. [M503050]HospProvSpellID=<HospProvSpellID>","The StartDateAssCareProf is a mandatory field so cannot be left blank. This field is expecting the start date of an assignment of a Care Professional responsible for the care of the Patient.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D828)","v":0},"MHS503AssignedCareProf","MHS50307","Record rejected - [M503010]StartDateAssCareProf has an incorrect data format. [M503050]HospProvSpellID=<HospProvSpellID> [M503010]StartDateAssCareProf=<StartDateAssCareProf>","This is the StartDateAssCareProf field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D829)","v":0},"MHS503AssignedCareProf","MHS50308","Record rejected - [M503010]StartDateAssCareProf is after the [M000060]ReportingPeriodEndDate. [M503050]HospProvSpellID=<HospProvSpellID> [M503010]StartDateAssCareProf=<StartDateAssCareProf> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the StartDateAssCareProf field. Only Ward Stays that were open during the reporting period should be submitted (including those that closed during the reporting period). This means that the StartDateAssCareProf date should not be after the ReportingPeriodEndDate.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D830)","v":0},"MHS503AssignedCareProf","MHS50309","Record rejected - [M503020]EndDateAssCareProf has an incorrect data format. [M503050]HospProvSpellID=<HospProvSpellID> [M503020]EndDateAssCareProf=<EndDateAssCareProf>","This is the EndDateAssCareProf field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D831)","v":0},"MHS503AssignedCareProf","MHS50310","Record rejected - [M503020]EndDateAssCareProf is before the [M000050]ReportingPeriodStartDate. [M503050]HospProvSpellID=<HospProvSpellID> [M503020]EndDateAssCareProf=<EndDateAssCareProf> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","This is the EndDateAssCareProf field. Only activity that took place during the reporting period should be submitted. This means that the EndDateAssCareProf date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D832)","v":0},"MHS503AssignedCareProf","MHS50311","Record rejected - [M503020]EndDateAssCareProf is after the [M000060]ReportingPeriodEndDate. [M503050]HospProvSpellID=<HospProvSpellID> [M503020]EndDateAssCareProf=<EndDateAssCareProf> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","This is the EndDateAssCareProf field. Only activity that took place during the reporting period should be submitted. This means that the EndDateAssCareProf date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D833)","v":0},"MHS503AssignedCareProf","MHS50312","Record rejected - [M503020]EndDateAssCareProf is before the associated [M503010]StartDateAssCareProf. [M503050]HospProvSpellID=<HospProvSpellID> [M503020]EndDateAssCareProf=<EndDateAssCareProf> [M503010]StartDateAssCareProf=<StartDateAssCareProf>","This is the EndDateAssCareProf field and is expecting the end date of an assignment of a Care Professional responsible for the care of the Patient. The EndDateAssCareProf cannot be before the associated StartDateAssCareProf.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D834)","v":0},"MHS503AssignedCareProf","MHS50313","Record rejected - [M503040]TreatFuncCodeMH has an incorrect data format. [M503050]HospProvSpellID=<HospProvSpellID> [M503040]TreatFuncCodeMH=<TreatFuncCodeMH>","This is the TreatFuncCodeMH field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.",{"$f":"LEFT(D834,6)","v":"MHS503"},"Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D835)","v":0},"MHS503AssignedCareProf","MHS50314","Warning - [M503040]TreatFuncCodeMH contains an invalid national code value. [M503050]HospProvSpellID=<HospProvSpellID> [M503040]TreatFuncCodeMH=<TreatFuncCodeMH>","This is the TreatFuncCodeMH field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS503","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D836)","v":0},"MHS503AssignedCareProfessional","MHS50315","Warning - No valid [MHS901]StaffDetails submitted for this [M503908]CareProfLocalID. [M503908]CareProfLocalID=<CareProfLocalID>","Warning generated for MHS503AssignedCareProf record because there is no corresponding record in the MHS901StaffDetails table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS901StaffDetails) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareProfLocalId in the linked table (MHS901StaffDetails).","MHS503","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D837)","v":0},"MHS503AssignedCareProf","MHS50316","Record rejected - [M503010]StartDateAssCareProf is before the associated [M501010]StartDateHospProvSpell. [M503050]HospProvSpellID=<HospProvSpellID> [M503010]StartDateAssCareProf=<StartDateAssCareProf> [M501010]StartDateHospProvSpell=<StartDateHospProvSpell>","This is the StartDateAssCareProf field and is expecting the start date of an assignment of a Care Professional responsible for the care of the Patient. The StartDateAssCareProf cannot be before the StartDateHospProvSpell.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D838)","v":0},"MHS503AssignedCareProf","MHS50317","Record rejected - [M503010]StartDateAssCareProf is after the associated [M501050]DischDateHospProvSpell. [M503050]HospProvSpellID=<HospProvSpellID> [M503010]StartDateAssCareProf=<StartDateAssCareProf> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell>","This is the StartDateAssCareProf field and is expecting the start date of an assignment of a Care Professional responsible for the care of the Patient. The StartDateAssCareProf cannot be after the DischDateHospProvSpell.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D839)","v":0},"MHS503AssignedCareProf","MHS50318","Record rejected - [M503020]EndDateAssCareProf is before the associated [M501010]StartDateHospProvSpell. [M503050]HospProvSpellID=<HospProvSpellID> [M503020]EndDateAssCareProf=<EndDateAssCareProf> [M501010]StartDateHospProvSpell=<StartDateHospProvSpell>","This is the EndDateAssCareProf field and is expecting the end date of an assignment of a Care Professional responsible for the care of the Patient. The EndDateAssCareProf cannot be before the StartDateHospProvSpell.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D840)","v":0},"MHS503AssignedCareProf","MHS50319","Record rejected - [M503020]EndDateAssCareProf is after the associated [M501050]DischDateHospProvSpell. [M503050]HospProvSpellID=<HospProvSpellID> [M503020]EndDateAssCareProf=<EndDateAssCareProf> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell>","This is the EndDateAssCareProf field and is expecting the end date of an assignment of a Care Professional responsible for the care of the Patient. The EndDateAssCareProf cannot be after the DischDateHospProvSpell.","MHS503","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D841)","v":0},"MHS504MentalHealthDelayedDischarge","MHS50401","Group rejected - No valid MHS501 group transmitted for this Hospital Provider Spell Identifier.","Record in the MHS504DelayedDischarge table rejected because there is no corresponding record in the MHS501HospProvSpell table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS501HospProvSpell) has been rejected due to a validation error. Reason 2: There is no record with a corresponding HospProvSpellID in the linked table (MHS501HospProvSpell).","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D842)","v":0},"MHS504DelayedDischarge","MHS50402","Record rejected - Hospital Provider Spell Identifier is blank.","The HospProvSpellID is a mandatory field so cannot be left blank. It must match a HospProvSpellID given in MHS501HospProvSpell.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D843)","v":0},"MHS504DelayedDischarge","MHS50403","Record rejected - Hospital Provider Spell Identifier has incorrect data format.","This is the HospProvSpellID field and can accept up to 20 characters. It must match a HospProvSpellID given in MHS501HospProvSpell.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D844)","v":0},"MHS504DelayedDischarge","MHS50404","Record rejected - Start Date (Mental Health Delayed Discharge Period) is blank.","The StartDateDelayDisch is a mandatory field so cannot be left blank. The date that the clinical decision was taken that the Patient is fit and ready for discharge, but external factors prevent the discharge taking place.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D845)","v":0},"MHS504DelayedDischarge","MHS50405","Record rejected - Start Date (Mental Health Delayed Discharge Period) has incorrect data format.","This is the StartDateDelayDisch field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D846)","v":0},"MHS504DelayedDischarge","MHS50406","Record rejected -Start Date (Mental Health Delayed Discharge Period) is after the end date of the reporting period.","This is the StartDateDelayDisch field. Only activity that took place during the reporting period should be submitted. This means that the StartDateDelayDisch date should not be after the ReportingPeriodEndDate.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D847)","v":0},"MHS504DelayedDischarge","MHS50407","Record rejected - End Date (Mental Health Delayed Discharge Period) has incorrect data format.","This is the EndDateDelayDisch field. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D848)","v":0},"MHS504DelayedDischarge","MHS50408","Record rejected - End Date (Mental Health Delayed Discharge Period) is before the start of the reporting period.","This is the EndDateDelayDisch field. Only activity that took place during the reporting period should be submitted. This means that the EndDateDelayDisch date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D849)","v":0},"MHS504DelayedDischarge","MHS50409","Record rejected - End Date (Mental Health Delayed Discharge Period) is after the end of the reporting period.","This is the EndDateDelayDisch field. Only activity that took place during the reporting period should be submitted. This means that the EndDateDelayDisch date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D850)","v":0},"MHS504DelayedDischarge","MHS50410","Record rejected - End Date (Mental Health Delayed Discharge Period) is prior to the associated Start Date (Mental Health Delayed Discharge Period).","This is the EndDateDelayDisch field and is expecting the date that a period of delayed discharge for a Patient who had previously been ready for discharge ended. The EndDateDelayDisch cannot be before the associated StartDateDelayDisch.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D851)","v":0},"MHS504DelayedDischarge","MHS50411","Record rejected - Mental Health Delayed Discharge Reason has incorrect data format.","This is the DelayDischReason field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D852)","v":0},"MHS504DelayedDischarge","MHS50412","Warning - Mental Health Delayed Discharge Reason contains an invalid Mental Health Delayed Discharge Reason.","This is the DelayDischReason field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS504","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D853)","v":0},"MHS504DelayedDischarge","MHS50413","Record rejected - Mental Health Delayed Discharge Attributable To Indication Code has incorrect data format.","This is the AttribToIndic field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D854)","v":0},"MHS504DelayedDischarge","MHS50414","Warning - Mental Health Delayed Discharge Attributable To Indication Code contains an invalid Mental Health Delayed Discharge Attributable To Indication Code.","This is the AttribToIndic field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS504","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D855)","v":0},"MHS504DelayedDischarge","MHS50415","Record rejected - Start Date (Mental Health Delayed Discharge Period) is before the Start Date (Hospital Provider Spell).","This is the StartDateDelayDisch field. The date that the clinical decision was taken that the Patient is fit and ready for discharge, but external factors prevent the discharge taking place. The StartDateDelayDisch cannot be before the StartDateHospProvSpell.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D856)","v":0},"MHS504DelayedDischarge","MHS50416","Record rejected - Start Date (Mental Health Delayed Discharge Period) is after the Discharge Date (Hospital Provider Spell).","This is the StartDateDelayDisch field. The date that the clinical decision was taken that the Patient is fit and ready for discharge, but external factors prevent the discharge taking place. The StartDateDelayDisch cannot be after the DischDateHospProvSpell.","MHS504",{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E856)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E856)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D857)","v":0},"MHS504DelayedDischarge","MHS50417","Record rejected - End Date (Mental Health Delayed Discharge Period) is before the Start Date (Hospital Provider Spell).","This is the EndDateDelayDisch field and is expecting the date that a period of delayed discharge for a Patient who had previously been ready for discharge ended. The EndDateDelayDisch cannot be before the StartDateHospProvSpell.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D858)","v":0},"MHS504DelayedDischarge","MHS50418","Record rejected - End Date (Mental Health Delayed Discharge Period) is after the Discharge Date (Hospital Provider Spell).","This is the EndDateDelayDisch field and is expecting the date that a period of delayed discharge for a Patient who had previously been ready for discharge ended. The EndDateDelayDisch cannot be after the DischDateHospProvSpell.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D859)","v":0},"MHS504DelayedDischarge","MHS50419","Record rejected - Organisation Identifier (Resposible Local Authority Mental Health Delayed Discharge) has an incorrect data format.","This is the OrgIDRespLADelayDisch field. The expected format is min an3 max an6. A list of live Organisations and their ODS codes (including GPs, CCGs, healthcare providers, schools etc) are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads. Alternatively, you can search for the Organisation on the ODS portal: https://odsportal.digital.nhs.uk/.","MHS504","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D860)","v":0},"MHS504DelayedDischarge","MHS50420","Warning - Organisation Identifier (Responsible Local Authority Mental Health Delayed Discharge) is not for a current live organisation in national tables.","The ODS code provided is not recognised as being live. A list of live Organisations and their ODS codes (including GPs, CCGs, healthcare providers, schools etc) are available to download from the file downloads page: https://digital.nhs.uk/services/Organisation-data-service/file-downloads. Alternatively, you can search for the Organisation on the ODS portal: https://odsportal.digital.nhs.uk/. Make sure that the Organisation is listed on the ODS portal or in the list of national codes provided on the file downloads pages and check that the Organisation has not closed.","MHS504","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D861)","v":0},"MHS505RestrictiveInterventInc","MHS50501","Record rejected - [M505010]RestrictiveIntIncID is blank.","The RestrictiveIntIncID field is a mandatory field so cannot be left blank. A unique identifier allocated for each Restrictive Intervention Incident during the Hospital Provider Spell.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D862)","v":0},"MHS505RestrictiveInterventInc","MHS50502","Record rejected - [M505010]RestrictiveIntIncID has an incorrect data format. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID>","The RestrictiveIntIncID field can accept up to 20 characters. A unique identifier allocated for each Restrictive Intervention Incident during the Hospital Provider Spell","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D863)","v":0},"MHS505RestrictiveInterventInc","MHS50530","Record rejected - [M505110]RestrictiveIntPIReviewHeldPat has an incorrect data format. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505110]RestrictiveIntPIReviewHeldPat=<RestrictiveIntPIReviewHeldPat>","This is the RestrictiveIntPIReviewHeldPat field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D864)","v":0},"MHS505RestrictiveInterventInc","MHS50531","Warning - [M505110]RestrictiveIntPIReviewHeldPat contains an invalid national code value. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505110]RestrictiveIntPIReviewHeldPat=<RestrictiveIntPIReviewHeldPat>","This is the RestrictiveIntPIReviewHeldPat field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS505","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D865)","v":0},"MHS505RestrictiveInterventInc","MHS50532","Record rejected - [M505120]RestrictiveIntPIReviewNotHeldReasPat has an incorrect data format. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505120]RestrictiveIntPIReviewNotHeldReasPat=<RestrictiveIntPIReviewNotHeldReasPat>","This is the RestrictiveIntPIReviewNotHeldReasPat field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D866)","v":0},"MHS505RestrictiveInterventInc","MHS50533","Warning - [M505120]RestrictiveIntPIReviewNotHeldReasPat contains an invalid national code value. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505120]RestrictiveIntPIReviewNotHeldReasPat=<RestrictiveIntPIReviewNotHeldReasPat>","This is the RestrictiveIntPIReviewNotHeldReasPat field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS505","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D867)","v":0},"MHS505RestrictiveInterventInc","MHS50534","Record rejected - [M505130]RestrictiveIntPIReviewHeldCarePers has an incorrect data format. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505130]RestrictiveIntPIReviewHeldCarePers=<RestrictiveIntPIReviewHeldCarePers>","This is the RestrictiveIntPIReviewHeldCarePers field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D868)","v":0},"MHS505RestrictiveInterventInc","MHS50535","Warning - [M505130]RestrictiveIntPIReviewHeldCarePers contains an invalid national code value. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505130]RestrictiveIntPIReviewHeldCarePers=<RestrictiveIntPIReviewHeldCarePers>","This is the RestrictiveIntPIReviewHeldCarePers field. It takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS505","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D869)","v":0},"MHS505RestrictiveInterventInc","MHS50539","Record rejected - [M505140]RestrictiveIntReason has an incorrect data format. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505140]RestrictiveIntReason=<RestrictiveIntReason>","The reason that a Restrictive Intervention was used on a PATIENT during a Hospital Provider Spell.\n\nIt takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D870)","v":0},"MHS505RestrictiveInterventInc","MHS50540","Warning - [M505140]RestrictiveIntReason contains an invalid national code value. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505140]RestrictiveIntReason=<RestrictiveIntReason>","The reason that a Restrictive Intervention was used on a PATIENT during a Hospital Provider Spell.\n\nIt takes only a set selection of codes that mean certain things in the MHSDS, which are listed in the Technical Output Specification. When choosing from a list of codes, you must match the options in the Technical Output Specification exactly. When the code starts with a zero, make sure that this is present when populating the IDB. Excel can automatically remove leading zeros, so this may require extra attention.","MHS505","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D871)","v":0},"MHS505RestrictiveInterventionIncident","MHS50541","Group rejected - No valid [MHS501]HospProvSpell submitted for this [M505150]HospProvSpellID. [M505150]HospProvSpellID=<HospProvSpellID>","Record in the MHS505RestrictiveInterventionIncident table rejected because there is no corresponding record in the MHS501HospProvSpell table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS501HospProvSpell) has been rejected due to a validation error. Reason 2: There is no record with a corresponding HospProvSpellID in the linked table (MHS501HospProvSpell).","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D872)","v":0},"MHS505RestrictiveInterventInc","MHS50542","Record rejected - [M505150]HospProvSpellID is blank. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID>","The HospProvSpellID field is a mandatory field so cannot be left blank. It must match a HospProvSpellID given in MHS501HospProvSpell.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D873)","v":0},"MHS505RestrictiveInterventInc","MHS50543","Record rejected - [M505150]HospProvSpellID has an incorrect data format. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID>","The HospProvSpellID field can accept up to 20 characters. It must match a HospProvSpellID given in MHS501HospProvSpell.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D874)","v":0},"MHS505RestrictiveInterventInc","MHS50544","Record rejected - [M505160]StartDateRestrictiveIntInc is blank. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID>","If Start Date (Restrictive Intervention Incident) is after the end of the reporting period, the record will be rejected.  If  Start Date (Restrictive Intervention Incident) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Restrictive Intervention Incident) is after the End Date (Hospital Provider Spell), the record will be rejected.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D875)","v":0},"MHS505RestrictiveInterventInc","MHS50545","Record rejected - [M505160]StartDateRestrictiveIntInc has an incorrect data format. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505160]StartDateRestrictiveIntInc=<StartDateRestrictiveIntInc>","If  Start Date (Restrictive Intervention Incident) is after the end of the reporting period, the record will be rejected.  If  Start Date (Restrictive Intervention Incident) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Restrictive Intervention Incident) is after the End Date (Hospital Provider Spell), the record will be rejected.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D876)","v":0},"MHS505RestrictiveInterventInc","MHS50546","Record rejected - [M505160]StartDateRestrictiveIntInc is after the [M000060]ReportingPeriodEndDate. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505160]StartDateRestrictiveIntInc=<StartDateRestrictiveIntInc> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If  Start Date (Restrictive Intervention Incident) is after the end of the reporting period, the record will be rejected.  If  Start Date (Restrictive Intervention Incident) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Restrictive Intervention Incident) is after the End Date (Hospital Provider Spell), the record will be rejected.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D877)","v":0},"MHS505RestrictiveInterventInc","MHS50547","Record rejected - [M505160]StartDateRestrictiveIntInc is before the associated [M501010]StartDateHospProvSpell. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505160]StartDateRestrictiveIntInc=<StartDateRestrictiveIntInc> [M501010]StartDateHospProvSpell=<StartDateHospProvSpell>","If  Start Date (Restrictive Intervention Incident) is after the end of the reporting period, the record will be rejected.  If  Start Date (Restrictive Intervention Incident) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Restrictive Intervention Incident) is after the End Date (Hospital Provider Spell), the record will be rejected.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D878)","v":0},"MHS505RestrictiveInterventInc","MHS50548","Record rejected - [M505160]StartDateRestrictiveIntInc is after the associated [M501050]DischDateHospProvSpell. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505160]StartDateRestrictiveIntInc=<StartDateRestrictiveIntInc> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell>","If  Start Date (Restrictive Intervention Incident) is after the end of the reporting period, the record will be rejected.  If  Start Date (Restrictive Intervention Incident) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Restrictive Intervention Incident) is after the End Date (Hospital Provider Spell), the record will be rejected.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D879)","v":0},"MHS505RestrictiveInterventInc","MHS50549","Record rejected - [M505170]StartTimeRestrictiveIntInc has an incorrect data format. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505170]StartTimeRestrictiveIntInc=<StartTimeRestrictiveIntInc>","The Start Time of the Restrictive Intervention Incident as reported by the Care Professional.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D880)","v":0},"MHS505RestrictiveInterventInc","MHS50550","Record rejected - [M505190]EndTimeRestrictiveIntInc has an incorrect data format. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505190]EndTimeRestrictiveIntInc=<EndTimeRestrictiveIntInc>","The End Time of the Restrictive Intervention Incident as reported by the Care Professional.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D881)","v":0},"MHS505RestrictiveInterventInc","MHS50551","Record rejected - [M505180]EndDateRestrictiveIntInc has an incorrect data format. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505180]EndDateRestrictiveIntInc=<EndDateRestrictiveIntInc>","If End Date (Restrictive Intervention Incident) is before the start of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Incident) is after the end of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Incident) is before the Start Date (Restrictive Intervention Incident), the record will be rejected.  If End Date (Restrictive Intervention Incident) is after the End Date (Hospital Provider Spell), the record will be rejected.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D882)","v":0},"MHS505RestrictiveInterventInc","MHS50552","Record rejected - [M505180]EndDateRestrictiveIntInc is before the [M000050]ReportingPeriodStartDate. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505180]EndDateRestrictiveIntInc=<EndDateRestrictiveIntInc> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","If End Date (Restrictive Intervention Incident) is before the start of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Incident) is after the end of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Incident) is before the Start Date (Restrictive Intervention Incident), the record will be rejected.  If End Date (Restrictive Intervention Incident) is after the End Date (Hospital Provider Spell), the record will be rejected.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D883)","v":0},"MHS505RestrictiveInterventInc","MHS50553","Record rejected - [M505180]EndDateRestrictiveIntInc is after the [M000060]ReportingPeriodEndDate. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505180]EndDateRestrictiveIntInc=<EndDateRestrictiveIntInc> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If End Date (Restrictive Intervention Incident) is before the start of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Incident) is after the end of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Incident) is before the Start Date (Restrictive Intervention Incident), the record will be rejected.  If End Date (Restrictive Intervention Incident) is after the End Date (Hospital Provider Spell), the record will be rejected.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D884)","v":0},"MHS505RestrictiveInterventInc","MHS50554","Record Rejected - [M505180]EndDateRestrictiveIntInc is before the associated [M505160]StartDateRestrictiveIntInc. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505180]EndDateRestrictiveIntInc=<EndDateRestrictiveIntInc> [M505160]=<StartDateRestrictiveIntInc>","If End Date (Restrictive Intervention Incident) is before the start of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Incident) is after the end of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Incident) is before the Start Date (Restrictive Intervention Incident), the record will be rejected.  If End Date (Restrictive Intervention Incident) is after the End Date (Hospital Provider Spell), the record will be rejected.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D885)","v":0},"MHS505RestrictiveInterventInc","MHS50555","Record rejected - [M505180]EndDateRestrictiveIntInc is after the associated [M501050]DischDateHospProvSpell. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID> [M505150]HospProvSpellID=<HospProvSpellID> [M505180]EndDateRestrictiveIntInc=<EndDateRestrictiveIntInc> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell>","If End Date (Restrictive Intervention Incident) is before the start of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Incident) is after the end of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Incident) is before the Start Date (Restrictive Intervention Incident), the record will be rejected.  If End Date (Restrictive Intervention Incident) is after the End Date (Hospital Provider Spell), the record will be rejected.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D886)","v":0},"MHS505RestrictiveInterventionIncident","MHS50557","Group rejected - More than one [MHS505]RestrictiveInterventInc submitted for this [M505010]RestrictiveIntIncID. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID>","Group-level Validation:  This group will be rejected if there is no valid MHS501 record transmitted for this Hospital Provider Spell Identifier.  If more than one MHS505 record is provided for a Restrictive Intervention Incident Identifier, all duplicated records will be rejected.","MHS505","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D887)","v":0},"MHS505RestrictiveInterventInc","MHS50558","Group rejected - No valid [MHS515]RestrictiveInterventType submitted for this [M505010]RestrictiveIntIncID. [M505010]RestrictiveIntIncID=<RestrictiveIntIncID>","Please note that with the implementation of MHSDS v6 - it is now mandatory to submit an MHS515RestrictiveinterventionType record for each RESTRICTIVE INTERVENTION INCIDENT IDENTIFIER recorded in MHS505RestrictiveInterventInc.\n\nTherefore any RESTRICTIVE INTERVENTION INCIDENT IDENTIFIER recorded in MHS505RestrictiveInterventInc without a corresponding MHS515RestrictiveinterventionType record in the same submission will be rejected from the dataset.","MHS505","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D888)","v":0},"MHS506Assault","MHS50605","Group rejected - No valid [MHS502]WardStay submitted for this [M506915]WardStayID. [M506915]WardStayID=<WardStayID>","Record in the MHS506Assault table rejected because there is no corresponding record in the MHS502WardStay table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS502WardStay) has been rejected due to a validation error. Reason 2: There is no record with a corresponding WardStayId in the linked table (MHS502WardStay).","MHS506","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D889)","v":0},"MHS506Assault","MHS50606","Record rejected - [M506915]WardStayID is blank. [M506915]WardStayID=<WardStayID>","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS506","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D890)","v":0},"MHS506Assault","MHS50607","Record rejected - [M506915]WardStayID has an incorrect data format. [M506915]WardStayID=<WardStayID>","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS506","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D891)","v":0},"MHS506Assault","MHS50608","Record rejected - [M506010]DateAssault is blank. [M506915]WardStayID=<WardStayID>","If DATE OF ASSAULT ON PATIENT is populated and not within the reporting period, the record will be rejected.  If Date of Assault on Patient is before the Start Date (Ward Stay), the record will be rejected.  If Date of Assault on Patient is after the End Date (Ward Stay), the record will be rejected.","MHS506","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D892)","v":0},"MHS506Assault","MHS50609","Record rejected - [M506010]DateAssault has an incorrect data format. [M506915]WardStayID=<WardStayID> [M506010]DateAssault=<DateAssault>","If DATE OF ASSAULT ON PATIENT is populated and not within the reporting period, the record will be rejected.  If Date of Assault on Patient is before the Start Date (Ward Stay), the record will be rejected.  If Date of Assault on Patient is after the End Date (Ward Stay), the record will be rejected.","MHS506","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D893)","v":0},"MHS506Assault","MHS50610","Record rejected - Date of Assault on Patient is outside of the reporting period.","If DATE OF ASSAULT ON PATIENT is populated and not within the reporting period, the record will be rejected.  If Date of Assault on Patient is before the Start Date (Ward Stay), the record will be rejected.  If Date of Assault on Patient is after the End Date (Ward Stay), the record will be rejected.","MHS506","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D894)","v":0},"MHS506Assault","MHS50611","Record rejected - [M506010]DateAssault is before the associated [M502010]StartDateWardStay. [M506915]WardStayID=<WardStayID> [M506010]DateAssault=<DateAssault> [M502010]StartDateWardStay=<StartDateWardStay>","If DATE OF ASSAULT ON PATIENT is populated and not within the reporting period, the record will be rejected.  If Date of Assault on Patient is before the Start Date (Ward Stay), the record will be rejected.  If Date of Assault on Patient is after the End Date (Ward Stay), the record will be rejected.","MHS506","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D895)","v":0},"MHS506Assault","MHS50612","Record rejected - [M506010]DateAssault is after the associated [M502030]EndDateWardStay. [M506915]WardStayID=<WardStayID> [M506010]DateAssault=<DateAssault> [M502030]EndDateWardStay=<EndDateWardStay>","If DATE OF ASSAULT ON PATIENT is populated and not within the reporting period, the record will be rejected.  If Date of Assault on Patient is before the Start Date (Ward Stay), the record will be rejected.  If Date of Assault on Patient is after the End Date (Ward Stay), the record will be rejected.","MHS506","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D896)","v":0},"MHS506Assault","MHS50613","Record rejected - [M506010]DateAssault is before the [M000050]ReportingPeriodStartDate. [M506915]WardStayID=<WardStayID> [M506010]DateAssault=<DateAssault> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>",null,"MHS506","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D897)","v":0},"MHS506Assault","MHS50614","Record rejected - [M506010]DateAssault is after the [M000060]ReportingPeriodEndDate. [M506915]WardStayID=<WardStayID> [M506010]DateAssault=<DateAssault> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>",null,"MHS506","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D898)","v":0},"MHS507Self-Harm","MHS50705","Group rejected - No valid [MHS502]WardStay submitted for this [M507915]WardStayID. [M507915]WardStayID=<WardStayID>","Record in the MHS507SelfHarm table rejected because there is no corresponding record in the MHS502WardStay table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS502WardStay) has been rejected due to a validation error. Reason 2: There is no record with a corresponding WardStayId in the linked table (MHS502WardStay).",{"$f":"LEFT(D898,6)","v":"MHS507"},"Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D899)","v":0},"MHS507SelfHarm","MHS50706","Record rejected - [M507915]WardStayID is blank.","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS507","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D900)","v":0},"MHS507SelfHarm","MHS50707","Record rejected - [M507915]WardStayID has an incorrect data format. [M507915]WardStayID=<WardStayID> [M507915]WardStayID=<WardStayID>","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS507","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D901)","v":0},"MHS507SelfHarm","MHS50708","Record rejected - [M507010]DateSelfHarm is blank. [M507915]WardStayID=<WardStayID>","If Date Of Self-Harm is populated and not within the reporting period, the record will be rejected.  If Date Of Self-Harm is before the Start Date (Ward Stay), the record will be rejected.  If Date Of Self-Harm is after the End Date (Ward Stay), the record will be rejected.","MHS507","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D902)","v":0},"MHS507SelfHarm","MHS50709","Record rejected - [M507010]DateSelfHarm has an incorrect data format. [M507915]WardStayID=<WardStayID> [M507010]DateSelfHarm=<DateSelfHarm>","If Date Of Self-Harm is populated and not within the reporting period, the record will be rejected.  If Date Of Self-Harm is before the Start Date (Ward Stay), the record will be rejected.  If Date Of Self-Harm is after the End Date (Ward Stay), the record will be rejected.","MHS507","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D903)","v":0},"MHS507SelfHarm","MHS50710","Record rejected - Date Of Self-Harm is outside of reporting period.","If Date Of Self-Harm is populated and not within the reporting period, the record will be rejected.  If Date Of Self-Harm is before the Start Date (Ward Stay), the record will be rejected.  If Date Of Self-Harm is after the End Date (Ward Stay), the record will be rejected.","MHS507","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D904)","v":0},"MHS507SelfHarm","MHS50711","Record rejected - [M507010]DateSelfHarm is before the associated [M502010]StartDateWardStay. [M507915]WardStayID=<WardStayID> [M507010]DateSelfHarm=<DateSelfHarm> [M502010]StartDateWardStay=<StartDateWardStay>","If Date Of Self-Harm is populated and not within the reporting period, the record will be rejected.  If Date Of Self-Harm is before the Start Date (Ward Stay), the record will be rejected.  If Date Of Self-Harm is after the End Date (Ward Stay), the record will be rejected.","MHS507","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D905)","v":0},"MHS507SelfHarm","MHS50712","Record rejected - [M507010]DateSelfHarm is after the associated [M502030]EndDateWardStay. [M507915]WardStayID=<WardStayID> [M507010]DateSelfHarm=<DateSelfHarm> [M502030]EndDateWardStay=<EndDateWardStay>","If Date Of Self-Harm is populated and not within the reporting period, the record will be rejected.  If Date Of Self-Harm is before the Start Date (Ward Stay), the record will be rejected.  If Date Of Self-Harm is after the End Date (Ward Stay), the record will be rejected.","MHS507","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D906)","v":0},"MHS507SelfHarm","MHS50713","Record rejected - [M507010]DateSelfHarm is before the [M000050]ReportingPeriodStartDate. [M507915]WardStayID=<WardStayID> [M507010]DateSelfHarm=<DateSelfHarm> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>",null,"MHS507","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D907)","v":0},"MHS507SelfHarm","MHS50714","Record rejected - [M507010]DateSelfHarm is after the [M000060]ReportingPeriodEndDate. [M507915]WardStayID=<WardStayID> [M507010]DateSelfHarm=<DateSelfHarm> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>",null,"MHS507","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D908)","v":0},"MHS509HomeLeave","MHS50901","Group rejected - No valid [MHS502]WardStay submitted for this [M509915]WardStayID. [M509915]WardStayID=<WardStayID>","Record in the MHS509HomeLeave table rejected because there is no corresponding record in the MHS502WardStay table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS502WardStay) has been rejected due to a validation error. Reason 2: There is no record with a corresponding WardStayId in the linked table (MHS502WardStay).","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D909)","v":0},"MHS509HomeLeave","MHS50902","Record rejected - [M509915]WardStayID is blank.","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D910)","v":0},"MHS509HomeLeave","MHS50903","Record rejected - [M509915]WardStayID has an incorrect data format. [M509915]WardStayID=<WardStayID>","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D911)","v":0},"MHS509HomeLeave","MHS50904","Record rejected - [M509010]StartDateHomeLeave is blank. [M509915]WardStayID=<WardStayID>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Home Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Home Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D912)","v":0},"MHS509HomeLeave","MHS50905","Record rejected - [M509010]StartDateHomeLeave has an incorrect data format. [M509915]WardStayID=<WardStayID> [M509010]StartDateHomeLeave=<StartDateHomeLeave>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Home Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Home Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D913)","v":0},"MHS509HomeLeave","MHS50906","Record rejected - [M509010]StartDateHomeLeave is after the [M000060]ReportingPeriodEndDate. [M509915]WardStayID=<WardStayID> [M509010]StartDateHomeLeave=<StartDateHomeLeave> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Home Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Home Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D914)","v":0},"MHS509HomeLeave","MHS50907","Record rejected - [M509020]StartTimeHomeLeave has an incorrect data format. [M509915]WardStayID=<WardStayID> [M509020]StartTimeHomeLeave=<StartTimeHomeLeave>","The start time for a period of Home Leave for patients NOT liable for detention under the Mental Health Act 1983.","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D915)","v":0},"MHS509HomeLeave","MHS50908","Record rejected - [M509030]EndDateHomeLeave has an incorrect data format. [M509915]WardStayID=<WardStayID> [M509030]EndDateHomeLeave=<EndDateHomeLeave>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Home Leave) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Home Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D916)","v":0},"MHS509HomeLeave","MHS50910","Record rejected - [M509030]EndDateHomeLeave is before the [M000050]ReportingPeriodStartDate. [M509915]WardStayID=<WardStayID> [M509030]EndDateHomeLeave=<EndDateHomeLeave> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Home Leave) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Home Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D917)","v":0},"MHS509HomeLeave","MHS50911","Record rejected - [M509030]EndDateHomeLeave is after the [M000060]ReportingPeriodEndDate. [M509915]WardStayID=<WardStayID> [M509030]EndDateHomeLeave=<EndDateHomeLeave> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Home Leave) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Home Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D918)","v":0},"MHS509HomeLeave","MHS50912","Record rejected - [M509030]EndDateHomeLeave is before the associated [M509010]StartDateHomeLeave. [M509915]WardStayID=<WardStayID> [M509030]EndDateHomeLeave=<EndDateHomeLeave> [M509010]StartDateHomeLeave=<StartDateHomeLeave>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Home Leave) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Home Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D919)","v":0},"MHS509HomeLeave","MHS50913","Record rejected - [M509040]EndTimeHomeLeave has an incorrect data format. [M509915]WardStayID=<WardStayID> [M509040]EndTimeHomeLeave=<EndTimeHomeLeave>","The end time for a period of Home Leave for patients NOT liable for detention under the Mental Health Act 1983.","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D920)","v":0},"MHS509HomeLeave","MHS50914","Record rejected - [M509010]StartDateHomeLeave is before the associated [M502010]StartDateWardStay. [M509915]WardStayID=<WardStayID> [M509010]StartDateHomeLeave=<StartDateHomeLeave> [M502010]StartDateWardStay=<StartDateWardStay>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Home Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Home Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS509",{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E920)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E920)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D921)","v":0},"MHS509HomeLeave","MHS50915","Record rejected - [M509010]StartDateHomeLeave is after the associated [M502030]EndDateWardStay. [M509915]WardStayID=<WardStayID> [M509010]StartDateHomeLeave=<StartDateHomeLeave> [M502030]EndDateWardStay=<EndDateWardStay>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Home Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Home Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D922)","v":0},"MHS509HomeLeave","MHS50916","Record rejected - [M509030]EndDateHomeLeave is before the associated [M502010]StartDateWardStay. [M509915]WardStayID=<WardStayID> [M509030]EndDateHomeLeave=<EndDateHomeLeave> [M502010]StartDateWardStay=<StartDateWardStay>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Home Leave) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Home Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D923)","v":0},"MHS509HomeLeave","MHS50917","Record rejected - [M509030]EndDateHomeLeave is after the associated [M502030]EndDateWardStay. [M509915]WardStayID=<WardStayID> [M509030]EndDateHomeLeave=<EndDateHomeLeave> [M502030]EndDateWardStay=<EndDateWardStay>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Home Leave) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Home Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS509","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D924)","v":0},"MHS510MentalHealthLeaveofAbsence","MHS51001","Group rejected - No valid [MHS502]WardStay submitted for this [M510915]WardStayID. [M510915]WardStayID=<WardStayID>","Record in the MHS510LeaveOfAbsence table rejected because there is no corresponding record in the MHS502WardStay table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS502WardStay) has been rejected due to a validation error. Reason 2: There is no record with a corresponding WardStayId in the linked table (MHS502WardStay).","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D925)","v":0},"MHS510LeaveOfAbsence","MHS51002","Record rejected - [M510915]WardStayID is blank.","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D926)","v":0},"MHS510LeaveOfAbsence","MHS51003","Record rejected - [M510915]WardStayID has an incorrect data format. [M510915]WardStayID=<WardStayID>","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D927)","v":0},"MHS510LeaveOfAbsence","MHS51004","Record rejected - [M510010]StartDateMHLeaveAbs is blank. [M510915]WardStayID=<WardStayID>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Leave Of Absence) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Leave Of Absence) is after the End Date (Ward Stay), the record will be rejected.","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D928)","v":0},"MHS510LeaveOfAbsence","MHS51005","Record rejected - [M510010]StartDateMHLeaveAbs has an incorrect data format. [M510915]WardStayID=<WardStayID> [M510010]StartDateMHLeaveAbs=<StartDateMHLeaveAbs>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Leave Of Absence) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Leave Of Absence) is after the End Date (Ward Stay), the record will be rejected.","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D929)","v":0},"MHS510LeaveOfAbsence","MHS51006","Record rejected - [M510010]StartDateMHLeaveAbs is after the [M000060]ReportingPeriodEndDate. [M510915]WardStayID=<WardStayID> [M510010]StartDateMHLeaveAbs=<StartDateMHLeaveAbs> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Leave Of Absence) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Leave Of Absence) is after the End Date (Ward Stay), the record will be rejected.","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D930)","v":0},"MHS510LeaveOfAbsence","MHS51007","Record rejected - [M510020]StartTimeMHLeaveAbs has an incorrect data format. [M510915]WardStayID=<WardStayID> [M510020]StartTimeMHLeaveAbs=<StartTimeMHLeaveAbs>","The start time of a period of Mental Health Leave Of Absence for a PATIENT detained under the Mental Health Acts 1983 as amended by the Mental Health (Patients in the Community) Act 1995. ","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D931)","v":0},"MHS510LeaveOfAbsence","MHS51008","Record rejected - [M510030]EndDateMHLeaveAbs has an incorrect data format. [M510915]WardStayID=<WardStayID> [M510030]EndDateMHLeaveAbs=<EndDateMHLeaveAbs>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Mental Health Leave Of Absence) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Mental Health Leave Of Absence) is after the End Date (Ward Stay), the record will be rejected.","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D932)","v":0},"MHS510LeaveOfAbsence","MHS51009","Record rejected - [M510030]EndDateMHLeaveAbs is before the [M000050]ReportingPeriodStartDate. [M510915]WardStayID=<WardStayID> [M510030]EndDateMHLeaveAbs=<EndDateMHLeaveAbs> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Mental Health Leave Of Absence) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Mental Health Leave Of Absence) is after the End Date (Ward Stay), the record will be rejected.","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D933)","v":0},"MHS510LeaveOfAbsence","MHS51010","Record rejected - [M510030]EndDateMHLeaveAbs is after the [M000060]ReportingPeriodEndDate. [M510915]WardStayID=<WardStayID> [M510030]EndDateMHLeaveAbs=<EndDateMHLeaveAbs> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Mental Health Leave Of Absence) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Mental Health Leave Of Absence) is after the End Date (Ward Stay), the record will be rejected.","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D934)","v":0},"MHS510LeaveOfAbsence","MHS51011","Record rejected - [M510030]EndDateMHLeaveAbs is before the associated [M510010]StartDateMHLeaveAbs. [M510915]WardStayID=<WardStayID> [M510030]EndDateMHLeaveAbs=<EndDateMHLeaveAbs> [M510010]StartDateMHLeaveAbs=<StartDateMHLeaveAbs>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Mental Health Leave Of Absence) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Mental Health Leave Of Absence) is after the End Date (Ward Stay), the record will be rejected.","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D935)","v":0},"MHS510LeaveOfAbsence","MHS51012","Record rejected - [M510040]EndTimeMHLeaveAbs has an incorrect data format. [M510915]WardStayID=<WardStayID> [M510040]EndTimeMHLeaveAbs=<EndTimeMHLeaveAbs>","The end time of a period of Mental Health Leave Of Absence for a PATIENT detained under the Mental Health Acts 1983 as amended by the Mental Health (Patients in the Community) Act 1995. ","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D936)","v":0},"MHS510LeaveOfAbsence","MHS51013","Record rejected - [M510050]MHLeaveAbsEndReason has an incorrect data format. [M510915]WardStayID=<WardStayID> [M510050]MHLeaveAbsEndReason=<MHLeaveAbsEndReason>","The reason a Mental Health Leave of Absence ended.","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D937)","v":0},"MHS510LeaveOfAbsence","MHS51014","Warning - [M510050]MHLeaveAbsEndReason contains an invalid national code value. [M510915]WardStayID=<WardStayID> [M510050]MHLeaveAbsEndReason=<MHLeaveAbsEndReason>","The reason a Mental Health Leave of Absence ended.","MHS510","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D938)","v":0},"MHS510LeaveOfAbsence","MHS51015","Record rejected - [M510010]StartDateMHLeaveAbs is before the associated [M502010]StartDateWardStay. [M510915]WardStayID=<WardStayID> [M510010]StartDateMHLeaveAbs=<StartDateMHLeaveAbs> [M502010]StartDateWardStay=<StartDateWardStay>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Leave Of Absence) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Leave Of Absence) is after the End Date (Ward Stay), the record will be rejected.","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D939)","v":0},"MHS510LeaveOfAbsence","MHS51016","Record rejected - [M510010]StartDateMHLeaveAbs is after the associated [M502030]EndDateWardStay. [M510915]WardStayID=<WardStayID> [M510010]StartDateMHLeaveAbs=<StartDateMHLeaveAbs> [M502030]EndDateWardStay=<EndDateWardStay>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Leave Of Absence) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Leave Of Absence) is after the End Date (Ward Stay), the record will be rejected.","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D940)","v":0},"MHS510LeaveOfAbsence","MHS51017","Record rejected - [M510030]EndDateMHLeaveAbs is before the associated [M502010]StartDateWardStay. [M510915]WardStayID=<WardStayID> [M510030]EndDateMHLeaveAbs=<EndDateMHLeaveAbs> [M502010]StartDateWardStay=<StartDateWardStay>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Mental Health Leave Of Absence) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Mental Health Leave Of Absence) is after the End Date (Ward Stay), the record will be rejected.","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D941)","v":0},"MHS510LeaveOfAbsence","MHS51018","Record rejected - [M510030]EndDateMHLeaveAbs is after the associated [M502030]EndDateWardStay. [M510915]WardStayID=<WardStayID> [M510030]EndDateMHLeaveAbs=<EndDateMHLeaveAbs> [M502030]EndDateWardStay=<EndDateWardStay>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Mental Health Leave Of Absence) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Mental Health Leave Of Absence) is after the End Date (Ward Stay), the record will be rejected.","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D942)","v":0},"MHS510LeaveOfAbsence","MHS51019","Record rejected - [M510060]EscortedLeaveIndicator has an incorrect data format. [M510915]WardStayID=<WardStayID> [M510060]EscortedLeaveIndicator=<EscortedLeaveIndicator>","An indication of whether a period of Mental Health Leave Of Absence is escorted or unescorted.","MHS510","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D943)","v":0},"MHS510LeaveOfAbsence","MHS51020","Warning - [M510060]EscortedLeaveIndicator contains an invalid national code value. [M510915]WardStayID=<WardStayID> [M510060]EscortedLeaveIndicator=<EscortedLeaveIndicator>","An indication of whether a period of Mental Health Leave Of Absence is escorted or unescorted.","MHS510","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D944)","v":0},"MHS511MentalHealthAbsenceWithoutLeave","MHS51101","Group rejected - No valid [MHS502]WardStay submitted for this [M511915]WardStayID. [M511915]WardStayID=<WardStayID>","Record in the MHS511AbsenceWithoutLeave table rejected because there is no corresponding record in the MHS502WardStay table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS502WardStay) has been rejected due to a validation error. Reason 2: There is no record with a corresponding WardStayId in the linked table (MHS502WardStay).","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D945)","v":0},"MHS511AbsenceWithoutLeave","MHS51102","Record rejected - [M511915]WardStayID is blank.","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D946)","v":0},"MHS511AbsenceWithoutLeave","MHS51103","Record rejected - [M511915]WardStayID has an incorrect data format. [M511915]WardStayID=<WardStayID>","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D947)","v":0},"MHS511AbsenceWithoutLeave","MHS51104","Record rejected - [M511010]StartDateMHAbsWOLeave is blank. [M511915]WardStayID=<WardStayID>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Absence Without Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Absence Without Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D948)","v":0},"MHS511AbsenceWithoutLeave","MHS51105","Record rejected - [M511010]StartDateMHAbsWOLeave has an incorrect data format. [M511915]WardStayID=<WardStayID> [M511010]StartDateMHAbsWOLeave=<StartDateMHAbsWOLeave>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Absence Without Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Absence Without Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D949)","v":0},"MHS511AbsenceWithoutLeave","MHS51106","Record rejected - [M511010]StartDateMHAbsWOLeave is after the [M000060]ReportingPeriodEndDate. [M511915]WardStayID=<WardStayID> [M511010]StartDateMHAbsWOLeave=<StartDateMHAbsWOLeave> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Absence Without Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Absence Without Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D950)","v":0},"MHS511AbsenceWithoutLeave","MHS51107","Record rejected - [M511020]StartTimeMHAbsWOLeave has an incorrect data format. [M511915]WardStayID=<WardStayID> [M511020]StartTimeMHAbsWOLeave=<StartTimeMHAbsWOLeave>","The start time of a period of Mental Health Absence Without Leave for a PATIENT detained under section 18 of the Mental Health Act 1983, as amended by the Mental Health (Patients in the Community) Act 1995.","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D951)","v":0},"MHS511AbsenceWithoutLeave","MHS51108","Record rejected - [M511030]EndDateMHAbsWOLeave has an incorrect data format. [M511915]WardStayID=<WardStayID> [M511030]EndDateMHAbsWOLeave=<EndDateMHAbsWOLeave>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Mental Health Absence Without Leave) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Mental Health Absence Without Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D952)","v":0},"MHS511AbsenceWithoutLeave","MHS51109","Record rejected - [M511030]EndDateMHAbsWOLeave is before the [M000050]ReportingPeriodStartDate. [M511915]WardStayID=<WardStayID> [M511030]EndDateMHAbsWOLeave=<EndDateMHAbsWOLeave> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Mental Health Absence Without Leave) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Mental Health Absence Without Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D953)","v":0},"MHS511AbsenceWithoutLeave","MHS51110","Record rejected - [M511030]EndDateMHAbsWOLeave is after the [M000060]ReportingPeriodEndDate. [M511915]WardStayID=<WardStayID> [M511030]EndDateMHAbsWOLeave=<EndDateMHAbsWOLeave> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Mental Health Absence Without Leave) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Mental Health Absence Without Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D954)","v":0},"MHS511AbsenceWithoutLeave","MHS51111","Record rejected - [M511030]EndDateMHAbsWOLeave is before the associated [M511010]StartDateMHAbsWOLeave. [M511915]WardStayID=<WardStayID> [M511030]EndDateMHAbsWOLeave=<EndDateMHAbsWOLeave> [M511010]StartDateMHAbsWOLeave=<StartDateMHAbsWOLeave>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Mental Health Absence Without Leave) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Mental Health Absence Without Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D955)","v":0},"MHS511AbsenceWithoutLeave","MHS51112","Record rejected - [M511040]EndTimeMHAbsWOLeave has an incorrect data format. [M511915]WardStayID=<WardStayID> [M511040]EndTimeMHAbsWOLeave=<EndTimeMHAbsWOLeave>","The end time of a period of Mental Health Absence Without Leave for a PATIENT detained under section 18 of the Mental Health Act 1983, as amended by the Mental Health (Patients in the Community) Act 1995.","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D956)","v":0},"MHS511AbsenceWithoutLeave","MHS51113","Record rejected - [M511050]MHAbsWOLeaveEndReason has an incorrect data format. [M511915]WardStayID=<WardStayID> [M511050]MHAbsWOLeaveEndReason=<MHAbsWOLeaveEndReason>","The reason the Mental Health Absence Without Leave ended.","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D957)","v":0},"MHS511AbsenceWithoutLeave","MHS51114","Warning - [M511050]MHAbsWOLeaveEndReason contains an invalid national code value. [M511915]WardStayID=<WardStayID> [M511050]MHAbsWOLeaveEndReason=<MHAbsWOLeaveEndReason>","The reason the Mental Health Absence Without Leave ended.","MHS511","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D958)","v":0},"MHS511AbsenceWithoutLeave","MHS51115","Record rejected - [M511010]StartDateMHAbsWOLeave is before the associated [M502010]StartDateWardStay. [M511915]WardStayID=<WardStayID> [M511010]StartDateMHAbsWOLeave=<StartDateMHAbsWOLeave> [M502010]StartDateWardStay=<StartDateWardStay>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Absence Without Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Absence Without Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D959)","v":0},"MHS511AbsenceWithoutLeave","MHS51116","Record rejected - [M511010]StartDateMHAbsWOLeave is after the associated [M502030]EndDateWardStay. [M511915]WardStayID=<WardStayID> [M511010]StartDateMHAbsWOLeave=<StartDateMHAbsWOLeave> [M502030]EndDateWardStay=<EndDateWardStay>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Absence Without Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Absence Without Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D960)","v":0},"MHS511AbsenceWithoutLeave","MHS51117","Record rejected - [M511030]EndDateMHAbsWOLeave is before the associated [M502010]StartDateWardStay. [M511915]WardStayID=<WardStayID> [M511030]EndDateMHAbsWOLeave=<EndDateMHAbsWOLeave> [M502010]StartDateWardStay=<StartDateWardStay>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Mental Health Absence Without Leave) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Mental Health Absence Without Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D961)","v":0},"MHS511AbsenceWithoutLeave","MHS51118","Record rejected - [M511030]EndDateMHAbsWOLeave is after the associated [M502030]EndDateWardStay. [M511915]WardStayID=<WardStayID> [M511030]EndDateMHAbsWOLeave=<EndDateMHAbsWOLeave> [M502030]EndDateWardStay=<EndDateWardStay>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Mental Health Absence Without Leave) is before the Start Date (Ward Stay), the record will be rejected.  If End Date (Mental Health Absence Without Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS511","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D962)","v":0},"MHS512HospitalProviderSpellCommissionerAssignmentPeriod","MHS51201","Group rejected - No valid [MHS501]HospProvSpell submitted for this [M512030]HospProvSpellID. [M512030]HospProvSpellID=<HospProvSpellID>","Record in the MHS512HospSpellComm table rejected because there is no corresponding record in the MHS501HospProvSpell table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS501HospProvSpell) has been rejected due to a validation error. Reason 2: There is no record with a corresponding HospProvSpellID in the linked table (MHS501HospProvSpell).",{"$f":"LEFT(D962,6)","v":"MHS512"},"Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D963)","v":0},"MHS512HospSpellCommAssPer","MHS51202","Record rejected - [M512030]HospProvSpellID is blank.","A unique identifier for each Hospital Provider Spell for a Health Care Provider.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D964)","v":0},"MHS512HospSpellCommAssPer","MHS51203","Record rejected - [M512030]HospProvSpellID has an incorrect data format. [M512030]HospProvSpellID=<HospProvSpellID> [M512030]HospProvSpellID=<HospProvSpellID>","A unique identifier for each Hospital Provider Spell for a Health Care Provider.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D965)","v":0},"MHS512HospSpellCommAssPer","MHS51207","Record rejected - [M512010]StartDateOrgCodeComm is blank. [M512030]HospProvSpellID=<HospProvSpellID>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Commissioner Assignment Period) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Commissioner Assignment Period) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D966)","v":0},"MHS512HospSpellCommAssPer","MHS51208","Record rejected - [M512010]StartDateOrgCodeComm has an incorrect data format. [M512030]HospProvSpellID=<HospProvSpellID> [M512010]StartDateOrgCodeComm=<StartDateOrgCodeComm>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Commissioner Assignment Period) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Commissioner Assignment Period) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D967)","v":0},"MHS512HospSpellCommAssPer","MHS51209","Record rejected - [M512010]StartDateOrgCodeComm is after the [M000060]ReportingPeriodEndDate. [M512030]HospProvSpellID=<HospProvSpellID> [M512010]StartDateOrgCodeComm=<StartDateOrgCodeComm> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Commissioner Assignment Period) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Commissioner Assignment Period) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D968)","v":0},"MHS512HospSpellCommAssPer","MHS51210","Record rejected - [M512020]EndDateOrgCodeComm has an incorrect data format. [M512030]HospProvSpellID=<HospProvSpellID> [M512020]EndDateOrgCodeComm=<EndDateOrgCodeComm>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Commissioner Assignment Period) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If End Date (Commissioner Assignment Period) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D969)","v":0},"MHS512HospSpellCommAssPer","MHS51211","Record rejected - [M512020]EndDateOrgCodeComm is before the [M000050]ReportingPeriodStartDate. [M512030]HospProvSpellID=<HospProvSpellID> [M512020]EndDateOrgCodeComm=<EndDateOrgCodeComm> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Commissioner Assignment Period) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If End Date (Commissioner Assignment Period) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D970)","v":0},"MHS512HospSpellCommAssPer","MHS51212","Record rejected - [M512020]EndDateOrgCodeComm is after the [M000060]ReportingPeriodEndDate. [M512030]HospProvSpellID=<HospProvSpellID> [M512020]EndDateOrgCodeComm=<EndDateOrgCodeComm> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Commissioner Assignment Period) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If End Date (Commissioner Assignment Period) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D971)","v":0},"MHS512HospSpellCommAssPer","MHS51213","Record rejected - [M512020]EndDateOrgCodeComm is before the associated [M512010]StartDateOrgCodeComm. [M512030]HospProvSpellID=<HospProvSpellID> [M512020]EndDateOrgCodeComm=<EndDateOrgCodeComm> [M512010]StartDateOrgCodeComm=<StartDateOrgCodeComm>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Commissioner Assignment Period) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If End Date (Commissioner Assignment Period) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D972)","v":0},"MHS512HospSpellCommAssPer","MHS51214","Record rejected - [M512010]StartDateOrgCodeComm is before the associated [M501010]StartDateHospProvSpell. [M512030]HospProvSpellID=<HospProvSpellID> [M512010]StartDateOrgCodeComm=<StartDateOrgCodeComm> [M501010]StartDateHospProvSpell=<StartDateHospProvSpell>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Commissioner Assignment Period) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Commissioner Assignment Period) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D973)","v":0},"MHS512HospSpellCommAssPer","MHS51215","Record rejected - [M512010]StartDateOrgCodeComm is after the associated [M501050]DischDateHospProvSpell. [M512030]HospProvSpellID=<HospProvSpellID> [M512010]StartDateOrgCodeComm=<StartDateOrgCodeComm> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell>","If START DATE is after the end of the reporting period, the record will be rejected.  If Start Date (Commissioner Assignment Period) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Commissioner Assignment Period) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D974)","v":0},"MHS512HospSpellCommAssPer","MHS51216","Record rejected - [M512020]EndDateOrgCodeComm is before the associated [M501010]StartDateHospProvSpell. [M512030]HospProvSpellID=<HospProvSpellID> [M512020]EndDateOrgCodeComm=<EndDateOrgCodeComm> [M501010]StartDateHospProvSpell=<StartDateHospProvSpell>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Commissioner Assignment Period) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If End Date (Commissioner Assignment Period) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D975)","v":0},"MHS512HospSpellCommAssPer","MHS51217","Record rejected - [M512020]EndDateOrgCodeComm is after the associated [M501050]DischDateHospProvSpell. [M512030]HospProvSpellID=<HospProvSpellID> [M512020]EndDateOrgCodeComm=<EndDateOrgCodeComm> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.  If End Date (Commissioner Assignment Period) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If End Date (Commissioner Assignment Period) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D976)","v":0},"MHS512HospSpellCommAssPer","MHS51218","Record rejected - [M512922]OrgIDComm is blank. [M512030]HospProvSpellID=<HospProvSpellID>","If Organisation Identifier (Code of Commissioner) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D977)","v":0},"MHS512HospSpellCommAssPer","MHS51219","Record rejected - [M512922]OrgIDComm has an incorrect data format. [M512030]HospProvSpellID=<HospProvSpellID> [M512922]OrgIDComm=<OrgIDComm>","If Organisation Identifier (Code of Commissioner) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS512","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D978)","v":0},"MHS512HospSpellCommAssPer","MHS51220","Severity 1 Warning - [M512922]OrgIDComm is not for a current live organisation in national tables. [M512030]HospProvSpellID=<HospProvSpellID> [M512922]OrgIDComm=<OrgIDComm>","If Organisation Identifier (Code of Commissioner) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS512","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D979)","v":0},"MHS513SubstanceMisuse","MHS51301","Group rejected - No valid [MHS502]WardStay submitted for this [M513915]WardStayID. [M513915]WardStayID=<WardStayID>","Record in the MHS513SubstanceMisuse table rejected because there is no corresponding record in the MHS502WardStay table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS502WardStay) has been rejected due to a validation error. Reason 2: There is no record with a corresponding WardStayId in the linked table (MHS502WardStay).","MHS513","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D980)","v":0},"MHS513SubstanceMisuse","MHS51302","Record rejected - [M513915]WardStayID is blank.","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS513","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D981)","v":0},"MHS513SubstanceMisuse","MHS51303","Record rejected - [M513915]WardStayID has an incorrect data format. [M513915]WardStayID=<WardStayID>","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS513","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D982)","v":0},"MHS513SubstanceMisuse","MHS51304","Record rejected - [M513010]SubstanceMisuse is blank. [M513915]WardStayID=<WardStayID>","If Observation Date (Substance Misuse Evidence) is before Start Date (Ward Stay), the record will be rejected.  If Observation Date (Substance Misuse Evidence) is after End Date (Ward Stay), the record will be rejected.  If Observation Date (Substance Misuse Evidence) is outside of the reporting period, the record will be rejected.","MHS513","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D983)","v":0},"MHS513SubstanceMisuse","MHS51305","Record rejected - [M513010]SubstanceMisuse has an incorrect data format. [M513915]WardStayID=<WardStayID> [M513010]SubstanceMisuse=<SubstanceMisuse>","If Observation Date (Substance Misuse Evidence) is before Start Date (Ward Stay), the record will be rejected.  If Observation Date (Substance Misuse Evidence) is after End Date (Ward Stay), the record will be rejected.  If Observation Date (Substance Misuse Evidence) is outside of the reporting period, the record will be rejected.","MHS513","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D984)","v":0},"MHS513SubstanceMisuse","MHS51306","Record rejected - [M513010]SubstanceMisuse is before the associated [M502010]StartDateWardStay. [M513915]WardStayID=<WardStayID> [M513010]SubstanceMisuse=<SubstanceMisuse> [M502010]StartDateWardStay=<StartDateWardStay>","If Observation Date (Substance Misuse Evidence) is before Start Date (Ward Stay), the record will be rejected.  If Observation Date (Substance Misuse Evidence) is after End Date (Ward Stay), the record will be rejected.  If Observation Date (Substance Misuse Evidence) is outside of the reporting period, the record will be rejected.","MHS513",{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E984)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E984)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D985)","v":0},"MHS513SubstanceMisuse","MHS51307","Record rejected - [M513010]SubstanceMisuse is after the associated [M502030]EndDateWardStay. [M513915]WardStayID=<WardStayID> [M513010]SubstanceMisuse=<SubstanceMisuse> [M502030]EndDateWardStay=<EndDateWardStay>","If Observation Date (Substance Misuse Evidence) is before Start Date (Ward Stay), the record will be rejected.  If Observation Date (Substance Misuse Evidence) is after End Date (Ward Stay), the record will be rejected.  If Observation Date (Substance Misuse Evidence) is outside of the reporting period, the record will be rejected.","MHS513","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D986)","v":0},"MHS513SubstanceMisuse","MHS51308","Record rejected - Observation Date (Substance Misuse Evidence) is outside of the reporting period.","If Observation Date (Substance Misuse Evidence) is before Start Date (Ward Stay), the record will be rejected.  If Observation Date (Substance Misuse Evidence) is after End Date (Ward Stay), the record will be rejected.  If Observation Date (Substance Misuse Evidence) is outside of the reporting period, the record will be rejected.","MHS513","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D987)","v":0},"MHS513SubstanceMisuse","MHS51309","Record rejected - [M513010]SubstanceMisuse is before the [M000050]ReportingPeriodStartDate. [M513915]WardStayID=<WardStayID> [M513010]SubstanceMisuse=<SubstanceMisuse> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>",null,"MHS513","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D988)","v":0},"MHS513SubstanceMisuse","MHS51310","Record rejected - [M513010]SubstanceMisuse is after the [M000060]ReportingPeriodEndDate. [M513915]WardStayID=<WardStayID> [M513010]SubstanceMisuse=<SubstanceMisuse> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>",null,"MHS513","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D989)","v":0},"MHS514MentalHealthTrialLeave","MHS51401","Group rejected - No valid [MHS502]WardStay submitted for this [M514915]WardStayID. [M514915]WardStayID=<WardStayID>","Record in the MHS514TrialLeave table rejected because there is no corresponding record in the MHS502WardStay table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS502WardStay) has been rejected due to a validation error. Reason 2: There is no record with a corresponding WardStayId in the linked table (MHS502WardStay).","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D990)","v":0},"MHS514TrialLeave","MHS51402","Record rejected - [M514915]WardStayID is blank.","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D991)","v":0},"MHS514TrialLeave","MHS51403","Record rejected - [M514915]WardStayID has an incorrect data format. [M514915]WardStayID=<WardStayID>","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D992)","v":0},"MHS514TrialLeave","MHS51404","Record rejected - [M514010]StartDateMHTrialLeave is blank. [M514915]WardStayID=<WardStayID>","If Start Date (Mental Health Trial Leave) is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Trial Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Trial Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D993)","v":0},"MHS514TrialLeave","MHS51405","Record rejected - [M514010]StartDateMHTrialLeave has an incorrect data format. [M514915]WardStayID=<WardStayID> [M514010]StartDateMHTrialLeave=<StartDateMHTrialLeave>","If Start Date (Mental Health Trial Leave) is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Trial Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Trial Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D994)","v":0},"MHS514TrialLeave","MHS51406","Record rejected - [M514010]StartDateMHTrialLeave is after the [M000060]ReportingPeriodEndDate. [M514915]WardStayID=<WardStayID> [M514010]StartDateMHTrialLeave=<StartDateMHTrialLeave> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Start Date (Mental Health Trial Leave) is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Trial Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Trial Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D995)","v":0},"MHS514TrialLeave","MHS51407","Record rejected - [M514010]StartDateMHTrialLeave is before the associated [M502010]StartDateWardStay. [M514915]WardStayID=<WardStayID> [M514010]StartDateMHTrialLeave=<StartDateMHTrialLeave> [M502010]StartDateWardStay=<StartDateWardStay>","If Start Date (Mental Health Trial Leave) is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Trial Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Trial Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D996)","v":0},"MHS514TrialLeave","MHS51408","Record rejected - [M514010]StartDateMHTrialLeave is after the associated [M502030]EndDateWardStay. [M514915]WardStayID=<WardStayID> [M514010]StartDateMHTrialLeave=<StartDateMHTrialLeave> [M502030]EndDateWardStay=<EndDateWardStay>","If Start Date (Mental Health Trial Leave) is after the end of the reporting period, the record will be rejected.  If Start Date (Mental Health Trial Leave) is before the Start Date (Ward Stay), the record will be rejected.  If Start Date (Mental Health Trial Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D997)","v":0},"MHS514TrialLeave","MHS51409","Record rejected - [M514020]StartTimeMHTrialLeave has an incorrect data format. [M514915]WardStayID=<WardStayID> [M514020]StartTimeMHTrialLeave=<StartTimeMHTrialLeave>","The Start Time of a period of Mental Health Trial Leave for a PATIENT.","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D998)","v":0},"MHS514TrialLeave","MHS51410","Record rejected - [M514030]EndDateMHTrialLeave has an incorrect data format. [M514915]WardStayID=<WardStayID> [M514030]EndDateMHTrialLeave=<EndDateMHTrialLeave>","If End Date (Mental Health Trial Leave) is populated and is before the start of the reporting period, the record will be rejected.  If End Date (Mental Health Trial Leave) is populated and is after the end of the reporting period, the record will be rejected.  If End Date (Mental Health Trial Leave) is populated and before the Start Date (Mental Health Trial Leave), the record will be rejected.  If End Date (Mental Health Trial Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D999)","v":0},"MHS514TrialLeave","MHS51411","Record rejected - [M514030]EndDateMHTrialLeave is before the [M000050]ReportingPeriodStartDate. [M514915]WardStayID=<WardStayID> [M514030]EndDateMHTrialLeave=<EndDateMHTrialLeave> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","If End Date (Mental Health Trial Leave) is populated and is before the start of the reporting period, the record will be rejected.  If End Date (Mental Health Trial Leave) is populated and is after the end of the reporting period, the record will be rejected.  If End Date (Mental Health Trial Leave) is populated and before the Start Date (Mental Health Trial Leave), the record will be rejected.  If End Date (Mental Health Trial Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1000)","v":0},"MHS514TrialLeave","MHS51412","Record rejected - [M514030]EndDateMHTrialLeave is after the [M000060]ReportingPeriodEndDate. [M514915]WardStayID=<WardStayID> [M514030]EndDateMHTrialLeave=<EndDateMHTrialLeave> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If End Date (Mental Health Trial Leave) is populated and is before the start of the reporting period, the record will be rejected.  If End Date (Mental Health Trial Leave) is populated and is after the end of the reporting period, the record will be rejected.  If End Date (Mental Health Trial Leave) is populated and before the Start Date (Mental Health Trial Leave), the record will be rejected.  If End Date (Mental Health Trial Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1001)","v":0},"MHS514TrialLeave","MHS51413","Record rejected - [M514030]EndDateMHTrialLeave is before the associated [M514010]StartDateMHTrialLeave. [M514915]WardStayID=<WardStayID> [M514030]EndDateMHTrialLeave=<EndDateMHTrialLeave> [M514010]StartDateMHTrialLeave=<StartDateMHTrialLeave>","If End Date (Mental Health Trial Leave) is populated and is before the start of the reporting period, the record will be rejected.  If End Date (Mental Health Trial Leave) is populated and is after the end of the reporting period, the record will be rejected.  If End Date (Mental Health Trial Leave) is populated and before the Start Date (Mental Health Trial Leave), the record will be rejected.  If End Date (Mental Health Trial Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1002)","v":0},"MHS514TrialLeave","MHS51415","Record rejected - [M514030]EndDateMHTrialLeave is after the associated [M502030]EndDateWardStay. [M514915]WardStayID=<WardStayID> [M514030]EndDateMHTrialLeave=<EndDateMHTrialLeave> [M502030]EndDateWardStay=<EndDateWardStay>","If End Date (Mental Health Trial Leave) is populated and is before the start of the reporting period, the record will be rejected.  If End Date (Mental Health Trial Leave) is populated and is after the end of the reporting period, the record will be rejected.  If End Date (Mental Health Trial Leave) is populated and before the Start Date (Mental Health Trial Leave), the record will be rejected.  If End Date (Mental Health Trial Leave) is after the End Date (Ward Stay), the record will be rejected.","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1003)","v":0},"MHS514TrialLeave","MHS51416","Record rejected - [M514040]EndTimeMHTrialLeave has an incorrect data format. [M514915]WardStayID=<WardStayID> [M514040]EndTimeMHTrialLeave=<EndTimeMHTrialLeave>","The End Time of a period of Mental Health Trial Leave for a PATIENT.","MHS514","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1004)","v":0},"MHS515RestrictiveInterventType","MHS51501","Record rejected - [M515010]RestrictiveIntTypeID is blank.","A unique identifier allocated for each Restrictive Intervention Type during the Hospital Provider Spell","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1005)","v":0},"MHS515RestrictiveInterventType","MHS51502","Record rejected - [M515010]RestrictiveIntTypeID has an incorrect data format. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID>","A unique identifier allocated for each Restrictive Intervention Type during the Hospital Provider Spell","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1006)","v":0},"MHS515RestrictiveInterventionType","MHS51505","Group rejected - No valid [MHS505]RestrictiveInterventInc submitted for this [M515010]RestrictiveIntTypeID. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID>","Record in the MHS515RestrictiveInterventionType table rejected because there is no corresponding record in the MHS505RestrictiveInterventionIncident table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS505RestrictiveInterventionIncident) has been rejected due to a validation error. Reason 2: There is no record with a corresponding RestrictiveIntTypeID in the linked table (MHS505RestrictiveInterventionIncident).","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1007)","v":0},"MHS515RestrictiveInterventType","MHS51510","Record rejected - [M515020]RestrictiveIntType has an incorrect data format. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515020]RestrictiveIntType=<RestrictiveIntType>","Type of RESTRICTIVE INTERVENTION used.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1008)","v":0},"MHS515RestrictiveInterventType","MHS51511","Warning - [M515020]RestrictiveIntType contains an invalid national code value. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515020]RestrictiveIntType=<RestrictiveIntType>","Type of RESTRICTIVE INTERVENTION used.","MHS515","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1009)","v":0},"MHS515RestrictiveInterventType","MHS51513","Record rejected - [M515040]StartDateRestrictiveIntType has an incorrect data format. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515040]StartDateRestrictiveIntType=<StartDateRestrictiveIntType>","If Start Date (Restrictive Intervention Type) is after the end of the reporting period, the record will be rejected.  If Start Date (Restrictive Intervention Type) is before the Start Date (Restrictive Intervention Incident), the record will be rejected.  If Start Date (Restrictive Intervention Type) is after the End Date (Restrictive Intervention Incident), the record will be rejected.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1010)","v":0},"MHS515RestrictiveInterventType","MHS51517","Record rejected - [M515050]StartTimeRestrictiveIntType has an incorrect data format. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515050]StartTimeRestrictiveIntType=<StartTimeRestrictiveIntType>","The Start Time of the Restrictive Intervention Type as reported by the Care Professional.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1011)","v":0},"MHS515RestrictiveInterventType","MHS51518","Record rejected - [M515060]EndDateRestrictiveIntType has an incorrect data format. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515060]EndDateRestrictiveIntType=<EndDateRestrictiveIntType>","If End Date (Restrictive Intervention Type) is before the start of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Type) is after the end of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Type) is before the Start Date (Restrictive Intervention Type), the record will be rejected.  If End Date (Restrictive Intervention Type) is after the End Date (Restrictive Intervention Incident), the record will be rejected.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1012)","v":0},"MHS515RestrictiveInterventType","MHS51519","Record rejected - [M515060]EndDateRestrictiveIntType is before the [M000050]ReportingPeriodStartDate. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515060]EndDateRestrictiveIntType=<EndDateRestrictiveIntType> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","If End Date (Restrictive Intervention Type) is before the start of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Type) is after the end of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Type) is before the Start Date (Restrictive Intervention Type), the record will be rejected.  If End Date (Restrictive Intervention Type) is after the End Date (Restrictive Intervention Incident), the record will be rejected.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1013)","v":0},"MHS515RestrictiveInterventType","MHS51520","Record rejected - [M515060]EndDateRestrictiveIntType is after the [M000060]ReportingPeriodEndDate. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515060]EndDateRestrictiveIntType=<EndDateRestrictiveIntType> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If End Date (Restrictive Intervention Type) is before the start of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Type) is after the end of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Type) is before the Start Date (Restrictive Intervention Type), the record will be rejected.  If End Date (Restrictive Intervention Type) is after the End Date (Restrictive Intervention Incident), the record will be rejected.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1014)","v":0},"MHS515RestrictiveInterventType","MHS51523","Record rejected - [M515070]EndTimeRestrictiveIntType has an incorrect data format. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515070]EndTimeRestrictiveIntType=<EndTimeRestrictiveIntType>","The End Time of the Restrictive Intervention Type as reported by the Care Professional.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1015)","v":0},"MHS515RestrictiveInterventType","MHS51524","Record rejected - [M515080]RestraintInjuryPatient has an incorrect data format. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515080]RestraintInjuryPatient=<RestraintInjuryPatient>","An indication of whether an injury was sustained to the PATIENT during an incident of restraint during a Restrictive Intervention.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1016)","v":0},"MHS515RestrictiveInterventType","MHS51525","Warning - [M515080]RestraintInjuryPatient contains an invalid national code value. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515080]RestraintInjuryPatient=<RestraintInjuryPatient>","An indication of whether an injury was sustained to the PATIENT during an incident of restraint during a Restrictive Intervention.","MHS515","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1017)","v":0},"MHS515RestrictiveInterventType","MHS51526","Record rejected - [M515090]RestraintInjuryCarePers has an incorrect data format. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515090]RestraintInjuryCarePers=<RestraintInjuryCarePers>","An indication of whether an injury was sustained to a member of Care Personnel during an incident of restraint during a Restrictive Intervention.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1018)","v":0},"MHS515RestrictiveInterventType","MHS51527","Warning - [M515090]RestraintInjuryCarePers contains an invalid national code value. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515090]RestraintInjuryCarePers=<RestraintInjuryCarePers>","An indication of whether an injury was sustained to a member of Care Personnel during an incident of restraint during a Restrictive Intervention.","MHS515","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1019)","v":0},"MHS515RestrictiveInterventType","MHS51528","Record rejected - [M515100]RestraintInjuryOtherPers has an incorrect data format. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515100]RestraintInjuryOtherPers=<RestraintInjuryOtherPers>","An indication of whether an injury was sustained to a person, other than the PATIENT or Care Personnel, during an incident of restraint during a Restrictive Intervention.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1020)","v":0},"MHS515RestrictiveInterventType","MHS51529","Warning - [M515100]RestraintInjuryOtherPers contains an invalid national code value. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515100]RestraintInjuryOtherPers=<RestraintInjuryOtherPers>","An indication of whether an injury was sustained to a person, other than the PATIENT or Care Personnel, during an incident of restraint during a Restrictive Intervention.","MHS515","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1021)","v":0},"MHS515RestrictiveInterventType","MHS51536","Record rejected - [M515040]StartDateRestrictiveIntType is blank. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID>","If Start Date (Restrictive Intervention Type) is after the end of the reporting period, the record will be rejected.  If Start Date (Restrictive Intervention Type) is before the Start Date (Restrictive Intervention Incident), the record will be rejected.  If Start Date (Restrictive Intervention Type) is after the End Date (Restrictive Intervention Incident), the record will be rejected.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1022)","v":0},"MHS515RestrictiveInterventType","MHS51537","Record rejected - [M515040]StartDateRestrictiveIntType is after the [M000060]ReportingPeriodEndDate. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515040]StartDateRestrictiveIntType=<StartDateRestrictiveIntType> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Start Date (Restrictive Intervention Type) is after the end of the reporting period, the record will be rejected.  If Start Date (Restrictive Intervention Type) is before the Start Date (Restrictive Intervention Incident), the record will be rejected.  If Start Date (Restrictive Intervention Type) is after the End Date (Restrictive Intervention Incident), the record will be rejected.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1023)","v":0},"MHS515RestrictiveInterventType","MHS51539","Record rejected - [M515030]RestrictiveIntIncID is blank. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID>","A unique identifier allocated for each Restrictive Intervention Incident during the Hospital Provider Spell","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1024)","v":0},"MHS515RestrictiveInterventType","MHS51540","Record rejected - [M515030]RestrictiveIntIncID has an incorrect data format. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID>","A unique identifier allocated for each Restrictive Intervention Incident during the Hospital Provider Spell","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1025)","v":0},"MHS515RestrictiveInterventType","MHS51541","Record Rejected - [M515040]StartDateRestrictiveIntType is before the associated [M505160]StartDateRestrictiveIntInc. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515040]StartDateRestrictiveIntType=<StartDateRestrictiveIntType> [M505160]StartDateRestrictiveIntInc=<StartDateRestrictiveIntInc>","If Start Date (Restrictive Intervention Type) is after the end of the reporting period, the record will be rejected.  If Start Date (Restrictive Intervention Type) is before the Start Date (Restrictive Intervention Incident), the record will be rejected.  If Start Date (Restrictive Intervention Type) is after the End Date (Restrictive Intervention Incident), the record will be rejected.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1026)","v":0},"MHS515RestrictiveInterventType","MHS51542","Record rejected - [M515040]StartDateRestrictiveIntType is after the associated [M505180]EndDateRestrictiveIntInc. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515040]StartDateRestrictiveIntType=<StartDateRestrictiveIntType> [M505180]EndDateRestrictiveIntInc=<EndDateRestrictiveIntInc>","If Start Date (Restrictive Intervention Type) is after the end of the reporting period, the record will be rejected.  If Start Date (Restrictive Intervention Type) is before the Start Date (Restrictive Intervention Incident), the record will be rejected.  If Start Date (Restrictive Intervention Type) is after the End Date (Restrictive Intervention Incident), the record will be rejected.",{"$f":"LEFT(D1026,6)","v":"MHS515"},"Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1027)","v":0},"MHS515RestrictiveInterventType","MHS51543","Record rejected - [M515060]EndDateRestrictiveIntType is before the associated [M515040]StartDateRestrictiveIntType. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515060]EndDateRestrictiveIntType=<EndDateRestrictiveIntType>","If End Date (Restrictive Intervention Type) is before the start of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Type) is after the end of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Type) is before the Start Date (Restrictive Intervention Type), the record will be rejected.  If End Date (Restrictive Intervention Type) is after the End Date (Restrictive Intervention Incident), the record will be rejected.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1028)","v":0},"MHS515RestrictiveInterventType","MHS51544","Record rejected - [M515060]EndDateRestrictiveIntType is after the associated [M505180]EndDateRestrictiveIntInc. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515060]EndDateRestrictiveIntType=<EndDateRestrictiveIntType> [M505180]EndDateRestrictiveIntInc=<EndDateRestrictiveIntInc>","If End Date (Restrictive Intervention Type) is before the start of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Type) is after the end of the reporting period, the record will be rejected.  If End Date (Restrictive Intervention Type) is before the Start Date (Restrictive Intervention Type), the record will be rejected.  If End Date (Restrictive Intervention Type) is after the End Date (Restrictive Intervention Incident), the record will be rejected.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1029)","v":0},"MHS515RestrictiveInterventionType","MHS51545","Group rejected - More than one [MHS515]RestrictiveInterventType submitted for this [M515010]RestrictiveIntTypeID. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID>","Group-level Validation:  This group will be rejected if there is no valid MHS505 record transmitted for this Hospital Provider Spell Identifier.  If more than one MHS515 record is provided for a Restrictive Intervention Type Identifier, all duplicated records will be rejected.","MHS515","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1030)","v":0},"MHS515RestrictiveInterventType","MHS51546","Record rejected - [M515020]RestrictiveIntType is blank. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID>",null,"MHS515","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1031)","v":0},"MHS515RestrictiveInterventType","MHS51547","Record rejected - [M515060]EndDateRestrictiveIntType is before the associated [M505160]StartDateRestrictiveIntInc. [M515010]RestrictiveIntTypeID=<RestrictiveIntTypeID> [M515030]RestrictiveIntIncID=<RestrictiveIntIncID> [M515060]EndDateRestrictiveIntType=<EndDateRestrictiveIntType> [M505160]StartDateRestrictiveIntInc=<StartDateRestrictiveIntInc>",null,"MHS515","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1032)","v":0},"MHS516PoliceAssistanceRequest","MHS51601","Group rejected - No valid [MHS502]WardStay submitted for this [M516010]WardStayID. [M516010]WardStayID=<WardStayID>","Record in the MHS516PoliceAssistanceRequest table rejected because there is no corresponding record in the MHS502WardStay table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS502WardStay) has been rejected due to a validation error. Reason 2: There is no record with a corresponding WardStayId in the linked table (MHS502WardStay).","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1033)","v":0},"MHS516PoliceAssistanceRequest","MHS51602","Record rejected - [M516010]WardStayID is blank.","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1034)","v":0},"MHS516PoliceAssistanceRequest","MHS51603","Record rejected - [M516010]WardStayID has an incorrect data format. [M516010]WardStayID=<WardStayID>","A unique identifier allocated for each Ward Stay during the hospital provider spell. ","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1035)","v":0},"MHS516PoliceAssistanceRequest","MHS51604","Record rejected - [M516040]PoliceAssistReqDate is blank. [M516010]WardStayID=<WardStayID>","If Police Assistance Request Date is after the end of the reporting period, the record will be rejected.  If Police Assistance Request Date is before the Start Date (Ward Stay), the record will be rejected.  If Police Assistance Request Date is after the End Date (Ward Stay), the record will be rejected.","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1036)","v":0},"MHS516PoliceAssistanceRequest","MHS51605","Record rejected - [M516040]PoliceAssistReqDate has an incorrect data format. [M516010]WardStayID=<WardStayID> [M516040]PoliceAssistReqDate=<PoliceAssistReqDate>","If Police Assistance Request Date is after the end of the reporting period, the record will be rejected.  If Police Assistance Request Date is before the Start Date (Ward Stay), the record will be rejected.  If Police Assistance Request Date is after the End Date (Ward Stay), the record will be rejected.","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1037)","v":0},"MHS516PoliceAssistanceRequest","MHS51606","Record rejected - [M516040]PoliceAssistReqDate is after the [M000060]ReportingPeriodEndDate. [M516010]WardStayID=<WardStayID> [M516040]PoliceAssistReqDate=<PoliceAssistReqDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Police Assistance Request Date is after the end of the reporting period, the record will be rejected.  If Police Assistance Request Date is before the Start Date (Ward Stay), the record will be rejected.  If Police Assistance Request Date is after the End Date (Ward Stay), the record will be rejected.","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1038)","v":0},"MHS516PoliceAssistanceRequest","MHS51607","Record rejected - [M516040]PoliceAssistReqDate is before the associated [M502010]StartDateWardStay. [M516010]WardStayID=<WardStayID> [M516040]PoliceAssistReqDate=<PoliceAssistReqDate> [M502010]StartDateWardStay=<StartDateWardStay>","If Police Assistance Request Date is after the end of the reporting period, the record will be rejected.  If Police Assistance Request Date is before the Start Date (Ward Stay), the record will be rejected.  If Police Assistance Request Date is after the End Date (Ward Stay), the record will be rejected.","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1039)","v":0},"MHS516PoliceAssistanceRequest","MHS51608","Record rejected - [M516040]PoliceAssistReqDate is after the associated [M502030]EndDateWardStay. [M516010]WardStayID=<WardStayID> [M516040]PoliceAssistReqDate=<PoliceAssistReqDate> [M502030]EndDateWardStay=<EndDateWardStay>","If Police Assistance Request Date is after the end of the reporting period, the record will be rejected.  If Police Assistance Request Date is before the Start Date (Ward Stay), the record will be rejected.  If Police Assistance Request Date is after the End Date (Ward Stay), the record will be rejected.","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1040)","v":0},"MHS516PoliceAssistanceRequest","MHS51609","Record rejected - [M516050]PoliceAssistReqTime has an incorrect data format. [M516010]WardStayID=<WardStayID> [M516050]PoliceAssistReqTime=<PoliceAssistReqTime>","The time the call was made to request police assistance","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1041)","v":0},"MHS516PoliceAssistanceRequest","MHS51611","Record rejected - [M516060]PoliceAssistArrDate has an incorrect data format. [M516010]WardStayID=<WardStayID> [M516060]PoliceAssistArrDate=<PoliceAssistArrDate>","If Police Assistance Arrival Date is after the end of the reporting period, the record will be rejected.  If Police Assistance Arrival Date is before the Start Date (Ward Stay), the record will be rejected.  If Police Assistance Arrival Date is after the End Date (Ward Stay), the record will be rejected.","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1042)","v":0},"MHS516PoliceAssistanceRequest","MHS51612","Record rejected - [M516060]PoliceAssistArrDate is after the [M000060]ReportingPeriodEndDate. [M516010]WardStayID=<WardStayID> [M516060]PoliceAssistArrDate=<PoliceAssistArrDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Police Assistance Arrival Date is after the end of the reporting period, the record will be rejected.  If Police Assistance Arrival Date is before the Start Date (Ward Stay), the record will be rejected.  If Police Assistance Arrival Date is after the End Date (Ward Stay), the record will be rejected.","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1043)","v":0},"MHS516PoliceAssistanceRequest","MHS51613","Record rejected - [M516060]PoliceAssistArrDate is before the associated [M502010]StartDateWardStay. [M516010]WardStayID=<WardStayID> [M516060]PoliceAssistArrDate=<PoliceAssistArrDate> [M502010]StartDateWardStay=<StartDateWardStay>","If Police Assistance Arrival Date is after the end of the reporting period, the record will be rejected.  If Police Assistance Arrival Date is before the Start Date (Ward Stay), the record will be rejected.  If Police Assistance Arrival Date is after the End Date (Ward Stay), the record will be rejected.","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1044)","v":0},"MHS516PoliceAssistanceRequest","MHS51614","Record rejected - [M516060]PoliceAssistArrDate is after the associated [M502030]EndDateWardStay. [M516010]WardStayID=<WardStayID> [M516060]PoliceAssistArrDate=<PoliceAssistArrDate> [M502030]EndDateWardStay=<EndDateWardStay>","If Police Assistance Arrival Date is after the end of the reporting period, the record will be rejected.  If Police Assistance Arrival Date is before the Start Date (Ward Stay), the record will be rejected.  If Police Assistance Arrival Date is after the End Date (Ward Stay), the record will be rejected.","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1045)","v":0},"MHS516PoliceAssistanceRequest","MHS51615","Record rejected - [M516070]PoliceAssistArrTime has an incorrect data format. [M516010]WardStayID=<WardStayID> [M516070]PoliceAssistArrTime=<PoliceAssistArrTime>","The time the Police arrived following the request for assistance ","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1046)","v":0},"MHS516PoliceAssistanceRequest","MHS51616","Record rejected - [M516080]PoliceRestraintForceUsedInd has an incorrect data format. [M516010]WardStayID=<WardStayID> [M516080]PoliceRestraintForceUsedInd=<PoliceRestraintForceUsedInd>","An indication of whether the police used restraint or force on a PATIENT.","MHS516","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1047)","v":0},"MHS516PoliceAssistanceRequest","MHS51617","Warning - [M516080]PoliceRestraintForceUsedInd contains an invalid national code value. [M516010]WardStayID=<WardStayID> [M516080]PoliceRestraintForceUsedInd=<PoliceRestraintForceUsedInd>","An indication of whether the police used restraint or force on a PATIENT.","MHS516","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1048)","v":0},"MHS516PoliceAssistanceRequest","MHS51618","Record rejected - [M516060]PoliceAssistArrDate is before the [M516040]PoliceAssistReqDate. [M516010]WardStayID=<WardStayID> [M516060]PoliceAssistArrDate=<PoliceAssistArrDate> [M516040]PoliceAssistReqDate=<PoliceAssistReqDate>",null,"MHS516",{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E1048)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E1048)),\"Warning\",\"\"))","v":"Rejection"},"N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1049)","v":0},"MHS517SpecialisedMentalHealthExceptionalPackageofCare(EPC)","MHS51701","Group rejected - No valid [MHS501]HospProvSpell submitted for this [M517020]HospProvSpellID. [M517020]HospProvSpellID=<HospProvSpellID>","Record in the MHS517SpecialisedMentalHealthExceptionalPackageofCare table rejected because there is no corresponding record in the MHS501HospProvSpell table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS501HospProvSpell) has been rejected due to a validation error. Reason 2: There is no record with a corresponding HospProvSpellID in the linked table (MHS501HospProvSpell).","MHS517","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1050)","v":0},"MHS517SMHExceptionalPackOfCare","MHS51705","Record rejected - [M517020]HospProvSpellID is blank.","A unique identifier for each Hospital Provider Spell for a Health Care Provider.","MHS517","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1051)","v":0},"MHS517SMHExceptionalPackOfCare","MHS51706","Record rejected - [M517020]HospProvSpellID has an incorrect data format. [M517020]HospProvSpellID=<HospProvSpellID>","A unique identifier for each Hospital Provider Spell for a Health Care Provider.","MHS517","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1052)","v":0},"MHS517SMHExceptionalPackOfCare","MHS51707","Record rejected - [M517030]SMHEPCCharge is blank. [M517020]HospProvSpellID=<HospProvSpellID>","The amount charged for the SMH EPC in the reporting period","MHS517","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1053)","v":0},"MHS517SMHExceptionalPackOfCare","MHS51708","Record rejected - [M517030]SMHEPCCharge has an incorrect data format. [M517020]HospProvSpellID=<HospProvSpellID> [M517030]SMHEPCCharge=<SMHEPCCharge>","The amount charged for the SMH EPC in the reporting period","MHS517","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1054)","v":0},"MHS517SMHExceptionalPackOfCare","MHS51709","Record rejected - [M517040]OrgIDComm has an incorrect data format. [M517020]HospProvSpellID=<HospProvSpellID> [M517040]OrgIDComm=<OrgIDComm>","If Organisation Identifier (Code of Commissioner) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS517","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1055)","v":0},"MHS517SMHExceptionalPackOfCare","MHS51710","Warning - [M517040]OrgIDComm is not for a current live organisation in national tables. [M517020]HospProvSpellID=<HospProvSpellID> [M517040]OrgIDComm=<OrgIDComm>","If Organisation Identifier (Code of Commissioner) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS517","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1056)","v":0},"MHS517SMHExceptionalPackOfCare","MHS51711","Record rejected - [M517050]StartDateSMHEPC is blank. [M517020]HospProvSpellID=<HospProvSpellID>","If Start Date (Specialised Mental Health Exceptional Package of Care) is after the end of the reporting period, the record will be rejected.  If Start Date (Specialised Mental Health Exceptional Package of Care) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Specialised Mental Health Exceptional Package of Care) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS517","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1057)","v":0},"MHS517SMHExceptionalPackOfCare","MHS51712","Record rejected - [M517050]StartDateSMHEPC has an incorrect data format. [M517020]HospProvSpellID=<HospProvSpellID> [M517050]StartDateSMHEPC=<StartDateSMHEPC>","If Start Date (Specialised Mental Health Exceptional Package of Care) is after the end of the reporting period, the record will be rejected.  If Start Date (Specialised Mental Health Exceptional Package of Care) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Specialised Mental Health Exceptional Package of Care) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS517","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1058)","v":0},"MHS517SMHExceptionalPackOfCare","MHS51713","Record rejected - [M517050]StartDateSMHEPC is after the [M000060]ReportingPeriodEndDate. [M517020]HospProvSpellID=<HospProvSpellID> [M517050]StartDateSMHEPC=<StartDateSMHEPC> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Start Date (Specialised Mental Health Exceptional Package of Care) is after the end of the reporting period, the record will be rejected.  If Start Date (Specialised Mental Health Exceptional Package of Care) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Specialised Mental Health Exceptional Package of Care) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS517","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1059)","v":0},"MHS517SMHExceptionalPackOfCare","MHS51714","Record rejected - [M517050]StartDateSMHEPC is before the associated [M501010]StartDateHospProvSpell. [M517020]HospProvSpellID=<HospProvSpellID> [M517050]StartDateSMHEPC=<StartDateSMHEPC> [M501010]StartDateHospProvSpell=<StartDateHospProvSpell>","If Start Date (Specialised Mental Health Exceptional Package of Care) is after the end of the reporting period, the record will be rejected.  If Start Date (Specialised Mental Health Exceptional Package of Care) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Specialised Mental Health Exceptional Package of Care) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS517","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1060)","v":0},"MHS517SMHExceptionalPackOfCare","MHS51715","Record rejected - [M517050]StartDateSMHEPC is after the associated [M501050]DischDateHospProvSpell. [M517020]HospProvSpellID=<HospProvSpellID> [M517050]StartDateSMHEPC=<StartDateSMHEPC> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell>","If Start Date (Specialised Mental Health Exceptional Package of Care) is after the end of the reporting period, the record will be rejected.  If Start Date (Specialised Mental Health Exceptional Package of Care) is before the Start Date (Hospital Provider Spell), the record will be rejected.  If Start Date (Specialised Mental Health Exceptional Package of Care) is after the Discharge Date (Hospital Provider Spell), the record will be rejected.","MHS517","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1061)","v":0},"MHS517SMHExceptionalPackOfCare","MHS51716","Record rejected - [M517060]EndDateSMHEPC has an incorrect data format. [M517020]HospProvSpellID=<HospProvSpellID> [M517060]EndDateSMHEPC=<EndDateSMHEPC>","The End Date of an SMH EPC.","MHS517","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1062)","v":0},"MHS518ClinReadyforDischarge","MHS51801","Group rejected - No valid [MHS501]HospProvSpell submitted for this [M518060]HospProvSpellID. [M518060]HospProvSpellID=<HospProvSpellID>","Record in the MHS518 table rejected because there is no corresponding record in the MHS501HospProvSpell table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS501HospProvSpell) has been rejected due to a validation error. Reason 2: There is no record with a corresponding HospProvSpellID in the linked table (MHS501HospProvSpell).","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1063)","v":0},"MHS518ClinReadyforDischarge","MHS51805","Record rejected - [M518060]HospProvSpellID is blank.","The HospProvSpellID field is a mandatory field so cannot be left blank. It must match a HospProvSpellID given in MHS501HospProvSpell.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1064)","v":0},"MHS518ClinReadyforDischarge","MHS51806","Record rejected - [M518060]HospProvSpellID has an incorrect data format. [M518060]HospProvSpellID=<HospProvSpellID>","This is the HospProvSpellID field and can accept up to 20 characters. It must match a HospProvSpellID given in MHS501HospProvSpell.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1065)","v":0},"MHS518ClinReadyforDischarge","MHS51807","Record rejected - [M518010]StartDateClinReadyforDisch is blank. [M518060]HospProvSpellID=<HospProvSpellID>","The date that the clinical decision was taken that the PATIENT is clinically ready for discharge, but internal and external factors prevent the discharge taking place.\n\nStartDateClinReadyforDisch is mandatory so must be populated. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1066)","v":0},"MHS518ClinReadyforDischarge","MHS51808","Record rejected - [M518010]StartDateClinReadyforDisch has an incorrect data format. [M518060]HospProvSpellID=<HospProvSpellID> [M518010]StartDateClinReadyforDisch=<StartDateClinReadyforDisch>","The date that the clinical decision was taken that the PATIENT is clinically ready for discharge, but internal and external factors prevent the discharge taking place.\n\nStartDateClinReadyforDisch is mandatory so must be populated. The data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1067)","v":0},"MHS518ClinReadyforDischarge","MHS51809","Record rejected - [M518010]StartDateClinReadyforDisch is after the [M000060]ReportingPeriodEndDate. [M518060]HospProvSpellID=<HospProvSpellID> [M518010]StartDateClinReadyforDisch=<StartDateClinReadyforDisch> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","The date that the clinical decision was taken that the PATIENT is clinically ready for discharge, but internal and external factors prevent the discharge taking place.\n\nIf the StartDateClinReadyforDisch is after the reporting period - then the record will be rejected.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1068)","v":0},"MHS518ClinReadyforDischarge","MHS51810","Record rejected - [M518010]StartDateClinReadyforDisch is before the associated [M501010]StartDateHospProvSpell. [M518060]HospProvSpellID=<HospProvSpellID> [M518010]StartDateClinReadyforDisch=<StartDateClinReadyforDisch> [M501010]StartDateHospProvSpell=<StartDateHospProvSpell>","The date that the clinical decision was taken that the PATIENT is clinically ready for discharge, but internal and external factors prevent the discharge taking place.\n\nIf the StartDateClinReadyforDisch is after the StartDateHospProvSpell - then the record will be rejected.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1069)","v":0},"MHS518ClinReadyforDischarge","MHS51811","Record rejected - [M518010]StartDateClinReadyforDisch is after the associated [M501050]DischDateHospProvSpell. [M518060]HospProvSpellID=<HospProvSpellID> [M518010]StartDateClinReadyforDisch=<StartDateClinReadyforDisch> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell>","The date that the clinical decision was taken that the PATIENT is clinically ready for discharge, but internal and external factors prevent the discharge taking place.\n\nIf the StartDateClinReadyforDisch is after the DischDateHospProvSpell - then the record will be rejected.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1070)","v":0},"MHS518ClinReadyforDischarge","MHS51812","Record rejected - [M518020]EndDateClinReadyforDisch has an incorrect data format. [M518060]HospProvSpellID=<HospProvSpellID> [M518020]EndDateClinReadyforDisch=<EndDateClinReadyforDisch>","The date that a period of clinically ready for discharge for a patient who had previously been ready for discharge ended.  This may end because the patient was discharged or because the patient was no longer ready for discharge.\n\nThe data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1071)","v":0},"MHS518ClinReadyforDischarge","MHS51813","Record rejected - [M518020]EndDateClinReadyforDisch is before the [M000050]ReportingPeriodStartDate. [M518060]HospProvSpellID=<HospProvSpellID> [M518020]EndDateClinReadyforDisch=<EndDateClinReadyforDisch> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","The date that a period of clinically ready for discharge for a patient who had previously been ready for discharge ended.  This may end because the patient was discharged or because the patient was no longer ready for discharge.\n\nIf the EndDateClinReadyforDisch is before the reporting period - then the record will be rejected.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1072)","v":0},"MHS518ClinReadyforDischarge","MHS51814","Record rejected - [M518020]EndDateClinReadyforDisch is after the [M000060]ReportingPeriodEndDate. [M518060]HospProvSpellID=<HospProvSpellID> [M518020]EndDateClinReadyforDisch=<EndDateClinReadyforDisch> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","The date that a period of clinically ready for discharge for a patient who had previously been ready for discharge ended.  This may end because the patient was discharged or because the patient was no longer ready for discharge.\n\nIf the EndDateClinReadyforDisch is after the reporting period - then the record will be rejected.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1073)","v":0},"MHS518ClinReadyforDischarge","MHS51815","Record rejected - [M518020]EndDateClinReadyforDisch is before the associated [M518010]StartDateClinReadyforDisch. [M518060]HospProvSpellID=<HospProvSpellID> [M518020]EndDateClinReadyforDisch=<EndDateClinReadyforDisch> [M518010]StartDateClinReadyforDisch=<StartDateClinReadyforDisch>","The date that a period of clinically ready for discharge for a patient who had previously been ready for discharge ended.  This may end because the patient was discharged or because the patient was no longer ready for discharge.\n\nIf the EndDateClinReadyforDisch is before the StartDateClinReadyforDisch - then the record will be rejected.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1074)","v":0},"MHS518ClinReadyforDischarge","MHS51816","Record rejected - [M518020]EndDateClinReadyforDisch is before the associated [M501010]StartDateHospProvSpell. [M518060]HospProvSpellID=<HospProvSpellID> [M518020]EndDateClinReadyforDisch=<EndDateClinReadyforDisch> [M501010]StartDateHospProvSpell=<StartDateHospProvSpell>","The date that a period of clinically ready for discharge for a patient who had previously been ready for discharge ended.  This may end because the patient was discharged or because the patient was no longer ready for discharge.\n\nIf the EndDateClinReadyforDisch is before the StartDateHospProvSpell - then the record will be rejected.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1075)","v":0},"MHS518ClinReadyforDischarge","MHS51817","Record rejected - [M518020]EndDateClinReadyforDisch is after the associated [M501050]DischDateHospProvSpell. [M518060]HospProvSpellID=<HospProvSpellID> [M518020]EndDateClinReadyforDisch=<EndDateClinReadyforDisch> [M501050]DischDateHospProvSpell=<DischDateHospProvSpell>","The date that a period of clinically ready for discharge for a patient who had previously been ready for discharge ended.  This may end because the patient was discharged or because the patient was no longer ready for discharge.\n\nIf the EndDateClinReadyforDisch is after the DischDateHospProvSpell - then the record will be rejected.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1076)","v":0},"MHS518ClinReadyforDischarge","MHS51818","Record rejected - [M518030]ClinReadyforDischDelayReason has an incorrect data format. [M518060]HospProvSpellID=<HospProvSpellID> [M518030]ClinReadyforDischDelayReason=<ClinReadyforDischDelayReason>","The reason that a patient was not able to be discharged despite being clinically ready for discharge.\n\nThe ClinReadyforDischDelayReason should contain a valid value from the Technical Output Specification.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1077)","v":0},"MHS518ClinReadyforDischarge","MHS51819","Warning - [M518030]ClinReadyforDischDelayReason contains an invalid national code value. [M518060]HospProvSpellID=<HospProvSpellID> [M518030]ClinReadyforDischDelayReason=<ClinReadyforDischDelayReason>","The reason that a patient was not able to be discharged despite being clinically ready for discharge.\n\nThe ClinReadyforDischDelayReason should contain a valid value from the Technical Output Specification.","MHS518","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1078)","v":0},"MHS518ClinReadyforDischarge","MHS51820","Record rejected - [M518040]AttribToIndic has an incorrect data format. [M518060]HospProvSpellID=<HospProvSpellID> [M518040]AttribToIndic=<AttribToIndic>","An indication to which ORGANISATION the Clinically Ready for Discharge Period is attributable.\n\nThe AttribToIndic should contain a valid value from the Technical Output Specification.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1079)","v":0},"MHS518ClinReadyforDischarge","MHS51821","Warning - [M518040]AttribToIndic contains an invalid national code value. [M518060]HospProvSpellID=<HospProvSpellID> [M518040]AttribToIndic=<AttribToIndic>","An indication to which ORGANISATION the Clinically Ready for Discharge Period is attributable.\n\nThe AttribToIndic should contain a valid value from the Technical Output Specification.","MHS518","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1080)","v":0},"MHS518ClinReadyforDischarge","MHS51822","Record rejected - [M518050]OrgIDRespLAClinReadyforDisch has an incorrect data format. [M518060]HospProvSpellID=<HospProvSpellID> [M518050]OrgIDRespLAClinReadyforDisch=<OrgIDRespLAClinReadyforDisch>","The ORGANISATION IDENTIFIER of the Local Authority to whom the Mental Health Clinically Ready for Discharge Period is directly or jointly attributable.\n\nThe orgIDRespLAClinReadyforDisch should be alpha-numeric and beween 3 and 5 characters long.","MHS518","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1081)","v":0},"MHS518ClinReadyforDischarge","MHS51823","Warning - [M518050]OrgIDRespLAClinReadyforDisch is not for a current live organisation in national tables. [M518060]HospProvSpellID=<HospProvSpellID> [M518050]OrgIDRespLAClinReadyforDisch=<OrgIDRespLAClinReadyforDisch>","The ORGANISATION IDENTIFIER of the Local Authority to whom the Mental Health Clinically Ready for Discharge Period is directly or jointly attributable.\n\nThe orgIDRespLAClinReadyforDisch should be alpha-numeric and beween 3 and 5 characters long and be a code registered with ODS.","MHS518","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1082)","v":0},"MHS518ClinReadyforDischarge","MHS51824","Warning - [M518050]OrgIDRespLAClinReadyforDisch is populated but code 04 has been submitted for [M518040]F. [M518060]HospProvSpellID=<HospProvSpellID> [M518050]OrgIDRespLAClinReadyforDisch=<OrgIDRespLAClinReadyforDisch> [M518040]AttribToIndic=<AttribToIndic>","If the ORGANISATION the Clinically Ready for Discharge Period is attributable = 'NHS' then the OrgIDRespLAClinReadyforDisch does not need to be populated. ","MHS518","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1083)","v":0},"MHS518ClinReadyforDischarge","MHS51825","Warning - [M518050]OrgIDRespLAClinReadyforDisch is blank but [M518040]AttribToIndic is populated with code 05 or code 06. [M518060]HospProvSpellID=<HospProvSpellID> [M518050]OrgIDRespLAClinReadyforDisch=<OrgIDRespLAClinReadyforDisch> [M518040]AttribToIndic=<AttribToIndic>","If the ORGANISATION the Clinically Ready for Discharge Period is attributable = 'Social Care' or \"Both (NHS and Social Care\") then the OrgIDRespLAClinReadyforDisch should be populated. ","MHS518","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1084)","v":0},"MHS601MedHistPrevDiag","MHS60101","Record rejected - [M601901]LocalPatientID is blank.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS601","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1085)","v":0},"MHS601MedHistPrevDiag","MHS60102","Record rejected - [M601901]LocalPatientID has an incorrect data format. [M601901]LocalPatientID=<LocalPatientID>","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS601","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1086)","v":0},"MHS601MedHistPrevDiag","MHS60103","Record rejected - [M601913]DiagSchemeInUse is blank. [M601901]LocalPatientID=<LocalPatientID>"," ","MHS601","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1087)","v":0},"MHS601MedHistPrevDiag","MHS60104","Record rejected - [M601913]DiagSchemeInUse has an incorrect data format. [M601901]LocalPatientID=<LocalPatientID> [M601913]DiagSchemeInUse=<DiagSchemeInUse>"," ","MHS601","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1088)","v":0},"MHS601MedHistPrevDiag","MHS60105","Warning - [M601913]DiagSchemeInUse contains an invalid national code value. [M601901]LocalPatientID=<LocalPatientID> [M601913]DiagSchemeInUse=<DiagSchemeInUse>"," ","MHS601","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1089)","v":0},"MHS601MedHistPrevDiag","MHS60106","Record rejected - [M601010]PrevDiag is blank. [M601901]LocalPatientID=<LocalPatientID>","If Previous Diagnosis (Coded Clinical Entry) format does not match expected format for Diagnosis Scheme In Use, the record will be rejected.","MHS601","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1090)","v":0},"MHS601MedHistPrevDiag","MHS60107","Record rejected - [M601010]PrevDiag has an incorrect data format. [M601901]LocalPatientID=<LocalPatientID> [M601010]PrevDiag=<PrevDiag>","If Previous Diagnosis (Coded Clinical Entry) format does not match expected format for Diagnosis Scheme In Use, the record will be rejected.",{"$f":"LEFT(D1090,6)","v":"MHS601"},"Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1091)","v":0},"MHS601MedHistPrevDiag","MHS60108","Record rejected - [M601030]CodedDiagTimestamp has an incorrect data format. [M601901]LocalPatientID=<LocalPatientID> [M601030]CodedDiagTimestamp=<CodedDiagTimestamp>","This is the CodedDiagTimestamp field. The timestamp must be in one of the example formats illustrated here: https://www.datadictionary.nhs.uk/data_elements/coded_diagnosis_timestamp.html. Please check that the format of your timestamp entries matches one of these examples.","MHS601","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1092)","v":0},"MHS601MedHistPrevDiag","MHS60109","Record rejected - [M601030]CodedDiagTimestamp is after the [M000060]ReportingPeriodEndDate. [M601901]LocalPatientID=<LocalPatientID> [M601030]CodedDiagTimestamp=<CodedDiagTimestamp> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Coded Diagnosis Timestamp is after the end of the reporting period, the record will be rejected.","MHS601","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1093)","v":0},"MHS601MedicalHistory(PreviousDiagnosis)","MHS60110","Group rejected - No valid [MHS001]MPI submitted for this [M601901]LocalPatientID. [M601901]LocalPatientID=<LocalPatientID>","Record in the MHS601MedHistPrevDiag table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS601","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1094)","v":0},"MHS601MedicalHistory(PreviousDiagnosis)","MHS60111","Group rejected - More than one [MHS601]MedHistPrevDiag submitted for this [M601901]LocalPatientID + [M601010]PrevDiag + [M601030]CodedDiagTimestamp combination. [M601901]LocalPatientID=<LocalPatientID> [M601010]PrevDiag=<PrevDiag> [M601030]CodedDiagTimestamp=<CodedDiagTimestamp>","Duplicate records have been submitted with the same values in the following fields: LocalPatientId, PrevDiag and CodedDiagTimestamp. All duplicate records will be rejected with group-level rejection error.","MHS601","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1095)","v":0},"MHS601MedHistPrevDiag","MHS60112","Record rejected - [M601010]PrevDiag format does not match expected format from [M601913]DiagSchemeInUse. [M601901]LocalPatientID=<LocalPatientID> [M601010]PrevDiag=<PrevDiag> [M601913]DiagSchemeInUse=<DiagSchemeInUse>","If Previous Diagnosis (Coded Clinical Entry) format does not match expected format for Diagnosis Scheme In Use, the record will be rejected.","MHS601","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1096)","v":0},"MHS603ProvisionalDiagnosis","MHS60301","Group rejected - No valid MHS101 group transmitted for this Service Request Identifier.","Record in the MHS603ProvDiag table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ServiceRequestId in the linked table (MHS101Referral).","MHS603","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1097)","v":0},"MHS603ProvisionalDiagnosis","MHS60304","Group rejected - More than one MHS603 provided for this Service Request Identifier + Coded Provisional Diagnosis Timestamp + Provisional Diagnosis (Coded Clinical Entry) combination.","Duplicate records have been submitted with the same values in the following fields: ServiceRequestId, CodedProvDiagTimestamp and ProvDiag. All duplicate records will be rejected with group-level rejection error.","MHS603","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1098)","v":0},"MHS603ProvDiag","MHS60305","Record rejected - Service Request Identifier is blank.","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS603","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1099)","v":0},"MHS603ProvDiag","MHS60306","Record rejected - Service Request Identifier has incorrect data format.","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS603","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1100)","v":0},"MHS603ProvDiag","MHS60307","Record rejected - Diagnosis Scheme In Use (Mental Health) is blank.","The code scheme basis of the Diagnosis.","MHS603","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1101)","v":0},"MHS603ProvDiag","MHS60308","Record rejected - Diagnosis Scheme In Use (Mental Health) has incorrect data format.","The code scheme basis of the Diagnosis.","MHS603","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1102)","v":0},"MHS603ProvDiag","MHS60309","Warning - Diagnosis Scheme In Use (Mental Health) contains an invalid Diagnosis Scheme In Use (Mental Health).","The code scheme basis of the Diagnosis.","MHS603","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1103)","v":0},"MHS603ProvDiag","MHS60310","Record rejected - Provisional Diagnosis (Coded Clinical Entry) is blank.","If Provisional Diagnosis (Coded Clinical Entry) format does not match expected format for Diagnosis Scheme In Use, the record will be rejected.","MHS603","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1104)","v":0},"MHS603ProvDiag","MHS60311","Record rejected - Provisional Diagnosis (Coded Clinical Entry) has incorrect data format.","If Provisional Diagnosis (Coded Clinical Entry) format does not match expected format for Diagnosis Scheme In Use, the record will be rejected.","MHS603","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1105)","v":0},"MHS603ProvDiag","MHS60312","Warning - Coded Provisional Diagnosis Timestamp is blank.","If Coded Provisional Diagnosis Timestamp is after the end of the reporting period, the record will be rejected.","MHS603","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1106)","v":0},"MHS603ProvDiag","MHS60313","Record rejected - Coded Provisional Diagnosis Timestamp has incorrect date format.","This is the CodedProvDiagTimestamp field. The timestamp must be in one of the example formats illustrated here: https://www.datadictionary.nhs.uk/data_elements/coded_diagnosis_timestamp.html. Please check that the format of your timestamp entries matches one of these examples.","MHS603","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1107)","v":0},"MHS603ProvDiag","MHS60314","Record rejected - Coded Provisional Diagnosis Timestamp is after the end date of the reporting period.","If Coded Provisional Diagnosis Timestamp is after the end of the reporting period, the record will be rejected.","MHS603","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1108)","v":0},"MHS603ProvDiag","MHS60315","Record rejected - Provisional Diagnosis (Coded Clinical Entry) format does not match expected format from selected Diagnosis Scheme In Use.","If Provisional Diagnosis (Coded Clinical Entry) format does not match expected format for Diagnosis Scheme In Use, the record will be rejected.","MHS603","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1109)","v":0},"MHS604PrimDiag","MHS60401","Record rejected - [M604902]ServiceRequestID is blank.","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS604","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1110)","v":0},"MHS604PrimDiag","MHS60402","Record rejected - [M604902]ServiceRequestID has an incorrect data format. [M604902]ServiceRequestID=<ServiceRequestID> [M604902]ServiceRequestID=<ServiceRequestID>","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS604","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1111)","v":0},"MHS604PrimDiag","MHS60403","Record rejected - [M604913]DiagSchemeInUse is blank. [M604902]ServiceRequestID=<ServiceRequestID>","The code scheme basis of a diagnosis.","MHS604","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1112)","v":0},"MHS604PrimDiag","MHS60404","Record rejected - [M604913]DiagSchemeInUse has an incorrect data format. [M604902]ServiceRequestID=<ServiceRequestID> [M604913]DiagSchemeInUse=<DiagSchemeInUse>","The code scheme basis of a diagnosis.","MHS604",{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E1112)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E1112)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1113)","v":0},"MHS604PrimDiag","MHS60405","Warning - [M604913]DiagSchemeInUse contains an invalid national code value. [M604902]ServiceRequestID=<ServiceRequestID> [M604913]DiagSchemeInUse=<DiagSchemeInUse>","The code scheme basis of a diagnosis.","MHS604","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1114)","v":0},"MHS604PrimDiag","MHS60406","Record rejected - [M604010]PrimDiag is blank. [M604902]ServiceRequestID=<ServiceRequestID>","If Primary Diagnosis (Coded Clinical Entry) format does not match expected format for Diagnosis Scheme In Use, the record will be rejected.","MHS604","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1115)","v":0},"MHS604PrimDiag","MHS60407","Record rejected - [M604010]PrimDiag has an incorrect data format. [M604902]ServiceRequestID=<ServiceRequestID> [M604010]PrimDiag=<PrimDiag>","If Primary Diagnosis (Coded Clinical Entry) format does not match expected format for Diagnosis Scheme In Use, the record will be rejected.","MHS604","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1116)","v":0},"MHS604PrimDiag","MHS60408","Warning - Coded Diagnosis Timestamp is blank.","If Coded Diagnosis Timestamp is after the end of the reporting period, the record will be rejected.","MHS604","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1117)","v":0},"MHS604PrimDiag","MHS60409","Record rejected - [M604020]CodedDiagTimestamp has an incorrect data format. [M604902]ServiceRequestID=<ServiceRequestID> [M604020]CodedDiagTimestamp=<CodedDiagTimestamp>","This is the CodedDiagTimestamp field. The timestamp must be in one of the example formats illustrated here: https://www.datadictionary.nhs.uk/data_elements/coded_diagnosis_timestamp.html. Please check that the format of your timestamp entries matches one of these examples.","MHS604","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1118)","v":0},"MHS604PrimDiag","MHS60410","Record rejected - [M604020]CodedDiagTimestamp is after the [M000060]ReportingPeriodEndDate. [M604902]ServiceRequestID=<ServiceRequestID> [M604020]CodedDiagTimestamp=<CodedDiagTimestamp> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Coded Diagnosis Timestamp is after the end of the reporting period, the record will be rejected.","MHS604","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1119)","v":0},"MHS604PrimaryDiagnosis","MHS60412","Group rejected - No valid [MHS101]Referral submitted for this [M604902]ServiceRequestID. [M604902]ServiceRequestID=<ServiceRequestID>","Record in the MHS604PrimDiag table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ServiceRequestId in the linked table (MHS101Referral).","MHS604","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1120)","v":0},"MHS604PrimaryDiagnosis","MHS60413","Group rejected - More than one [MHS604]PrimDiag submitted for this [M604902]ServiceRequestID + [M604020]CodedDiagTimestamp + [M604010]PrimDiag combination. [M604902]ServiceRequestID=<ServiceRequestID> [M604020]CodedDiagTimestamp=<CodedDiagTimestamp> [M604010]PrimDiag=<PrimDiag>","Duplicate records have been submitted with the same values in the following fields: ServiceRequestId, CodedDiagTimestamp and PrimDiag. All duplicate records will be rejected with group-level rejection error.","MHS604","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1121)","v":0},"MHS604PrimDiag","MHS60414","Record rejected - [M604010]PrimDiag format does not match expected format from [M604913]DiagSchemeInUse. [M604902]ServiceRequestID=<ServiceRequestID> [M604010]PrimDiag=<PrimDiag> [M604913]DiagSchemeInUse=<DiagSchemeInUse>","If Primary Diagnosis (Coded Clinical Entry) format does not match expected format for Diagnosis Scheme In Use, the record will be rejected.","MHS604","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1122)","v":0},"MHS605SecDiag","MHS60501","Record rejected - [M605902]ServiceRequestID is blank.","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS605","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1123)","v":0},"MHS605SecDiag","MHS60502","Record rejected - [M605902]ServiceRequestID has an incorrect data format. [M605902]ServiceRequestID=<ServiceRequestID> [M605902]ServiceRequestID=<ServiceRequestID>","The unique identifier for a SERVICE REQUEST.   It would normally be automatically generated by the local system upon recording a new Referral, although could be manually assigned.","MHS605","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1124)","v":0},"MHS605SecDiag","MHS60503","Record rejected - [M605913]DiagSchemeInUse is blank. [M605902]ServiceRequestID=<ServiceRequestID>"," ","MHS605","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1125)","v":0},"MHS605SecDiag","MHS60504","Record rejected - [M605913]DiagSchemeInUse has an incorrect data format. [M605902]ServiceRequestID=<ServiceRequestID> [M605913]DiagSchemeInUse=<DiagSchemeInUse>"," ","MHS605","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1126)","v":0},"MHS605SecDiag","MHS60505","Warning - [M605913]DiagSchemeInUse contains an invalid national code value. [M605902]ServiceRequestID=<ServiceRequestID> [M605913]DiagSchemeInUse=<DiagSchemeInUse>"," ","MHS605","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1127)","v":0},"MHS605SecDiag","MHS60506","Record rejected - [M605010]SecDiag is blank. [M605902]ServiceRequestID=<ServiceRequestID>","If Secondary Diagnosis (Coded Clinical Entry) format does not match expected format for Diagnosis Scheme In Use, the record will be rejected.","MHS605","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1128)","v":0},"MHS605SecDiag","MHS60507","Record rejected - [M605010]SecDiag has an incorrect data format. [M605902]ServiceRequestID=<ServiceRequestID> [M605010]SecDiag=<SecDiag>","If Secondary Diagnosis (Coded Clinical Entry) format does not match expected format for Diagnosis Scheme In Use, the record will be rejected.","MHS605","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1129)","v":0},"MHS605SecDiag","MHS60508","Warning - Coded Diagnosis Timestamp is blank.","If Coded Diagnosis Timestamp is after the end of the reporting period, the record will be rejected.","MHS605","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1130)","v":0},"MHS605SecDiag","MHS60509","Record rejected - [M605020]CodedDiagTimestamp has an incorrect data format. [M605902]ServiceRequestID=<ServiceRequestID> [M605020]CodedDiagTimestamp=<CodedDiagTimestamp>","This is the CodedDiagTimestamp field. The timestamp must be in one of the example formats illustrated here: https://www.datadictionary.nhs.uk/data_elements/coded_diagnosis_timestamp.html. Please check that the format of your timestamp entries matches one of these examples.","MHS605","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1131)","v":0},"MHS605SecDiag","MHS60510","Record rejected - [M605020]CodedDiagTimestamp is after the [M000060]ReportingPeriodEndDate. [M605902]ServiceRequestID=<ServiceRequestID> [M605020]CodedDiagTimestamp=<CodedDiagTimestamp> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If Coded Diagnosis Timestamp is after the end of the reporting period, the record will be rejected.","MHS605","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1132)","v":0},"MHS605SecondaryDiagnosis","MHS60512","Group rejected - No valid [MHS101]Referral submitted for this [M605902]ServiceRequestID. [M605902]ServiceRequestID=<ServiceRequestID>","Record in the MHS605SecDiag table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ServiceRequestId in the linked table (MHS101Referral).","MHS605","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1133)","v":0},"MHS605SecondaryDiagnosis","MHS60513","Group rejected - More than one [MHS605]SecDiag submitted for this [M605902]ServiceRequestID + [M605020]CodedDiagTimestamp + [M605010]SecDiag combination. [M605902]ServiceRequestID=<ServiceRequestID> [M605020]CodedDiagTimestamp=<CodedDiagTimestamp> [M605010]SecDiag=<SecDiag>","Duplicate records have been submitted with the same values in the following fields: ServiceRequestId, CodedDiagTimestamp and SecDiag. All duplicate records will be rejected with group-level rejection error.","MHS605","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1134)","v":0},"MHS605SecDiag","MHS60514","Record rejected - [M605010]SecDiag format does not match expected format from [M605913]DiagSchemeInUse. [M605902]ServiceRequestID=<ServiceRequestID> [M605010]SecDiag=<SecDiag> [M605913]DiagSchemeInUse=<DiagSchemeInUse>","If Secondary Diagnosis (Coded Clinical Entry) format does not match expected format for Diagnosis Scheme In Use, the record will be rejected.","MHS605","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1135)","v":0},"MHS606CodedScoreAssessmentRefer","MHS60601","Record rejected - [M606902]ServiceRequestID is blank.","The ServiceRequestId field is a mandatory field so cannot be left blank. It must match a ServiceRequestId given in MHS101Referral.","MHS606","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1136)","v":0},"MHS606CodedScoreAssessmentRefer","MHS60602","Record rejected - [M606902]ServiceRequestID has an incorrect data format. [M606902]ServiceRequestID=<ServiceRequestID> [M606902]ServiceRequestID=<ServiceRequestID>","This is the ServiceRequestId field and can accept up to 20 characters. It must match a ServiceRequestId given in MHS101Referral.","MHS606","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1137)","v":0},"MHS606CodedScoreAssessmentRefer","MHS60603","Record rejected - [M606910]CodedAssToolType is blank. [M606902]ServiceRequestID=<ServiceRequestID>","The CodedAssToolType is a mandatory field so cannot be left blank. This field is expecting the SNOMED CT concept ID which is used to identify an assessment tool. The CodedAssToolType must be listed in the Technical Output Specification tab, MH Assessment Scales. ","MHS606","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1138)","v":0},"MHS606CodedScoreAssessmentRefer","MHS60604","Record rejected - [M606910]CodedAssToolType has an incorrect data format. [M606902]ServiceRequestID=<ServiceRequestID> [M606910]CodedAssToolType=<CodedAssToolType>","This is the CodedAssToolType field. The expected format is min n6 max n18. The CodedAssToolType must be listed in the Technical Output Specification tab, MH Assessment Scales. ","MHS606","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1139)","v":0},"MHS606CodedScoreAssessmentRefer","MHS60605","Record rejected - [M606911]PersScore is blank. [M606902]ServiceRequestID=<ServiceRequestID>","The CodedAssToolType field is a mandatory field so cannot be left blank. This field is expecting the observable value (score) resulting from an assessment.","MHS606","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1140)","v":0},"MHS606CodedScoreAssessmentRefer","MHS60606","Record rejected - [M606911]PersScore has an incorrect data format. [M606902]ServiceRequestID=<ServiceRequestID> [M606911]PersScore=<PersScore>","This is the CodedAssToolType field and is expecting a format of max an5.","MHS606","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1141)","v":0},"MHS606CodedScoreAssessmentRefer","MHS60607","Warning - [M606911]PersScore contains an invalid person score for the coded assessment tool type. [M606902]ServiceRequestID=<ServiceRequestID> [M606911]PersScore=<PersScore>","This is the PersScore field. The value populated in this field is invalid. The range of expected values for the Person Score of each Mental Health Assessment Scale is listed in the \"MH Assessment Scales\" tab in the Technical Output Specification.","MHS606","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1142)","v":0},"MHS606CodedScoreAssessmentRefer","MHS60608","Record rejected - [M606918]AssToolCompTimestamp is blank. [M606902]ServiceRequestID=<ServiceRequestID>","The AssToolCompTimestamp field is a mandatory field so cannot be left blank. This field is expecting the date on which the assessment took place.","MHS606","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1143)","v":0},"MHS606CodedScoreAssessmentRefer","MHS60609","Record rejected - [M606918]AssToolCompTimestamp has an incorrect data format. [M606902]ServiceRequestID=<ServiceRequestID> [M606918]AssToolCompTimestamp=<AssToolCompTimestamp>","This is the AssToolCompTimestamp field. The timestamp must be in one of the example formats illustrated here: https://www.datadictionary.nhs.uk/data_elements/coded_diagnosis_timestamp.html. Please check that the format of your timestamp entries matches one of these examples.","MHS606","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1144)","v":0},"MHS606CodedScoreAssessmentRefer","MHS60610","Record rejected - Assessment Tool Completion Timestamp is outside of reporting period.","This is the AssToolCompTimestamp field. Only activity that took place during the reporting period should be submitted. This means that the AssToolCompTimestamp date should not be before the ReportingPeriodStartDate or after the ReportingPeriodEndDate.","MHS606","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1145)","v":0},"MHS606CodedScoredAssessment(Referral)","MHS60612","Group rejected - No valid [MHS101]Referral submitted for this [M606902]ServiceRequestID. [M606902]ServiceRequestID=<ServiceRequestID>","Record in the MHS606CodedScoreAssessmentRefer table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ServiceRequestId in the linked table (MHS101Referral).","MHS606","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1146)","v":0},"MHS606CodedScoreAssessmentRefer","MHS60613","Record rejected - [M606910]CodedAssToolType is not in the associated reference table. [M606902]ServiceRequestID=<ServiceRequestID> [M606910]CodedAssToolType=<CodedAssToolType>","This is the CodedAssToolType field. The CodedAssToolType must be listed in the Technical Output Specification tab, MH Assessment Scales. ","MHS606","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1147)","v":0},"MHS606CodedScoreAssessmentRefer","MHS60614","Record rejected - [M606908]CareProfLocalID has an incorrect data format. [M606902]ServiceRequestID=<ServiceRequestID> [M606908]CareProfLocalID=<CareProfLocalID>","This is the CareProfLocalId field and can accept up to 20 characters. It must match a CareProfLocalId given in MHS901StaffDetails.","MHS606","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1148)","v":0},"MHS606CodedScoredAssessment(Referral)","MHS60615","Warning - No valid [MHS901]StaffDetails submitted for this [M606908]CareProfLocalID. [M606908]CareProfLocalID=<CareProfLocalID>","Warning generated for MHS606CodedScoreAssessmentRefer record because there is no corresponding record in the MHS901StaffDetails table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS901StaffDetails) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareProfLocalId in the linked table (MHS901StaffDetails).","MHS606","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1149)","v":0},"MHS606CodedScoreAssessmentRefer","MHS60616","Record rejected - [M606918]AssToolCompTimestamp is after the [M000060]ReportingPeriodEndDate. [M606902]ServiceRequestID=<ServiceRequestID> [M606918]AssToolCompTimestamp=<AssToolCompTimestamp> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>",null,"MHS606","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1150)","v":0},"MHS606CodedScoreAssessmentRefer","MHS60618","Record rejected - [M606918]AssToolCompTimestamp is before the [M000050]ReportingPeriodStartDate. [M606902]ServiceRequestID=<ServiceRequestID> [M606918]AssToolCompTimestamp=<AssToolCompTimestamp> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>",null,"MHS606","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1151)","v":0},"MHS607CodedScoreAssessmentAct","MHS60701","Record rejected - [M607904]CareActID is blank.","The CareActId field is a mandatory field so cannot be left blank. It must match a CareActId given in MHS202CareActivity.","MHS607","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1152)","v":0},"MHS607CodedScoreAssessmentAct","MHS60702","Record rejected - [M607904]CareActID has an incorrect data format. [M607904]CareActID=<CareActID> [M607904]CareActID=<CareActID>","This is the CareActId field and can accept up to 20 characters. It must match a CareActId given in MHS202CareActivity.","MHS607","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1153)","v":0},"MHS607CodedScoreAssessmentAct","MHS60703","Record rejected - [M607910]CodedAssToolType is blank. [M607904]CareActID=<CareActID>","The CodedAssToolType is a mandatory field so cannot be left blank. This field is expecting the SNOMED CT concept ID which is used to identify an assessment tool. The CodedAssToolType must be listed in the Technical Output Specification tab, MH Assessment Scales. ","MHS607","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1154)","v":0},"MHS607CodedScoreAssessmentAct","MHS60704","Record rejected - [M607910]CodedAssToolType has an incorrect data format. [M607904]CareActID=<CareActID> [M607910]CodedAssToolType=<CodedAssToolType>","This is the CodedAssToolType field. The expected format is min n6 max n18. The CodedAssToolType must be listed in the Technical Output Specification tab, MH Assessment Scales. ",{"$f":"LEFT(D1154,6)","v":"MHS607"},"Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1155)","v":0},"MHS607CodedScoreAssessmentAct","MHS60705","Record rejected - [M607911]PersScore is blank. [M607904]CareActID=<CareActID>","The PersScore field is a mandatory field so cannot be left blank. This field is expecting the observable value (score) resulting from an assessment.","MHS607","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1156)","v":0},"MHS607CodedScoreAssessmentAct","MHS60706","Record rejected - [M607911]PersScore has an incorrect data format. [M607904]CareActID=<CareActID> [M607911]PersScore=<PersScore>","This is the PersScore field and is expecting a format of max an5.","MHS607","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1157)","v":0},"MHS607CodedScoreAssessmentAct","MHS60707","Warning - [M607911]PersScore contains an invalid person score for the coded assessment tool type. [M607904]CareActID=<CareActID> [M607911]PersScore=<PersScore>","This is the PersScore field. The value populated in this field is invalid. The range of expected values for the Person Score of each Mental Health Assessment Scale is listed in the \"MH Assessment Scales\" tab in the Technical Output Specification.","MHS607","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1158)","v":0},"MHS607CodedScoredAssessment(CareActivity)","MHS60708","Group rejected - No valid [MHS202]CareActivity submitted for this [M607904]CareActID. [M607904]CareActID=<CareActID>","Record in the MHS607CodedScoreAssessmentAct table rejected because there is no corresponding record in the MHS202CareActivity table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS202CareActivity) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareActivityId in the linked table (MHS202CareActivity).","MHS607","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1159)","v":0},"MHS607CodedScoredAssessment(CareActivity)","MHS60709","Group rejected - More than one [MHS607]CodedScoreAssessmentAct submitted for this [M607904]CareActID + [M607910]CodedAssToolType + [M607911]PersScore combination. [M607904]CareActID=<CareActID> [M607910]CodedAssToolType=<CodedAssToolType> [M607911]PersScore=<PersScore>","Duplicate records have been submitted with the same values in the following fields: CareActivityId, CodedAssToolType and PersScore. All duplicate records will be rejected with group-level rejection error.","MHS607","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1160)","v":0},"MHS607CodedScoreAssessmentAct","MHS60710","Record rejected - [M607910]CodedAssToolType is not in the associated reference table. [M607904]CareActID=<CareActID> [M607910]CodedAssToolType=<CodedAssToolType>","This is the CodedAssToolType field. The CodedAssToolType must be listed in the Technical Output Specification tab, MH Assessment Scales. ","MHS607","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1161)","v":0},"MHS608AnonSelfAssess","MHS60801","Record rejected - [M608923]AssToolCompTimestamp is blank.","If Assessment Tool Completion Timestamp is populated and not within the reporting period, the record will be rejected.","MHS608","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1162)","v":0},"MHS608AnonSelfAssess","MHS60802","Record rejected - [M608923]AssToolCompTimestamp has an incorrect data format. [M608923]AssToolCompTimestamp=<AssToolCompTimestamp>","This is the AssToolCompTimestamp field. The timestamp must be in one of the example formats illustrated here: https://www.datadictionary.nhs.uk/data_elements/coded_diagnosis_timestamp.html. Please check that the format of your timestamp entries matches one of these examples.","MHS608","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1163)","v":0},"MHS608AnonSelfAssess","MHS60803","Record rejected - [M608910]CodedAssToolType is blank.","If Coded Assessment Tool Type (SNOMED CT) is not in \"Mental Health Assessment Scale Observables\" subset reference table, the record will be rejected.","MHS608","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1164)","v":0},"MHS608AnonSelfAssess","MHS60804","Record rejected - [M608910]CodedAssToolType has an incorrect data format. [M608910]CodedAssToolType=<CodedAssToolType>","If Coded Assessment Tool Type (SNOMED CT) is not in \"Mental Health Assessment Scale Observables\" subset reference table, the record will be rejected.","MHS608","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1165)","v":0},"MHS608AnonSelfAssess","MHS60805","Record rejected - [M608911]PersScore is blank.","The observable value (score) resulting from an assessment.","MHS608","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1166)","v":0},"MHS608AnonSelfAssess","MHS60806","Record rejected - [M608911]PersScore has an incorrect data format. [M608911]PersScore=<PersScore>","The observable value (score) resulting from an assessment.","MHS608","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1167)","v":0},"MHS608AnonSelfAssess","MHS60807","Warning - [M608911]PersScore contains an invalid person score for the coded assessment tool type. [M608911]PersScore=<PersScore>","The observable value (score) resulting from an assessment.","MHS608","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1168)","v":0},"MHS608AnonSelfAssess","MHS60808","Record rejected - [M608909]ActLocTypeCode has an incorrect data format. [M608909]ActLocTypeCode=<ActLocTypeCode>","The type of physical LOCATION where PATIENTS complete the self assessment.","MHS608","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1169)","v":0},"MHS608AnonSelfAssess","MHS60809","Warning - [M608909]ActLocTypeCode contains an invalid national code value. [M608909]ActLocTypeCode=<ActLocTypeCode>","The type of physical LOCATION where PATIENTS complete the self assessment.","MHS608","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1170)","v":0},"MHS608AnonSelfAssess","MHS60813","Record rejected - Assessment Tool Completion Timestamp is outside of reporting period.","If Assessment Tool Completion Timestamp is populated and not within the reporting period, the record will be rejected.","MHS608","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1171)","v":0},"MHS608AnonSelfAssess","MHS60814","Record rejected - [M608910]CodedAssToolType is not in the associated reference table. [M608910]CodedAssToolType=<CodedAssToolType>","If Coded Assessment Tool Type (SNOMED CT) is not in \"Mental Health Assessment Scale Observables\" subset reference table, the record will be rejected.","MHS608","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1172)","v":0},"MHS608AnonymousSelf-Assessment","MHS60815","Group rejected - [MHS608]AnonSelfAssess has no assessment tools currently in scope.","Group-level Validation:  There are currently no assessment tools in scope for MHS608AnonSelfAssess. Any records submitted in this table will be rejected.","MHS608","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1173)","v":0},"MHS608AnonSelfAssess","MHS60817","Warning - Organisation Identifier (Code of Commissioner) is blank.","If Organisation Identifier (Code of Commissioner) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS608","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1174)","v":0},"MHS608AnonSelfAssess","MHS60818","Record rejected - [M608922]OrgIDComm has an incorrect data format. [M608922]OrgIDComm=<OrgIDComm>","If Organisation Identifier (Code of Commissioner) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS608","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1175)","v":0},"MHS608AnonSelfAssess","MHS60819","Warning - [M608922]OrgIDComm is not for a current live organisation in national tables. [M608922]OrgIDComm=<OrgIDComm>","If Organisation Identifier (Code of Commissioner) is not in national tables, a warning will be output.  Default codes for this data item can be found in the Technical Glossary tab.","MHS608","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1176)","v":0},"MHS608AnonSelfAssess","MHS60820","Record rejected - [M608923]AssToolCompTimestamp is before the [M000050]ReportingPeriodStartDate. [M608923]AssToolCompTimestamp=<AssToolCompTimestamp> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>",null,"MHS608",{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E1176)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E1176)),\"Warning\",\"\"))","v":"Rejection"},"N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1177)","v":0},"MHS608AnonSelfAssess","MHS60821","Record rejected - [M608923]AssToolCompTimestamp is after the [M000060]ReportingPeriodEndDate. [M608923]AssToolCompTimestamp=<AssToolCompTimestamp> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>",null,"MHS608","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1178)","v":0},"MHS609PresComp","MHS60901","Group rejected - No valid [MHS101]Referral submitted for this [M101902]ServiceRequestID. [M101902]ServiceRequestID=<ServiceRequestID>","Record in the MHS609PresComp table rejected because there is no corresponding record in the MHS101Referral table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS101Referral) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ServiceRequestID in the linked table (MHS101Referral).","MHS609","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1179)","v":0},"MHS609PresComp","MHS60902","Group rejected - More than one [MHS609]PresComp submitted for this [M609010]ServiceRequestID + [M609050]PresCompDate + [M609030]PresComp combination. [M609010]ServiceRequestID=<ServiceRequestID> [M609050]PresCompDate=<PresCompDate> [M609030]PresComp=<PresComp>","Each ServiceRequestID, PresCompDate, PresComp only needs to be recorded once. Otherwise these records will be rejected.","MHS609","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1180)","v":0},"MHS609PresComp","MHS60905","Record rejected - [M609010]ServiceRequestID is blank.","The ServiceRequestId field is a mandatory field so cannot be left blank. It must match a ServiceRequestId given in MHS101Referral.","MHS609","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1181)","v":0},"MHS609PresComp","MHS60906","Record rejected - [M609010]ServiceRequestID has an incorrect data format. [M609010]ServiceRequestID=<ServiceRequestID>","This is the ServiceRequestId field and can accept up to 20 characters. It must match a ServiceRequestId given in MHS101Referral.","MHS609","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1182)","v":0},"MHS609PresComp","MHS60907","Record rejected - [M609020]FindSchemeInUse is blank. [M609010]ServiceRequestID=<ServiceRequestID>","The type of CODED CLINICAL ENTRY used for the finding.\n\nFindSchemeInUse is mandatory so must be populated otherwise the record will be rejected.","MHS609","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1183)","v":0},"MHS609PresComp","MHS60908","Record rejected - [M609020]FindSchemeInUse has an incorrect data format. [M609010]ServiceRequestID=<ServiceRequestID> [M609020]FindSchemeInUse=<FindSchemeInUse>","The type of CODED CLINICAL ENTRY used for the finding.\n\nFindSchemeInUse is mandatory so must be populated otherwise it will be rejected. It should be populated with a valid value from the Technical Output Specification.","MHS609","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1184)","v":0},"MHS609PresComp","MHS60909","Warning - [M609020]FindSchemeInUse contains an invalid national code value. [M609010]ServiceRequestID=<ServiceRequestID> [M609020]FindSchemeInUse=<FindSchemeInUse>","The type of CODED CLINICAL ENTRY used for the finding.\n\nFindSchemeInUse is mandatory so must be populated otherwise it will be rejected. It should be populated with a valid value from the Technical Output Specification.","MHS609","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1185)","v":0},"MHS609PresComp","MHS60910","Record rejected - [M609030]PresComp is blank. [M609010]ServiceRequestID=<ServiceRequestID>",null,"MHS609","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1186)","v":0},"MHS609PresComp","MHS60911","Record rejected - [M609030]PresComp has an incorrect data format. [M609010]ServiceRequestID=<ServiceRequestID> [M609030]PresComp=<PresComp>","The CODED CLINICAL ENTRY used to identify the presenting complaint as assessed by the CARE PROFESSIONAL.\n\nPresComp must be entered with a valid value depending on the FindSchemeInUse","MHS609","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1187)","v":0},"MHS609PresComp","MHS60912","Record rejected - [M609030]PresComp format does not match expected format from [M609020]FindSchemeInUse. [M609010]ServiceRequestID=<ServiceRequestID> [M609030]PresComp=<PresComp> [M609020]FindSchemeInUse=<FindSchemeInUse>","The CODED CLINICAL ENTRY used to identify the presenting complaint as assessed by the CARE PROFESSIONAL.\n\nPresComp must be entered with a valid value depending on the FindSchemeInUse","MHS609","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1188)","v":0},"MHS609PresComp","MHS60914","Record rejected - [M609040]PresCompCodSig has an incorrect data format. [M609010]ServiceRequestID=<ServiceRequestID> [M609040]PresCompCodSig=<PresCompCodSig>","The type of the presenting complaint treated or investigated by the CARE PROFESSIONAL.\n\nPresCompCodSig should be entered with a valid value from the Technical Output Specification.","MHS609","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1189)","v":0},"MHS609PresComp","MHS60915","Warning - [M609040]PresCompCodSig contains an invalid national code value. [M609010]ServiceRequestID=<ServiceRequestID> [M609040]PresCompCodSig=<PresCompCodSig>","The type of the presenting complaint treated or investigated by the CARE PROFESSIONAL.\n\nPresCompCodSig should be entered with a valid value from the Technical Output Specification.","MHS609","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1190)","v":0},"MHS609PresComp","MHS60916","Record rejected - [M609050]PresCompDate has an incorrect data format. [M609010]ServiceRequestID=<ServiceRequestID> [M609050]PresCompDate=<PresCompDate>","The date when PRESENTING COMPLAINT (CODED CLINICAL ENTRY) was recorded.\n\nThe data dictionary specification for date formats is an10 CCYY-MM-DD. The IDB will accept various date formats and translate them into the required format, but please check that the day and month parts of the date have been interpreted correctly. For more information please see the Technical Glossary tab of the Technical Output Specification.","MHS609","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1191)","v":0},"MHS609PresComp","MHS60917","Warning - [M609050]PresCompDate is after the [M000060]ReportingPeriodEndDate. [M609010]ServiceRequestID=<ServiceRequestID> [M609050]PresCompDate=<PresCompDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","The date when PRESENTING COMPLAINT (CODED CLINICAL ENTRY) was recorded.\n\nIf the PresCompDate is after the reporting period - then the record will be rejected.","MHS609","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1192)","v":0},"MHS701CareProgrammeApproach(CPA)CareEpisode","MHS70101","Group rejected - No valid [MHS001]MPI submitted for this [M701901]LocalPatientID. [M701901]LocalPatientID=<LocalPatientID>","Record in the MHS701CPACareEpisode table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS701","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1193)","v":0},"MHS701CareProgrammeApproach(CPA)CareEpisode","MHS70102","Group rejected - More than one [MHS701]CPACareEpisode submitted for this [M701918]CPAEpisodeID. [M701918]CPAEpisodeID=<CPAEpisodeID>","Duplicate records have been submitted using the same CPAEpisodeId. All duplicate records will be rejected with group-level rejection error.","MHS701","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1194)","v":0},"MHS701CPACareEpisode","MHS70103","Record rejected - [M701918]CPAEpisodeID is blank. [M701901]LocalPatientID=<LocalPatientID>","A unique identifier allocated to each Care Programme Approach Care Episode.","MHS701","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1195)","v":0},"MHS701CPACareEpisode","MHS70104","Record rejected - [M701918]CPAEpisodeID has an incorrect data format. [M701918]CPAEpisodeID=<CPAEpisodeID> [M701901]LocalPatientID=<LocalPatientID>","A unique identifier allocated to each Care Programme Approach Care Episode.","MHS701","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1196)","v":0},"MHS701CPACareEpisode","MHS70105","Record rejected - [M701901]LocalPatientID is blank. [M701918]CPAEpisodeID=<CPAEpisodeID>","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS701","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1197)","v":0},"MHS701CPACareEpisode","MHS70106","Record rejected - [M701901]LocalPatientID has an incorrect data format. [M701918]CPAEpisodeID=<CPAEpisodeID> [M701901]LocalPatientID=<LocalPatientID>","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS701","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1198)","v":0},"MHS701CPACareEpisode","MHS70107","Record rejected - [M701010]StartDateCPA is blank. [M701918]CPAEpisodeID=<CPAEpisodeID>","If START DATE is after the end of the reporting period, the record will be rejected.","MHS701","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1199)","v":0},"MHS701CPACareEpisode","MHS70108","Record rejected - [M701010]StartDateCPA has an incorrect data format. [M701918]CPAEpisodeID=<CPAEpisodeID> [M701901]LocalPatientID=<LocalPatientID> [M701010]StartDateCPA=<StartDateCPA>","If START DATE is after the end of the reporting period, the record will be rejected.","MHS701","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1200)","v":0},"MHS701CPACareEpisode","MHS70109","Record rejected - [M701010]StartDateCPA is after the [M000060]ReportingPeriodEndDate. [M701918]CPAEpisodeID=<CPAEpisodeID> [M701901]LocalPatientID=<LocalPatientID> [M701010]StartDateCPA=<StartDateCPA> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If START DATE is after the end of the reporting period, the record will be rejected.","MHS701","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1201)","v":0},"MHS701CPACareEpisode","MHS70110","Record rejected - [M701020]EndDateCPA has an incorrect data format. [M701918]CPAEpisodeID=<CPAEpisodeID> [M701901]LocalPatientID=<LocalPatientID> [M701020]EndDateCPA=<EndDateCPA>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.","MHS701","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1202)","v":0},"MHS701CPACareEpisode","MHS70111","Record rejected - [M701020]EndDateCPA is before the [M000050]ReportingPeriodStartDate. [M701918]CPAEpisodeID=<CPAEpisodeID> [M701901]LocalPatientID=<LocalPatientID> [M701020]EndDateCPA=<EndDateCPA> [M000050]ReportingPeriodStartDate=<ReportingPeriodStartDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.","MHS701","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1203)","v":0},"MHS701CPACareEpisode","MHS70112","Record rejected - [M701020]EndDateCPA is after the [M000060]ReportingPeriodEndDate. [M701918]CPAEpisodeID=<CPAEpisodeID> [M701901]LocalPatientID=<LocalPatientID> [M701020]EndDateCPA=<EndDateCPA> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.","MHS701","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1204)","v":0},"MHS701CPACareEpisode","MHS70113","Record rejected - [M701020]EndDateCPA is before the associated [M701010]StartDateCPA. [M701918]CPAEpisodeID=<CPAEpisodeID> [M701901]LocalPatientID=<LocalPatientID> [M701020]EndDateCPA=<EndDateCPA> [M701010]=<StartDateCPA>","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.","MHS701","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1205)","v":0},"MHS702CPAReview","MHS70201","Record rejected - [M702918]CPAEpisodeID is blank.","A unique identifier allocated to each Care Programme Approach Care Episode.","MHS702","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1206)","v":0},"MHS702CPAReview","MHS70202","Record rejected - [M702918]CPAEpisodeID has an incorrect data format. [M702918]CPAEpisodeID=<CPAEpisodeID> [M702918]CPAEpisodeID=<CPAEpisodeID>","A unique identifier allocated to each Care Programme Approach Care Episode.","MHS702","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1207)","v":0},"MHS702CPAReview","MHS70203","Record rejected - [M702010]CPAReviewDate is blank. [M702918]CPAEpisodeID=<CPAEpisodeID>","If CPA REVIEW DATE is after the end of the reporting period, the record will be rejected.","MHS702","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1208)","v":0},"MHS702CPAReview","MHS70204","Record rejected - [M702010]CPAReviewDate has an incorrect data format. [M702918]CPAEpisodeID=<CPAEpisodeID> [M702010]CPAReviewDate=<CPAReviewDate>","If CPA REVIEW DATE is after the end of the reporting period, the record will be rejected.","MHS702","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1209)","v":0},"MHS702CPAReview","MHS70205","Record rejected - [M702010]CPAReviewDate is after the [M000060]ReportingPeriodEndDate. [M702918]CPAEpisodeID=<CPAEpisodeID> [M702010]CPAReviewDate=<CPAReviewDate> [M000060]ReportingPeriodEndDate=<ReportingPeriodEndDate>","If CPA REVIEW DATE is after the end of the reporting period, the record will be rejected.","MHS702","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1210)","v":0},"MHS702CPAReview","MHS70208","Record rejected - [M702908]CareProfLocalID has an incorrect data format. [M702918]CPAEpisodeID=<CPAEpisodeID> [M702908]CareProfLocalID=<CareProfLocalID>","A unique local CARE PROFESSIONAL IDENTIFIER within a Health Care Provider which may be assigned automatically by the computer system.   ","MHS702","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1211)","v":0},"MHS702CareProgrammeApproach(CPA)Review","MHS70209","Group rejected - No valid [MHS701]CPACareEpisode submitted for this [M702918]CPAEpisodeID. [M702918]CPAEpisodeID=<CPAEpisodeID>","Record in the MHS702CPAReview table rejected because there is no corresponding record in the MHS701CPACareEpisode table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS701CPACareEpisode) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CPAEpisodeId in the linked table (MHS701CPACareEpisode).","MHS702","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1212)","v":0},"MHS702CareProgrammeApproach(CPA)Review","MHS70210","Warning - No valid [MHS901]StaffDetails submitted for this [M702908]CareProfLocalID. [M702908]CareProfLocalID=<CareProfLocalID>","Warning generated for MHS702CPAReview record because there is no corresponding record in the MHS901StaffDetails table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS901StaffDetails) has been rejected due to a validation error. Reason 2: There is no record with a corresponding CareProfLocalId in the linked table (MHS901StaffDetails).","MHS702","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1213)","v":0},"MHS801ClusteringToolAssessment","MHS80101","Group rejected - No valid MHS001 group transmitted for thisLocal Patient Identifier (Extended).","Record in the MHS801ClusterTool table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1214)","v":0},"MHS801ClusteringToolAssessment","MHS80102","Group rejected - More than one MHS801 provided for this Clustering Tool Assessment Identifier.","Duplicate records have been submitted using the same ClustId. All duplicate records will be rejected with group-level rejection error.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1215)","v":0},"MHS801ClusterTool","MHS80103","Record rejected - Clustering Tool Assessment Identifier is blank.","A unique identifier for each clustering tool assessment that takes place for each patient.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1216)","v":0},"MHS801ClusterTool","MHS80104","Record rejected - Clustering Tool Assessment Identifier has an incorrect data format.","A unique identifier for each clustering tool assessment that takes place for each patient.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1217)","v":0},"MHS801ClusterTool","MHS80105","Record rejected - Local Patient Identifier (Extended) is blank.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1218)","v":0},"MHS801ClusterTool","MHS80106","Record rejected - Local Patient Identifier (Extended) has an incorrect data format.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.",{"$f":"LEFT(D1218,6)","v":"MHS801"},"Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1219)","v":0},"MHS801ClusterTool","MHS80107","Record rejected - Clustering Tool Assessment Category is blank.","The category of the clustering tool assessment completed.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1220)","v":0},"MHS801ClusterTool","MHS80108","Record rejected - Clustering Tool Assessment Category has incorrect data format.","The category of the clustering tool assessment completed.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1221)","v":0},"MHS801ClusterTool","MHS80109","Warning - Clustering Tool Assessment Category contains an invalid Clustering Tool Assessment Category.","The category of the clustering tool assessment completed.","MHS801","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1222)","v":0},"MHS801ClusterTool","MHS80110","Record rejected - Assessment Tool Completion Date is blank.","If ASSESSMENT TOOL COMPLETION DATE is after the end of the reporting period, the record will be rejected.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1223)","v":0},"MHS801ClusterTool","MHS80111","Record rejected - Assessment Tool Completion Date has incorrect date format.","If ASSESSMENT TOOL COMPLETION DATE is after the end of the reporting period, the record will be rejected.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1224)","v":0},"MHS801ClusterTool","MHS80112","Record rejected - Assessment Tool Completion Time has incorrect data format.","The time on which a clustering tool assessment was completed for a patient.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1225)","v":0},"MHS801ClusterTool","MHS80113","Record rejected - Clustering Tool Assessment Reason has incorrect data format.","The reason that the clustering tool assessment for the patient was undertaken.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1226)","v":0},"MHS801ClusterTool","MHS80114","Warning - Clustering Tool Assessment Reason contains an invalid Clustering Tool Assessment Reason .","The reason that the clustering tool assessment for the patient was undertaken.","MHS801","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1227)","v":0},"MHS801ClusterTool","MHS80115","Record rejected -Adult Mental Health Care Cluster Code (Initial) has incorrect data format.","ADULT MENTAL HEALTH CARE CLUSTER CODE (INITIAL) is the initial allocation of the ADULT MENTAL HEALTH CARE CLUSTER CODE by the CARE PROFESSIONAL, without reference to the National Tariff Payment System clustering algorithm.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1228)","v":0},"MHS801ClusterTool","MHS80116","Warning - Adult Mental Health Care Cluster Code (Initial) contains an invalid Adult Mental Health Care Cluster Code (Initial).","ADULT MENTAL HEALTH CARE CLUSTER CODE (INITIAL) is the initial allocation of the ADULT MENTAL HEALTH CARE CLUSTER CODE by the CARE PROFESSIONAL, without reference to the National Tariff Payment System clustering algorithm.","MHS801","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1229)","v":0},"MHS801ClusterTool","MHS80117","Record rejected - Mental Health Care Super Class Code has incorrect data format.","The 'Mental Health Care Cluster Super Class' to which the patient has been assigned by the professional following completion of a clustering tool assessment but prior to Care Cluster allocation.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1230)","v":0},"MHS801ClusterTool","MHS80118","Warning - Mental Health Care Super Class Code contains an invalid Mental Health Care Super Class Code.","The 'Mental Health Care Cluster Super Class' to which the patient has been assigned by the professional following completion of a clustering tool assessment but prior to Care Cluster allocation.","MHS801","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1231)","v":0},"MHS801ClusterTool","MHS80119","Record rejected - Assessment Tool Completion Date is after the end of the reporting period.","If ASSESSMENT TOOL COMPLETION DATE is after the end of the reporting period, the record will be rejected.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1232)","v":0},"MHS801ClusterTool","MHS80121","Record rejected - Learning Disabilities Care Cluster Code (Initial) has incorrect data format.","LEARNING DISABILITIES CARE CLUSTER CODE (INITIAL) is the initial allocation of the LEARNING DISABILITIES CARE CLUSTER CODE by the CARE PROFESSIONAL.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1233)","v":0},"MHS801ClusterTool","MHS80123","Record rejected - Forensic Learning Disabilities Care Cluster Code (Initial) has incorrect data format.","FORENSIC LEARNING DISABILITIES CARE CLUSTER CODE (INITIAL) is the initial allocation of the FORENSIC LEARNING DISABILITIES CARE CLUSTER CODE by the CARE PROFESSIONAL.","MHS801","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1234)","v":0},"MHS802CodedScoredAssessment(ClusteringTool)","MHS80201","Group rejected - No valid MHS801 group transmitted for this Clustering Tool Assessment Identifier.","Record in the MHS802ClusterAssess table rejected because there is no corresponding record in the MHS801ClusterTool table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS801ClusterTool) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ClustId in the linked table (MHS801ClusterTool).","MHS802","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1235)","v":0},"MHS802CodedScoredAssessment(ClusteringTool)","MHS80202","Group rejected - More than one MHS802 provided for this Clustering Tool Assessment Identifier + Coded Assessment Tool Type (SNOMED CT) combination.","Duplicate records have been submitted with the same values in the following fields: ClustId and CodedAssToolType. All duplicate records will be rejected with group-level rejection error.","MHS802","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1236)","v":0},"MHS802ClusterAssess","MHS80203","Record rejected - Clustering Tool Assessment Identifier is blank.","A unique identifier for each clustering tool assessment that takes place for each patient.","MHS802","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1237)","v":0},"MHS802ClusterAssess","MHS80204","Record rejected - Clustering Tool Assessment Identifier has an incorrect data format.","A unique identifier for each clustering tool assessment that takes place for each patient.","MHS802","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1238)","v":0},"MHS802ClusterAssess","MHS80205","Record rejected - Coded Assessment Tool Type (SNOMED CT) is blank.","If Coded Assessment Tool Type (SNOMED CT) is not in Clustering Tool Subset reference table, the record will be rejected.","MHS802","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1239)","v":0},"MHS802ClusterAssess","MHS80206","Record rejected - Coded Assessment Tool Type (SNOMED CT) has incorrect data format.","If Coded Assessment Tool Type (SNOMED CT) is not in Clustering Tool Subset reference table, the record will be rejected.","MHS802","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1240)","v":0},"MHS802ClusterAssess","MHS80207","Record rejected - Person Score is blank.","The observable value (score) resulting from an assessment. This could be for an individual element of, or question within, an assessment tool, a subtotal or total score.","MHS802",{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E1240)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E1240)),\"Warning\",\"\"))","v":"Rejection"},"N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1241)","v":0},"MHS802ClusterAssess","MHS80208","Record rejected - Person Score has incorrect data format.","The observable value (score) resulting from an assessment. This could be for an individual element of, or question within, an assessment tool, a subtotal or total score.","MHS802","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1242)","v":0},"MHS802ClusterAssess","MHS80209","Warning - Person Score contains an invalid Person Score.","The observable value (score) resulting from an assessment. This could be for an individual element of, or question within, an assessment tool, a subtotal or total score.","MHS802","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1243)","v":0},"MHS802ClusterAssess","MHS80210","Record rejected -Coded Assessment Tool Type (SNOMED CT) not in reference table.","If Coded Assessment Tool Type (SNOMED CT) is not in Clustering Tool Subset reference table, the record will be rejected.","MHS802","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1244)","v":0},"MHS803CareCluster","MHS80301","Group rejected - No valid MHS801 group transmitted for thisClustering Tool Assessment Identifier.","Record in the MHS803CareCluster table rejected because there is no corresponding record in the MHS801ClusterTool table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS801ClusterTool) has been rejected due to a validation error. Reason 2: There is no record with a corresponding ClustId in the linked table (MHS801ClusterTool).","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1245)","v":0},"MHS803CareCluster","MHS80302","Record rejected - Clustering Tool Assessment Identifier is blank.","A unique identifier for each clustering tool assessment that takes place for each patient.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1246)","v":0},"MHS803CareCluster","MHS80303","Record rejected - Clustering Tool Assessment Identifier has an incorrect data format.","A unique identifier for each clustering tool assessment that takes place for each patient.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1247)","v":0},"MHS803CareCluster","MHS80304","Record rejected - Start Date (Care Cluster Assignment Period) is blank.","If START DATE is after the end of the reporting period, the record will be rejected.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1248)","v":0},"MHS803CareCluster","MHS80305","Record rejected - Start Date (Care Cluster Assignment Period) has incorrect data format.","If START DATE is after the end of the reporting period, the record will be rejected.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1249)","v":0},"MHS803CareCluster","MHS80306","Record rejected - Start Date (Care Cluster Assignment Period) is after the end date of the reporting period.","If START DATE is after the end of the reporting period, the record will be rejected.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1250)","v":0},"MHS803CareCluster","MHS80307","Record rejected - Start Time (Care Cluster Assignment Period) has incorrect data format.","The time on which the assignment of a patient to a Care Cluster started.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1251)","v":0},"MHS803CareCluster","MHS80308","Record rejected - Adult Mental Health Care Cluster Code (Final) has incorrect data format.","ADULT MENTAL HEALTH CARE CLUSTER CODE (FINAL) is the final allocation of the ADULT MENTAL HEALTH CARE CLUSTER CODE by the CARE PROFESSIONAL. The determination of the ADULT MENTAL HEALTH CARE CLUSTER CODE may or may not have involved the use of the National Tariff Payment System clustering algorithm. ","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1252)","v":0},"MHS803CareCluster","MHS80309","Warning - Adult Mental Health Care Cluster Code (Final) contains an invalid Adult Mental Health Care Cluster Code (Final).","ADULT MENTAL HEALTH CARE CLUSTER CODE (FINAL) is the final allocation of the ADULT MENTAL HEALTH CARE CLUSTER CODE by the CARE PROFESSIONAL. The determination of the ADULT MENTAL HEALTH CARE CLUSTER CODE may or may not have involved the use of the National Tariff Payment System clustering algorithm. ","MHS803","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1253)","v":0},"MHS803CareCluster","MHS80310","Record rejected - Child and Adolescent Mental Health Needs Based Grouping Code has incorrect data format.","The Child and Adolescent Mental Health Needs Based Grouping code allocated to the child or young person by the CARE PROFESSIONAL.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1254)","v":0},"MHS803CareCluster","MHS80311","Record rejected - Learning Disabilities Care Cluster Code (Final) has incorrect data format.","LEARNING DISABILITIES CARE CLUSTER CODE (FINAL) is the final allocation of the LEARNING DISABILITIES CARE CLUSTER CODE by the CARE PROFESSIONAL.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1255)","v":0},"MHS803CareCluster","MHS80312","Record rejected - Forensic Mental Health Care Cluster Code (Final) has incorrect data format.","FORENSIC MENTAL HEALTH CARE CLUSTER CODE (FINAL) is the final allocation of the FORENSIC MENTAL HEALTH CARE CLUSTER CODE by the CARE PROFESSIONAL.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1256)","v":0},"MHS803CareCluster","MHS80313","Record rejected - Forensic Learning Disabilities Care Cluster Code (Final) has incorrect data format.","FORENSIC LEARNING DISABILITIES CARE CLUSTER CODE (FINAL) is the final allocation of the FORENSIC LEARNING DISABILITIES CARE CLUSTER CODE by the CARE PROFESSIONAL.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1257)","v":0},"MHS803CareCluster","MHS80314","Record rejected - End Date (Care Cluster Assignment Period) has incorrect data format.","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1258)","v":0},"MHS803CareCluster","MHS80315","Record rejected - End Date (Care Cluster Assignment Period) is before the start of the reporting period.","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1259)","v":0},"MHS803CareCluster","MHS80316","Record rejected - End Date (Care Cluster Assignment Period) is after the end of the reporting period.","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1260)","v":0},"MHS803CareCluster","MHS80317","Record rejected - End Date (Care Cluster Assignment Period) is prior to the associated Start Date (Care Cluster Assignment Period) .","If END DATE is populated and is before the start of the reporting period, the record will be rejected.  If END DATE is populated and is after the end of the reporting period, the record will be rejected.  If END DATE is populated and before the START DATE, the record will be rejected.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1261)","v":0},"MHS803CareCluster","MHS80318","Record rejected - End Time (Care Cluster Assignment Period) has incorrect data format.","The time on which the assignment of a patient to a Care Cluster ended.","MHS803","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1262)","v":0},"MHS803CareCluster","MHS80320","Warning - Child and Adolescent Mental Health Needs Based Grouping Code contains an invalid Child and Adolescent Mental Health Needs Based Grouping Code.","The Child and Adolescent Mental Health Needs Based Grouping code allocated to the child or young person by the CARE PROFESSIONAL.","MHS803","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1263)","v":0},"MHS803CareCluster","MHS80321","Warning - Forensic Mental Health Care Cluster Code (Final) contains an invalid Forensic Mental Health Care Cluster Code (Final).","FORENSIC MENTAL HEALTH CARE CLUSTER CODE (FINAL) is the final allocation of the FORENSIC MENTAL HEALTH CARE CLUSTER CODE by the CARE PROFESSIONAL.","MHS803","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1264)","v":0},"MHS804FiveForensicPathways","MHS80401","Group rejected - No valid MHS001 group transmitted for thisLocal Patient Identifier.","Record in the MHS804FiveForensicPathways table rejected because there is no corresponding record in the MHS001MPI table. There are two possible reasons why this message is presented. Reason 1: The corresponding record in the linked table (MHS001MPI) has been rejected due to a validation error. Reason 2: There is no record with a corresponding LocalPatientId in the linked table (MHS001MPI).","MHS804","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1265)","v":0},"MHS804FiveForensicPathways","MHS80402","Record rejected - Local Patient Identifier (Extended) is blank.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS804","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1266)","v":0},"MHS804FiveForensicPathways","MHS80403","Record rejected - Local Patient Identifier (Extended) has an incorrect data format.","This is a number used to identify a PATIENT uniquely within a Health Care Provider. It may be different from the PATIENT's casenote number and may be assigned automatically by the computer system.  LOCAL PATIENT IDENTIFIER (EXTENDED) is used where IT systems have a LOCAL PATIENT IDENTIFIER which is longer than 10 characters and LOCAL PATIENT IDENTIFIER cannot be used for data submission.","MHS804","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1267)","v":0},"MHS804FiveForensicPathways","MHS80404","Record rejected - Five Forensic Pathways Assessment Date has incorrect date format.","If Five Forensic Pathways Assessment Date is outside of the reporting period, the record will be rejected.","MHS804","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1268)","v":0},"MHS804FiveForensicPathways","MHS80405","Record rejected - Five Forensic Pathways Assessment Date is outside of the reporting period.","If Five Forensic Pathways Assessment Date is outside of the reporting period, the record will be rejected.","MHS804","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1269)","v":0},"MHS804FiveForensicPathways","MHS80406","Record rejected - Five Forensic Pathways Assessment Reason has an incorrect data format.","The reason for which a Five Forensic Pathways assessment was undertaken.","MHS804","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1270)","v":0},"MHS804FiveForensicPathways","MHS80407","Warning - Five Forensic Pathways Assessment Reason contains an invalid Five Forensic Pathways Assessment Reason.","The reason for which a Five Forensic Pathways assessment was undertaken.","MHS804","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1271)","v":0},"MHS804FiveForensicPathways","MHS80408","Record rejected - Five Forensic Pathways Code has an incorrect data format.","The Five Forensic Pathway assigned to a patient.","MHS804","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1272)","v":0},"MHS804FiveForensicPathways","MHS80409","Warning - Five Forensic Pathways Code contains an invalid Five Forensic Pathways Code.","The Five Forensic Pathway assigned to a patient.","MHS804","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1273)","v":0},"MHS804FiveForensicPathways","MHS80410","Record rejected - Five Forensic Pathways Assessment Date is blank.","If Five Forensic Pathways Assessment Date is outside of the reporting period, the record will be rejected.","MHS804","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1274)","v":0},"MHS804FiveForensicPathways","MHS80411","Record rejected - Five Forensic Pathways Code is blank.","The Five Forensic Pathway assigned to a patient.","MHS804","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1275)","v":0},"MHS901StaffDetails","MHS90101","Record rejected - [M901908]CareProfLocalID is blank.","A unique local CARE PROFESSIONAL IDENTIFIER within a Health Care Provider which may be assigned automatically by the computer system.   ","MHS901","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1276)","v":0},"MHS901StaffDetails","MHS90102","Record rejected - [M901908]CareProfLocalID has an incorrect data format. [M901908]CareProfLocalID=<CareProfLocalID>","A unique local CARE PROFESSIONAL IDENTIFIER within a Health Care Provider which may be assigned automatically by the computer system.   ","MHS901","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1277)","v":0},"MHS901StaffDetails","MHS90103","Record rejected - [M901010]ProfRegBodyCode has an incorrect data format. [M901908]CareProfLocalID=<CareProfLocalID> [M901010]ProfRegBodyCode=<ProfRegBodyCode>","A code which identifies the PROFESSIONAL REGISTRATION BODY.","MHS901","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1278)","v":0},"MHS901StaffDetails","MHS90104","Warning - [M901010]ProfRegBodyCode contains an invalid national code value. [M901908]CareProfLocalID=<CareProfLocalID> [M901010]ProfRegBodyCode=<ProfRegBodyCode>","A code which identifies the PROFESSIONAL REGISTRATION BODY.","MHS901","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1279)","v":0},"MHS901StaffDetails","MHS90105","Record rejected - [M901020]ProfRegEntryID has an incorrect data format. [M901908]CareProfLocalID=<CareProfLocalID> [M901020]ProfRegEntryID=<ProfRegEntryID>","The registration identifier allocated by an ORGANISATION.","MHS901","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1280)","v":0},"MHS901StaffDetails","MHS90106","Record rejected - [M901030]CareProfStaffGpMH has an incorrect data format. [M901908]CareProfLocalID=<CareProfLocalID> [M901030]CareProfStaffGpMH=<CareProfStaffGpMH>","The staff group of a CARE PROFESSIONAL working in a Mental Health Service.","MHS901","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1281)","v":0},"MHS901StaffDetails","MHS90107","Warning - [M901030]CareProfStaffGpMH contains an invalid national code value. [M901908]CareProfLocalID=<CareProfLocalID> [M901030]CareProfStaffGpMH=<CareProfStaffGpMH>","The staff group of a CARE PROFESSIONAL working in a Mental Health Service.","MHS901","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1282)","v":0},"MHS901StaffDetails","MHS90108","Record rejected - [M901040]MainSpecCodeMH has an incorrect data format. [M901908]CareProfLocalID=<CareProfLocalID> [M901040]MainSpecCodeMH=<MainSpecCodeMH>","The Main Specialty Code of the Mental Health Responsible Clinician for the patient within the reporting period.",{"$f":"LEFT(D1282,6)","v":"MHS901"},"Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1283)","v":0},"MHS901StaffDetails","MHS90109","Warning - [M901040]MainSpecCodeMH contains an invalid national code value. [M901908]CareProfLocalID=<CareProfLocalID> [M901040]MainSpecCodeMH=<MainSpecCodeMH>","The Main Specialty Code of the Mental Health Responsible Clinician for the patient within the reporting period.","MHS901","Warning","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1284)","v":0},"MHS901StaffDetails","MHS90110","Record rejected - [M901050]OccCode has an incorrect data format. [M901908]CareProfLocalID=<CareProfLocalID> [M901050]OccCode=<OccCode>","An NHS OCCUPATION CODE for an EMPLOYEE filling a POSITION.  The NHS OCCUPATION CODES are maintained by NHS Digital, on behalf of the Department of Health and can be viewed in the NHS Occupation Code Manual.","MHS901","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1285)","v":0},"MHS901StaffDetails","MHS90112","Record rejected - [M901060]CareProfJobRoleCode has an incorrect data format. [M901908]CareProfLocalID=<CareProfLocalID> [M901060]CareProfJobRoleCode=<CareProfJobRoleCode>","A National Code for a POSITION applicable to an EMPLOYEE.","MHS901","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1286)","v":0},"MHS901StaffDetails","MHS90113","Group rejected - More than one [MHS901]StaffDetails submitted for this [M901908]CareProfLocalID. [M901908]CareProfLocalID=<CareProfLocalID>","Duplicate records have been submitted using the same CareProfLocalId. All duplicate records will be rejected with group-level rejection error.","MHS901","Rejection","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1287)","v":0},"MHS901StaffDetails","MHS90114","Record rejected - [M901070]OrgIDCareProfLocalID is blank. [M901908]CareProfLocalID=<CareProfLocalID> [M901070]OrgIDCareProfLocalID=<OrgIDCareProfLocalID>",null,"MHS901","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1288)","v":0},"MHS901StaffDetails","MHS90115","Record rejected - [M901070]OrgIDCareProfLocalID has an incorrect data format. [M901908]CareProfLocalID=<CareProfLocalID> [M901070]OrgIDCareProfLocalID=<OrgIDCareProfLocalID>",null,"MHS901","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1289)","v":0},"MHS902ServiceTeamDetails","MHS90201","Group rejected - More than one [MHS902]ServiceTeamDetails submitted for this [M902010]CareProfTeamLocalID. [M902010]CareProfTeamLocalID=<CareProfTeamLocalID>","A unique local identifier within a Health Care Provider used to identify the team that the CARE PROFESSIONAL belongs to. This may be assigned automatically by the computer system.\n\nDuplicate records have been submitted for this CareProfTeamLocalID. All records with this CareProfTeamLocalID are rejected.","MHS902","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1290)","v":0},"MHS902ServiceTeamDetails","MHS90205","Record rejected - [M902010]CareProfTeamLocalID is blank.","A unique local identifier within a Health Care Provider used to identify the team that the CARE PROFESSIONAL belongs to. This may be assigned automatically by the computer system.\n\nCareProfTeamLocalID is mandatory in the MHS902 table - if it is not entered then this record will be rejected.","MHS902","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1291)","v":0},"MHS902ServiceTeamDetails","MHS90206","Record rejected - [M902010]CareProfTeamLocalID has an incorrect data format. [M902010]CareProfTeamLocalID=<CareProfTeamLocalID>","A unique local identifier within a Health Care Provider used to identify the team that the CARE PROFESSIONAL belongs to. This may be assigned automatically by the computer system.\n\nCareProfTeamLocalID should be alpha-numeric and max length of 20 characters. ","MHS902","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1292)","v":0},"MHS902ServiceTeamDetails","MHS90207","Record rejected - [M902020]OrgIDCareProfTeamLocalID is blank. [M902010]CareProfTeamLocalID=<CareProfTeamLocalID>","The ORGANISATION IDENTIFIER of the organisation that assigned the CARE PROFESSIONAL TEAM LOCAL IDENTIFIER.\n\nOrgIDCareProfTeamLocalID is mandatory in the MHS902 table - if it is not entered then this record will be rejected.","MHS902","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1293)","v":0},"MHS902ServiceTeamDetails","MHS90208","Record rejected - [M902020]OrgIDCareProfTeamLocalID has an incorrect data format. [M902010]CareProfTeamLocalID=<CareProfTeamLocalID> [M902020]OrgIDCareProfTeamLocalID=<OrgIDCareProfTeamLocalID>","The ORGANISATION IDENTIFIER of the organisation that assigned the CARE PROFESSIONAL TEAM LOCAL IDENTIFIER.\n\nOrgIDCareProfTeamLocalID should be alpha-numeric and have a length of between 3 and 5 characters.","MHS902","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1294)","v":0},"MHS902ServiceTeamDetails","MHS90209","Record rejected - [M902030]ServTeamTypeMH is blank. [M902010]CareProfTeamLocalID=<CareProfTeamLocalID>","The type of service or team within a Mental Health Service that a patient was treated by.\n\nServTeamTypeMH is mandatory in the MHS902 table - if it is not entered then this record will be rejected.","MHS902","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1295)","v":0},"MHS902ServiceTeamDetails","MHS90210","Record rejected - [M902030]ServTeamTypeMH has an incorrect data format. [M902010]CareProfTeamLocalID=<CareProfTeamLocalID> [M902030]ServTeamTypeMH=<ServTeamTypeMH>","The type of service or team within a Mental Health Service that a patient was treated by.\n\nServTeamTypeMH should contain a valid value from the Technical Output Specification.","MHS902","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1296)","v":0},"MHS902ServiceTeamDetails","MHS90211","Warning - [M902030]ServTeamTypeMH contains an invalid national code value. [M902010]CareProfTeamLocalID=<CareProfTeamLocalID> [M902030]ServTeamTypeMH=<ServTeamTypeMH>","The type of service or team within a Mental Health Service that a patient was treated by.\n\nServTeamTypeMH should contain a valid value from the Technical Output Specification.","MHS902","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1297)","v":0},"MHS902ServiceTeamDetails","MHS90212","Record rejected - [M902040]ServTeamIntAgeGroup is blank. [M902010]CareProfTeamLocalID=<CareProfTeamLocalID>","Intended age group of patients treated by the service.\n\nServTeamIntAgeGroup is mandatory in the MHS902 table - if it is not entered then this record will be rejected.","MHS902","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1298)","v":0},"MHS902ServiceTeamDetails","MHS90213","Record rejected - [M902040]ServTeamIntAgeGroup has an incorrect data format. [M902010]CareProfTeamLocalID=<CareProfTeamLocalID> [M902040]ServTeamIntAgeGroup=<ServTeamIntAgeGroup>","Intended age group of patients treated by the service.\n\nServTeamIntAgeGroup should contain a valid value from the Technical Output Specification.","MHS902","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1299)","v":0},"MHS902ServiceTeamDetails","MHS90214","Warning - [M902040]ServTeamIntAgeGroup contains an invalid national code value. [M902010]CareProfTeamLocalID=<CareProfTeamLocalID> [M902040]ServTeamIntAgeGroup=<ServTeamIntAgeGroup>","Intended age group of patients treated by the service.\n\nServTeamIntAgeGroup should contain a valid value from the Technical Output Specification.","MHS902","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1300)","v":0},"MHS902ServiceTeamDetails","MHS90215","Warning - No valid [MHS101]Referral submitted for this [M902010]CareProfTeamLocalID. [M902010]CareProfTeamLocalID=<CareProfTeamLocalID>","This MHS902ServiceTeamDetails contains the team details for a CareProfTeamLocalID - but there are no referrals submitted with the CareProfTeamLocalID.","MHS902","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1301)","v":0},"MHS903WardDetails","MHS90301","Warning - No valid [MHS502]WardStay submitted for this [M903010]WardCode. [M903010]WardCode=<WardCode>","This MHS903WardDetails contains the team details for a WardCode- but there are no ward stays submitted with the WardCode.","MHS903","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1302)","v":0},"MHS903WardDetails","MHS90302","Group rejected - More than one [MHS903]WardDetails submitted for this [M903010]WardCode. [M903010]WardCode=<WardCode>","A unique identification of a WARD within a Health Care Provider.\n\nDuplicate records have been submitted for this WardCode. All records with this WardCode are rejected.","MHS903","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1303)","v":0},"MHS903WardDetails","MHS90305","Record rejected - [M903010]WardCode is blank.","A unique identification of a WARD within a Health Care Provider.\n\nWardCode is mandatory in the MHS903 table - if it is not entered then this record will be rejected.","MHS903","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1304)","v":0},"MHS903WardDetails","MHS90306","Record rejected - [M903010]WardCode has an incorrect data format. [M903010]WardCode=<WardCode>","A unique identification of a WARD within a Health Care Provider.\n\nWardCode should be alpha-numeric and max length of 12 characters. ","MHS903",{"$f":"IF(ISNUMBER(SEARCH(\"Rejected\",E1304)),\"Rejection\",IF(ISNUMBER(SEARCH(\"Warning\",E1304)),\"Warning\",\"\"))","v":"Rejection"},"N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1305)","v":0},"MHS903WardDetails","MHS90307","Record rejected - [M903020]SiteIDOfWard has an incorrect data format. [M903010]WardCode=<WardCode> [M903020]SiteIDOfWard=<SiteIDOfWard>","ORGANISATION SITE IDENTIFIER (OF WARD) is the ORGANISATION IDENTIFIER of the Organisation Site where the PATIENT was treated.\n\nSiteIDOfWard should be alpha-numeric and have a length of between 5 and 9 characters.","MHS903","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1306)","v":0},"MHS903WardDetails","MHS90308","Record rejected - [M903030]WardIntendedSex has an incorrect data format. [M903010]WardCode=<WardCode> [M903030]WardIntendedSex=<WardIntendedSex>","The sex of PATIENTS intended to use a WARD, as indicated in the WARD OPERATIONAL PLAN.\n\nWardIntendedSex should contain a valid value from the Technical Output Specification.","MHS903","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1307)","v":0},"MHS903WardDetails","MHS90309","Warning - [M903030]WardIntendedSex contains an invalid national code value. [M903010]WardCode=<WardCode> [M903030]WardIntendedSex=<WardIntendedSex>","The sex of PATIENTS intended to use a WARD, as indicated in the WARD OPERATIONAL PLAN.\n\nWardIntendedSex should contain a valid value from the Technical Output Specification.","MHS903","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1308)","v":0},"MHS903WardDetails","MHS90310","Record rejected - [M903040]WardIntendedClinCareMH has an incorrect data format. [M903010]WardCode=<WardCode> [M903040]WardIntendedClinCareMH=<WardIntendedClinCareMH>","The level of resources and intensity of care which is intended to be provided in a WARD.\n\nWardIntendedClinCareMH should contain a valid value from the Technical Output Specification.","MHS903","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1309)","v":0},"MHS903WardDetails","MHS90311","Warning - [M903040]WardIntendedClinCareMH contains an invalid national code value. [M903010]WardCode=<WardCode> [M903040]WardIntendedClinCareMH=<WardIntendedClinCareMH>","The level of resources and intensity of care which is intended to be provided in a WARD.\n\nWardIntendedClinCareMH should contain a valid value from the Technical Output Specification.","MHS903","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1310)","v":0},"MHS903WardDetails","MHS90312","Record rejected - [M903050]WardAge has an incorrect data format. [M903010]WardCode=<WardCode> [M903050]WardAge=<WardAge>","The age group of PATIENTS intended to use a WARD indicated in the operational plan.\n\nWardAge should contain a valid value from the Technical Output Specification.","MHS903","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1311)","v":0},"MHS903WardDetails","MHS90313","Warning - [M903050]WardAge contains an invalid national code value. [M903010]WardCode=<WardCode> [M903050]WardAge=<WardAge>","The age group of PATIENTS intended to use a WARD indicated in the operational plan.\n\nWardAge should contain a valid value from the Technical Output Specification.","MHS903","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1312)","v":0},"MHS903WardDetails","MHS90314","Record rejected - [M903060]WardType has an incorrect data format. [M903010]WardCode=<WardCode> [M903060]WardType=<WardType>","The type of WARD setting for a Mental Health Service's PATIENT during a Hospital Provider Spell.\n\nWardType should contain a valid value from the Technical Output Specification.","MHS903","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1313)","v":0},"MHS903WardDetails","MHS90315","Warning - [M903060]WardType contains an invalid national code value. [M903010]WardCode=<WardCode> [M903060]WardType=<WardType>","The type of WARD setting for a Mental Health Service's PATIENT during a Hospital Provider Spell.\n\nWardType should contain a valid value from the Technical Output Specification.","MHS903","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1314)","v":0},"MHS903WardDetails","MHS90316","Record rejected - [M903070]WardSecLevel has an incorrect data format. [M903010]WardCode=<WardCode> [M903070]WardSecLevel=<WardSecLevel>","The level of security for a ward.\n\nWardSecLevel should contain a valid value from the Technical Output Specification.","MHS903","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1315)","v":0},"MHS903WardDetails","MHS90317","Warning - [M903070]WardSecLevel contains an invalid national code value. [M903010]WardCode=<WardCode> [M903070]WardSecLevel=<WardSecLevel>","The level of security for a ward.\n\nWardSecLevel should contain a valid value from the Technical Output Specification.","MHS903","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1316)","v":0},"MHS903WardDetails","MHS90318","Record rejected - [M903080]LockedWardInd has an incorrect data format. [M903010]WardCode=<WardCode> [M903080]LockedWardInd=<LockedWardInd>","An indication of whether a WARD is locked. \nFor the Mental Health Services Data Set, LOCKED WARD INDICATOR indicates whether a WARD which is used to provide care by a Mental Health Service, and has a WARD SECURITY LEVEL National Code 'General (non-secure)', is locked to prevent unauthorised entry and/or exit.\n\nLockedWardInd should contain a valid value from the Technical Output Specification.","MHS903","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1317)","v":0},"MHS903WardDetails","MHS90319","Warning - [M903080]LockedWardInd contains an invalid national code value. [M903010]WardCode=<WardCode> [M903080]LockedWardInd=<LockedWardInd>","An indication of whether a WARD is locked. \nFor the Mental Health Services Data Set, LOCKED WARD INDICATOR indicates whether a WARD which is used to provide care by a Mental Health Service, and has a WARD SECURITY LEVEL National Code 'General (non-secure)', is locked to prevent unauthorised entry and/or exit.\n\nLockedWardInd should contain a valid value from the Technical Output Specification.","MHS903","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1318)","v":0},"MHS903WardDetails","MHS90320","Record rejected - [M903200]TreatFuncCodeMH has an incorrect data format. [M903010]WardCode=<WardCode> [M903200]TreatFuncCodeMH=<TreatFuncCodeMH>",null,"MHS903","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1319)","v":0},"MHS903WardDetails","MHS90321","Warning - [M903200]TreatFuncCodeMH contains an invalid national code value. [M903010]WardCode=<WardCode> [M903200]TreatFuncCodeMH=<TreatFuncCodeMH>",null,"MHS903","Warning","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1320)","v":0},"MHS903WardDetails","MHS90322","Record rejected - [M903220]AvailBedDays has an incorrect data format. [M903010]WardCode=<WardCode> [M903220]AvailBedDays=<AvailBedDays>","AvailBedDays should be numeric and between 0 and 999.","MHS903","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1321)","v":0},"MHS903WardDetails","MHS90323","Record rejected - [M903230]ClosedBedDays has an incorrect data format. [M903010]WardCode=<WardCode> [M903230]ClosedBedDays=<ClosedBedDays>","ClosedBedDays should be numeric and between 0 and 999.","MHS903","Rejection","N/A","N/A","N/A","N/A","N/A","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1322)","v":0},"N/A","MHSREJ001","Failed database structure check","The IDB must not be altered in ANY way. All the tables must be present, all the fields listed in each table must be present and the field types must be exactly as specified. \n• Check that you are using the final version of the 6.0 template downloaded from TRUD. This should contain the new table MHS903WardDetails\n• Check whether the database has been changed in some way. Make sure that changes to tables, columns and fields as outlined in the MHSDS v6.0 Technical Output Specification and MHSDS v5.0 to v6.0 mapping guidance (https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-sets/mental-health-services-data-set/tools-and-guidance) are reflected in your internal systems and database. You can use a fresh version 6.0 IDB template or the Technical Output Specification to identify which fields are present in version 6.0 and in which order.\n• Check whether a \"Paste Errors\" or \"Import Errors\" table has been created within the Access database. Access has built in functionality that will automatically create these tables if there is any issue with copying data in or importing it using the Import Wizard. These tables are useful to you to know what data didn’t get passed into a table, but they cannot be present when you come to upload the file as the process is not expecting them. If one of these is in the list of tables on the left, delete it and try submitting again.\n• Check that date (CCYY-MM-DD), time (HH:MM:SS) and timestamp (CCYY-MM-DDTHH:MM:SS+HH:SS) fields are populated in the correct format (see the MHSDS v6.0 Technical Output Specification for more details). The DateTimeDatSetCreate field in the MHS000Header table can be populated with just the date.\n","MHSREJ","","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1323)","v":0},"N/A","MHSREJ002","Failed Content Check. Header Table is empty","MHS000Header is a mandatory table so cannot be left blank. All fields in this table are mandatory. One single row of data should be populated in this table. See the Technical Output Specification and User Guidance for help in populating this table.","MHSREJ","","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1324)","v":0},"N/A","MHSREJ003","Failed Content Check. MPI Table is empty","MHS001MPI is a mandatory table so cannot be left blank. This table should contain information about all patients for which you are giving us referral data. There should be one record for each patient. See the Technical Output Specification and User Guidance for help in populating this table.","MHSREJ","","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1325)","v":0},"N/A","MHSREJ004","Failed Content Check. Service or Team Referral table is empty","MHS101Referral is a mandatory table so cannot be left blank. This table should contain all open referrals in the reporting period. These are referrals that could have been opened months ago and are still open, referrals that were open during the month, and referrals that were discharged within the month. See the Technical Output Specification and User Guidance for help in populating this table.","MHSREJ","","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1326)","v":0},"N/A","MHSREJ005","Failed Content Check. GP Practice Registration table is empty.","MHS002GP is a mandatory table so cannot be left blank. This table should contain the GP details for each patient. There should be at least one entry for every entry in the MPI table (there will be multiple entries where a patient has changed GP within the month). See the Technical Output Specification and User Guidance for help in populating this table.","MHSREJ","","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1327)","v":0},"N/A","MHSREJ006a","Failed NHS Number Check. File contains invalid NHS numbers in the MHS001MPI table.","The file contains invalid NHS numbers. NHS numbers, if provided in MHS001MPI, must pass Modulus-11 checks. If NHS numbers are not known, leave this field blank.","MHSREJ","","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1328)","v":0},"N/A","MHSREJ006b","Failed NHS Number Check. File contains invalid NHS numbers in the MHS302MHSDropInContact table.","The file contains invalid NHS numbers. NHS numbers, if provided in MHS302MHSDropInContact, must pass Modulus-11 checks. If NHS numbers are not known, leave this field blank.","MHSREJ","","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1329)","v":0},"N/A","MHSREJ007","Failed Postcode of Usual Address Check. File contains invalid postcodes.","The file contains invalid postcodes. A list of national postcodes is available to download from the file downloads page: https://digital.nhs.uk/services/organisation-data-service/file-downloads. Postcodes must have a space at the fourth character from the right and use one of the following formats:\n•\tA1 1AA\n•\tA11 1AA\n•\tAA1 1AA\n•\tAA11 1AA\n•\tA1A 1AA\n•\tAA1A 1AA\nSee validation messages in MHS001MPI table to view the records affected.","MHSREJ","","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1330)","v":0},"N/A","MHSREJ008a","Failed Person Birth Date Check. File contains invalid dates of birth in the MHS001MPI table.","The file contains invalid dates of birth. Person Birth Date, if provided in the MHS001MPI table, must not be after the end of the reporting period and the derived age at the start of the reporting period must not be greater than 120 years old. ","MHSREJ","","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1331)","v":0},"N/A","MHSREJ008b","Failed Person Birth Date Check. File contains invalid dates of birth in the MHS302DropInContact table.","The file contains invalid dates of birth. Person Birth Date, if provided in the MHS302DropInContact table, must not be after the end of the reporting period and the derived age at the start of the reporting period must not be greater than 120 years old. ","MHSREJ","","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1332)","v":0},"N/A","MHSREJ012","Failed Reporting Period Check. There were no submitted records in the submission file that were for the selected reporting period.","There were no records submitted with a date within the reporting period. The submission must have at least one record with a date within the reporting period in order to submit successfully. This could be a referral you have received within the reporting period or an appointment that took place during the reporting period. If you think that you have included a date within the reporting period, make sure that the Reporting Period Start Date and Reporting Period End Date corresponds with the data included in the Access database. You will also receive this message if all records were rejected - see record level rejections. If there was legitimately no activity in the reporting period you should report a null submission on the portal.","MHSREJ","","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1333)","v":0},"N/A","MHSREJ015","Failed Header check. File contains an invalid or duplicated Header Record.","The file was rejected because of an invalid or duplicated header record. There are two possible reasons why this message is presented. Reason 1: There is more than one record in the MHS000Header table. Reason 2: The MHS000Header record was rejected due to validation errors. See validation messages in MHS000Header table to view the records affected.","MHSREJ","","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1334)","v":0},"N/A","MHSREJ101","All Records Failed Validation. As a result of validation errors, there are no records for the reporting period that can be progressed into the Central System.","All of the submitted records have been rejected by field-level rejections and hence the submission contains no valid data.","MHSREJ","","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1335)","v":0},"N/A","MHSREJ102","Failed Duplicate NHS Number Check in the MHS001MPI table. An NHS number is allocated to more than one person.","The file contains duplicate NHS numbers. Duplicate NHS numbers corrupt the generation of the pseudo person ID and cannot be accepted.","MHSREJ","","N/A"]
[null,{"$f":"COUNTIF(ErrorCSV!C:C,Source!D1336)","v":0},"N/A","MHSREJ103","Failed Duplicate Local Patient Identifier (Extended) Check in the MHS001MPI table. A Local Patient Identifier (Extended) is allocated to more than one person.","The file contains duplicate LocalPatientIds. Duplicate Local Patient Identifier (Extended) corrupt the generation of the pseudo person ID and cannot be accepted.","MHSREJ","","N/A"]

{"sheet":"ErrorCSV","index":2,"n_rows":1,"n_cols":25,"rows_kept":1,"cut":false,"hidden":false,"merged":[]}
["REPORT_TYPE","DESCRIPTION","CODE","NUMERATOR","DENOMINATOR","DATA_ITEM1","DATA_VALUE1","DATA_ITEM2","DATA_VALUE2","DATA_ITEM3","DATA_VALUE3","DATA_ITEM4","DATA_VALUE4","DATA_ITEM5","DATA_VALUE5","DATA_ITEM6","DATA_VALUE6","DATA_ITEM7","DATA_VALUE7","DATA_ITEM8","DATA_VALUE8","DATA_ITEM9","DATA_VALUE9","DATA_ITEM10","DATA_VALUE10"]

{"sheet":"CriteriaReference","index":3,"n_rows":9,"n_cols":4,"rows_kept":9,"cut":false,"hidden":true,"merged":[]}
["Selected:","Full summary of all validation errors",{"$f":"INDEX(A:A,MATCH(B1,D:D,0))","v":"N/A"}]
[]
["Measure Name","Description","Construction","Title"]
["N/A","List of all validations","List of all validations","Full summary of all validation errors"]
["CYP Access","A list of validations which impact CYP Access measures. NHS Digital currently publishes two access measures for Children and Young People; a two-contact measure and a one-contact measure:\n\nMHS69 – The number of CYP receiving at least two contacts, where their first contact occurs before their 18th birthday\n\nMHS95 – The number of CYP aged under 18 with at least one contact in a 12-month rolling period\n\nThese are published in the MHSDS monthly publication.","Due to the complex construction of this measure, we have provided the SQL script used to produce the output in the MHSDS monthly metadata file (available to download from https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-sets/mental-health-services-data-set/statistics-and-reports). More information about what MHSDS fields are required for these measures to be reported accurately can be found in our Quick guide to submitting Children and Young People (CYP) Access measures: https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-sets/mental-health-services-data-set/submit-data/quick-guide-to-submitting-children-and-young-people-cyp-access-measures","CYP Access Measures"]
["OAPs","A list of validations which impact the accurate recording of Out of Area Placements (OAPs) within MHSDS.","More information about what MHSDS fields are required for OAPs to be reported accurately within MHSDS can be found in our Quick guide to submitting Out of Area Placements (OAPs): https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-sets/mental-health-services-data-set/submit-data/quick-guide-to-submitting-out-of-area-placements-oaps","Out of Area Placements (OAPs)"]
["IPS","A list of validations which impact the accurate recording of Individual Placement and Support (IPS) within MHSDS.","More information about what MHSDS fields are required for IPS to be reported accurately within MHSDS can be found on the NHS Futures website: https://future.nhs.uk/IPSWorkspace/groupHome","Indiviudal Placement and Support (IPS)"]
["EIP","A list of validations which impact EIP measures. NHS Digital currently publishes the following EIP measures:\nEIP01\nEIP23\nEIP32\nEIP63\nEIP64\nEIP65\nEIP66\nEIP67\nEIP68\nEIP69\nThese are published in the MHSDS monthly publication.","The contruction of these measures can be found in the MHSDS monthly metadata file (available to download from https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-sets/mental-health-services-data-set/statistics-and-reports). More information about what MHSDS fields are required for EIP measures to be reported accurately within MHSDS can be found in our Quick guide to submitting Early Intervention in Psychosis (EIP) Waiting Times: https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-sets/mental-health-services-data-set/submit-data/quick-guide-to-submitting-out-of-area-placements-oaps","Early Intervention in Psychosis (EIP) "]
["CYPED","A list of validations which impact CYPED measures. NHS Digital currently publishes the following CYPED measures:\nED85\nED86\nED87\nED88\nED89\nThese are published in the MHSDS monthly publication.","The contruction of these measures can be found in the MHSDS monthly metadata file (available to download from https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-sets/mental-health-services-data-set/statistics-and-reports). More information about what MHSDS fields are required for CYPED measures to be reported accurately within MHSDS can be found in our Quick guide to submitting Children and Young People with Eating Disorders (CYP ED) Waiting Times: https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-sets/mental-health-services-data-set/submit-data/quick-guide-to-submitting-children-and-young-people-with-eating-disorders-cyp-ed-waiting-times ","Children and Young People with Eating Disorders (CYP ED)"]