Click or drag to resize

QbpMessageHandlerCreateQueryResponse Method

Create an appropriate response given the results

Namespace: SanteDB.Messaging.HL7.Messages
Assembly: SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 3.0.2081-alpha+e82e56b43bfab0d631a8b4d1ba2ab44b8aff02dd
Syntax
protected virtual IMessage CreateQueryResponse(
	Hl7MessageReceivedEventArgs request,
	Expression filter,
	Hl7QueryParameterType map,
	Array results,
	Guid queryId,
	int offset,
	int count,
	int totalResults
)

Parameters

request  Hl7MessageReceivedEventArgs
The original request message
filter  Expression
The filter in HDSI format which was provided
map  Hl7QueryParameterType
The HL7 query parameter mapping
results  Array
The results that matches the query
queryId  Guid
The unique query identifier used
offset  Int32
The offset to the first result
count  Int32
The number of results that the user requested
totalResults  Int32
The total number of results present on the server.

Return Value

IMessage
The constructed result message
See Also