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
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>
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptadmitSourceprotected java.util.List<Reference>admittingDiagnosisprotected Referencedestinationprotected java.util.List<CodeableConcept>dietPreferenceprotected java.util.List<Reference>dischargeDiagnosisprotected CodeableConceptdischargeDispositionprotected Referenceoriginprotected IdentifierpreAdmissionIdentifierprotected CodeableConceptreAdmissionprotected java.util.List<CodeableConcept>specialArrangementprotected java.util.List<CodeableConcept>specialCourtesy -
Constructor Summary
Constructors Constructor Description EncounterHospitalization() -
Method Summary
Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(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)CodeableConceptgetAdmitSource()Gets the value of the admitSource property.java.util.List<Reference>getAdmittingDiagnosis()Gets the value of the admittingDiagnosis property.ReferencegetDestination()Gets the value of the destination property.java.util.List<CodeableConcept>getDietPreference()Gets the value of the dietPreference property.java.util.List<Reference>getDischargeDiagnosis()Gets the value of the dischargeDiagnosis property.CodeableConceptgetDischargeDisposition()Gets the value of the dischargeDisposition property.ReferencegetOrigin()Gets the value of the origin property.IdentifiergetPreAdmissionIdentifier()Gets the value of the preAdmissionIdentifier property.CodeableConceptgetReAdmission()Gets the value of the reAdmission property.java.util.List<CodeableConcept>getSpecialArrangement()Gets the value of the specialArrangement property.java.util.List<CodeableConcept>getSpecialCourtesy()Gets the value of the specialCourtesy property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAdmitSource(CodeableConcept value)Sets the value of the admitSource property.voidsetDestination(Reference value)Sets the value of the destination property.voidsetDischargeDisposition(CodeableConcept value)Sets the value of the dischargeDisposition property.voidsetOrigin(Reference value)Sets the value of the origin property.voidsetPreAdmissionIdentifier(Identifier value)Sets the value of the preAdmissionIdentifier property.voidsetReAdmission(CodeableConcept value)Sets the value of the reAdmission property.java.lang.StringtoString()EncounterHospitalizationwithAdmitSource(CodeableConcept value)EncounterHospitalizationwithAdmittingDiagnosis(java.util.Collection<Reference> values)EncounterHospitalizationwithAdmittingDiagnosis(Reference... values)EncounterHospitalizationwithDestination(Reference value)EncounterHospitalizationwithDietPreference(java.util.Collection<CodeableConcept> values)EncounterHospitalizationwithDietPreference(CodeableConcept... values)EncounterHospitalizationwithDischargeDiagnosis(java.util.Collection<Reference> values)EncounterHospitalizationwithDischargeDiagnosis(Reference... values)EncounterHospitalizationwithDischargeDisposition(CodeableConcept value)EncounterHospitalizationwithExtension(java.util.Collection<Extension> values)EncounterHospitalizationwithExtension(Extension... values)EncounterHospitalizationwithId(java.lang.String value)EncounterHospitalizationwithModifierExtension(java.util.Collection<Extension> values)EncounterHospitalizationwithModifierExtension(Extension... values)EncounterHospitalizationwithOrigin(Reference value)EncounterHospitalizationwithPreAdmissionIdentifier(Identifier value)EncounterHospitalizationwithReAdmission(CodeableConcept value)EncounterHospitalizationwithSpecialArrangement(java.util.Collection<CodeableConcept> values)EncounterHospitalizationwithSpecialArrangement(CodeableConcept... values)EncounterHospitalizationwithSpecialCourtesy(java.util.Collection<CodeableConcept> values)EncounterHospitalizationwithSpecialCourtesy(CodeableConcept... values)
-
Field Details
-
Constructor Details
-
EncounterHospitalization
public EncounterHospitalization()
-
-
Method Details
-
getPreAdmissionIdentifier
Gets the value of the preAdmissionIdentifier property.- Returns:
- possible object is
Identifier
-
setPreAdmissionIdentifier
Sets the value of the preAdmissionIdentifier property.- Parameters:
value- allowed object isIdentifier
-
getOrigin
Gets the value of the origin property.- Returns:
- possible object is
Reference
-
setOrigin
Sets the value of the origin property.- Parameters:
value- allowed object isReference
-
getAdmitSource
Gets the value of the admitSource property.- Returns:
- possible object is
CodeableConcept
-
setAdmitSource
Sets the value of the admitSource property.- Parameters:
value- allowed object isCodeableConcept
-
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
setmethod 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 -
getReAdmission
Gets the value of the reAdmission property.- Returns:
- possible object is
CodeableConcept
-
setReAdmission
Sets the value of the reAdmission property.- Parameters:
value- allowed object isCodeableConcept
-
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
setmethod 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
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
setmethod 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
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
setmethod 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
Gets the value of the destination property.- Returns:
- possible object is
Reference
-
setDestination
Sets the value of the destination property.- Parameters:
value- allowed object isReference
-
getDischargeDisposition
Gets the value of the dischargeDisposition property.- Returns:
- possible object is
CodeableConcept
-
setDischargeDisposition
Sets the value of the dischargeDisposition property.- Parameters:
value- allowed object isCodeableConcept
-
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
setmethod 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 -
withPreAdmissionIdentifier
-
withOrigin
-
withAdmitSource
-
withAdmittingDiagnosis
-
withAdmittingDiagnosis
-
withReAdmission
-
withDietPreference
-
withDietPreference
-
withSpecialCourtesy
-
withSpecialCourtesy
-
withSpecialArrangement
-
withSpecialArrangement
public EncounterHospitalization withSpecialArrangement(java.util.Collection<CodeableConcept> values) -
withDestination
-
withDischargeDisposition
-
withDischargeDiagnosis
-
withDischargeDiagnosis
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withId
- Overrides:
withIdin classBackboneElement
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equalsin classBackboneElement
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classBackboneElement
-
hashCode
public int hashCode()- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()- Overrides:
toStringin classBackboneElement
-
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:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
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:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-