public class Communication extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Communication complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Communication">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="category" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="sender" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="recipient" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="payload" type="{http://hl7.org/fhir}Communication.Payload" maxOccurs="unbounded" minOccurs="0"/>
<element name="medium" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}CommunicationStatus" minOccurs="0"/>
<element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="sent" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="received" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="reason" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="requestDetail" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
category |
protected Reference |
encounter |
protected java.util.List<Identifier> |
identifier |
protected java.util.List<CodeableConcept> |
medium |
protected java.util.List<CommunicationPayload> |
payload |
protected java.util.List<CodeableConcept> |
reason |
protected DateTime |
received |
protected java.util.List<Reference> |
recipient |
protected Reference |
requestDetail |
protected Reference |
sender |
protected DateTime |
sent |
protected CommunicationStatus |
status |
protected Reference |
subject |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Communication() |
| 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 |
getCategory()
Gets the value of the category property.
|
Reference |
getEncounter()
Gets the value of the encounter property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
java.util.List<CodeableConcept> |
getMedium()
Gets the value of the medium property.
|
java.util.List<CommunicationPayload> |
getPayload()
Gets the value of the payload property.
|
java.util.List<CodeableConcept> |
getReason()
Gets the value of the reason property.
|
DateTime |
getReceived()
Gets the value of the received property.
|
java.util.List<Reference> |
getRecipient()
Gets the value of the recipient property.
|
Reference |
getRequestDetail()
Gets the value of the requestDetail property.
|
Reference |
getSender()
Gets the value of the sender property.
|
DateTime |
getSent()
Gets the value of the sent property.
|
CommunicationStatus |
getStatus()
Gets the value of the status property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCategory(CodeableConcept value)
Sets the value of the category property.
|
void |
setEncounter(Reference value)
Sets the value of the encounter property.
|
void |
setReceived(DateTime value)
Sets the value of the received property.
|
void |
setRequestDetail(Reference value)
Sets the value of the requestDetail property.
|
void |
setSender(Reference value)
Sets the value of the sender property.
|
void |
setSent(DateTime value)
Sets the value of the sent property.
|
void |
setStatus(CommunicationStatus value)
Sets the value of the status property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
java.lang.String |
toString() |
Communication |
withCategory(CodeableConcept value) |
Communication |
withContained(java.util.Collection<ResourceContainer> values) |
Communication |
withContained(ResourceContainer... values) |
Communication |
withEncounter(Reference value) |
Communication |
withExtension(java.util.Collection<Extension> values) |
Communication |
withExtension(Extension... values) |
Communication |
withId(Id value) |
Communication |
withIdentifier(java.util.Collection<Identifier> values) |
Communication |
withIdentifier(Identifier... values) |
Communication |
withImplicitRules(Uri value) |
Communication |
withLanguage(Code value) |
Communication |
withMedium(CodeableConcept... values) |
Communication |
withMedium(java.util.Collection<CodeableConcept> values) |
Communication |
withMeta(Meta value) |
Communication |
withModifierExtension(java.util.Collection<Extension> values) |
Communication |
withModifierExtension(Extension... values) |
Communication |
withPayload(java.util.Collection<CommunicationPayload> values) |
Communication |
withPayload(CommunicationPayload... values) |
Communication |
withReason(CodeableConcept... values) |
Communication |
withReason(java.util.Collection<CodeableConcept> values) |
Communication |
withReceived(DateTime value) |
Communication |
withRecipient(java.util.Collection<Reference> values) |
Communication |
withRecipient(Reference... values) |
Communication |
withRequestDetail(Reference value) |
Communication |
withSender(Reference value) |
Communication |
withSent(DateTime value) |
Communication |
withStatus(CommunicationStatus value) |
Communication |
withSubject(Reference value) |
Communication |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected CodeableConcept category
protected Reference sender
protected java.util.List<Reference> recipient
protected java.util.List<CommunicationPayload> payload
protected java.util.List<CodeableConcept> medium
protected CommunicationStatus status
protected Reference encounter
protected DateTime sent
protected DateTime received
protected java.util.List<CodeableConcept> reason
protected Reference subject
protected Reference requestDetail
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 CodeableConcept getCategory()
CodeableConceptpublic void setCategory(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getSender()
Referencepublic void setSender(Reference value)
value - allowed object is
Referencepublic java.util.List<Reference> getRecipient()
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 recipient property.
For example, to add a new item, do as follows:
getRecipient().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public java.util.List<CommunicationPayload> getPayload()
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 payload property.
For example, to add a new item, do as follows:
getPayload().add(newItem);
Objects of the following type(s) are allowed in the list
CommunicationPayload
public java.util.List<CodeableConcept> getMedium()
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 medium property.
For example, to add a new item, do as follows:
getMedium().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public CommunicationStatus getStatus()
CommunicationStatuspublic void setStatus(CommunicationStatus value)
value - allowed object is
CommunicationStatuspublic Reference getEncounter()
Referencepublic void setEncounter(Reference value)
value - allowed object is
Referencepublic DateTime getSent()
DateTimepublic void setSent(DateTime value)
value - allowed object is
DateTimepublic DateTime getReceived()
DateTimepublic void setReceived(DateTime value)
value - allowed object is
DateTimepublic 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 Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic Reference getRequestDetail()
Referencepublic void setRequestDetail(Reference value)
value - allowed object is
Referencepublic Communication withIdentifier(Identifier... values)
public Communication withIdentifier(java.util.Collection<Identifier> values)
public Communication withCategory(CodeableConcept value)
public Communication withSender(Reference value)
public Communication withRecipient(Reference... values)
public Communication withRecipient(java.util.Collection<Reference> values)
public Communication withPayload(CommunicationPayload... values)
public Communication withPayload(java.util.Collection<CommunicationPayload> values)
public Communication withMedium(CodeableConcept... values)
public Communication withMedium(java.util.Collection<CodeableConcept> values)
public Communication withStatus(CommunicationStatus value)
public Communication withEncounter(Reference value)
public Communication withSent(DateTime value)
public Communication withReceived(DateTime value)
public Communication withReason(CodeableConcept... values)
public Communication withReason(java.util.Collection<CodeableConcept> values)
public Communication withSubject(Reference value)
public Communication withRequestDetail(Reference value)
public Communication withText(Narrative value)
withText in class DomainResourcepublic Communication withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Communication withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Communication withExtension(Extension... values)
withExtension in class DomainResourcepublic Communication withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Communication withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Communication withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Communication withId(Id value)
withId in class DomainResourcepublic Communication withMeta(Meta value)
withMeta in class DomainResourcepublic Communication withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Communication 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