Package org.hl7.fhir

Class FamilyMemberHistory

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

    public class FamilyMemberHistory
    extends DomainResource
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    If the element is present, it must have either a @value, an @id, or extensions

    Java class for FamilyMemberHistory complex type.

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

     <complexType name="FamilyMemberHistory">
       <complexContent>
         <extension base="{http://hl7.org/fhir}DomainResource">
           <sequence>
             <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
             <element name="patient" type="{http://hl7.org/fhir}Reference"/>
             <element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
             <element name="status" type="{http://hl7.org/fhir}FamilyHistoryStatus"/>
             <element name="name" type="{http://hl7.org/fhir}string" minOccurs="0"/>
             <element name="relationship" type="{http://hl7.org/fhir}CodeableConcept"/>
             <element name="gender" type="{http://hl7.org/fhir}AdministrativeGender" minOccurs="0"/>
             <choice minOccurs="0">
               <element name="bornPeriod" type="{http://hl7.org/fhir}Period"/>
               <element name="bornDate" type="{http://hl7.org/fhir}date"/>
               <element name="bornString" type="{http://hl7.org/fhir}string"/>
             </choice>
             <choice minOccurs="0">
               <element name="ageQuantity" type="{http://hl7.org/fhir}Age"/>
               <element name="ageRange" type="{http://hl7.org/fhir}Range"/>
               <element name="ageString" type="{http://hl7.org/fhir}string"/>
             </choice>
             <choice minOccurs="0">
               <element name="deceasedBoolean" type="{http://hl7.org/fhir}boolean"/>
               <element name="deceasedQuantity" type="{http://hl7.org/fhir}Age"/>
               <element name="deceasedRange" type="{http://hl7.org/fhir}Range"/>
               <element name="deceasedDate" type="{http://hl7.org/fhir}date"/>
               <element name="deceasedString" type="{http://hl7.org/fhir}string"/>
             </choice>
             <element name="note" type="{http://hl7.org/fhir}Annotation" minOccurs="0"/>
             <element name="condition" type="{http://hl7.org/fhir}FamilyMemberHistory.Condition" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • FamilyMemberHistory

        public FamilyMemberHistory()
    • Method Detail

      • getIdentifier

        public java.util.List<Identifier> getIdentifier()
        Gets the value of the identifier 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 identifier property.

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

            getIdentifier().add(newItem);
         

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

      • getPatient

        public Reference getPatient()
        Gets the value of the patient property.
        Returns:
        possible object is Reference
      • setPatient

        public void setPatient​(Reference value)
        Sets the value of the patient property.
        Parameters:
        value - allowed object is Reference
      • getDate

        public DateTime getDate()
        Gets the value of the date property.
        Returns:
        possible object is DateTime
      • setDate

        public void setDate​(DateTime value)
        Sets the value of the date property.
        Parameters:
        value - allowed object is DateTime
      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • setRelationship

        public void setRelationship​(CodeableConcept value)
        Sets the value of the relationship property.
        Parameters:
        value - allowed object is CodeableConcept
      • getBornPeriod

        public Period getBornPeriod()
        Gets the value of the bornPeriod property.
        Returns:
        possible object is Period
      • setBornPeriod

        public void setBornPeriod​(Period value)
        Sets the value of the bornPeriod property.
        Parameters:
        value - allowed object is Period
      • getBornDate

        public Date getBornDate()
        Gets the value of the bornDate property.
        Returns:
        possible object is Date
      • setBornDate

        public void setBornDate​(Date value)
        Sets the value of the bornDate property.
        Parameters:
        value - allowed object is Date
      • getBornString

        public String getBornString()
        Gets the value of the bornString property.
        Returns:
        possible object is String
      • setBornString

        public void setBornString​(String value)
        Sets the value of the bornString property.
        Parameters:
        value - allowed object is String
      • getAgeQuantity

        public Age getAgeQuantity()
        Gets the value of the ageQuantity property.
        Returns:
        possible object is Age
      • setAgeQuantity

        public void setAgeQuantity​(Age value)
        Sets the value of the ageQuantity property.
        Parameters:
        value - allowed object is Age
      • getAgeRange

        public Range getAgeRange()
        Gets the value of the ageRange property.
        Returns:
        possible object is Range
      • setAgeRange

        public void setAgeRange​(Range value)
        Sets the value of the ageRange property.
        Parameters:
        value - allowed object is Range
      • getAgeString

        public String getAgeString()
        Gets the value of the ageString property.
        Returns:
        possible object is String
      • setAgeString

        public void setAgeString​(String value)
        Sets the value of the ageString property.
        Parameters:
        value - allowed object is String
      • getDeceasedBoolean

        public Boolean getDeceasedBoolean()
        Gets the value of the deceasedBoolean property.
        Returns:
        possible object is Boolean
      • setDeceasedBoolean

        public void setDeceasedBoolean​(Boolean value)
        Sets the value of the deceasedBoolean property.
        Parameters:
        value - allowed object is Boolean
      • getDeceasedQuantity

        public Age getDeceasedQuantity()
        Gets the value of the deceasedQuantity property.
        Returns:
        possible object is Age
      • setDeceasedQuantity

        public void setDeceasedQuantity​(Age value)
        Sets the value of the deceasedQuantity property.
        Parameters:
        value - allowed object is Age
      • getDeceasedRange

        public Range getDeceasedRange()
        Gets the value of the deceasedRange property.
        Returns:
        possible object is Range
      • setDeceasedRange

        public void setDeceasedRange​(Range value)
        Sets the value of the deceasedRange property.
        Parameters:
        value - allowed object is Range
      • getDeceasedDate

        public Date getDeceasedDate()
        Gets the value of the deceasedDate property.
        Returns:
        possible object is Date
      • setDeceasedDate

        public void setDeceasedDate​(Date value)
        Sets the value of the deceasedDate property.
        Parameters:
        value - allowed object is Date
      • getDeceasedString

        public String getDeceasedString()
        Gets the value of the deceasedString property.
        Returns:
        possible object is String
      • setDeceasedString

        public void setDeceasedString​(String value)
        Sets the value of the deceasedString property.
        Parameters:
        value - allowed object is String
      • getNote

        public Annotation getNote()
        Gets the value of the note property.
        Returns:
        possible object is Annotation
      • setNote

        public void setNote​(Annotation value)
        Sets the value of the note property.
        Parameters:
        value - allowed object is Annotation
      • getCondition

        public java.util.List<FamilyMemberHistoryCondition> getCondition()
        Gets the value of the condition 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 condition property.

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

            getCondition().add(newItem);
         

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

      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
        Overrides:
        equals in class DomainResource
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class DomainResource
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
        Overrides:
        hashCode in class DomainResource
      • append

        public java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                              java.lang.StringBuilder buffer,
                                              org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        append in class DomainResource
      • appendFields

        public java.lang.StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                                    java.lang.StringBuilder buffer,
                                                    org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        appendFields in class DomainResource