Class ValueSet.CodeSystem
- 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
Definition: A definition of a code system, inlined into the value set (as a packaging convenience). Note that the inline code system may be used from other value sets by referring to its (codeSystem.system) directly
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for concept ()addConcept
(ValueSet.CodeSystemConcept theValue) Adds a given new value for concept ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for caseSensitive ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for caseSensitive ().Gets the value(s) for concept ().Gets the first repetition for concept (), creating it if it does not already exist.Gets the value(s) for system ().ca.uhn.fhir.model.primitive.UriDt
Gets the value(s) for system ().Gets the value(s) for version ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for version ().boolean
isEmpty()
setCaseSensitive
(boolean theBoolean) Sets the value for caseSensitive ()setCaseSensitive
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for caseSensitive ()setConcept
(List<ValueSet.CodeSystemConcept> theValue) Sets the value(s) for concept ()setSystem
(ca.uhn.fhir.model.primitive.UriDt theValue) Sets the value(s) for system ()Sets the value for system ()setVersion
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for version ()setVersion
(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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
CodeSystem
public CodeSystem()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getSystemElement
Gets the value(s) for system (). creating it if it does not exist. Will not returnnull
.Definition: An absolute URI that is used to reference this code system, including in [Coding]{datatypes.html#Coding}.system
-
getSystem
Gets the value(s) for system (). creating it if it does not exist. This method may returnnull
.Definition: An absolute URI that is used to reference this code system, including in [Coding]{datatypes.html#Coding}.system
-
setSystem
Sets the value(s) for system ()Definition: An absolute URI that is used to reference this code system, including in [Coding]{datatypes.html#Coding}.system
-
setSystem
Sets the value for system ()Definition: An absolute URI that is used to reference this code system, including in [Coding]{datatypes.html#Coding}.system
-
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 defines the codes. Note that the version is optional because a well maintained code system does not suffer from versioning, and therefore the version does not need to be maintained. However many code systems are not well maintained, and the version needs to be defined and tracked
-
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 defines the codes. Note that the version is optional because a well maintained code system does not suffer from versioning, and therefore the version does not need to be maintained. However many code systems are not well maintained, and the version needs to be defined and tracked
-
setVersion
Sets the value(s) for version ()Definition: The version of this code system that defines the codes. Note that the version is optional because a well maintained code system does not suffer from versioning, and therefore the version does not need to be maintained. However many code systems are not well maintained, and the version needs to be defined and tracked
-
setVersion
Sets the value for version ()Definition: The version of this code system that defines the codes. Note that the version is optional because a well maintained code system does not suffer from versioning, and therefore the version does not need to be maintained. However many code systems are not well maintained, and the version needs to be defined and tracked
-
getCaseSensitiveElement
Gets the value(s) for caseSensitive (). creating it if it does not exist. Will not returnnull
.Definition: If code comparison is case sensitive when codes within this system are compared to each other
-
getCaseSensitive
Gets the value(s) for caseSensitive (). creating it if it does not exist. This method may returnnull
.Definition: If code comparison is case sensitive when codes within this system are compared to each other
-
setCaseSensitive
Sets the value(s) for caseSensitive ()Definition: If code comparison is case sensitive when codes within this system are compared to each other
-
setCaseSensitive
Sets the value for caseSensitive ()Definition: If code comparison is case sensitive when codes within this system are compared to each other
-
getConcept
Gets the value(s) for concept (). creating it if it does not exist. Will not returnnull
.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
-
setConcept
Sets the value(s) for 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
-
addConcept
Adds and returns a new value for 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
-
addConcept
Adds a given new value for 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
- Parameters:
theValue
- The concept to add (must not benull
)
-
getConceptFirstRep
Gets the first repetition for concept (), creating it if it does not already exist.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
-