RdciKeysRecord

This structure contains the key values of the RDCI record being created or modified by CreateRdci or SetRdci.

Syntax

typedef struct rdci_keys_record
{
    char document_number[21] ;
    char patient[11] ;
    char dci_short_name[11] ;
    char dci_date[DATE_SIZE + 1] ;
    char dci_time[TIME_SIZE + 1] ;
    char visit_name[21] ;
    short int  subevent_number ;
    char site[11] ; 
    char investigator[11] ;
    DCAPIFlag blank_flag ;
    char comment[COMMENT_SIZE + 1] ;
    AuditInfo   audit ; 
    DCAPIFlag audit_only_flag;
} RdciKeysRecord;

Parameters

document_number (in): Optional for CreateRdci, required for SetRdci.

patient (in): Any unique identifier which the external system can assign to a patient. It is not necessarily the same as the 'patient position id' or the 'patient name'.

dci_short_name (in)

dci_date (in): Can be optional if the DCI does not require a date as part of its definition.

dci_time (in): Only applicable if the current DCI needs them to be collected; otherwise this parameter must be passed as null values. Passing a non-null value for this parameter when it is not applicable will cause the API function to fail. A null value for a character array field is the null ("") string.

visit_name (in)

subevent_number (in)

site (in): Any unique identifier which the external system can assign to a site.It is not necessarily same as the 'site id' or the 'site name'.

investigator (in): Any unique identifier that the external system can assign to an investigator. It is not necessarily the same as the investigator ID or the investigator name.

blank_flag (in): Value passed in are TRUE or FALSE.

comment (in): Free-text description.

audit (in): A parameter of type AuditInfo, which tracks audit information about the RDCI key or comment changes.

audit_only_flag (in): This parameter, if set to TRUE, indicates that the audit reason provided is for soft-deleting a document (via DeleteRdci), rather than for a key or comment change.

Used in Functions

CreateRdci, SetRdci