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 ()
|
CodeableConceptDt |
addCoding(CodingDt theValue)
Adds a given new value for coding ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
List<CodingDt> |
getCoding()
Gets the value(s) for coding ().
|
CodingDt |
getCodingFirstRep()
Gets the first repetition for coding (),
creating it if it does not already exist.
|
String |
getText()
Gets the value(s) for text ().
|
StringDt |
getTextElement()
Gets the value(s) for text ().
|
boolean |
isEmpty() |
CodeableConceptDt |
setCoding(List<CodingDt> theValue)
Sets the value(s) for coding ()
|
CodeableConceptDt |
setText(String theString)
Sets the value for text ()
|
CodeableConceptDt |
setText(StringDt theValue)
Sets the value(s) for text ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic CodeableConceptDt()
public CodeableConceptDt(String theSystem, String theCode)
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic 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 CodeableConceptDt addCoding(CodingDt theValue)
Definition: A reference to a code defined by a terminology system
theValue - The coding to add (must not be null)public CodingDt getCodingFirstRep()
Definition: A reference to a code defined by a terminology system
public StringDt getTextElement()
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 String 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–2016 University Health Network. All rights reserved.