Click or drag to resize

IQueryPersistenceServiceFindQueryId Method

Locate the stateful query identifier using the tag which was attached to the query

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
Guid FindQueryId(
	Object queryTag
)

Parameters

queryTag  Object
The tag value which was added to query information

Return Value

Guid
The UUID of the stateful query
Remarks
SanteDB needs to support multiple standards, each standard has a different way of representing query identifiers for stateful queries. For example in HL7v2 QBP messages, the query identifier be a number, a timestamp, a UUID or other representation. The messaging providers will TAG the query with this information, and this method allows those callers to cross-reference the tag they have appended to the query with the internal UUID of the query.
See Also