
Package ca.uhn.fhir.jpa.term
Interface IValueSetConceptAccumulator
- All Known Implementing Classes:
ValueSetConceptAccumulator,ValueSetExpansionComponentWithConceptAccumulator
public interface IValueSetConceptAccumulator
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMessage(String theMessage) default voidconsumeSkipCount(int theSkipCountToConsume) booleanexcludeConcept(String theSystem, String theCode) default Integerdefault IntegervoidincludeConcept(String theSystem, String theCode, String theDisplay, Long theSourceConceptPid, String theSourceConceptDirectParentPids, String theSystemVersion) voidincludeConceptWithDesignations(String theSystem, String theCode, String theDisplay, Collection<TermConceptDesignation> theDesignations, Long theSourceConceptPid, String theSourceConceptDirectParentPids, String theSystemVersion) default voidincrementOrDecrementTotalConcepts(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 theoffsetandcountparameters 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
trueif 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 theoffsetandcountparameters 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
-