Class ValueSet.Expansion.Contains
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.type.Element
-
- org.linuxforhealth.fhir.model.type.BackboneElement
-
- org.linuxforhealth.fhir.model.resource.ValueSet.Expansion.Contains
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- ValueSet.Expansion
public static class ValueSet.Expansion.Contains extends BackboneElement
The codes that are contained in the value set expansion.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValueSet.Expansion.Contains.Builder
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static ValueSet.Expansion.Contains.Builderbuilder()booleanequals(java.lang.Object obj)BooleangetAbstract()If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value.CodegetCode()The code for this item in the expansion hierarchy.java.util.List<ValueSet.Expansion.Contains>getContains()Other codes and entries contained under this entry in the hierarchy.java.util.List<ValueSet.Compose.Include.Concept.Designation>getDesignation()Additional representations for this item - other languages, aliases, specialized purposes, used for particular purposes, etc.StringgetDisplay()The recommended display for this item in the expansion.BooleangetInactive()If the concept is inactive in the code system that defines it.UrigetSystem()An absolute URI which is the code system in which the code for this item in the expansion is defined.StringgetVersion()The version of the code system from this code was taken.booleanhasChildren()inthashCode()ValueSet.Expansion.Contains.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
getModifierExtension
-
Methods inherited from class org.linuxforhealth.fhir.model.type.Element
as, getExtension, getId, hasValue, is
-
-
-
-
Method Detail
-
getSystem
public Uri getSystem()
An absolute URI which is the code system in which the code for this item in the expansion is defined.- Returns:
- An immutable object of type
Urithat may be null.
-
getAbstract
public Boolean getAbstract()
If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value.- Returns:
- An immutable object of type
Booleanthat may be null.
-
getInactive
public Boolean getInactive()
If the concept is inactive in the code system that defines it. Inactive codes are those that are no longer to be used, but are maintained by the code system for understanding legacy data. It might not be known or specified whether an concept is inactive (and it may depend on the context of use).- Returns:
- An immutable object of type
Booleanthat may be null.
-
getVersion
public String getVersion()
The version of the code system from this code was taken. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.- Returns:
- An immutable object of type
Stringthat may be null.
-
getCode
public Code getCode()
The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set.- Returns:
- An immutable object of type
Codethat may be null.
-
getDisplay
public String getDisplay()
The recommended display for this item in the expansion.- Returns:
- An immutable object of type
Stringthat may be null.
-
getDesignation
public java.util.List<ValueSet.Compose.Include.Concept.Designation> getDesignation()
Additional representations for this item - other languages, aliases, specialized purposes, used for particular purposes, etc. These are relevant when the conditions of the expansion do not fix to a single correct representation.- Returns:
- An unmodifiable list containing immutable objects of type
Designationthat may be empty.
-
getContains
public java.util.List<ValueSet.Expansion.Contains> getContains()
Other codes and entries contained under this entry in the hierarchy.- Returns:
- An unmodifiable list containing immutable objects of type
ValueSet.Expansion.Containsthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classBackboneElement
-
accept
public void accept(java.lang.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
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toBuilder
public ValueSet.Expansion.Contains.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element- Specified by:
toBuilderin classBackboneElement
-
builder
public static ValueSet.Expansion.Contains.Builder builder()
-
-