Interface I_ConceptAccess
-
public interface I_ConceptAccessaccess layer to Concepts ETHERCIS Project ehrservice Created by Christian Chevalley on 4/27/2015.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classI_ConceptAccess.ContributionChangeType
-
Method Summary
Static Methods Modifier and Type Method Description static 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 Detail
-
fetchConcept
static UUID fetchConcept(I_DomainAccess domainAccess, Integer conceptId, String language)
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
static String fetchConceptLiteral(I_DomainAccess domainAccess, Integer conceptId, String language)
-
fetchConceptLiteral
static String fetchConceptLiteral(I_DomainAccess domainAccess, UUID uuid)
-
fetchContributionChangeType
static UUID fetchContributionChangeType(I_DomainAccess domainAccess, String changeTypeStr)
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
static UUID getVlcsDraft(I_DomainAccess domainAccess)
convenience statics to get VERSION.lifecycle_state DRAFT (code: 244)- Parameters:
domainAccess- SQL context- Returns:
- the record
UUID
-
getVlcsActive
static UUID getVlcsActive(I_DomainAccess domainAccess)
convenience statics to get VERSION.lifecycle_state ACTIVE (code: 245)- Parameters:
domainAccess- SQL context- Returns:
- the record
UUID
-
getVlcsInactive
static UUID getVlcsInactive(I_DomainAccess domainAccess)
convenience statics to get VERSION.lifecycle_state INACTIVE (code: 246)- Parameters:
domainAccess- SQL context- Returns:
- the record
UUID
-
getVlcsAwaitingApproval
static UUID getVlcsAwaitingApproval(I_DomainAccess domainAccess)
convenience statics to get VERSION.lifecycle_state AWAITING APPROVAL (code: 247)- Parameters:
domainAccess- SQL context- Returns:
- the record
UUID
-
-