Class Encounter
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Referenceprotected EncounterClassprotected EncounterHospitalizationprotected List<Identifier> protected Durationprotected List<EncounterLocation> protected List<EncounterParticipant> protected Referenceprotected Referenceprotected Periodprotected CodeableConceptprotected List<CodeableConcept> protected Referenceprotected EncounterStateprotected List<EncounterStatusHistory> protected List<CodeableConcept> Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the appointment property.getClazz()Gets the value of the clazz property.Gets the value of the episodeOfCare property.Gets the value of the hospitalization property.Gets the value of the identifier property.Gets the value of the incomingReferral property.Gets the value of the indication property.Gets the value of the length property.Gets the value of the location property.Gets the value of the participant property.Gets the value of the partOf property.Gets the value of the patient property.Gets the value of the period property.Gets the value of the priority property.Gets the value of the reason property.Gets the value of the serviceProvider property.Gets the value of the status property.Gets the value of the statusHistory property.getType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetAppointment(Reference value) Sets the value of the appointment property.voidsetClazz(EncounterClass value) Sets the value of the clazz property.voidsetEpisodeOfCare(List<Reference> value) voidSets the value of the hospitalization property.voidsetIdentifier(List<Identifier> value) voidsetIncomingReferral(List<Reference> value) voidsetIndication(List<Reference> value) voidSets the value of the length property.voidsetLocation(List<EncounterLocation> value) voidsetParticipant(List<EncounterParticipant> value) voidSets the value of the partOf property.voidsetPatient(Reference value) Sets the value of the patient property.voidSets the value of the period property.voidsetPriority(CodeableConcept value) Sets the value of the priority property.voidsetReason(List<CodeableConcept> value) voidsetServiceProvider(Reference value) Sets the value of the serviceProvider property.voidsetStatus(EncounterState value) Sets the value of the status property.voidvoidsetType(List<CodeableConcept> value) toString()withAppointment(Reference value) withClazz(EncounterClass value) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withEpisodeOfCare(Collection<Reference> values) withEpisodeOfCare(Reference... values) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withIncomingReferral(Collection<Reference> values) withIncomingReferral(Reference... values) withIndication(Collection<Reference> values) withIndication(Reference... values) withLanguage(Code value) withLength(Duration value) withLocation(Collection<EncounterLocation> values) withLocation(EncounterLocation... values) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withParticipant(EncounterParticipant... values) withPartOf(Reference value) withPatient(Reference value) withPeriod(Period value) withPriority(CodeableConcept value) withReason(Collection<CodeableConcept> values) withReason(CodeableConcept... values) withServiceProvider(Reference value) withStatus(EncounterState value) withStatusHistory(EncounterStatusHistory... values) withType(Collection<CodeableConcept> values) withType(CodeableConcept... values) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
identifier
-
status
-
statusHistory
-
clazz
-
type
-
priority
-
patient
-
episodeOfCare
-
incomingReferral
-
participant
-
appointment
-
period
-
length
-
reason
-
indication
-
hospitalization
-
location
-
serviceProvider
-
partOf
-
-
Constructor Details
-
Encounter
public Encounter()
-
-
Method Details
-
getIdentifier
Gets the value of the identifier 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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getStatus
Gets the value of the status property.- Returns:
- possible object is
EncounterState
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isEncounterState
-
getStatusHistory
Gets the value of the statusHistory 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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getClazz
Gets the value of the clazz property.- Returns:
- possible object is
EncounterClass
-
setClazz
Sets the value of the clazz property.- Parameters:
value- allowed object isEncounterClass
-
getType
Gets the value of the type 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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getPriority
Gets the value of the priority property.- Returns:
- possible object is
CodeableConcept
-
setPriority
Sets the value of the priority property.- Parameters:
value- allowed object isCodeableConcept
-
getPatient
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getEpisodeOfCare
Gets the value of the episodeOfCare 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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getIncomingReferral
Gets the value of the incomingReferral 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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getParticipant
Gets the value of the participant 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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getAppointment
Gets the value of the appointment property.- Returns:
- possible object is
Reference
-
setAppointment
Sets the value of the appointment property.- Parameters:
value- allowed object isReference
-
getPeriod
Gets the value of the period property.- Returns:
- possible object is
Period
-
setPeriod
Sets the value of the period property.- Parameters:
value- allowed object isPeriod
-
getLength
Gets the value of the length property.- Returns:
- possible object is
Duration
-
setLength
Sets the value of the length property.- Parameters:
value- allowed object isDuration
-
getReason
Gets the value of the reason 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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getIndication
Gets the value of the indication 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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getHospitalization
Gets the value of the hospitalization property.- Returns:
- possible object is
EncounterHospitalization
-
setHospitalization
Sets the value of the hospitalization property.- Parameters:
value- allowed object isEncounterHospitalization
-
getLocation
Gets the value of the location 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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getServiceProvider
Gets the value of the serviceProvider property.- Returns:
- possible object is
Reference
-
setServiceProvider
Sets the value of the serviceProvider property.- Parameters:
value- allowed object isReference
-
getPartOf
Gets the value of the partOf property.- Returns:
- possible object is
Reference
-
setPartOf
Sets the value of the partOf property.- Parameters:
value- allowed object isReference
-
withIdentifier
-
withIdentifier
-
withStatus
-
withStatusHistory
-
withStatusHistory
-
withClazz
-
withType
-
withType
-
withPriority
-
withPatient
-
withEpisodeOfCare
-
withEpisodeOfCare
-
withIncomingReferral
-
withIncomingReferral
-
withParticipant
-
withParticipant
-
withAppointment
-
withPeriod
-
withLength
-
withReason
-
withReason
-
withIndication
-
withIndication
-
withHospitalization
-
withLocation
-
withLocation
-
withServiceProvider
-
withPartOf
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- Overrides:
equalsin classDomainResource
-
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 classDomainResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classDomainResource
-
toString
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setIdentifier
-
setStatusHistory
-
setType
-
setEpisodeOfCare
-
setIncomingReferral
-
setParticipant
-
setReason
-
setIndication
-
setLocation
-