
Class CodingDt
- All Implemented Interfaces:
 ca.uhn.fhir.model.api.ICompositeDatatype,ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IDatatype,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.IQueryParameterType,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseCoding,org.hl7.fhir.instance.model.api.IBaseDatatype,org.hl7.fhir.instance.model.api.ICompositeType
Definition: A reference to a code defined by a terminology system
Requirements: References to codes are very common in healthcare models
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType(Class<T> theType) getCode()Gets the value(s) for code ().ca.uhn.fhir.model.primitive.CodeDtGets the value(s) for code ().Gets the value(s) for display ().ca.uhn.fhir.model.primitive.StringDtGets the value(s) for display ().Gets the value(s) for system ().ca.uhn.fhir.model.primitive.UriDtGets the value(s) for system ().booleanGets the value(s) for userSelected ().ca.uhn.fhir.model.primitive.BooleanDtGets the value(s) for userSelected ().Gets the value(s) for version ().ca.uhn.fhir.model.primitive.StringDtGets the value(s) for version ().booleanisEmpty()setCode(ca.uhn.fhir.model.primitive.CodeDt theValue) Sets the value(s) for code ()Sets the value for code ()setDisplay(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for display ()setDisplay(String theString) Sets the value for display ()setSystem(ca.uhn.fhir.model.primitive.UriDt theValue) Sets the value(s) for system ()Sets the value for system ()setUserSelected(boolean theBoolean) Sets the value for userSelected ()setUserSelected(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for userSelected ()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.base.composite.BaseCodingDt
getMissing, getQueryParameterQualifier, getValueAsQueryToken, matchesSystemAndCode, matchesToken, setMissing, 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
- 
CodingDt
public CodingDt()Constructor - 
CodingDt
Creates a new Coding with the given system and code - 
CodingDt
Copy constructor: Creates a new Coding with the system and code copied out of the given coding 
 - 
 - 
Method Details
- 
isEmpty
- Specified by:
 isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Specified by:
 isEmptyin interfaceca.uhn.fhir.model.api.IQueryParameterType
 - 
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
Gets the value(s) for 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 classca.uhn.fhir.model.base.composite.BaseCodingDt
 - 
getSystem
Gets the value(s) for system (). creating it if it does not exist. This method may returnnull.Definition: The identification of the code system that defines the meaning of the symbol in the code.
- Specified by:
 getSystemin interfaceorg.hl7.fhir.instance.model.api.IBaseCoding
 - 
setSystem
Sets the value(s) for system ()Definition: The identification of the code system that defines the meaning of the symbol in the code.
 - 
setSystem
Sets the value for system ()Definition: The identification of the code system that defines the meaning of the symbol in the code.
- Specified by:
 setSystemin interfaceorg.hl7.fhir.instance.model.api.IBaseCoding- Specified by:
 setSystemin classca.uhn.fhir.model.base.composite.BaseCodingDt
 - 
getVersionElement
Gets the value(s) for version (). 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 classca.uhn.fhir.model.base.composite.BaseCodingDt
 - 
getVersion
Gets the value(s) for version (). creating it if it does not exist. This method may 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:
 getVersionin interfaceorg.hl7.fhir.instance.model.api.IBaseCoding
 - 
setVersion
Sets the value(s) for version ()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 ()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:
 setVersionin interfaceorg.hl7.fhir.instance.model.api.IBaseCoding
 - 
getCodeElement
Gets the value(s) for code (). 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 classca.uhn.fhir.model.base.composite.BaseCodingDt
 - 
getCode
Gets the value(s) for code (). creating it if it does not exist. This method may 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:
 getCodein interfaceorg.hl7.fhir.instance.model.api.IBaseCoding
 - 
setCode
Sets the value(s) for code ()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 ()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 interfaceorg.hl7.fhir.instance.model.api.IBaseCoding- Specified by:
 setCodein classca.uhn.fhir.model.base.composite.BaseCodingDt
 - 
getDisplayElement
Gets the value(s) for display (). 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 classca.uhn.fhir.model.base.composite.BaseCodingDt
 - 
getDisplay
Gets the value(s) for display (). creating it if it does not exist. This method may returnnull.Definition: A representation of the meaning of the code in the system, following the rules of the system
- Specified by:
 getDisplayin interfaceorg.hl7.fhir.instance.model.api.IBaseCoding
 - 
setDisplay
Sets the value(s) for display ()Definition: A representation of the meaning of the code in the system, following the rules of the system
 - 
setDisplay
Sets the value for display ()Definition: A representation of the meaning of the code in the system, following the rules of the system
- Specified by:
 setDisplayin interfaceorg.hl7.fhir.instance.model.api.IBaseCoding- Specified by:
 setDisplayin classca.uhn.fhir.model.base.composite.BaseCodingDt
 - 
getUserSelectedElement
Gets the value(s) for userSelected (). creating it if it does not exist. Will not returnnull.Definition: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
- Specified by:
 getUserSelectedElementin classca.uhn.fhir.model.base.composite.BaseCodingDt
 - 
getUserSelected
Gets the value(s) for userSelected (). creating it if it does not exist. This method may returnnull.Definition: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
- Specified by:
 getUserSelectedin interfaceorg.hl7.fhir.instance.model.api.IBaseCoding
 - 
setUserSelected
Sets the value(s) for userSelected ()Definition: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
 - 
setUserSelected
Sets the value for userSelected ()Definition: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
- Specified by:
 setUserSelectedin interfaceorg.hl7.fhir.instance.model.api.IBaseCoding
 
 -