| 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
)
Protected Overridable Function CreateQueryResponse (
request As Hl7MessageReceivedEventArgs,
filter As Expression,
map As Hl7QueryParameterType,
results As IEnumerable,
queryId As Guid,
offset As Integer,
count As Integer,
totalResults As Integer
) As IMessage
protected:
virtual IMessage^ CreateQueryResponse(
Hl7MessageReceivedEventArgs^ request,
Expression^ filter,
Hl7QueryParameterType^ map,
IEnumerable^ results,
Guid queryId,
int offset,
int count,
int totalResults
)
abstract CreateQueryResponse :
request : Hl7MessageReceivedEventArgs *
filter : Expression *
map : Hl7QueryParameterType *
results : IEnumerable *
queryId : Guid *
offset : int *
count : int *
totalResults : int -> IMessage
override CreateQueryResponse :
request : Hl7MessageReceivedEventArgs *
filter : Expression *
map : Hl7QueryParameterType *
results : IEnumerable *
queryId : Guid *
offset : int *
count : int *
totalResults : int -> IMessage
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:
IMessageThe constructed result message
See Also