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, total
Fields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtension
Fields inherited from class org.hl7.fhir.r4.model.Element
extension, id
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMessage
(String theMessage) void
void
consumeSkipCount
(int theSkipCountToConsume) boolean
excludeConcept
(String theSystem, String theCode) void
includeConcept
(String theSystem, String theCode, String theDisplay, Long theSourceConceptPid, String theSourceConceptDirectParentPids, String theCodeSystemVersion) void
includeConceptWithDesignations
(String theSystem, String theCode, String theDisplay, Collection<TermConceptDesignation> theDesignations, Long theSourceConceptPid, String theSourceConceptDirectParentPids, String theCodeSystemVersion) 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.boolean
void
setHardExpansionMaximumSize
(int theHardExpansionMaximumSize) void
setSkipCountRemaining
(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, setTotalElement
Methods 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, setModifierExtension
Methods 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, setIdElement
Methods 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, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtension
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
addModifierExtension, getModifierExtension, hasModifierExtension
-
Method Details
-
getCapacityRemaining
- Specified by:
getCapacityRemaining
in interfaceIValueSetConceptAccumulator
-
getMessages
-
isTrackingHierarchy
- Specified by:
isTrackingHierarchy
in interfaceIValueSetConceptAccumulator
-
addMessage
- Specified by:
addMessage
in interfaceIValueSetConceptAccumulator
-
includeConcept
public void includeConcept(String theSystem, String theCode, String theDisplay, Long theSourceConceptPid, String theSourceConceptDirectParentPids, String theCodeSystemVersion) - Specified by:
includeConcept
in interfaceIValueSetConceptAccumulator
-
includeConceptWithDesignations
public void includeConceptWithDesignations(String theSystem, String theCode, String theDisplay, Collection<TermConceptDesignation> theDesignations, Long theSourceConceptPid, String theSourceConceptDirectParentPids, String theCodeSystemVersion) - Specified by:
includeConceptWithDesignations
in interfaceIValueSetConceptAccumulator
-
consumeSkipCount
- Specified by:
consumeSkipCount
in interfaceIValueSetConceptAccumulator
-
getSkipCountRemaining
- Specified by:
getSkipCountRemaining
in interfaceIValueSetConceptAccumulator
-
excludeConcept
- Specified by:
excludeConcept
in interfaceIValueSetConceptAccumulator
- Returns:
- Returns
true
if the code was actually present and was removed
-
getTotalConcepts
-
incrementOrDecrementTotalConcepts
Description copied from interface:IValueSetConceptAccumulator
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.- Specified by:
incrementOrDecrementTotalConcepts
in interfaceIValueSetConceptAccumulator
- Parameters:
theAdd
- Iftrue
, increment. Iffalse
, decrement.theDelta
- The number of codes to add or subtract
-
setSkipCountRemaining
-
setHardExpansionMaximumSize
-
applyHierarchy
-