Class BaseDemographics

  • All Implemented Interfaces:
    Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
    Direct Known Subclasses:
    PatientDemographicsCoreData

    public class BaseDemographics
    extends Object
    implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
    Definition of basic demographic information.

    Java class for BaseDemographics complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="BaseDemographics">
       <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="Givenname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="Middlename" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
             <element name="Familyname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="Birthname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • BaseDemographics

        public BaseDemographics()
    • 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
      • getGivenname

        public String getGivenname()
        Gets the value of the givenname property.
        Returns:
        possible object is String
      • setGivenname

        public void setGivenname​(String value)
        Sets the value of the givenname property.
        Parameters:
        value - allowed object is String
      • getMiddlename

        public List<String> getMiddlename()
        Gets the value of the middlename 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 middlename property.

        For example, to add a new item, do as follows:

            getMiddlename().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • getFamilyname

        public String getFamilyname()
        Gets the value of the familyname property.
        Returns:
        possible object is String
      • setFamilyname

        public void setFamilyname​(String value)
        Sets the value of the familyname property.
        Parameters:
        value - allowed object is String
      • getBirthname

        public String getBirthname()
        Gets the value of the birthname property.
        Returns:
        possible object is String
      • setBirthname

        public void setBirthname​(String value)
        Sets the value of the birthname property.
        Parameters:
        value - allowed object is String
      • getTitle

        public String getTitle()
        Gets the value of the title property.
        Returns:
        possible object is String
      • setTitle

        public void setTitle​(String value)
        Sets the value of the title property.
        Parameters:
        value - allowed object is String
      • setMiddlename

        public void setMiddlename​(List<String> 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