public class CodingDt extends BaseCodingDt implements ICompositeDatatype, IBaseCoding
Definition: A reference to a code defined by a terminology system
Requirements: References to codes are very common in healthcare models
| Constructor and Description |
|---|
CodingDt()
Constructor
|
CodingDt(BaseCodingDt theCoding)
Copy constructor: Creates a new Coding with the system and code copied out of the given coding
|
CodingDt(String theSystem,
String theCode)
Creates a new Coding with the given system and code
|
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
String |
getCode()
Gets the value(s) for code ().
|
CodeDt |
getCodeElement()
Gets the value(s) for code ().
|
String |
getDisplay()
Gets the value(s) for display ().
|
StringDt |
getDisplayElement()
Gets the value(s) for display ().
|
String |
getSystem()
Gets the value(s) for system ().
|
UriDt |
getSystemElement()
Gets the value(s) for system ().
|
Boolean |
getUserSelected()
Gets the value(s) for userSelected ().
|
BooleanDt |
getUserSelectedElement()
Gets the value(s) for userSelected ().
|
String |
getVersion()
Gets the value(s) for version ().
|
StringDt |
getVersionElement()
Gets the value(s) for version ().
|
boolean |
isEmpty() |
CodingDt |
setCode(CodeDt theValue)
Sets the value(s) for code ()
|
CodingDt |
setCode(String theCode)
Sets the value for code ()
|
CodingDt |
setDisplay(String theString)
Sets the value for display ()
|
CodingDt |
setDisplay(StringDt theValue)
Sets the value(s) for display ()
|
CodingDt |
setSystem(String theUri)
Sets the value for system ()
|
CodingDt |
setSystem(UriDt theValue)
Sets the value(s) for system ()
|
CodingDt |
setUserSelected(boolean theBoolean)
Sets the value for userSelected ()
|
CodingDt |
setUserSelected(BooleanDt theValue)
Sets the value(s) for userSelected ()
|
CodingDt |
setVersion(String theString)
Sets the value for version ()
|
CodingDt |
setVersion(StringDt theValue)
Sets the value(s) for version ()
|
getMissing, getQueryParameterQualifier, getValueAsQueryToken, matchesSystemAndCode, matchesToken, setMissing, setValueAsQueryTokengetElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic CodingDt()
public CodingDt(String theSystem, String theCode)
public CodingDt(BaseCodingDt theCoding)
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic UriDt getSystemElement()
null.
Definition: The identification of the code system that defines the meaning of the symbol in the code.
getSystemElement in class BaseCodingDtpublic String getSystem()
null.
Definition: The identification of the code system that defines the meaning of the symbol in the code.
getSystem in interface IBaseCodingpublic CodingDt setSystem(UriDt theValue)
Definition: The identification of the code system that defines the meaning of the symbol in the code.
public CodingDt setSystem(String theUri)
Definition: The identification of the code system that defines the meaning of the symbol in the code.
setSystem in interface IBaseCodingsetSystem in class BaseCodingDtpublic StringDt getVersionElement()
null.
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
public String getVersion()
null.
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
public CodingDt setVersion(StringDt theValue)
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
public CodingDt setVersion(String theString)
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
public CodeDt getCodeElement()
null.
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)
getCodeElement in class BaseCodingDtpublic String getCode()
null.
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)
getCode in interface IBaseCodingpublic CodingDt setCode(CodeDt theValue)
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)
public CodingDt setCode(String theCode)
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 in interface IBaseCodingsetCode in class BaseCodingDtpublic StringDt getDisplayElement()
null.
Definition: A representation of the meaning of the code in the system, following the rules of the system
getDisplayElement in class BaseCodingDtpublic String getDisplay()
null.
Definition: A representation of the meaning of the code in the system, following the rules of the system
getDisplay in interface IBaseCodingpublic CodingDt setDisplay(StringDt theValue)
Definition: A representation of the meaning of the code in the system, following the rules of the system
public CodingDt setDisplay(String theString)
Definition: A representation of the meaning of the code in the system, following the rules of the system
setDisplay in interface IBaseCodingsetDisplay in class BaseCodingDtpublic BooleanDt getUserSelectedElement()
null.
Definition: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
public Boolean getUserSelected()
null.
Definition: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
public CodingDt setUserSelected(BooleanDt theValue)
Definition: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
public CodingDt setUserSelected(boolean theBoolean)
Definition: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
Copyright © 2014–2016 University Health Network. All rights reserved.