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: 2.2.1
Syntax
protected virtual IMessage CreateQueryResponse(
	Hl7MessageReceivedEventArgs request,
	Expression filter,
	Hl7QueryParameterType map,
	IEnumerable results,
	Guid queryId,
	int offset,
	int count,
	int totalResults
)

Parameters

request
Type: SanteDB.Messaging.HL7.TransportProtocolHl7MessageReceivedEventArgs
The original request message
filter
Type: System.Linq.ExpressionsExpression

[Missing <param name="filter"/> documentation for "M:SanteDB.Messaging.HL7.Messages.QbpMessageHandler.CreateQueryResponse(SanteDB.Messaging.HL7.TransportProtocol.Hl7MessageReceivedEventArgs,System.Linq.Expressions.Expression,SanteDB.Messaging.HL7.ParameterMap.Hl7QueryParameterType,System.Collections.IEnumerable,System.Guid,System.Int32,System.Int32,System.Int32)"]

map
Type: SanteDB.Messaging.HL7.ParameterMapHl7QueryParameterType
The HL7 query parameter mapping
results
Type: System.CollectionsIEnumerable
The results that matches the query
queryId
Type: SystemGuid
The unique query identifier used
offset
Type: SystemInt32
The offset to the first result
count
Type: SystemInt32
The number of results that the user requested
totalResults
Type: SystemInt32

[Missing <param name="totalResults"/> documentation for "M:SanteDB.Messaging.HL7.Messages.QbpMessageHandler.CreateQueryResponse(SanteDB.Messaging.HL7.TransportProtocol.Hl7MessageReceivedEventArgs,System.Linq.Expressions.Expression,SanteDB.Messaging.HL7.ParameterMap.Hl7QueryParameterType,System.Collections.IEnumerable,System.Guid,System.Int32,System.Int32,System.Int32)"]

Return Value

Type: IMessage
The constructed result message
See Also