SetUnivDiscrepancy
Updates discrepancy information such as review status and comment for the response in the Oracle Clinical internal structure.
Syntax
short int SetUnivDiscrepancy(ResponseId
*response_identifier
,
DiscInfo
*discrepancy_info
);
Parameters
response_identifier
(in) The ResponseId structure definition containing the unique identifier for this response.
discrepancy_info
(in) The DiscInfo structure definition containing the discrepancy information for this response.
Return Value
SUCCESS
or FAILURE
.
Comments
The response_identifier uniquely identifies the response that is being processed by the external system. Upon calling SetUnivDiscrepancy, Oracle Clinical locates the response in its internal structure and updates the discrepancy information for this response from the input variables provided for holding this information. These input variables should be allocated and initialized before calling the routine.
Error Messages
Table 7-38 Error Messages for SetUnivDiscrepancy
Number | Severity | Message |
---|---|---|
284800 |
ERR |
Function not available in this mode. |
284900 |
ERR |
User does not have the privilege to call function in the current mode. |
285000 |
ERR |
Function called out of sequence. |
285900 |
ERR |
No current OCL database connection open. Use ConnectOCL to connect to OCL database. |
286600 |
ERR |
Audit reason required and not provided. |
286700 |
ERR |
Cannot locate the corresponding DCM question in the internal OCL buffers for the DCM question ID passed. |
286800 |
ERR |
No response in the internal buffers for the question. |
286900 |
ERR |
No existing univariate discrepancy for the question. |
287000 |
ERR |
DCM question and DCM question group combination does not exist in DCM. |
287100 |
ERR |
DCM question group does not exist in DCM. |
288000 |
ERR |
Repeat sn does not exist for DCM question group. |
297000 |
ERR |
Null or invalid input pointers provided. |
302800 |
ERR |
Invalid discrepancy review status code. |
302900 |
ERR |
Invalid discrepancy resolution type code. |
303000 |
ERR |
Resolution type code cannot be null for RESOLVED review status. |
303100 |
ERR |
Resolution type code should be null if review status is not RESOLVED. |
312500 |
ERR |
Can not update repeating defaults when repeat sn is less than the maximum repeats expected for DCM question group. |
Related Functions
Parent topic: Data Capture API Functions