Package org.hl7.fhir

Class EncounterHospitalization

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

    public class EncounterHospitalization
    extends BackboneElement
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.

    Java class for Encounter.Hospitalization complex type.

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

     <complexType name="Encounter.Hospitalization">
       <complexContent>
         <extension base="{http://hl7.org/fhir}BackboneElement">
           <sequence>
             <element name="preAdmissionIdentifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
             <element name="origin" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="admitSource" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
             <element name="admittingDiagnosis" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
             <element name="reAdmission" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
             <element name="dietPreference" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
             <element name="specialCourtesy" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
             <element name="specialArrangement" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
             <element name="destination" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="dischargeDisposition" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
             <element name="dischargeDiagnosis" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • EncounterHospitalization

        public EncounterHospitalization()
    • Method Detail

      • getPreAdmissionIdentifier

        public Identifier getPreAdmissionIdentifier()
        Gets the value of the preAdmissionIdentifier property.
        Returns:
        possible object is Identifier
      • setPreAdmissionIdentifier

        public void setPreAdmissionIdentifier​(Identifier value)
        Sets the value of the preAdmissionIdentifier property.
        Parameters:
        value - allowed object is Identifier
      • getOrigin

        public Reference getOrigin()
        Gets the value of the origin property.
        Returns:
        possible object is Reference
      • setOrigin

        public void setOrigin​(Reference value)
        Sets the value of the origin property.
        Parameters:
        value - allowed object is Reference
      • setAdmitSource

        public void setAdmitSource​(CodeableConcept value)
        Sets the value of the admitSource property.
        Parameters:
        value - allowed object is CodeableConcept
      • getAdmittingDiagnosis

        public java.util.List<Reference> getAdmittingDiagnosis()
        Gets the value of the admittingDiagnosis 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 admittingDiagnosis property.

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

            getAdmittingDiagnosis().add(newItem);
         

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

      • setReAdmission

        public void setReAdmission​(CodeableConcept value)
        Sets the value of the reAdmission property.
        Parameters:
        value - allowed object is CodeableConcept
      • getDietPreference

        public java.util.List<CodeableConcept> getDietPreference()
        Gets the value of the dietPreference 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 dietPreference property.

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

            getDietPreference().add(newItem);
         

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

      • getSpecialCourtesy

        public java.util.List<CodeableConcept> getSpecialCourtesy()
        Gets the value of the specialCourtesy 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 specialCourtesy property.

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

            getSpecialCourtesy().add(newItem);
         

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

      • getSpecialArrangement

        public java.util.List<CodeableConcept> getSpecialArrangement()
        Gets the value of the specialArrangement 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 specialArrangement property.

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

            getSpecialArrangement().add(newItem);
         

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

      • getDestination

        public Reference getDestination()
        Gets the value of the destination property.
        Returns:
        possible object is Reference
      • setDestination

        public void setDestination​(Reference value)
        Sets the value of the destination property.
        Parameters:
        value - allowed object is Reference
      • getDischargeDisposition

        public CodeableConcept getDischargeDisposition()
        Gets the value of the dischargeDisposition property.
        Returns:
        possible object is CodeableConcept
      • setDischargeDisposition

        public void setDischargeDisposition​(CodeableConcept value)
        Sets the value of the dischargeDisposition property.
        Parameters:
        value - allowed object is CodeableConcept
      • getDischargeDiagnosis

        public java.util.List<Reference> getDischargeDiagnosis()
        Gets the value of the dischargeDiagnosis 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 dischargeDiagnosis property.

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

            getDischargeDiagnosis().add(newItem);
         

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

      • 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 BackboneElement
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class BackboneElement
      • 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 BackboneElement
      • 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 BackboneElement
      • 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 BackboneElement