public class EncounterHospitalization extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
admitSource |
protected java.util.List<Reference> |
admittingDiagnosis |
protected Reference |
destination |
protected java.util.List<CodeableConcept> |
dietPreference |
protected java.util.List<Reference> |
dischargeDiagnosis |
protected CodeableConcept |
dischargeDisposition |
protected Reference |
origin |
protected Identifier |
preAdmissionIdentifier |
protected CodeableConcept |
reAdmission |
protected java.util.List<CodeableConcept> |
specialArrangement |
protected java.util.List<CodeableConcept> |
specialCourtesy |
modifierExtension| Constructor and Description |
|---|
EncounterHospitalization() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
CodeableConcept |
getAdmitSource()
Gets the value of the admitSource property.
|
java.util.List<Reference> |
getAdmittingDiagnosis()
Gets the value of the admittingDiagnosis property.
|
Reference |
getDestination()
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.
|
CodeableConcept |
getDischargeDisposition()
Gets the value of the dischargeDisposition property.
|
Reference |
getOrigin()
Gets the value of the origin property.
|
Identifier |
getPreAdmissionIdentifier()
Gets the value of the preAdmissionIdentifier property.
|
CodeableConcept |
getReAdmission()
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.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAdmitSource(CodeableConcept value)
Sets the value of the admitSource property.
|
void |
setDestination(Reference value)
Sets the value of the destination property.
|
void |
setDischargeDisposition(CodeableConcept value)
Sets the value of the dischargeDisposition property.
|
void |
setOrigin(Reference value)
Sets the value of the origin property.
|
void |
setPreAdmissionIdentifier(Identifier value)
Sets the value of the preAdmissionIdentifier property.
|
void |
setReAdmission(CodeableConcept value)
Sets the value of the reAdmission property.
|
java.lang.String |
toString() |
EncounterHospitalization |
withAdmitSource(CodeableConcept value) |
EncounterHospitalization |
withAdmittingDiagnosis(java.util.Collection<Reference> values) |
EncounterHospitalization |
withAdmittingDiagnosis(Reference... values) |
EncounterHospitalization |
withDestination(Reference value) |
EncounterHospitalization |
withDietPreference(CodeableConcept... values) |
EncounterHospitalization |
withDietPreference(java.util.Collection<CodeableConcept> values) |
EncounterHospitalization |
withDischargeDiagnosis(java.util.Collection<Reference> values) |
EncounterHospitalization |
withDischargeDiagnosis(Reference... values) |
EncounterHospitalization |
withDischargeDisposition(CodeableConcept value) |
EncounterHospitalization |
withExtension(java.util.Collection<Extension> values) |
EncounterHospitalization |
withExtension(Extension... values) |
EncounterHospitalization |
withId(java.lang.String value) |
EncounterHospitalization |
withModifierExtension(java.util.Collection<Extension> values) |
EncounterHospitalization |
withModifierExtension(Extension... values) |
EncounterHospitalization |
withOrigin(Reference value) |
EncounterHospitalization |
withPreAdmissionIdentifier(Identifier value) |
EncounterHospitalization |
withReAdmission(CodeableConcept value) |
EncounterHospitalization |
withSpecialArrangement(CodeableConcept... values) |
EncounterHospitalization |
withSpecialArrangement(java.util.Collection<CodeableConcept> values) |
EncounterHospitalization |
withSpecialCourtesy(CodeableConcept... values) |
EncounterHospitalization |
withSpecialCourtesy(java.util.Collection<CodeableConcept> values) |
getModifierExtensiongetExtension, getId, setIdprotected Identifier preAdmissionIdentifier
protected Reference origin
protected CodeableConcept admitSource
protected java.util.List<Reference> admittingDiagnosis
protected CodeableConcept reAdmission
protected java.util.List<CodeableConcept> dietPreference
protected java.util.List<CodeableConcept> specialCourtesy
protected java.util.List<CodeableConcept> specialArrangement
protected Reference destination
protected CodeableConcept dischargeDisposition
protected java.util.List<Reference> dischargeDiagnosis
public Identifier getPreAdmissionIdentifier()
Identifierpublic void setPreAdmissionIdentifier(Identifier value)
value - allowed object is
Identifierpublic Reference getOrigin()
Referencepublic void setOrigin(Reference value)
value - allowed object is
Referencepublic CodeableConcept getAdmitSource()
CodeableConceptpublic void setAdmitSource(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<Reference> getAdmittingDiagnosis()
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
public CodeableConcept getReAdmission()
CodeableConceptpublic void setReAdmission(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<CodeableConcept> getDietPreference()
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
public java.util.List<CodeableConcept> getSpecialCourtesy()
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
public java.util.List<CodeableConcept> getSpecialArrangement()
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
public Reference getDestination()
Referencepublic void setDestination(Reference value)
value - allowed object is
Referencepublic CodeableConcept getDischargeDisposition()
CodeableConceptpublic void setDischargeDisposition(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<Reference> getDischargeDiagnosis()
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
public EncounterHospitalization withPreAdmissionIdentifier(Identifier value)
public EncounterHospitalization withOrigin(Reference value)
public EncounterHospitalization withAdmitSource(CodeableConcept value)
public EncounterHospitalization withAdmittingDiagnosis(Reference... values)
public EncounterHospitalization withAdmittingDiagnosis(java.util.Collection<Reference> values)
public EncounterHospitalization withReAdmission(CodeableConcept value)
public EncounterHospitalization withDietPreference(CodeableConcept... values)
public EncounterHospitalization withDietPreference(java.util.Collection<CodeableConcept> values)
public EncounterHospitalization withSpecialCourtesy(CodeableConcept... values)
public EncounterHospitalization withSpecialCourtesy(java.util.Collection<CodeableConcept> values)
public EncounterHospitalization withSpecialArrangement(CodeableConcept... values)
public EncounterHospitalization withSpecialArrangement(java.util.Collection<CodeableConcept> values)
public EncounterHospitalization withDestination(Reference value)
public EncounterHospitalization withDischargeDisposition(CodeableConcept value)
public EncounterHospitalization withDischargeDiagnosis(Reference... values)
public EncounterHospitalization withDischargeDiagnosis(java.util.Collection<Reference> values)
public EncounterHospitalization withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic EncounterHospitalization withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic EncounterHospitalization withExtension(Extension... values)
withExtension in class BackboneElementpublic EncounterHospitalization withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic EncounterHospitalization withId(java.lang.String value)
withId in class BackboneElementpublic 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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class BackboneElementpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class BackboneElement