public class Encounter extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Encounter complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Encounter">
<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}EncounterState"/>
<element name="statusHistory" type="{http://hl7.org/fhir}Encounter.StatusHistory" maxOccurs="unbounded" minOccurs="0"/>
<element name="class" type="{http://hl7.org/fhir}EncounterClass" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="priority" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="patient" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="episodeOfCare" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="incomingReferral" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="participant" type="{http://hl7.org/fhir}Encounter.Participant" maxOccurs="unbounded" minOccurs="0"/>
<element name="appointment" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
<element name="length" type="{http://hl7.org/fhir}Duration" minOccurs="0"/>
<element name="reason" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="indication" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="hospitalization" type="{http://hl7.org/fhir}Encounter.Hospitalization" minOccurs="0"/>
<element name="location" type="{http://hl7.org/fhir}Encounter.Location" maxOccurs="unbounded" minOccurs="0"/>
<element name="serviceProvider" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="partOf" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
appointment |
protected EncounterClass |
clazz |
protected java.util.List<Reference> |
episodeOfCare |
protected EncounterHospitalization |
hospitalization |
protected java.util.List<Identifier> |
identifier |
protected java.util.List<Reference> |
incomingReferral |
protected java.util.List<Reference> |
indication |
protected Duration |
length |
protected java.util.List<EncounterLocation> |
location |
protected java.util.List<EncounterParticipant> |
participant |
protected Reference |
partOf |
protected Reference |
patient |
protected Period |
period |
protected CodeableConcept |
priority |
protected java.util.List<CodeableConcept> |
reason |
protected Reference |
serviceProvider |
protected EncounterState |
status |
protected java.util.List<EncounterStatusHistory> |
statusHistory |
protected java.util.List<CodeableConcept> |
type |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Encounter() |
| 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) |
Reference |
getAppointment()
Gets the value of the appointment property.
|
EncounterClass |
getClazz()
Gets the value of the clazz property.
|
java.util.List<Reference> |
getEpisodeOfCare()
Gets the value of the episodeOfCare property.
|
EncounterHospitalization |
getHospitalization()
Gets the value of the hospitalization property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
java.util.List<Reference> |
getIncomingReferral()
Gets the value of the incomingReferral property.
|
java.util.List<Reference> |
getIndication()
Gets the value of the indication property.
|
Duration |
getLength()
Gets the value of the length property.
|
java.util.List<EncounterLocation> |
getLocation()
Gets the value of the location property.
|
java.util.List<EncounterParticipant> |
getParticipant()
Gets the value of the participant property.
|
Reference |
getPartOf()
Gets the value of the partOf property.
|
Reference |
getPatient()
Gets the value of the patient property.
|
Period |
getPeriod()
Gets the value of the period property.
|
CodeableConcept |
getPriority()
Gets the value of the priority property.
|
java.util.List<CodeableConcept> |
getReason()
Gets the value of the reason property.
|
Reference |
getServiceProvider()
Gets the value of the serviceProvider property.
|
EncounterState |
getStatus()
Gets the value of the status property.
|
java.util.List<EncounterStatusHistory> |
getStatusHistory()
Gets the value of the statusHistory property.
|
java.util.List<CodeableConcept> |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAppointment(Reference value)
Sets the value of the appointment property.
|
void |
setClazz(EncounterClass value)
Sets the value of the clazz property.
|
void |
setHospitalization(EncounterHospitalization value)
Sets the value of the hospitalization property.
|
void |
setLength(Duration value)
Sets the value of the length property.
|
void |
setPartOf(Reference value)
Sets the value of the partOf property.
|
void |
setPatient(Reference value)
Sets the value of the patient property.
|
void |
setPeriod(Period value)
Sets the value of the period property.
|
void |
setPriority(CodeableConcept value)
Sets the value of the priority property.
|
void |
setServiceProvider(Reference value)
Sets the value of the serviceProvider property.
|
void |
setStatus(EncounterState value)
Sets the value of the status property.
|
java.lang.String |
toString() |
Encounter |
withAppointment(Reference value) |
Encounter |
withClazz(EncounterClass value) |
Encounter |
withContained(java.util.Collection<ResourceContainer> values) |
Encounter |
withContained(ResourceContainer... values) |
Encounter |
withEpisodeOfCare(java.util.Collection<Reference> values) |
Encounter |
withEpisodeOfCare(Reference... values) |
Encounter |
withExtension(java.util.Collection<Extension> values) |
Encounter |
withExtension(Extension... values) |
Encounter |
withHospitalization(EncounterHospitalization value) |
Encounter |
withId(Id value) |
Encounter |
withIdentifier(java.util.Collection<Identifier> values) |
Encounter |
withIdentifier(Identifier... values) |
Encounter |
withImplicitRules(Uri value) |
Encounter |
withIncomingReferral(java.util.Collection<Reference> values) |
Encounter |
withIncomingReferral(Reference... values) |
Encounter |
withIndication(java.util.Collection<Reference> values) |
Encounter |
withIndication(Reference... values) |
Encounter |
withLanguage(Code value) |
Encounter |
withLength(Duration value) |
Encounter |
withLocation(java.util.Collection<EncounterLocation> values) |
Encounter |
withLocation(EncounterLocation... values) |
Encounter |
withMeta(Meta value) |
Encounter |
withModifierExtension(java.util.Collection<Extension> values) |
Encounter |
withModifierExtension(Extension... values) |
Encounter |
withParticipant(java.util.Collection<EncounterParticipant> values) |
Encounter |
withParticipant(EncounterParticipant... values) |
Encounter |
withPartOf(Reference value) |
Encounter |
withPatient(Reference value) |
Encounter |
withPeriod(Period value) |
Encounter |
withPriority(CodeableConcept value) |
Encounter |
withReason(CodeableConcept... values) |
Encounter |
withReason(java.util.Collection<CodeableConcept> values) |
Encounter |
withServiceProvider(Reference value) |
Encounter |
withStatus(EncounterState value) |
Encounter |
withStatusHistory(java.util.Collection<EncounterStatusHistory> values) |
Encounter |
withStatusHistory(EncounterStatusHistory... values) |
Encounter |
withText(Narrative value) |
Encounter |
withType(CodeableConcept... values) |
Encounter |
withType(java.util.Collection<CodeableConcept> values) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected EncounterState status
protected java.util.List<EncounterStatusHistory> statusHistory
protected EncounterClass clazz
protected java.util.List<CodeableConcept> type
protected CodeableConcept priority
protected Reference patient
protected java.util.List<Reference> episodeOfCare
protected java.util.List<Reference> incomingReferral
protected java.util.List<EncounterParticipant> participant
protected Reference appointment
protected Period period
protected Duration length
protected java.util.List<CodeableConcept> reason
protected java.util.List<Reference> indication
protected EncounterHospitalization hospitalization
protected java.util.List<EncounterLocation> location
protected Reference serviceProvider
protected Reference partOf
public java.util.List<Identifier> getIdentifier()
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
public EncounterState getStatus()
EncounterStatepublic void setStatus(EncounterState value)
value - allowed object is
EncounterStatepublic java.util.List<EncounterStatusHistory> getStatusHistory()
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 statusHistory property.
For example, to add a new item, do as follows:
getStatusHistory().add(newItem);
Objects of the following type(s) are allowed in the list
EncounterStatusHistory
public EncounterClass getClazz()
EncounterClasspublic void setClazz(EncounterClass value)
value - allowed object is
EncounterClasspublic java.util.List<CodeableConcept> getType()
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 type property.
For example, to add a new item, do as follows:
getType().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public CodeableConcept getPriority()
CodeableConceptpublic void setPriority(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getPatient()
Referencepublic void setPatient(Reference value)
value - allowed object is
Referencepublic java.util.List<Reference> getEpisodeOfCare()
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 episodeOfCare property.
For example, to add a new item, do as follows:
getEpisodeOfCare().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public java.util.List<Reference> getIncomingReferral()
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 incomingReferral property.
For example, to add a new item, do as follows:
getIncomingReferral().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public java.util.List<EncounterParticipant> getParticipant()
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 participant property.
For example, to add a new item, do as follows:
getParticipant().add(newItem);
Objects of the following type(s) are allowed in the list
EncounterParticipant
public Reference getAppointment()
Referencepublic void setAppointment(Reference value)
value - allowed object is
Referencepublic Period getPeriod()
Periodpublic void setPeriod(Period value)
value - allowed object is
Periodpublic Duration getLength()
Durationpublic void setLength(Duration value)
value - allowed object is
Durationpublic java.util.List<CodeableConcept> getReason()
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 reason property.
For example, to add a new item, do as follows:
getReason().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public java.util.List<Reference> getIndication()
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 indication property.
For example, to add a new item, do as follows:
getIndication().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public EncounterHospitalization getHospitalization()
EncounterHospitalizationpublic void setHospitalization(EncounterHospitalization value)
value - allowed object is
EncounterHospitalizationpublic java.util.List<EncounterLocation> getLocation()
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 location property.
For example, to add a new item, do as follows:
getLocation().add(newItem);
Objects of the following type(s) are allowed in the list
EncounterLocation
public Reference getServiceProvider()
Referencepublic void setServiceProvider(Reference value)
value - allowed object is
Referencepublic Reference getPartOf()
Referencepublic void setPartOf(Reference value)
value - allowed object is
Referencepublic Encounter withIdentifier(Identifier... values)
public Encounter withIdentifier(java.util.Collection<Identifier> values)
public Encounter withStatus(EncounterState value)
public Encounter withStatusHistory(EncounterStatusHistory... values)
public Encounter withStatusHistory(java.util.Collection<EncounterStatusHistory> values)
public Encounter withClazz(EncounterClass value)
public Encounter withType(CodeableConcept... values)
public Encounter withType(java.util.Collection<CodeableConcept> values)
public Encounter withPriority(CodeableConcept value)
public Encounter withParticipant(EncounterParticipant... values)
public Encounter withParticipant(java.util.Collection<EncounterParticipant> values)
public Encounter withReason(CodeableConcept... values)
public Encounter withReason(java.util.Collection<CodeableConcept> values)
public Encounter withHospitalization(EncounterHospitalization value)
public Encounter withLocation(EncounterLocation... values)
public Encounter withLocation(java.util.Collection<EncounterLocation> values)
public Encounter withText(Narrative value)
withText in class DomainResourcepublic Encounter withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Encounter withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Encounter withExtension(Extension... values)
withExtension in class DomainResourcepublic Encounter withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Encounter withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Encounter withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Encounter withId(Id value)
withId in class DomainResourcepublic Encounter withMeta(Meta value)
withMeta in class DomainResourcepublic Encounter withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Encounter withLanguage(Code value)
withLanguage in class DomainResourcepublic 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 DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic 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 DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic 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 DomainResourcepublic 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 DomainResource