Class CodedValue
- java.lang.Object
-
- org.somda.sdc.biceps.model.participant.CodedValue
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.ToString2
public class CodedValue extends Object implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
In general, in an interoperability format, objects, attributes, and methods are identified by nomenclature codes. CodedValue offers the ability to represent such nomenclature codes. Two CodedValue objects C1 and C2 are equivalent, if - C1/@Code equals C2/@Code - C1/@CodingSystem equals C2/@CodingSystem, both with expanded default values - C1/@CodingSystemVersion equals C2/@CodingSystemVersion - If there exists a CodedValue object T1 in C1/pm:Translation and a CodedValue object T2 in C2/pm:Translation such that T1 and T2 are equivalent, C1 and T2 are equivalent, or C2 and T1 are equivalent. NOTE 1—In case that ./@CodingSystem is not explicitly defined in CodedValue, it is replaced implicitly by a default identifier. The ./@CodingSystem ATTRIBUTE is then called "expanded". NOTE 2—As prescribed in ./@CodingSystemVersion, a version is set only if a unique version identification by ./@CodingSystem is not possible. Hence, there can be no implicit version mismatch. NOTE 3—Equivalence between CodedValue objects is not necessarily transitive.Java class for CodedValue complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CodedValue"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://standards.ieee.org/downloads/11073/11073-10207-2017/extension}Extension" minOccurs="0"/> <element name="CodingSystemName" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}LocalizedText" maxOccurs="unbounded" minOccurs="0"/> <element name="ConceptDescription" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}LocalizedText" maxOccurs="unbounded" minOccurs="0"/> <element name="Translation" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://standards.ieee.org/downloads/11073/11073-10207-2017/extension}Extension" minOccurs="0"/> </sequence> <attribute name="Code" use="required" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}CodeIdentifier" /> <attribute name="CodingSystem" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="CodingSystemVersion" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="Code" use="required" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}CodeIdentifier" /> <attribute name="CodingSystem" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="CodingSystemVersion" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="SymbolicCodeName" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}SymbolicCodeName" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCodedValue.TranslationJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected Stringcodeprotected StringcodingSystemprotected List<LocalizedText>codingSystemNameprotected StringcodingSystemVersionprotected List<LocalizedText>conceptDescriptionprotected ExtensionTypeextensionprotected StringsymbolicCodeNameprotected List<CodedValue.Translation>translation
-
Constructor Summary
Constructors Constructor Description CodedValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)StringgetCode()Gets the value of the code property.StringgetCodingSystem()Gets the value of the codingSystem property.List<LocalizedText>getCodingSystemName()Gets the value of the codingSystemName property.StringgetCodingSystemVersion()Gets the value of the codingSystemVersion property.List<LocalizedText>getConceptDescription()Gets the value of the conceptDescription property.ExtensionTypegetExtension()Gets the value of the extension property.StringgetSymbolicCodeName()Gets the value of the symbolicCodeName property.List<CodedValue.Translation>getTranslation()Gets the value of the translation property.inthashCode()voidsetCode(String value)Sets the value of the code property.voidsetCodingSystem(String value)Sets the value of the codingSystem property.voidsetCodingSystemName(List<LocalizedText> value)voidsetCodingSystemVersion(String value)Sets the value of the codingSystemVersion property.voidsetConceptDescription(List<LocalizedText> value)voidsetExtension(ExtensionType value)Sets the value of the extension property.voidsetSymbolicCodeName(String value)Sets the value of the symbolicCodeName property.voidsetTranslation(List<CodedValue.Translation> value)StringtoString()
-
-
-
Field Detail
-
extension
protected ExtensionType extension
-
codingSystemName
protected List<LocalizedText> codingSystemName
-
conceptDescription
protected List<LocalizedText> conceptDescription
-
translation
protected List<CodedValue.Translation> translation
-
code
protected String code
-
codingSystem
protected String codingSystem
-
codingSystemVersion
protected String codingSystemVersion
-
symbolicCodeName
protected String symbolicCodeName
-
-
Method Detail
-
getExtension
public ExtensionType getExtension()
Gets the value of the extension property.- Returns:
- possible object is
ExtensionType
-
setExtension
public void setExtension(ExtensionType value)
Sets the value of the extension property.- Parameters:
value- allowed object isExtensionType
-
getCodingSystemName
public List<LocalizedText> getCodingSystemName()
Gets the value of the codingSystemName property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the codingSystemName property.For example, to add a new item, do as follows:
getCodingSystemName().add(newItem);Objects of the following type(s) are allowed in the list
LocalizedText
-
getConceptDescription
public List<LocalizedText> getConceptDescription()
Gets the value of the conceptDescription property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the conceptDescription property.For example, to add a new item, do as follows:
getConceptDescription().add(newItem);Objects of the following type(s) are allowed in the list
LocalizedText
-
getTranslation
public List<CodedValue.Translation> getTranslation()
Gets the value of the translation property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the translation property.For example, to add a new item, do as follows:
getTranslation().add(newItem);Objects of the following type(s) are allowed in the list
CodedValue.Translation
-
getCode
public String getCode()
Gets the value of the code property.- Returns:
- possible object is
String
-
setCode
public void setCode(String value)
Sets the value of the code property.- Parameters:
value- allowed object isString
-
getCodingSystem
public String getCodingSystem()
Gets the value of the codingSystem property.- Returns:
- possible object is
String
-
setCodingSystem
public void setCodingSystem(String value)
Sets the value of the codingSystem property.- Parameters:
value- allowed object isString
-
getCodingSystemVersion
public String getCodingSystemVersion()
Gets the value of the codingSystemVersion property.- Returns:
- possible object is
String
-
setCodingSystemVersion
public void setCodingSystemVersion(String value)
Sets the value of the codingSystemVersion property.- Parameters:
value- allowed object isString
-
getSymbolicCodeName
public String getSymbolicCodeName()
Gets the value of the symbolicCodeName property.- Returns:
- possible object is
String
-
setSymbolicCodeName
public void setSymbolicCodeName(String value)
Sets the value of the symbolicCodeName property.- Parameters:
value- allowed object isString
-
setCodingSystemName
public void setCodingSystemName(List<LocalizedText> value)
-
setConceptDescription
public void setConceptDescription(List<LocalizedText> value)
-
setTranslation
public void setTranslation(List<CodedValue.Translation> value)
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
-