Concept/Terminology Provider
IConceptRepositoryService
in assembly SanteDB.Core.Api version 3.0.1980.0
Summary
Represents a service which is responsible for the maintenance of concepts.
Description
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
Operations
FindConceptsByName
IEnumerable<Concept>
String name String language
Searches for a by name and language.
FindConceptsByReferenceTerm
IEnumerable<ConceptReferenceTerm>
String code Uri codeSystem
Finds a concept by reference term information, returning the so the caller can determine if the and are equivalent, narrower than, etc.
GetConceptSetMembers
IEnumerable<Concept>
String mnemonic
Gets all the members of the specified concept set
GetConceptByReferenceTerm
Concept
String code String codeSystemDomain
Finds a concept by reference term only where the concept is equivalent to the reference term
FindConceptsByReferenceTerm
IEnumerable<ConceptReferenceTerm>
String code String codeSystemDomain
Finds a concept by reference term information, returning the so the caller can determine if the and are equivalent, narrower than, etc.
GetConcept
Concept
String mnemonic
Get a instance given the concept's unique mnemonic
Implies
Boolean
Concept a Concept b
Returns a value which indicates whether concept implies concept through a indicating the two are the same
IsMember
Boolean
ConceptSet set Concept concept
Returns true if the concept is a member of set
IsMember
Boolean
Guid set Guid concept
Returns true if the concept is a member of set
GetConceptReferenceTerm
ReferenceTerm
Guid conceptId String codeSystem Boolean exact
Gets the concept reference term for the specified code system
GetConceptReferenceTerm
ReferenceTerm
String conceptMnemonic String codeSystem
Gets the concept reference term for the specified code system
FindReferenceTermsByConcept
IEnumerable<ConceptReferenceTerm>
Guid conceptId String codeSystem
Finds all reference terms for the concept with in the specified system.
GetName
String
Guid conceptId String twoLetterISOLanguageName
Get the specified concept name
ExpandConceptSet
IQueryResultSet<Concept>
Guid conceptSetId
Expand the concept set to a flat list of values
ExpandConceptSet
IQueryResultSet<Concept>
String conceptSetMnemonic
Expand the concept set to a flat list of values
Implementations
LocalConceptRepository - (SanteDB.Core.Api)
Represents a service which is responsible for the maintenance of concepts using local persistence.
Service Registration
Example Implementation
References
Last updated