Class ValueSet.CodeSystemConcept
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.ValueSet.CodeSystemConcept
-
- 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.CodeSystemConcept extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: ValueSet.codeSystem.concept ()Definition: Concepts that are in the code system. The concept definitions are inherently hierarchical, but the definitions must be consulted to determine what the meaning of the hierarchical relationships are
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CodeSystemConcept()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueSet.CodeSystemConceptaddConcept()Adds and returns a new value for concept ()ValueSet.CodeSystemConceptaddConcept(ValueSet.CodeSystemConcept theValue)Adds a given new value for concept ()ValueSet.CodeSystemConceptDesignationaddDesignation()Adds and returns a new value for designation ()ValueSet.CodeSystemConceptaddDesignation(ValueSet.CodeSystemConceptDesignation theValue)Adds a given new value for designation ()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.CodeSystemConcept>getConcept()Gets the value(s) for concept ().ValueSet.CodeSystemConceptgetConceptFirstRep()Gets the first repetition for concept (), creating it if it does not already exist.StringgetDefinition()Gets the value(s) for definition ().ca.uhn.fhir.model.primitive.StringDtgetDefinitionElement()Gets the value(s) for definition ().List<ValueSet.CodeSystemConceptDesignation>getDesignation()Gets the value(s) for designation ().ValueSet.CodeSystemConceptDesignationgetDesignationFirstRep()Gets the first repetition for designation (), 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 ().booleanisEmpty()ValueSet.CodeSystemConceptsetAbstract(boolean theBoolean)Sets the value for abstract ()ValueSet.CodeSystemConceptsetAbstract(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for abstract ()ValueSet.CodeSystemConceptsetCode(ca.uhn.fhir.model.primitive.CodeDt theValue)Sets the value(s) for code ()ValueSet.CodeSystemConceptsetCode(String theCode)Sets the value for code ()ValueSet.CodeSystemConceptsetConcept(List<ValueSet.CodeSystemConcept> theValue)Sets the value(s) for concept ()ValueSet.CodeSystemConceptsetDefinition(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for definition ()ValueSet.CodeSystemConceptsetDefinition(String theString)Sets the value for definition ()ValueSet.CodeSystemConceptsetDesignation(List<ValueSet.CodeSystemConceptDesignation> theValue)Sets the value(s) for designation ()ValueSet.CodeSystemConceptsetDisplay(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for display ()ValueSet.CodeSystemConceptsetDisplay(String theString)Sets the value for display ()-
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
-
CodeSystemConcept
public CodeSystemConcept()
-
-
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
-
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: A code - a text symbol - that uniquely identifies the concept within the code system
-
getCode
public String getCode()
Gets the value(s) for code (). creating it if it does not exist. This method may returnnull.Definition: A code - a text symbol - that uniquely identifies the concept within the code system
-
setCode
public ValueSet.CodeSystemConcept setCode(ca.uhn.fhir.model.primitive.CodeDt theValue)
Sets the value(s) for code ()Definition: A code - a text symbol - that uniquely identifies the concept within the code system
-
setCode
public ValueSet.CodeSystemConcept setCode(String theCode)
Sets the value for code ()Definition: A code - a text symbol - that uniquely identifies the concept within the code system
-
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 this code is not for use as a real concept
-
getAbstract
public Boolean getAbstract()
Gets the value(s) for abstract (). creating it if it does not exist. This method may returnnull.Definition: If this code is not for use as a real concept
-
setAbstract
public ValueSet.CodeSystemConcept setAbstract(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for abstract ()Definition: If this code is not for use as a real concept
-
setAbstract
public ValueSet.CodeSystemConcept setAbstract(boolean theBoolean)
Sets the value for abstract ()Definition: If this code is not for use as a real concept
-
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: A human readable string that is the recommended default way to present this concept to a user
-
getDisplay
public String getDisplay()
Gets the value(s) for display (). creating it if it does not exist. This method may returnnull.Definition: A human readable string that is the recommended default way to present this concept to a user
-
setDisplay
public ValueSet.CodeSystemConcept setDisplay(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for display ()Definition: A human readable string that is the recommended default way to present this concept to a user
-
setDisplay
public ValueSet.CodeSystemConcept setDisplay(String theString)
Sets the value for display ()Definition: A human readable string that is the recommended default way to present this concept to a user
-
getDefinitionElement
public ca.uhn.fhir.model.primitive.StringDt getDefinitionElement()
Gets the value(s) for definition (). creating it if it does not exist. Will not returnnull.Definition: The formal definition of the concept. The value set resource does not make formal definitions required, because of the prevalence of legacy systems. However, they are highly recommended, as without them there is no formal meaning associated with the concept
-
getDefinition
public String getDefinition()
Gets the value(s) for definition (). creating it if it does not exist. This method may returnnull.Definition: The formal definition of the concept. The value set resource does not make formal definitions required, because of the prevalence of legacy systems. However, they are highly recommended, as without them there is no formal meaning associated with the concept
-
setDefinition
public ValueSet.CodeSystemConcept setDefinition(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for definition ()Definition: The formal definition of the concept. The value set resource does not make formal definitions required, because of the prevalence of legacy systems. However, they are highly recommended, as without them there is no formal meaning associated with the concept
-
setDefinition
public ValueSet.CodeSystemConcept setDefinition(String theString)
Sets the value for definition ()Definition: The formal definition of the concept. The value set resource does not make formal definitions required, because of the prevalence of legacy systems. However, they are highly recommended, as without them there is no formal meaning associated with the concept
-
getDesignation
public List<ValueSet.CodeSystemConceptDesignation> getDesignation()
Gets the value(s) for designation (). creating it if it does not exist. Will not returnnull.Definition: Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc.
-
setDesignation
public ValueSet.CodeSystemConcept setDesignation(List<ValueSet.CodeSystemConceptDesignation> theValue)
Sets the value(s) for designation ()Definition: Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc.
-
addDesignation
public ValueSet.CodeSystemConceptDesignation addDesignation()
Adds and returns a new value for designation ()Definition: Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc.
-
addDesignation
public ValueSet.CodeSystemConcept addDesignation(ValueSet.CodeSystemConceptDesignation theValue)
Adds a given new value for designation ()Definition: Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc.
- Parameters:
theValue- The designation to add (must not benull)
-
getDesignationFirstRep
public ValueSet.CodeSystemConceptDesignation getDesignationFirstRep()
Gets the first repetition for designation (), creating it if it does not already exist.Definition: Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc.
-
getConcept
public List<ValueSet.CodeSystemConcept> getConcept()
Gets the value(s) for concept (). creating it if it does not exist. Will not returnnull.Definition: Defines children of a concept to produce a hierarchy of concepts. The nature of the relationships is variable (is-a/contains/categorizes) and can only be determined by examining the definitions of the concepts
-
setConcept
public ValueSet.CodeSystemConcept setConcept(List<ValueSet.CodeSystemConcept> theValue)
Sets the value(s) for concept ()Definition: Defines children of a concept to produce a hierarchy of concepts. The nature of the relationships is variable (is-a/contains/categorizes) and can only be determined by examining the definitions of the concepts
-
addConcept
public ValueSet.CodeSystemConcept addConcept()
Adds and returns a new value for concept ()Definition: Defines children of a concept to produce a hierarchy of concepts. The nature of the relationships is variable (is-a/contains/categorizes) and can only be determined by examining the definitions of the concepts
-
addConcept
public ValueSet.CodeSystemConcept addConcept(ValueSet.CodeSystemConcept theValue)
Adds a given new value for concept ()Definition: Defines children of a concept to produce a hierarchy of concepts. The nature of the relationships is variable (is-a/contains/categorizes) and can only be determined by examining the definitions of the concepts
- Parameters:
theValue- The concept to add (must not benull)
-
getConceptFirstRep
public ValueSet.CodeSystemConcept getConceptFirstRep()
Gets the first repetition for concept (), creating it if it does not already exist.Definition: Defines children of a concept to produce a hierarchy of concepts. The nature of the relationships is variable (is-a/contains/categorizes) and can only be determined by examining the definitions of the concepts
-
-