Package org.hl7.fhir

Class Immunization

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

    public class Immunization
    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 Immunization complex type.

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

     <complexType name="Immunization">
       <complexContent>
         <extension base="{http://hl7.org/fhir}DomainResource">
           <sequence>
             <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
             <element name="status" type="{http://hl7.org/fhir}code"/>
             <element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
             <element name="vaccineCode" type="{http://hl7.org/fhir}CodeableConcept"/>
             <element name="patient" type="{http://hl7.org/fhir}Reference"/>
             <element name="wasNotGiven" type="{http://hl7.org/fhir}boolean"/>
             <element name="reported" type="{http://hl7.org/fhir}boolean"/>
             <element name="performer" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="requester" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="manufacturer" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="location" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="lotNumber" type="{http://hl7.org/fhir}string" minOccurs="0"/>
             <element name="expirationDate" type="{http://hl7.org/fhir}date" minOccurs="0"/>
             <element name="site" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
             <element name="route" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
             <element name="doseQuantity" type="{http://hl7.org/fhir}SimpleQuantity" minOccurs="0"/>
             <element name="note" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/>
             <element name="explanation" type="{http://hl7.org/fhir}Immunization.Explanation" minOccurs="0"/>
             <element name="reaction" type="{http://hl7.org/fhir}Immunization.Reaction" maxOccurs="unbounded" minOccurs="0"/>
             <element name="vaccinationProtocol" type="{http://hl7.org/fhir}Immunization.VaccinationProtocol" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Immunization

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

      • getStatus

        public Code getStatus()
        Gets the value of the status property.
        Returns:
        possible object is Code
      • setStatus

        public void setStatus​(Code value)
        Sets the value of the status property.
        Parameters:
        value - allowed object is Code
      • 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
      • setVaccineCode

        public void setVaccineCode​(CodeableConcept value)
        Sets the value of the vaccineCode property.
        Parameters:
        value - allowed object is CodeableConcept
      • 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
      • getWasNotGiven

        public Boolean getWasNotGiven()
        Gets the value of the wasNotGiven property.
        Returns:
        possible object is Boolean
      • setWasNotGiven

        public void setWasNotGiven​(Boolean value)
        Sets the value of the wasNotGiven property.
        Parameters:
        value - allowed object is Boolean
      • getReported

        public Boolean getReported()
        Gets the value of the reported property.
        Returns:
        possible object is Boolean
      • setReported

        public void setReported​(Boolean value)
        Sets the value of the reported property.
        Parameters:
        value - allowed object is Boolean
      • getPerformer

        public Reference getPerformer()
        Gets the value of the performer property.
        Returns:
        possible object is Reference
      • setPerformer

        public void setPerformer​(Reference value)
        Sets the value of the performer property.
        Parameters:
        value - allowed object is Reference
      • getRequester

        public Reference getRequester()
        Gets the value of the requester property.
        Returns:
        possible object is Reference
      • setRequester

        public void setRequester​(Reference value)
        Sets the value of the requester property.
        Parameters:
        value - allowed object is Reference
      • getEncounter

        public Reference getEncounter()
        Gets the value of the encounter property.
        Returns:
        possible object is Reference
      • setEncounter

        public void setEncounter​(Reference value)
        Sets the value of the encounter property.
        Parameters:
        value - allowed object is Reference
      • getManufacturer

        public Reference getManufacturer()
        Gets the value of the manufacturer property.
        Returns:
        possible object is Reference
      • setManufacturer

        public void setManufacturer​(Reference value)
        Sets the value of the manufacturer property.
        Parameters:
        value - allowed object is Reference
      • getLocation

        public Reference getLocation()
        Gets the value of the location property.
        Returns:
        possible object is Reference
      • setLocation

        public void setLocation​(Reference value)
        Sets the value of the location property.
        Parameters:
        value - allowed object is Reference
      • getLotNumber

        public String getLotNumber()
        Gets the value of the lotNumber property.
        Returns:
        possible object is String
      • setLotNumber

        public void setLotNumber​(String value)
        Sets the value of the lotNumber property.
        Parameters:
        value - allowed object is String
      • getExpirationDate

        public Date getExpirationDate()
        Gets the value of the expirationDate property.
        Returns:
        possible object is Date
      • setExpirationDate

        public void setExpirationDate​(Date value)
        Sets the value of the expirationDate property.
        Parameters:
        value - allowed object is Date
      • setRoute

        public void setRoute​(CodeableConcept value)
        Sets the value of the route property.
        Parameters:
        value - allowed object is CodeableConcept
      • getDoseQuantity

        public SimpleQuantity getDoseQuantity()
        Gets the value of the doseQuantity property.
        Returns:
        possible object is SimpleQuantity
      • setDoseQuantity

        public void setDoseQuantity​(SimpleQuantity value)
        Sets the value of the doseQuantity property.
        Parameters:
        value - allowed object is SimpleQuantity
      • getNote

        public java.util.List<Annotation> getNote()
        Gets the value of the note 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 note property.

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

            getNote().add(newItem);
         

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

      • getReaction

        public java.util.List<ImmunizationReaction> getReaction()
        Gets the value of the reaction 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 reaction property.

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

            getReaction().add(newItem);
         

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

      • getVaccinationProtocol

        public java.util.List<ImmunizationVaccinationProtocol> getVaccinationProtocol()
        Gets the value of the vaccinationProtocol 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 vaccinationProtocol property.

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

            getVaccinationProtocol().add(newItem);
         

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

      • 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