public class BoundCodeableConceptDt<T extends Enum<?>> extends CodeableConceptDt implements IBoundCodeableConcept
| Constructor and Description |
|---|
BoundCodeableConceptDt()
Deprecated.
This constructor is provided only for serialization support. Do not call it directly!
|
BoundCodeableConceptDt(IValueSetEnumBinder<T> theBinder)
Constructor
|
BoundCodeableConceptDt(IValueSetEnumBinder<T> theBinder,
Collection<T> theValues)
Constructor
|
BoundCodeableConceptDt(IValueSetEnumBinder<T> theBinder,
T theValue)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Set<T> |
getValueAsEnum()
Loops through the
codings in this codeable concept
and returns the first bound enumerated type that matches. |
void |
setValueAsEnum(Collection<T> theValues)
Sets the
CodeableConceptDt.getCoding() to contain a coding with the code and
system defined by the given enumerated types, AND clearing any existing
codings first. |
void |
setValueAsEnum(T theValue)
Sets the
CodeableConceptDt.getCoding() to contain a coding with the code and
system defined by the given enumerated type, AND clearing any existing
codings first. |
addCoding, addCoding, getAllPopulatedChildElementsOfType, getCoding, getCodingFirstRep, getText, getTextElement, isEmpty, setCoding, setText, setTextgetElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmpty@Deprecated public BoundCodeableConceptDt()
public BoundCodeableConceptDt(IValueSetEnumBinder<T> theBinder)
public BoundCodeableConceptDt(IValueSetEnumBinder<T> theBinder, T theValue)
public BoundCodeableConceptDt(IValueSetEnumBinder<T> theBinder, Collection<T> theValues)
public void setValueAsEnum(Collection<T> theValues)
CodeableConceptDt.getCoding() to contain a coding with the code and
system defined by the given enumerated types, AND clearing any existing
codings first. If theValue is null, existing codings are cleared and no
codings are added.theValues - The value to add, or nullpublic void setValueAsEnum(T theValue)
CodeableConceptDt.getCoding() to contain a coding with the code and
system defined by the given enumerated type, AND clearing any existing
codings first. If theValue is null, existing codings are cleared and no
codings are added.theValue - The value to add, or nullpublic Set<T> getValueAsEnum()
codings in this codeable concept
and returns the first bound enumerated type that matches. Use
caution using this method, see the return description for more
information.null if none
are found. Note that a null return value doesn't neccesarily
imply that this Codeable Concept has no codes, only that it has
no codes that match the enum.Copyright © 2014–2016 University Health Network. All rights reserved.