public class EncounterParticipant 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.Participant complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Encounter.Participant">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
<element name="individual" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
individual |
protected Period |
period |
protected java.util.List<CodeableConcept> |
type |
modifierExtension| Constructor and Description |
|---|
EncounterParticipant() |
| 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 |
getIndividual()
Gets the value of the individual property.
|
Period |
getPeriod()
Gets the value of the period 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 |
setIndividual(Reference value)
Sets the value of the individual property.
|
void |
setPeriod(Period value)
Sets the value of the period property.
|
java.lang.String |
toString() |
EncounterParticipant |
withExtension(java.util.Collection<Extension> values) |
EncounterParticipant |
withExtension(Extension... values) |
EncounterParticipant |
withId(java.lang.String value) |
EncounterParticipant |
withIndividual(Reference value) |
EncounterParticipant |
withModifierExtension(java.util.Collection<Extension> values) |
EncounterParticipant |
withModifierExtension(Extension... values) |
EncounterParticipant |
withPeriod(Period value) |
EncounterParticipant |
withType(CodeableConcept... values) |
EncounterParticipant |
withType(java.util.Collection<CodeableConcept> values) |
getModifierExtensiongetExtension, getId, setIdprotected java.util.List<CodeableConcept> type
protected Period period
protected Reference individual
public 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 Period getPeriod()
Periodpublic void setPeriod(Period value)
value - allowed object is
Periodpublic Reference getIndividual()
Referencepublic void setIndividual(Reference value)
value - allowed object is
Referencepublic EncounterParticipant withType(CodeableConcept... values)
public EncounterParticipant withType(java.util.Collection<CodeableConcept> values)
public EncounterParticipant withPeriod(Period value)
public EncounterParticipant withIndividual(Reference value)
public EncounterParticipant withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic EncounterParticipant withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic EncounterParticipant withExtension(Extension... values)
withExtension in class BackboneElementpublic EncounterParticipant withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic EncounterParticipant 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