@Embeddable public class CodedOrFreeText extends Object
Obs
. Constructor and Description |
---|
CodedOrFreeText() |
CodedOrFreeText(Concept coded,
ConceptName specificName,
String nonCoded)
Convenience constructor with concept, concept name and manually written concept name to save
|
Modifier and Type | Method and Description |
---|---|
Concept |
getCoded()
Gets the coded concept
|
String |
getNonCoded()
Gets the manually written string name of the concept
|
ConceptName |
getSpecificName()
Gets the specific name of the coded concept
|
void |
setCoded(Concept coded)
Sets the coded concept
|
void |
setNonCoded(String nonCoded)
Sets the manually written string concept name
|
void |
setSpecificName(ConceptName specificName)
Sets the specific name
|
public CodedOrFreeText()
public CodedOrFreeText(Concept coded, ConceptName specificName, String nonCoded)
coded
- the coded concept to setspecificName
- the specific name of the coded concept to setnonCoded
- the manually written string name of the concept to setpublic Concept getCoded()
public void setCoded(Concept coded)
coded
- the coded concept to set.public ConceptName getSpecificName()
public void setSpecificName(ConceptName specificName)
specificName
- the specific name of the coded concept to set.public String getNonCoded()
public void setNonCoded(String nonCoded)
nonCoded
- the manually written string name of the concept to set.Copyright © 2024 OpenMRS Inc.. All rights reserved.