Click or drag to resize

IConceptRepositoryService Interface

Represents a service which is responsible for the maintenance of concepts.

Namespace:  SanteDB.Core.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
public interface IConceptRepositoryService : IRepositoryService<Concept>, 
	IServiceImplementation

The IConceptRepositoryService type exposes the following members.

Properties
  NameDescription
Public propertyServiceName
Gets the service name
(Inherited from IServiceImplementation.)
Top
Methods
  NameDescription
Public methodFind(ExpressionFuncTModel, Boolean)
Finds the specified data where the current version matches the query provided
(Inherited from IRepositoryServiceTModel.)
Public methodFind(ExpressionFuncTModel, Boolean, Int32, NullableInt32, Int32, ModelSortTModel)
Finds the specified data with the specified control parameters
(Inherited from IRepositoryServiceTModel.)
Public methodFindConceptsByName
Searches for a Concept by name and language.
Public methodFindConceptsByReferenceTerm(String, String)
Finds all Concept instances which are associated with the specified ReferenceTerm
Public methodFindConceptsByReferenceTerm(String, Uri)
Finds a concept by reference term information, returning the ConceptReferenceTerm so the caller can determine if the Concept and ReferenceTerm are equivalent, narrower than, etc.
Public methodFindReferenceTermsByConcept
Finds all reference terms for the concept with conceptId in the specified codeSystem system.
Public methodGet(Guid)
Gets the specified model data
(Inherited from IRepositoryServiceTModel.)
Public methodGet(Guid, Guid)
Gets the specified model data at the specified version
(Inherited from IRepositoryServiceTModel.)
Public methodGetConcept
Get a Concept instance given the concept's unique mnemonic
Public methodGetConceptByReferenceTerm
Finds a concept by reference term only where the concept is equivalent to the reference term
Public methodGetConceptReferenceTerm(String, String)
Gets the concept reference term for the Concept with conceptMnemonic in codeSystem only if the ReferenceTerm is the same in scope as the Concept
Public methodGetConceptReferenceTerm(Guid, String, Boolean)
Gets the concept reference term for the specified code system
Public methodGetConceptSetMembers
Gets all the Concept members of the specified concept set
Public methodGetName
Get the specified concept name
Public methodImplies
Returns a value which indicates whether concept a implies concept b through a ConceptRelationship indicating the two are the same
Public methodInsert
Inserts the specified model information
(Inherited from IRepositoryServiceTModel.)
Public methodIsMember(ConceptSet, Concept)
Returns true if the concept concept is a member of set set
Public methodIsMember(Guid, Guid)
Returns true if the concept concept is a member of set set
Public methodObsolete
Obsoletes the specified object
(Inherited from IRepositoryServiceTModel.)
Public methodSave
Inserts or updates the specified data
(Inherited from IRepositoryServiceTModel.)
Top
Remarks

This class is responsible for the management of Concept, ConceptSet, and ReferenceTerm definitions from the SanteDB CDR's concept dictionary. The implementation of this service contract should provide methods for contacting the storage provider (either local database or a remote terminology service) to:

  • Resolve ReferenceTerm instances from inbound messages from code/system pairs
  • Resolve appropriate ReferenceTerm data given a Concept instance from the SanteDB CDR to be sent on an outbound message
  • Determine the membership of a Concept in a ConceptSet
  • Determiner relationships between Concept instances
See Also