Class InternalCodingDt
- All Implemented Interfaces:
ICompositeDatatype
,ICompositeElement
,IDatatype
,IElement
,IIdentifiableElement
,IQueryParameterType
,ISupportsUndeclaredExtensions
,Serializable
,IBase
,IBaseDatatype
,ICompositeType
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructorInternalCodingDt
(String theSystem, String theCode) Creates a new Coding with the given system and code -
Method Summary
Modifier and TypeMethodDescriptiongetAllPopulatedChildElementsOfType
(Class<T> theType) Deprecated.Gets the value(s) for code (Symbol in syntax defined by the system).Gets the value(s) for display (Representation defined by the system).Gets the value(s) for display (Representation defined by the system).Deprecated.Gets the value(s) for primary (If this code was chosen directly by the user).Gets the value(s) for system (Identity of the terminology system).Gets the value(s) for valueSet (Set this coding was chosen from).Deprecated.Gets the value(s) for version (Version of the system - if relevant).boolean
isEmpty()
Sets the value(s) for code (Symbol in syntax defined by the system)Sets the value for code (Symbol in syntax defined by the system)setDisplay
(StringDt theValue) Sets the value(s) for display (Representation defined by the system)setDisplay
(String theString) Sets the value for display (Representation defined by the system)setMissing
(Boolean theMissing) Deprecated.setPrimary
(boolean theBoolean) Sets the value for primary (If this code was chosen directly by the user)setPrimary
(BooleanDt theValue) Sets the value(s) for primary (If this code was chosen directly by the user)Sets the value(s) for system (Identity of the terminology system)Sets the value for system (Identity of the terminology system)setVersion
(StringDt theValue) Sets the value(s) for version (Version of the system - if relevant)setVersion
(String theString) Sets the value for version (Version of the system - if relevant)Methods inherited from class ca.uhn.fhir.model.base.composite.BaseCodingDt
getQueryParameterQualifier, getValueAsQueryToken, matchesSystemAndCode, matchesToken, setValueAsQueryToken
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
-
Constructor Details
-
InternalCodingDt
public InternalCodingDt()Constructor -
InternalCodingDt
Creates a new Coding with the given system and code
-
-
Method Details
-
isEmpty
-
getAllPopulatedChildElementsOfType
@Deprecated public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) Deprecated.Description copied from interface:ICompositeElement
Returns a list containing all child elements matching a given type- Specified by:
getAllPopulatedChildElementsOfType
in interfaceICompositeElement
- Parameters:
theType
- The type to match. If set to null, all child elements will be returned
-
getSystemElement
Gets the value(s) for system (Identity of the terminology system). creating it if it does not exist. Will not returnnull
.Definition: The identification of the code system that defines the meaning of the symbol in the code.
- Specified by:
getSystemElement
in classBaseCodingDt
-
setSystem
Sets the value(s) for system (Identity of the terminology system)Definition: The identification of the code system that defines the meaning of the symbol in the code.
-
setSystem
Sets the value for system (Identity of the terminology system)Definition: The identification of the code system that defines the meaning of the symbol in the code.
- Specified by:
setSystem
in classBaseCodingDt
-
getVersionElement
Gets the value(s) for version (Version of the system - if relevant). creating it if it does not exist. Will not returnnull
.Definition: The version of the code system which was used when choosing this code. 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
- Specified by:
getVersionElement
in classBaseCodingDt
-
getUserSelectedElement
- Specified by:
getUserSelectedElement
in classBaseCodingDt
-
getVersion
Deprecated.Legacy name forgetVersionElement()
-
setVersion
Sets the value(s) for version (Version of the system - if relevant)Definition: The version of the code system which was used when choosing this code. 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
-
setVersion
Sets the value for version (Version of the system - if relevant)Definition: The version of the code system which was used when choosing this code. 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
-
getCodeElement
Gets the value(s) for code (Symbol in syntax defined by the system). creating it if it does not exist. Will not returnnull
.Definition: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)
- Specified by:
getCodeElement
in classBaseCodingDt
-
setCode
Sets the value(s) for code (Symbol in syntax defined by the system)Definition: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)
-
setCode
Sets the value for code (Symbol in syntax defined by the system)Definition: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)
- Specified by:
setCode
in classBaseCodingDt
-
getDisplay
Gets the value(s) for display (Representation defined by the system). creating it if it does not exist. Will not returnnull
.Definition: A representation of the meaning of the code in the system, following the rules of the system.
-
setDisplay
Sets the value(s) for display (Representation defined by the system)Definition: A representation of the meaning of the code in the system, following the rules of the system.
-
setDisplay
Sets the value for display (Representation defined by the system)Definition: A representation of the meaning of the code in the system, following the rules of the system.
- Specified by:
setDisplay
in classBaseCodingDt
-
getPrimary
Gets the value(s) for primary (If this code was chosen directly by the user). creating it if it does not exist. Will not returnnull
.Definition: Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
-
setPrimary
Sets the value(s) for primary (If this code was chosen directly by the user)Definition: Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
-
setPrimary
Sets the value for primary (If this code was chosen directly by the user)Definition: Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
-
getValueSet
Gets the value(s) for valueSet (Set this coding was chosen from). creating it if it does not exist. Will not returnnull
.Definition: The set of possible coded values this coding was chosen from or constrained by
-
getDisplayElement
Description copied from class:BaseCodingDt
Gets the value(s) for display (Representation defined by the system). creating it if it does not exist. Will not returnnull
.Definition: A representation of the meaning of the code in the system, following the rules of the system.
- Specified by:
getDisplayElement
in classBaseCodingDt
-
getMissing
Deprecated.Description copied from class:BaseCodingDt
Not supported!- Specified by:
getMissing
in interfaceIQueryParameterType
- Overrides:
getMissing
in classBaseCodingDt
-
setMissing
Deprecated.Description copied from class:BaseCodingDt
Not supported!- Specified by:
setMissing
in interfaceIQueryParameterType
- Overrides:
setMissing
in classBaseCodingDt
- Returns:
- Returns a reference to
this
for easier method chaining
-