public class CodeableConceptDt extends BaseIdentifiableElement implements ICompositeDatatype
Definition: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text
Requirements: This is a common pattern in healthcare - a concept that may be defined by one or more codes from formal definitions including LOINC and SNOMED CT, and/or defined by the provision of text that captures a human sense of the concept
| Constructor and Description |
|---|
CodeableConceptDt()
Constructor
|
CodeableConceptDt(String theSystem,
String theCode)
Constructor which creates a CodeableConceptDt with one coding repetition, containing
the given system and code
|
| Modifier and Type | Method and Description |
|---|---|
CodingDt |
addCoding()
Adds and returns a new value for coding (Code defined by a terminology system)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
List<CodingDt> |
getCoding()
Gets the value(s) for coding (Code defined by a terminology system).
|
CodingDt |
getCodingFirstRep()
Gets the first repetition for coding (Code defined by a terminology system),
creating it if it does not already exist.
|
StringDt |
getText()
Gets the value(s) for text (Plain text representation of the concept).
|
boolean |
isEmpty() |
CodeableConceptDt |
setCoding(List<CodingDt> theValue)
Sets the value(s) for coding (Code defined by a terminology system)
|
CodeableConceptDt |
setText(String theString)
Sets the value for text (Plain text representation of the concept)
|
CodeableConceptDt |
setText(StringDt theValue)
Sets the value(s) for text (Plain text representation of the concept)
|
getElementSpecificId, 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 List<CodingDt> getCoding()
null.
Definition: A reference to a code defined by a terminology system
public CodeableConceptDt setCoding(List<CodingDt> theValue)
Definition: A reference to a code defined by a terminology system
public CodingDt addCoding()
Definition: A reference to a code defined by a terminology system
public CodingDt getCodingFirstRep()
Definition: A reference to a code defined by a terminology system
public StringDt getText()
null.
Definition: A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user
public CodeableConceptDt setText(StringDt theValue)
Definition: A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user
public CodeableConceptDt setText(String theString)
Definition: A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user
Copyright © 2014 University Health Network. All rights reserved.