
Package ca.uhn.fhir.jpa.term
Class ValueSetConceptAccumulator
java.lang.Object
ca.uhn.fhir.jpa.term.ValueSetConceptAccumulator
- All Implemented Interfaces:
IValueSetConceptAccumulator
-
Constructor Summary
ConstructorsConstructorDescriptionValueSetConceptAccumulator(TermValueSet theTermValueSet, jakarta.persistence.EntityManager theEntityManager, ITermValueSetConceptDao theValueSetConceptDao, ITermValueSetConceptDesignationDao theValueSetConceptDesignationDao) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMessage(String theMessage) booleanexcludeConcept(String theSystem, String theCode) intvoidincludeConcept(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) setSupportLegacyLob(boolean theSupportLegacyLob) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.jpa.term.IValueSetConceptAccumulator
consumeSkipCount, getCapacityRemaining, getSkipCountRemaining, incrementOrDecrementTotalConcepts, isTrackingHierarchy
-
Constructor Details
-
ValueSetConceptAccumulator
public ValueSetConceptAccumulator(@Nonnull TermValueSet theTermValueSet, @Nonnull jakarta.persistence.EntityManager theEntityManager, @Nonnull ITermValueSetConceptDao theValueSetConceptDao, @Nonnull ITermValueSetConceptDesignationDao theValueSetConceptDesignationDao)
-
-
Method Details
-
addMessage
- Specified by:
addMessagein interfaceIValueSetConceptAccumulator
-
includeConcept
public void includeConcept(String theSystem, String theCode, String theDisplay, Long theSourceConceptPid, String theSourceConceptDirectParentPids, String theSystemVersion) - Specified by:
includeConceptin interfaceIValueSetConceptAccumulator
-
includeConceptWithDesignations
public void includeConceptWithDesignations(String theSystem, String theCode, String theDisplay, Collection<TermConceptDesignation> theDesignations, Long theSourceConceptPid, String theSourceConceptDirectParentPids, String theSystemVersion) - Specified by:
includeConceptWithDesignationsin interfaceIValueSetConceptAccumulator
-
excludeConcept
- Specified by:
excludeConceptin interfaceIValueSetConceptAccumulator- Returns:
- Returns
trueif the code was actually present and was removed
-
removeGapsFromConceptOrder
-
getConceptsSaved
-
setSupportLegacyLob
-