Class EncounterHospitalization
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.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>
-
-
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-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description EncounterHospitalization()
-
Method Summary
All Methods Instance Methods Concrete Methods 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)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
preAdmissionIdentifier
protected Identifier preAdmissionIdentifier
-
origin
protected Reference origin
-
admitSource
protected CodeableConcept admitSource
-
admittingDiagnosis
protected java.util.List<Reference> admittingDiagnosis
-
reAdmission
protected CodeableConcept reAdmission
-
dietPreference
protected java.util.List<CodeableConcept> dietPreference
-
specialCourtesy
protected java.util.List<CodeableConcept> specialCourtesy
-
specialArrangement
protected java.util.List<CodeableConcept> specialArrangement
-
destination
protected Reference destination
-
dischargeDisposition
protected CodeableConcept dischargeDisposition
-
dischargeDiagnosis
protected java.util.List<Reference> dischargeDiagnosis
-
-
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 isIdentifier
-
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 isReference
-
getAdmitSource
public CodeableConcept getAdmitSource()
Gets the value of the admitSource property.- Returns:
- possible object is
CodeableConcept
-
setAdmitSource
public void setAdmitSource(CodeableConcept value)
Sets the value of the admitSource property.- Parameters:
value- allowed object isCodeableConcept
-
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
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
public CodeableConcept getReAdmission()
Gets the value of the reAdmission property.- Returns:
- possible object is
CodeableConcept
-
setReAdmission
public void setReAdmission(CodeableConcept value)
Sets the value of the reAdmission property.- Parameters:
value- allowed object isCodeableConcept
-
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
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
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
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
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
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
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 isReference
-
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 isCodeableConcept
-
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
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
public EncounterHospitalization withPreAdmissionIdentifier(Identifier value)
-
withOrigin
public EncounterHospitalization withOrigin(Reference value)
-
withAdmitSource
public EncounterHospitalization withAdmitSource(CodeableConcept value)
-
withAdmittingDiagnosis
public EncounterHospitalization withAdmittingDiagnosis(Reference... values)
-
withAdmittingDiagnosis
public EncounterHospitalization withAdmittingDiagnosis(java.util.Collection<Reference> values)
-
withReAdmission
public EncounterHospitalization withReAdmission(CodeableConcept value)
-
withDietPreference
public EncounterHospitalization withDietPreference(CodeableConcept... values)
-
withDietPreference
public EncounterHospitalization withDietPreference(java.util.Collection<CodeableConcept> values)
-
withSpecialCourtesy
public EncounterHospitalization withSpecialCourtesy(CodeableConcept... values)
-
withSpecialCourtesy
public EncounterHospitalization withSpecialCourtesy(java.util.Collection<CodeableConcept> values)
-
withSpecialArrangement
public EncounterHospitalization withSpecialArrangement(CodeableConcept... values)
-
withSpecialArrangement
public EncounterHospitalization withSpecialArrangement(java.util.Collection<CodeableConcept> values)
-
withDestination
public EncounterHospitalization withDestination(Reference value)
-
withDischargeDisposition
public EncounterHospitalization withDischargeDisposition(CodeableConcept value)
-
withDischargeDiagnosis
public EncounterHospitalization withDischargeDiagnosis(Reference... values)
-
withDischargeDiagnosis
public EncounterHospitalization withDischargeDiagnosis(java.util.Collection<Reference> values)
-
withModifierExtension
public EncounterHospitalization withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public EncounterHospitalization withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public EncounterHospitalization withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public EncounterHospitalization withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public EncounterHospitalization withId(java.lang.String value)
- 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
-
-