This code system https://fhir.nhs.uk/STU3/CodeSystem/eRS-APIErrorCode-1 defines the following codes:
| CodeSystem.url[0] | https://fhir.nhs.uk/STU3/CodeSystem/eRS-APIErrorCode-1 |
| CodeSystem.version[0] | 1.3.0 |
| CodeSystem.name[0] | eRS API Error Code |
| CodeSystem.status[0] | active |
| CodeSystem.publisher[0] | NHS Digital |
| CodeSystem.contact[0].name[0] | Interoperability Team |
| CodeSystem.contact[0].telecom[0].system[0] | |
| CodeSystem.contact[0].telecom[0].value[0] | interoperabilityteam@nhs.net |
| CodeSystem.contact[0].telecom[0].use[0] | work |
| CodeSystem.purpose[0] | Code system used to indicate the type of attachment |
| CodeSystem.copyright[0] | 2019 NHS Digital |
| CodeSystem.content[0] | complete |
| CodeSystem.concept[0].code[0] | INVALID_VALUE |
| CodeSystem.concept[0].display[0] | Invalid value |
| CodeSystem.concept[1].code[0] | INVALID_CODE |
| CodeSystem.concept[1].display[0] | Invalid code |
| CodeSystem.concept[2].code[0] | MISSING_VALUE |
| CodeSystem.concept[2].display[0] | A mandatory input field is missing |
| CodeSystem.concept[3].code[0] | CONFLICTING_VALUES |
| CodeSystem.concept[3].display[0] | Conflicting values |
| CodeSystem.concept[4].code[0] | UNEXPECTED_FIELD |
| CodeSystem.concept[4].display[0] | Unexpected field |
| CodeSystem.concept[5].code[0] | INVALID_REQUEST_TYPE |
| CodeSystem.concept[5].display[0] | Invalid Request Type |
| CodeSystem.concept[6].code[0] | INVALID_REQUEST_STATE |
| CodeSystem.concept[6].display[0] | Invalid Request State |
| CodeSystem.concept[7].code[0] | PATIENT_SENSITIVE |
| CodeSystem.concept[7].display[0] | Patient Sensitive |
| CodeSystem.concept[8].code[0] | NO_RELATIONSHIP |
| CodeSystem.concept[8].display[0] | No Relationship |
| CodeSystem.concept[9].code[0] | FHIR_CONSTRAINT_VIOLATION |
| CodeSystem.concept[9].display[0] | FHIR constraint violated |
| CodeSystem.concept[10].code[0] | DUPLICATE_FILENAME |
| CodeSystem.concept[10].display[0] | The Filename of one of the files that correspond to the IDs supplied exactly matches (including extension) that of an existing file already associated with the referral. |
| CodeSystem.concept[11].code[0] | FIELD_NOT_PERMITTED |
| CodeSystem.concept[11].display[0] | This field, although expected by the operation, is not applicable in some cases due to business rules. |
| CodeSystem.concept[12].code[0] | FILE_SIZE_ERROR |
| CodeSystem.concept[12].display[0] | The file is either empty or too large. |
| CodeSystem.concept[13].code[0] | INAPPROPRIATE_VALUE |
| CodeSystem.concept[13].display[0] | A value, which is acceptable under different conditions, is inappropriate in the context of the other information provided with the request. |
| CodeSystem.concept[14].code[0] | INVALID_FHIR_STRUCTURE |
| CodeSystem.concept[14].display[0] | e-RS is unable to interpret the provided json as FHIR. |
| CodeSystem.concept[15].code[0] | INVALID_STATE |
| CodeSystem.concept[15].display[0] | A referenced entity in an invalid state for the operation to proceed. |
| CodeSystem.concept[16].code[0] | NO_ACCESS |
| CodeSystem.concept[16].display[0] | The current user does not have permission to access one of the entities referenced. |
| CodeSystem.concept[17].code[0] | NO_ACCESS_CODE |
| CodeSystem.concept[17].display[0] | The patient record is missing the access code that is necessary to log onto Manage My Referrals |
| CodeSystem.concept[18].code[0] | ORGANISATION_IS_CLOSED |
| CodeSystem.concept[18].display[0] | The selected organisation is marked as closed |
| CodeSystem.concept[19].code[0] | ORGANISATION_NOT_APPROPRIATE |
| CodeSystem.concept[19].display[0] | The selected organisation is of a type that is not suitable for the operation. |
| CodeSystem.concept[20].code[0] | PATIENT_ERROR |
| CodeSystem.concept[20].display[0] | An error occurred while fetching the patient's record from PDS. |
| CodeSystem.concept[21].code[0] | REFERENCE_NOT_FOUND |
| CodeSystem.concept[21].display[0] | An entity referenced in the body of the request is not found when looked up. |
| CodeSystem.concept[22].code[0] | REFERENCED_USER_IS_NOT_ACTIVE |
| CodeSystem.concept[22].display[0] | A user is not marked as active in SDS. |
| CodeSystem.concept[23].code[0] | REFERENCED_USER_IS_NOT_RC |
| CodeSystem.concept[23].display[0] | The referenced user doesn't have the Referring Clinician Role. |
| CodeSystem.concept[24].code[0] | REFERENCED_USER_IS_NOT_SPC |
| CodeSystem.concept[24].display[0] | The referenced user doesn't have the Service Provider Clinician Role. |
| CodeSystem.concept[25].code[0] | REFERENCED_USER_NOT_IN_ORG |
| CodeSystem.concept[25].display[0] | The referenced user is not in the required organisation. |
| CodeSystem.concept[26].code[0] | SHORTLISTED_SERVICE_NOT_IN_RESULTS |
| CodeSystem.concept[26].display[0] | A service proposed for shortlisting is not compatible with the search criteria. |
| CodeSystem.concept[27].code[0] | SNOMED_NOT_FOUND |
| CodeSystem.concept[27].display[0] | A SNOMED code, while potentially valid in the latest version of the international dictionary, is not found in the e-RS copy of the dictionary. |
| CodeSystem.concept[28].code[0] | TOO_MANY_ITEMS |
| CodeSystem.concept[28].display[0] | Too many items have been provided in an array or list. |
| CodeSystem.concept[29].code[0] | VALUE_IS_REQUIRED |
| CodeSystem.concept[29].display[0] | This fields, although defined as optional, is required in specific cases due to business rules. |
| CodeSystem.concept[30].code[0] | PENDING |
| CodeSystem.concept[30].display[0] | The file is currently being scanned and cannot be retrieved. |
| CodeSystem.concept[31].code[0] | THREATS_FOUND |
| CodeSystem.concept[31].display[0] | The file has been quarantined as a threats has been detected, the file cannot be retrieved. |
| CodeSystem.concept[32].code[0] | VALIDATION_FAILED |
| CodeSystem.concept[32].display[0] | The file has failed validation. |
| CodeSystem.concept[32].definition[0] | Reasons for this include: the file type provided is not supported or does not correlate with the file extension; the file is too large |
| CodeSystem.concept[33].code[0] | FORBIDDEN |
| CodeSystem.concept[33].display[0] | An issue occurred whilst attempting to authorise a request |
| CodeSystem.concept[34].code[0] | SYSTEM_UNAVAILABLE |
| CodeSystem.concept[34].display[0] | There has been a processing failure in the request chain. This could be transient failure for a single request, a temporary service issue, maintenance window or due to an issue with a downstream service. Re-send the request after a period of time (using the value specified in the 'Retry-After' header if provided) |