
Package ca.uhn.fhir.jpa.term
Class ValueSetExpansionComponentWithConceptAccumulator
java.lang.Object
org.hl7.fhir.r4.model.Base
org.hl7.fhir.r4.model.Element
org.hl7.fhir.r4.model.BackboneElement
org.hl7.fhir.r4.model.ValueSet.ValueSetExpansionComponent
ca.uhn.fhir.jpa.term.ValueSetExpansionComponentWithConceptAccumulator
- All Implemented Interfaces:
IValueSetConceptAccumulator,ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
public class ValueSetExpansionComponentWithConceptAccumulator
extends org.hl7.fhir.r4.model.ValueSet.ValueSetExpansionComponent
implements IValueSetConceptAccumulator
- See Also:
-
Field Summary
Fields inherited from class org.hl7.fhir.r4.model.ValueSet.ValueSetExpansionComponent
contains, identifier, offset, parameter, timestamp, totalFields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtensionFields inherited from class org.hl7.fhir.r4.model.Element
extension, id -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMessage(String theMessage) voidvoidconsumeSkipCount(int theSkipCountToConsume) booleanexcludeConcept(String theSystem, String theCode) voidincludeConcept(String theSystem, String theCode, String theDisplay, Long theSourceConceptPid, String theSourceConceptDirectParentPids, String theCodeSystemVersion) voidincludeConceptWithDesignations(String theSystem, String theCode, String theDisplay, Collection<TermConceptDesignation> theDesignations, Long theSourceConceptPid, String theSourceConceptDirectParentPids, String theCodeSystemVersion) 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.booleanvoidsetHardExpansionMaximumSize(int theHardExpansionMaximumSize) voidsetSkipCountRemaining(int theSkipCountRemaining) Methods inherited from class org.hl7.fhir.r4.model.ValueSet.ValueSetExpansionComponent
addChild, addContains, addContains, addParameter, addParameter, copy, copyValues, equalsDeep, equalsShallow, fhirType, getContains, getContainsFirstRep, getIdentifier, getIdentifierElement, getNamedProperty, getOffset, getOffsetElement, getParameter, getParameter, getParameterFirstRep, getProperty, getTimestamp, getTimestampElement, getTotal, getTotalElement, getTypesForProperty, hasContains, hasIdentifier, hasIdentifierElement, hasOffset, hasOffsetElement, hasParameter, hasTimestamp, hasTimestampElement, hasTotal, hasTotalElement, isEmpty, listChildren, makeProperty, removeChild, setContains, setIdentifier, setIdentifierElement, setOffset, setOffsetElement, setParameter, setProperty, setProperty, setTimestamp, setTimestampElement, setTotal, setTotalElementMethods inherited from class org.hl7.fhir.r4.model.BackboneElement
addModifierExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyExtensions, copyNewExtensions, copyValues, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionFirstRep, hasExtension, hasExtension, hasModifierExtension, removeExtension, setModifierExtensionMethods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionFirstRep, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementMethods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtensionMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
addModifierExtension, getModifierExtension, hasModifierExtension
-
Method Details
-
getCapacityRemaining
- Specified by:
getCapacityRemainingin interfaceIValueSetConceptAccumulator
-
getMessages
-
isTrackingHierarchy
- Specified by:
isTrackingHierarchyin interfaceIValueSetConceptAccumulator
-
addMessage
- Specified by:
addMessagein interfaceIValueSetConceptAccumulator
-
includeConcept
public void includeConcept(String theSystem, String theCode, String theDisplay, Long theSourceConceptPid, String theSourceConceptDirectParentPids, String theCodeSystemVersion) - Specified by:
includeConceptin interfaceIValueSetConceptAccumulator
-
includeConceptWithDesignations
public void includeConceptWithDesignations(String theSystem, String theCode, String theDisplay, Collection<TermConceptDesignation> theDesignations, Long theSourceConceptPid, String theSourceConceptDirectParentPids, String theCodeSystemVersion) - Specified by:
includeConceptWithDesignationsin interfaceIValueSetConceptAccumulator
-
consumeSkipCount
- Specified by:
consumeSkipCountin interfaceIValueSetConceptAccumulator
-
getSkipCountRemaining
- Specified by:
getSkipCountRemainingin interfaceIValueSetConceptAccumulator
-
excludeConcept
- Specified by:
excludeConceptin interfaceIValueSetConceptAccumulator- Returns:
- Returns
trueif the code was actually present and was removed
-
getTotalConcepts
-
incrementOrDecrementTotalConcepts
Description copied from interface:IValueSetConceptAccumulatorAdd 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.- Specified by:
incrementOrDecrementTotalConceptsin interfaceIValueSetConceptAccumulator- Parameters:
theAdd- Iftrue, increment. Iffalse, decrement.theDelta- The number of codes to add or subtract
-
setSkipCountRemaining
-
setHardExpansionMaximumSize
-
applyHierarchy
-