NEW ZEALAND HEALTH INFORMATION SERVICE
Home > technical documentation > national non admitted patient collection
National Non-Admitted Patient Collection (NNPAC)
Error Codes
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 NZHIS to identify each datamart – 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 the NNPAC datamart 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.
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
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.
| Error number | Error type description | Error message |
NAP5000E | No record found to delete with the same key (extract system identifier, client system identifier, PMS unique identifier) as requested. | COULD NOT FIND RECORD TO DELETE |
NAP5001E | Record type not in list of valid record types. | RECORD TYPE INVALID: $1 |
NAP5002E | NHI not allocated to a person in the NHI system. | NHI INVALID: $1 |
NAP5003E | Accident flag not one of the allowed values. | INVALID ACCIDENT FLAG: $1 |
NAP5004E | Attendance code not one of the allowed values. | INVALID ATTENDANCE CODE: $1 |
NAP5005E | Event type not one of the allowed values. | INVALID EVENT TYPE: $1 |
NAP5006E | Health provider type not one of the allowed values. | INVALID HEALTH PROVIDER TYPE: $1 |
NAP5007E | Service type not one of the allowed values. | INVALID SERVICE TYPE: $1 |
NAP5008E | Hours in the time of service is greater than 24 or not numeric. | INVALID HOURS IN TIME OF SERVICE: $1 |
NAP5009E | Minutes in the time of service is greater than 60 or not numeric. | INVALID MINUTES IN TIME OF SERVICE: $1 |
NAP5010E | Facility code is not in the list of facilities. | INVALID FACILITY: $1 |
NAP5011E | Agency code is not in the list of facilities. | INVALID AGENCY: $1 |
NAP5012E | The date of service is after the processing date. | DATE OF SERVICE IN THE FUTURE: $1 |
NAP5013E | The date of service is 20 years before the processing date. | DATE OF SERVICE TOO FAR IN THE FUTURE: $1 |
NAP5014E | The date of service is not a valid date. | DATE OF SERVICE INVALID: $1 |
NAP5015E | The location code is not one of the allowed values. | LOCATION CODE INVALID: $1 |
NAP5016E | The equivalent purchase unit is not one of the allowed values for NNPAC (it may be valid in other datamarts). | EQUIVALENT PURCHASE UNIT INVALID: $1 |
NAP5017E | Purchaser code not one of the allowed values. | PURCHASER CODE INVALID: $1 |
NAP5018E | Health specialty not one of the allowed values. | HEALTH SPECIALTY UNIT INVALID: $1 |
NAP5019E | The value in the volume is not allowed for attendance codes, for example, DNA should have a volume of 0. | VOLUME: $1 INCOMPATIBLE WITH ATTENDANCE CODE: $2 |
NAP5020E | The client system identifier is not that agreed with NZHIS. | INVALID CLIENT SYSTEM IDENTIFIER: $1 |
NAP5021E | The PMS unique identifier is missing. | NO PMS UNIQUE IDENTIFIER |
NAP5023E | Each add or update record within an extract file must be a unique combination of extract system identifier, client system identifier, PMS unique identifier | Duplicate. All records for this EventID in this extract are rejected. |
NAP5028E | Purchaser code is not yet active for use. | PURCHASER CODE %1 IS NOT YET ACTIVE FOR USE |
NAP5029E | Purchaser code is retired from use. | PURCHASER CODE %1 IS RETIRED FROM USE |
NAP5030E | Health Specialty is not yet active for use. | HEALTH SPECIALTY CODE %1 IS NOT YET ACTIVE FOR USE |
NAP5031E | Health Specialty is retired from use. | HEALTH SPECIALTY CODE %1 IS RETIRED FROM USE |
NAP5032E | The Purchase Unit is not yet active at the Date of Service. | PURCHASE UNIT %1 IS NOT YET ACTIVE FOR USE |
NAP5033E | The Purchase Unit has been retired at the Date of Service. | PURCHASE UNIT %1 HAS BEEN RETIRED |
NAP5034E | Preadmission purchase units must have service type of ‘PREADM’. | Service Type %1 incompatible with Purchase Unit %2 |
NAP5036E | The volume for a preadmission purchase unit must be zero. | VOLUME: %1 incompatible with Preadmission Purchase Unit %2 |
NAP5037E | The Volume is invalid for the Purchase Unit. | Volume %1 is invalid for Purchase Unit %2 (UOM = ‘client’) Where %1 is the value of the submitted Volume and %2 is the value of the submitted Equivalent Purchase Unit Code. |
NAP5038E | The event end date is not a valid date. | Event End Date Invalid: %1 |
NAP5039E | The event end date should be on or after the date of service | Event End Date %1 is before the Date of Service %2 |
NAP5040C | The domicile code must be active at the date of service. | Domicile Code %1 is not active at the Date of Service %2 |
NAP5041C | The domicile code is for an overseas resident and does not map to a valid DHB. | Domicile Code %1 is for an overseas resident |
NAP5042C | The domicile code does not map to a valid DHB. | Domicile Code %1 does not map to a valid DHB |
NAP5043E | The file version should be ‘V02.0’ for files sent on or after 1 July 2008. | File version must be V02.0 for period on or after 1 July 2008 |
NAP5044E | The Date Sent is not a valid date | Date Sent invalid: %1 |
NAP5045E | The Date Sent is after the processing date | Date Sent in the future: %1 |
Top  Back

