Class Communication
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CodeableConceptprotected Referenceprotected List<Identifier> protected List<CodeableConcept> protected List<CommunicationPayload> protected List<CodeableConcept> protected DateTimeprotected Referenceprotected Referenceprotected DateTimeprotected CommunicationStatusprotected ReferenceFields 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 category property.Gets the value of the encounter property.Gets the value of the identifier property.Gets the value of the medium property.Gets the value of the payload property.Gets the value of the reason property.Gets the value of the received property.Gets the value of the recipient property.Gets the value of the requestDetail property.Gets the value of the sender property.getSent()Gets the value of the sent property.Gets the value of the status property.Gets the value of the subject property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetCategory(CodeableConcept value) Sets the value of the category property.voidsetEncounter(Reference value) Sets the value of the encounter property.voidsetIdentifier(List<Identifier> value) voidsetMedium(List<CodeableConcept> value) voidsetPayload(List<CommunicationPayload> value) voidsetReason(List<CodeableConcept> value) voidsetReceived(DateTime value) Sets the value of the received property.voidsetRecipient(List<Reference> value) voidsetRequestDetail(Reference value) Sets the value of the requestDetail property.voidSets the value of the sender property.voidSets the value of the sent property.voidsetStatus(CommunicationStatus value) Sets the value of the status property.voidsetSubject(Reference value) Sets the value of the subject property.toString()withCategory(CodeableConcept value) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withEncounter(Reference value) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withLanguage(Code value) withMedium(Collection<CodeableConcept> values) withMedium(CodeableConcept... values) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withPayload(Collection<CommunicationPayload> values) withPayload(CommunicationPayload... values) withReason(Collection<CodeableConcept> values) withReason(CodeableConcept... values) withReceived(DateTime value) withRecipient(Collection<Reference> values) withRecipient(Reference... values) withRequestDetail(Reference value) withSender(Reference value) withStatus(CommunicationStatus value) withSubject(Reference value) 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
-
category
-
sender
-
recipient
-
payload
-
medium
-
status
-
encounter
-
sent
-
received
-
reason
-
subject
-
requestDetail
-
-
Constructor Details
-
Communication
public Communication()
-
-
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 -
getCategory
Gets the value of the category property.- Returns:
- possible object is
CodeableConcept
-
setCategory
Sets the value of the category property.- Parameters:
value- allowed object isCodeableConcept
-
getSender
Gets the value of the sender property.- Returns:
- possible object is
Reference
-
setSender
Sets the value of the sender property.- Parameters:
value- allowed object isReference
-
getRecipient
Gets the value of the recipient 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 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 -
getPayload
Gets the value of the payload 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 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 -
getMedium
Gets the value of the medium 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 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 -
getStatus
Gets the value of the status property.- Returns:
- possible object is
CommunicationStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isCommunicationStatus
-
getEncounter
Gets the value of the encounter property.- Returns:
- possible object is
Reference
-
setEncounter
Sets the value of the encounter property.- Parameters:
value- allowed object isReference
-
getSent
Gets the value of the sent property.- Returns:
- possible object is
DateTime
-
setSent
Sets the value of the sent property.- Parameters:
value- allowed object isDateTime
-
getReceived
Gets the value of the received property.- Returns:
- possible object is
DateTime
-
setReceived
Sets the value of the received property.- Parameters:
value- allowed object isDateTime
-
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 -
getSubject
Gets the value of the subject property.- Returns:
- possible object is
Reference
-
setSubject
Sets the value of the subject property.- Parameters:
value- allowed object isReference
-
getRequestDetail
Gets the value of the requestDetail property.- Returns:
- possible object is
Reference
-
setRequestDetail
Sets the value of the requestDetail property.- Parameters:
value- allowed object isReference
-
withIdentifier
-
withIdentifier
-
withCategory
-
withSender
-
withRecipient
-
withRecipient
-
withPayload
-
withPayload
-
withMedium
-
withMedium
-
withStatus
-
withEncounter
-
withSent
-
withReceived
-
withReason
-
withReason
-
withSubject
-
withRequestDetail
-
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
-
setRecipient
-
setPayload
-
setMedium
-
setReason
-