GetQuestGroupId

Returns the DCM question group ID for the DCM question group. As an alternative, you can query the stable views for this information. See the Oracle Clinical Stable Interface Technical Reference Manual for the documented data model.

Syntax

short int GetQuestGroupId(GroupId *group_identifier,
    double *group_id);

Parameters

group_identifier (in) contains the unique name of the DCM question group in a data structure of type GroupId.

group_id (out) The internal question_group_id for the DCM question group identified by the group name.

Return Value

SUCCESS or FAILURE.

Comments

The group_identifier uniquely identifies the DCM question group. Upon calling this function Oracle Clinical locates the group in its internal structure and returns the group_id DCM question. The current state of the internal buffers — that is, the current DCM and subset_number — determines the behavior of Oracle Clinical.

Error Messages

Table 7-17 Error Messages for GetQuestGroupId

Number Severity Message

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.

304600

ERR

Function does not exist.

304700

ERR

Privilege does not exist.

Related Functions

GetResponse, GetQuestionId