Table of Contents |
---|
...
Parameter | Data Type | Default Value | Description |
---|---|---|---|
licenseManager | ILicenseManager | null | LicenseManager class. If the parameter is null, the class will use license key found in the Settings. |
DdbSettings | IDdbSettings | null | If this parameter is null, then the constructor uses the current Greenrain Drugs Database settings saved on the system. Otherwise, API uses the settings specified in the passed in DdbSettings class. Therefore, the constructor can be called with any settings combination required by the caller, even if it is different from the current system settings. |
...
ID | Error Message Example | Description |
---|---|---|
-1000 | An unexpected error occurred. | This exception is raised if anything goes wrong that we do not cover with exceptions in this table. |
-1001 | Greenrain Drug Database API requires a valid license. You can use Greenrain Drug Database Settings to enter the license key. | This exception may be raised in the following scenarios:
|
-1002 | Claim ID must have value. | This exception is raised when the Claim ID is empty. |
-1003 | At least one drug code must be provided. | This exception is raised when no drug code is found. |
-1004 | At least one ICD-10-CM must be provided, either principal or secondary diagnosis. | This exception is raised when no ICD-10-CM is found. |
| Data Source is not found. | This exception is raised when Data Source does not exist or cannot be accessed for any reason. |
| At least two drug codes must be provided. | This exception is raised when less than two drug codes are found. |
-1007 | The patient's age is undefined or negative. | This exception is raised when the patient's any of the below conditions is met:
|
-1008 | Patient age The patient’s gender is undefined or negative, and patient gender is not equal to 0 or 1. | This exception is raised when any of the below conditions is met:
|
-1009 | The content of the XML file may not be null. | This exception is raised when the XML file has no content. |
-1010 | The XML file must contain Claim.Submission xml transaction. | This exception is raised when the XML file does not contain Claim.Submission transaction. |
-1011 | The XML file must contain at least one claim. | This exception is raised when the XML file contains no claim. |
...