public class CommunicationRequest extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for CommunicationRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommunicationRequest">
<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}CommunicationRequest.Payload" maxOccurs="unbounded" minOccurs="0"/>
<element name="medium" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="requester" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}CommunicationRequestStatus" minOccurs="0"/>
<element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<choice minOccurs="0">
<element name="scheduledDateTime" type="{http://hl7.org/fhir}dateTime"/>
<element name="scheduledPeriod" type="{http://hl7.org/fhir}Period"/>
</choice>
<element name="reason" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="requestedOn" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="priority" type="{http://hl7.org/fhir}CodeableConcept" 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<CommunicationRequestPayload> |
payload |
protected CodeableConcept |
priority |
protected java.util.List<CodeableConcept> |
reason |
protected java.util.List<Reference> |
recipient |
protected DateTime |
requestedOn |
protected Reference |
requester |
protected DateTime |
scheduledDateTime |
protected Period |
scheduledPeriod |
protected Reference |
sender |
protected CommunicationRequestStatus |
status |
protected Reference |
subject |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
CommunicationRequest() |
| 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<CommunicationRequestPayload> |
getPayload()
Gets the value of the payload property.
|
CodeableConcept |
getPriority()
Gets the value of the priority property.
|
java.util.List<CodeableConcept> |
getReason()
Gets the value of the reason property.
|
java.util.List<Reference> |
getRecipient()
Gets the value of the recipient property.
|
DateTime |
getRequestedOn()
Gets the value of the requestedOn property.
|
Reference |
getRequester()
Gets the value of the requester property.
|
DateTime |
getScheduledDateTime()
Gets the value of the scheduledDateTime property.
|
Period |
getScheduledPeriod()
Gets the value of the scheduledPeriod property.
|
Reference |
getSender()
Gets the value of the sender property.
|
CommunicationRequestStatus |
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 |
setPriority(CodeableConcept value)
Sets the value of the priority property.
|
void |
setRequestedOn(DateTime value)
Sets the value of the requestedOn property.
|
void |
setRequester(Reference value)
Sets the value of the requester property.
|
void |
setScheduledDateTime(DateTime value)
Sets the value of the scheduledDateTime property.
|
void |
setScheduledPeriod(Period value)
Sets the value of the scheduledPeriod property.
|
void |
setSender(Reference value)
Sets the value of the sender property.
|
void |
setStatus(CommunicationRequestStatus value)
Sets the value of the status property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
java.lang.String |
toString() |
CommunicationRequest |
withCategory(CodeableConcept value) |
CommunicationRequest |
withContained(java.util.Collection<ResourceContainer> values) |
CommunicationRequest |
withContained(ResourceContainer... values) |
CommunicationRequest |
withEncounter(Reference value) |
CommunicationRequest |
withExtension(java.util.Collection<Extension> values) |
CommunicationRequest |
withExtension(Extension... values) |
CommunicationRequest |
withId(Id value) |
CommunicationRequest |
withIdentifier(java.util.Collection<Identifier> values) |
CommunicationRequest |
withIdentifier(Identifier... values) |
CommunicationRequest |
withImplicitRules(Uri value) |
CommunicationRequest |
withLanguage(Code value) |
CommunicationRequest |
withMedium(CodeableConcept... values) |
CommunicationRequest |
withMedium(java.util.Collection<CodeableConcept> values) |
CommunicationRequest |
withMeta(Meta value) |
CommunicationRequest |
withModifierExtension(java.util.Collection<Extension> values) |
CommunicationRequest |
withModifierExtension(Extension... values) |
CommunicationRequest |
withPayload(java.util.Collection<CommunicationRequestPayload> values) |
CommunicationRequest |
withPayload(CommunicationRequestPayload... values) |
CommunicationRequest |
withPriority(CodeableConcept value) |
CommunicationRequest |
withReason(CodeableConcept... values) |
CommunicationRequest |
withReason(java.util.Collection<CodeableConcept> values) |
CommunicationRequest |
withRecipient(java.util.Collection<Reference> values) |
CommunicationRequest |
withRecipient(Reference... values) |
CommunicationRequest |
withRequestedOn(DateTime value) |
CommunicationRequest |
withRequester(Reference value) |
CommunicationRequest |
withScheduledDateTime(DateTime value) |
CommunicationRequest |
withScheduledPeriod(Period value) |
CommunicationRequest |
withSender(Reference value) |
CommunicationRequest |
withStatus(CommunicationRequestStatus value) |
CommunicationRequest |
withSubject(Reference value) |
CommunicationRequest |
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<CommunicationRequestPayload> payload
protected java.util.List<CodeableConcept> medium
protected Reference requester
protected CommunicationRequestStatus status
protected Reference encounter
protected DateTime scheduledDateTime
protected Period scheduledPeriod
protected java.util.List<CodeableConcept> reason
protected DateTime requestedOn
protected Reference subject
protected CodeableConcept priority
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<CommunicationRequestPayload> 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
CommunicationRequestPayload
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 Reference getRequester()
Referencepublic void setRequester(Reference value)
value - allowed object is
Referencepublic CommunicationRequestStatus getStatus()
CommunicationRequestStatuspublic void setStatus(CommunicationRequestStatus value)
value - allowed object is
CommunicationRequestStatuspublic Reference getEncounter()
Referencepublic void setEncounter(Reference value)
value - allowed object is
Referencepublic DateTime getScheduledDateTime()
DateTimepublic void setScheduledDateTime(DateTime value)
value - allowed object is
DateTimepublic Period getScheduledPeriod()
Periodpublic void setScheduledPeriod(Period value)
value - allowed object is
Periodpublic 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 DateTime getRequestedOn()
DateTimepublic void setRequestedOn(DateTime value)
value - allowed object is
DateTimepublic Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic CodeableConcept getPriority()
CodeableConceptpublic void setPriority(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CommunicationRequest withIdentifier(Identifier... values)
public CommunicationRequest withIdentifier(java.util.Collection<Identifier> values)
public CommunicationRequest withCategory(CodeableConcept value)
public CommunicationRequest withSender(Reference value)
public CommunicationRequest withRecipient(Reference... values)
public CommunicationRequest withRecipient(java.util.Collection<Reference> values)
public CommunicationRequest withPayload(CommunicationRequestPayload... values)
public CommunicationRequest withPayload(java.util.Collection<CommunicationRequestPayload> values)
public CommunicationRequest withMedium(CodeableConcept... values)
public CommunicationRequest withMedium(java.util.Collection<CodeableConcept> values)
public CommunicationRequest withRequester(Reference value)
public CommunicationRequest withStatus(CommunicationRequestStatus value)
public CommunicationRequest withEncounter(Reference value)
public CommunicationRequest withScheduledDateTime(DateTime value)
public CommunicationRequest withScheduledPeriod(Period value)
public CommunicationRequest withReason(CodeableConcept... values)
public CommunicationRequest withReason(java.util.Collection<CodeableConcept> values)
public CommunicationRequest withRequestedOn(DateTime value)
public CommunicationRequest withSubject(Reference value)
public CommunicationRequest withPriority(CodeableConcept value)
public CommunicationRequest withText(Narrative value)
withText in class DomainResourcepublic CommunicationRequest withContained(ResourceContainer... values)
withContained in class DomainResourcepublic CommunicationRequest withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic CommunicationRequest withExtension(Extension... values)
withExtension in class DomainResourcepublic CommunicationRequest withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic CommunicationRequest withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic CommunicationRequest withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic CommunicationRequest withId(Id value)
withId in class DomainResourcepublic CommunicationRequest withMeta(Meta value)
withMeta in class DomainResourcepublic CommunicationRequest withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic CommunicationRequest 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