Class 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>
     
    • Constructor Detail

      • CodedValue

        public CodedValue()
    • 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 is ExtensionType
      • 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 set method 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 set method 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 set method 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 is String
      • 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 is String
      • 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 is String
      • 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 is String
      • setCodingSystemName

        public void setCodingSystemName​(List<LocalizedText> value)
      • setConceptDescription

        public void setConceptDescription​(List<LocalizedText> value)
      • copyTo

        public Object copyTo​(Object target)
        Specified by:
        copyTo in interface org.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:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • createNewInstance

        public Object createNewInstance()
        Specified by:
        createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • append

        public StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                    StringBuilder buffer,
                                    org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.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:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2