Interface I_ConceptAccess
public interface I_ConceptAccess
access layer to Concepts
ETHERCIS Project ehrservice
Created by Christian Chevalley on 4/27/2015.
-
Nested Class Summary
Nested Classes -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic UUIDfetchConcept(I_DomainAccess domainAccess, Integer conceptId, String language) retrieve a conceptstatic StringfetchConceptLiteral(I_DomainAccess domainAccess, Integer conceptId, String language) static StringfetchConceptLiteral(I_DomainAccess domainAccess, UUID uuid) static com.nedap.archie.rm.datavalues.DvCodedTextfetchConceptText(I_DomainAccess domainAccess, UUID uuid) static UUIDfetchContributionChangeType(I_DomainAccess domainAccess, String changeTypeStr) retrieve a conceptstatic UUIDfetchContributionChangeType(I_DomainAccess domainAccess, I_ConceptAccess.ContributionChangeType contributionChangeType) static UUIDgetVlcsActive(I_DomainAccess domainAccess) convenience statics to get VERSION.lifecycle_state ACTIVE (code: 245)static UUIDgetVlcsAwaitingApproval(I_DomainAccess domainAccess) convenience statics to get VERSION.lifecycle_state AWAITING APPROVAL (code: 247)static UUIDgetVlcsDraft(I_DomainAccess domainAccess) convenience statics to get VERSION.lifecycle_state DRAFT (code: 244)static UUIDgetVlcsInactive(I_DomainAccess domainAccess) convenience statics to get VERSION.lifecycle_state INACTIVE (code: 246)
-
Method Details
-
fetchConcept
retrieve a concept- Parameters:
domainAccess- SQL contextconceptId- integer codelanguage- language code ('en', 'fr' etc.)- Returns:
- the record
UUIDor null if not found
-
fetchConceptText
static com.nedap.archie.rm.datavalues.DvCodedText fetchConceptText(I_DomainAccess domainAccess, UUID uuid) -
fetchConceptLiteral
-
fetchConceptLiteral
-
fetchContributionChangeType
retrieve a concept- Parameters:
domainAccess- SQL contextchangeTypeStr- String representation of change type- Returns:
- the record
UUID - Throws:
IllegalArgumentException- when the given change type can't be found
-
fetchContributionChangeType
static UUID fetchContributionChangeType(I_DomainAccess domainAccess, I_ConceptAccess.ContributionChangeType contributionChangeType) -
getVlcsDraft
convenience statics to get VERSION.lifecycle_state DRAFT (code: 244)- Parameters:
domainAccess- SQL context- Returns:
- the record
UUID
-
getVlcsActive
convenience statics to get VERSION.lifecycle_state ACTIVE (code: 245)- Parameters:
domainAccess- SQL context- Returns:
- the record
UUID
-
getVlcsInactive
convenience statics to get VERSION.lifecycle_state INACTIVE (code: 246)- Parameters:
domainAccess- SQL context- Returns:
- the record
UUID
-
getVlcsAwaitingApproval
convenience statics to get VERSION.lifecycle_state AWAITING APPROVAL (code: 247)- Parameters:
domainAccess- SQL context- Returns:
- the record
UUID
-