public class CodingDt extends BaseCodingDt implements ICompositeDatatype
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(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)
Returns a list containing all child elements matching a given type
|
CodeDt |
getCode()
Gets the value(s) for code (Symbol in syntax defined by the system).
|
StringDt |
getDisplay()
Gets the value(s) for display (Representation defined by the system).
|
BooleanDt |
getPrimary()
Gets the value(s) for primary (If this code was chosen directly by the user).
|
UriDt |
getSystem()
Gets the value(s) for system (Identity of the terminology system).
|
ResourceReferenceDt |
getValueSet()
Gets the value(s) for valueSet (Set this coding was chosen from).
|
StringDt |
getVersion()
Gets the value(s) for version (Version of the system - if relevant).
|
boolean |
isEmpty() |
CodingDt |
setCode(CodeDt theValue)
Sets the value(s) for code (Symbol in syntax defined by the system)
|
CodingDt |
setCode(String theCode)
Sets the value for code (Symbol in syntax defined by the system)
|
CodingDt |
setDisplay(String theString)
Sets the value for display (Representation defined by the system)
|
CodingDt |
setDisplay(StringDt theValue)
Sets the value(s) for display (Representation defined by the system)
|
CodingDt |
setPrimary(boolean theBoolean)
Sets the value for primary (If this code was chosen directly by the user)
|
CodingDt |
setPrimary(BooleanDt theValue)
Sets the value(s) for primary (If this code was chosen directly by the user)
|
CodingDt |
setSystem(String theUri)
Sets the value for system (Identity of the terminology system)
|
CodingDt |
setSystem(UriDt theValue)
Sets the value(s) for system (Identity of the terminology system)
|
CodingDt |
setValueSet(ResourceReferenceDt theValue)
Sets the value(s) for valueSet (Set this coding was chosen from)
|
CodingDt |
setVersion(String theString)
Sets the value for version (Version of the system - if relevant)
|
CodingDt |
setVersion(StringDt theValue)
Sets the value(s) for version (Version of the system - if relevant)
|
getQueryParameterQualifier, getValueAsQueryToken, matchesSystemAndCode, setValueAsQueryTokengetElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic UriDt getSystem()
null.
Definition: The identification of the code system that defines the meaning of the symbol in the code.
getSystem in class BaseCodingDtpublic 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 class BaseCodingDtpublic StringDt 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 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 class BaseCodingDtpublic 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 class BaseCodingDtpublic StringDt getDisplay()
null.
Definition: A representation of the meaning of the code in the system, following the rules of the system.
public 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.
public BooleanDt getPrimary()
null.
Definition: Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
public CodingDt setPrimary(BooleanDt theValue)
Definition: Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
public CodingDt setPrimary(boolean theBoolean)
Definition: Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays)
public ResourceReferenceDt getValueSet()
null.
Definition: The set of possible coded values this coding was chosen from or constrained by
public CodingDt setValueSet(ResourceReferenceDt theValue)
Definition: The set of possible coded values this coding was chosen from or constrained by
Copyright © 2014 University Health Network. All rights reserved.