org.hl7.rim

Interface QueryEvent

public interface QueryEvent extends RimObject, InfrastructureRoot

Interface for RIM class QueryEvent.

This abstract class is used to gather the parts of a message interaction that are specific to a query message interaction.

Rationale: A message element type is defined by a TC to meet a messaging requirement for a query response (like the response message element type for a demographics query). An instance of such a message element type would be represented as a query message interaction in this revised view of the V3 query/response model. The "return_element_group" would identify the RIM view that would be similar in form to the RIM view specified in a declarative or imperative application message interaction.

Method Summary
ControlActgetControlAct()
Gets association 'controlAct' to RIM class ControlAct with cardinality (1..1).
IIgetQueryId()
Gets attribute queryId of type II and cardinality 0..1.
CSgetStatusCode()
Gets attribute statusCode of type CS and cardinality 0..1.
voidsetControlAct(ControlAct value)
Sets association 'controlAct' to RIM class ControlAct with cardinality (1..1).
voidsetQueryId(II value)
Sets attribute queryId of type II and cardinality 0..1.
voidsetStatusCode(CS value)
Sets attribute statusCode of type CS and cardinality 0..1.

Method Detail

getControlAct

public ControlAct getControlAct()
Gets association 'controlAct' to RIM class ControlAct with cardinality (1..1).

Returns: the reference to the linked class

getQueryId

public II getQueryId()
Gets attribute queryId of type II and cardinality 0..1.

This attribute may be valued by the initiating application to identify the query. It is intended to be used to match response messages to the originating query. QueryEvent.queryId may remain the same across multiple interactions when performing continuations of a previous query.

Returns: the attribute value

getStatusCode

public CS getStatusCode()
Gets attribute statusCode of type CS and cardinality 0..1.

Returns: the attribute value

setControlAct

public void setControlAct(ControlAct value)
Sets association 'controlAct' to RIM class ControlAct with cardinality (1..1).

Parameters: value the new association value

setQueryId

public void setQueryId(II value)
Sets attribute queryId of type II and cardinality 0..1.

This attribute may be valued by the initiating application to identify the query. It is intended to be used to match response messages to the originating query. QueryEvent.queryId may remain the same across multiple interactions when performing continuations of a previous query.

Parameters: value the new attribute value

setStatusCode

public void setStatusCode(CS value)
Sets attribute statusCode of type CS and cardinality 0..1.

Parameters: value the new attribute value