Class ValueSet.ExpansionContains
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.ValueSet.ExpansionContains
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.IResourceBlock,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
- ValueSet
public static class ValueSet.ExpansionContains extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: ValueSet.expansion.contains ()Definition: The codes that are contained in the value set expansion
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExpansionContains()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueSet.ExpansionContainsaddContains()Adds and returns a new value for contains ()ValueSet.ExpansionContainsaddContains(ValueSet.ExpansionContains theValue)Adds a given new value for contains ()BooleangetAbstract()Gets the value(s) for abstract ().ca.uhn.fhir.model.primitive.BooleanDtgetAbstractElement()Gets the value(s) for abstract ().<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetCode()Gets the value(s) for code ().ca.uhn.fhir.model.primitive.CodeDtgetCodeElement()Gets the value(s) for code ().List<ValueSet.ExpansionContains>getContains()Gets the value(s) for contains ().ValueSet.ExpansionContainsgetContainsFirstRep()Gets the first repetition for contains (), creating it if it does not already exist.StringgetDisplay()Gets the value(s) for display ().ca.uhn.fhir.model.primitive.StringDtgetDisplayElement()Gets the value(s) for display ().StringgetSystem()Gets the value(s) for system ().ca.uhn.fhir.model.primitive.UriDtgetSystemElement()Gets the value(s) for system ().StringgetVersion()Gets the value(s) for version ().ca.uhn.fhir.model.primitive.StringDtgetVersionElement()Gets the value(s) for version ().booleanisEmpty()ValueSet.ExpansionContainssetAbstract(boolean theBoolean)Sets the value for abstract ()ValueSet.ExpansionContainssetAbstract(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for abstract ()ValueSet.ExpansionContainssetCode(ca.uhn.fhir.model.primitive.CodeDt theValue)Sets the value(s) for code ()ValueSet.ExpansionContainssetCode(String theCode)Sets the value for code ()ValueSet.ExpansionContainssetContains(List<ValueSet.ExpansionContains> theValue)Sets the value(s) for contains ()ValueSet.ExpansionContainssetDisplay(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for display ()ValueSet.ExpansionContainssetDisplay(String theString)Sets the value for display ()ValueSet.ExpansionContainssetSystem(ca.uhn.fhir.model.primitive.UriDt theValue)Sets the value(s) for system ()ValueSet.ExpansionContainssetSystem(String theUri)Sets the value for system ()ValueSet.ExpansionContainssetVersion(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for version ()ValueSet.ExpansionContainssetVersion(String theString)Sets the value for version ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
ExpansionContains
public ExpansionContains()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getSystemElement
public ca.uhn.fhir.model.primitive.UriDt getSystemElement()
Gets the value(s) for system (). creating it if it does not exist. Will not returnnull.Definition: An absolute URI which is the code system in which the code for this item in the expansion is defined
-
getSystem
public String getSystem()
Gets the value(s) for system (). creating it if it does not exist. This method may returnnull.Definition: An absolute URI which is the code system in which the code for this item in the expansion is defined
-
setSystem
public ValueSet.ExpansionContains setSystem(ca.uhn.fhir.model.primitive.UriDt theValue)
Sets the value(s) for system ()Definition: An absolute URI which is the code system in which the code for this item in the expansion is defined
-
setSystem
public ValueSet.ExpansionContains setSystem(String theUri)
Sets the value for system ()Definition: An absolute URI which is the code system in which the code for this item in the expansion is defined
-
getAbstractElement
public ca.uhn.fhir.model.primitive.BooleanDt getAbstractElement()
Gets the value(s) for abstract (). creating it if it does not exist. Will not returnnull.Definition: If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value
-
getAbstract
public Boolean getAbstract()
Gets the value(s) for abstract (). creating it if it does not exist. This method may returnnull.Definition: If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value
-
setAbstract
public ValueSet.ExpansionContains setAbstract(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for abstract ()Definition: If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value
-
setAbstract
public ValueSet.ExpansionContains setAbstract(boolean theBoolean)
Sets the value for abstract ()Definition: If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value
-
getVersionElement
public ca.uhn.fhir.model.primitive.StringDt getVersionElement()
Gets the value(s) for version (). creating it if it does not exist. Will not returnnull.Definition: The version of this code system that defined this code and/or display. This should only be used with code systems that do not enforce concept permanence
-
getVersion
public String getVersion()
Gets the value(s) for version (). creating it if it does not exist. This method may returnnull.Definition: The version of this code system that defined this code and/or display. This should only be used with code systems that do not enforce concept permanence
-
setVersion
public ValueSet.ExpansionContains setVersion(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for version ()Definition: The version of this code system that defined this code and/or display. This should only be used with code systems that do not enforce concept permanence
-
setVersion
public ValueSet.ExpansionContains setVersion(String theString)
Sets the value for version ()Definition: The version of this code system that defined this code and/or display. This should only be used with code systems that do not enforce concept permanence
-
getCodeElement
public ca.uhn.fhir.model.primitive.CodeDt getCodeElement()
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull.Definition: 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
-
getCode
public String getCode()
Gets the value(s) for code (). creating it if it does not exist. This method may returnnull.Definition: 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
-
setCode
public ValueSet.ExpansionContains setCode(ca.uhn.fhir.model.primitive.CodeDt theValue)
Sets the value(s) for code ()Definition: 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
-
setCode
public ValueSet.ExpansionContains setCode(String theCode)
Sets the value for code ()Definition: 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
-
getDisplayElement
public ca.uhn.fhir.model.primitive.StringDt getDisplayElement()
Gets the value(s) for display (). creating it if it does not exist. Will not returnnull.Definition: The recommended display for this item in the expansion
-
getDisplay
public String getDisplay()
Gets the value(s) for display (). creating it if it does not exist. This method may returnnull.Definition: The recommended display for this item in the expansion
-
setDisplay
public ValueSet.ExpansionContains setDisplay(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for display ()Definition: The recommended display for this item in the expansion
-
setDisplay
public ValueSet.ExpansionContains setDisplay(String theString)
Sets the value for display ()Definition: The recommended display for this item in the expansion
-
getContains
public List<ValueSet.ExpansionContains> getContains()
Gets the value(s) for contains (). creating it if it does not exist. Will not returnnull.Definition: Other codes and entries contained under this entry in the hierarchy
-
setContains
public ValueSet.ExpansionContains setContains(List<ValueSet.ExpansionContains> theValue)
Sets the value(s) for contains ()Definition: Other codes and entries contained under this entry in the hierarchy
-
addContains
public ValueSet.ExpansionContains addContains()
Adds and returns a new value for contains ()Definition: Other codes and entries contained under this entry in the hierarchy
-
addContains
public ValueSet.ExpansionContains addContains(ValueSet.ExpansionContains theValue)
Adds a given new value for contains ()Definition: Other codes and entries contained under this entry in the hierarchy
- Parameters:
theValue- The contains to add (must not benull)
-
getContainsFirstRep
public ValueSet.ExpansionContains getContainsFirstRep()
Gets the first repetition for contains (), creating it if it does not already exist.Definition: Other codes and entries contained under this entry in the hierarchy
-
-