
Class InternalCodingDt
- All Implemented Interfaces:
ICompositeDatatype,ICompositeElement,IDatatype,IElement,IIdentifiableElement,IQueryParameterType,ISupportsUndeclaredExtensions,Serializable,IBase,IBaseDatatype,ICompositeType
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorInternalCodingDt(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). creating it if it does not exist.Gets the value(s) for display (Representation defined by the system). creating it if it does not exist.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). creating it if it does not exist.Gets the value(s) for system (Identity of the terminology system). creating it if it does not exist.Gets the value(s) for valueSet (Set this coding was chosen from). creating it if it does not exist.Deprecated.Gets the value(s) for version (Version of the system - if relevant). creating it if it does not exist.booleanisEmpty()Return true if this parameter has no valueSets 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, setValueAsQueryTokenMethods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setIdMethods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface ca.uhn.fhir.model.api.IQueryParameterType
getValueAsQueryToken
-
Constructor Details
-
InternalCodingDt
public InternalCodingDt()Constructor -
InternalCodingDt
Creates a new Coding with the given system and code
-
-
Method Details
-
isEmpty
Description copied from interface:IQueryParameterTypeReturn true if this parameter has no value- Specified by:
isEmptyin interfaceIBase- Specified by:
isEmptyin interfaceIQueryParameterType
-
getAllPopulatedChildElementsOfType
@Deprecated public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) Deprecated.Description copied from interface:ICompositeElementReturns a list containing all child elements matching a given type- Specified by:
getAllPopulatedChildElementsOfTypein 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:
getSystemElementin 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:
setSystemin 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:
getVersionElementin classBaseCodingDt
-
getUserSelectedElement
- Specified by:
getUserSelectedElementin 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:
getCodeElementin 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:
setCodein 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:
setDisplayin 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:BaseCodingDtGets 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:
getDisplayElementin classBaseCodingDt
-
getMissing
Deprecated.Description copied from class:BaseCodingDtNot supported!- Specified by:
getMissingin interfaceIQueryParameterType- Overrides:
getMissingin classBaseCodingDt
-
setMissing
Deprecated.Description copied from class:BaseCodingDtNot supported!- Specified by:
setMissingin interfaceIQueryParameterType- Overrides:
setMissingin classBaseCodingDt- Returns:
- Returns a reference to
thisfor easier method chaining
-