The attached table describes errors and warnings that can be reported from input file loading.
On this page
For a more detailed system specific description please refer to the File specifications.
Pre-processing
Pre-processing
The pre-processor is responsible for checking the basic integrity of hospitals’ data files. Assuming that all the records can be read, the whole batch is checked along with the header and all errors and warnings are reported back to the originating facility in the error report.
Files are loaded in chronological order so that if an agency is sending an update to the same health event in consecutive files, all the earlier information will already be loaded. If the file passes the pre-processor it moves on to the processor.
The following checks are carried out:
- Firstly, the pre-processor identifies the format of the file and confirms that the file header is the first record and that it is readable.
- Several checks are carried out within the header record to ensure that the record type and processing environment are correct. These are checks on date sent, that health agency is a valid one and that it matches the abbreviation.
- The pre-processor then checks that the records accompanying the header record are correct record types and have the correct number of fields.
If any of these errors are found an error file is created and further processing stops.
Editing and loading
Editing and loading
The contents of each data file are checked against the business rules and loaded it into holding tables. A record is also kept of the number of existing records that have been affected by this file – events inserted and deleted, number of records with errors and warnings, as well as other operating information such as processing time.
There are several fields stored in the data collections that are derived from other fields, including the DRG. These are calculated during this part of the editing process. The edit/error module also maps ICD-10-AM and ICD-9-CM-A diagnosis codes.
The data is then moved from the load tables into the databases.
National Minimum Dataset error and warning messages
Error number
Error number
This number consists of three parts – the application_code, the error_ID and the error_type.
- Application_code:
A three-letter code assigned by National Collections to identify each software application (eg, NMS = NMDS). For the standard error or warning message that applies to more than one software application, the application code is NZS = National Collections. - Error_ID:
This is a unique number (eg, 1003). - Error_type:
Severity of message (E = error, W = warning).
Error and warning type description
Error and warning type description
A detailed description of the error/warning and suggestions for why it may have arisen.
Error and warning message
Error and warning message
This is the message that is sent back to providers. It may contain substitution parameters (prefixed with ‘%’) which the program fills in with the particular value (eg, the value ‘%2’ is not a valid value for the field ‘%1’). Where the error/warning message is listed as ‘to be assigned’, this number is not currently used.
National Non-Admitted Patient Collection error messages
The attached table describes errors that can be reported from file loading. The following information is given for each code.
Error number
Error number
This number consists of three parts – the application_code, the error_ID and the error_type.
- Application_code:
A three-letter code assigned by the Ministry to identify each software application – in this case NAP for the NNPAC datamart. - Error_ID:
This is a unique number (eg, 1003). - Error_type:
Severity of message (E = error, W = warning, C = caution). Currently, there are no warnings in NNPAC validation. From 1 July 2008, a caution is used to describe why data is considered invalid. Data producing a caution will be accepted and loaded.
Error type description
Error type description
A detailed description of the error and suggestions for why it may have arisen. Lists of allowed values can be found in the file specification.
Error message
Error message
This is the message that is sent back to providers. It may contain substitution parameters (prefixed with ‘%’) which the program fills in with the particular value.