Package ca.uhn.fhir.jpa.term
Interface IValueSetConceptAccumulator
- All Known Implementing Classes:
ValueSetConceptAccumulator
,ValueSetExpansionComponentWithConceptAccumulator
public interface IValueSetConceptAccumulator
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMessage
(String theMessage) default void
consumeSkipCount
(int theSkipCountToConsume) boolean
excludeConcept
(String theSystem, String theCode) default Integer
default Integer
void
includeConcept
(String theSystem, String theCode, String theDisplay, Long theSourceConceptPid, String theSourceConceptDirectParentPids, String theSystemVersion) void
includeConceptWithDesignations
(String theSystem, String theCode, String theDisplay, Collection<TermConceptDesignation> theDesignations, Long theSourceConceptPid, String theSourceConceptDirectParentPids, String theSystemVersion) default void
incrementOrDecrementTotalConcepts
(boolean theAdd, int theDelta) Add or subtract from the total concept count (this is not necessarily the same thing as the number of concepts in the accumulator, since theoffset
andcount
parameters applied to the expansion can cause concepts to not actually be added.default boolean
-
Method Details
-
addMessage
-
includeConcept
-
includeConceptWithDesignations
void includeConceptWithDesignations(String theSystem, String theCode, String theDisplay, @Nullable Collection<TermConceptDesignation> theDesignations, Long theSourceConceptPid, String theSourceConceptDirectParentPids, @Nullable String theSystemVersion) -
excludeConcept
- Returns:
- Returns
true
if the code was actually present and was removed
-
getCapacityRemaining
-
getSkipCountRemaining
-
isTrackingHierarchy
-
consumeSkipCount
-
incrementOrDecrementTotalConcepts
Add or subtract from the total concept count (this is not necessarily the same thing as the number of concepts in the accumulator, since theoffset
andcount
parameters applied to the expansion can cause concepts to not actually be added.- Parameters:
theAdd
- Iftrue
, increment. Iffalse
, decrement.theDelta
- The number of codes to add or subtract
-