Package com.ibm.fhir.model.resource
Class ValueSet.Compose.Include
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.BackboneElement
-
- com.ibm.fhir.model.resource.ValueSet.Compose.Include
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- ValueSet.Compose
public static class ValueSet.Compose.Include extends BackboneElement
Include one or more codes from a code system or other value set(s).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValueSet.Compose.Include.Builderstatic classValueSet.Compose.Include.ConceptSpecifies a concept to be included or excluded.static classValueSet.Compose.Include.FilterSelect concepts by specify a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static ValueSet.Compose.Include.Builderbuilder()booleanequals(Object obj)List<ValueSet.Compose.Include.Concept>getConcept()Specifies a concept to be included or excluded.List<ValueSet.Compose.Include.Filter>getFilter()Select concepts by specify a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system.UrigetSystem()An absolute URI which is the code system from which the selected codes come from.List<Canonical>getValueSet()Selects the concepts found in this value set (based on its value set definition).StringgetVersion()The version of the code system that the codes are selected from, or the special version '*' for all versions.booleanhasChildren()inthashCode()ValueSet.Compose.Include.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement
getModifierExtension
-
-
-
-
Method Detail
-
getSystem
public Uri getSystem()
An absolute URI which is the code system from which the selected codes come from.- Returns:
- An immutable object of type
Urithat may be null.
-
getVersion
public String getVersion()
The version of the code system that the codes are selected from, or the special version '*' for all versions.- Returns:
- An immutable object of type
Stringthat may be null.
-
getConcept
public List<ValueSet.Compose.Include.Concept> getConcept()
Specifies a concept to be included or excluded.- Returns:
- An unmodifiable list containing immutable objects of type
ValueSet.Compose.Include.Conceptthat may be empty.
-
getFilter
public List<ValueSet.Compose.Include.Filter> getFilter()
Select concepts by specify a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified, they SHALL all be true.- Returns:
- An unmodifiable list containing immutable objects of type
ValueSet.Compose.Include.Filterthat may be empty.
-
getValueSet
public List<Canonical> getValueSet()
Selects the concepts found in this value set (based on its value set definition). This is an absolute URI that is a reference to ValueSet.url. If multiple value sets are specified this includes the union of the contents of all of the referenced value sets.- Returns:
- An unmodifiable list containing immutable objects of type
Canonicalthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classBackboneElement
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
acceptin interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
toBuilder
public ValueSet.Compose.Include.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element- Specified by:
toBuilderin classBackboneElement
-
builder
public static ValueSet.Compose.Include.Builder builder()
-
-