Class CommunicationRequest
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.CommunicationRequest
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class CommunicationRequest extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptcategoryprotected Referenceencounterprotected java.util.List<Identifier>identifierprotected java.util.List<CodeableConcept>mediumprotected java.util.List<CommunicationRequestPayload>payloadprotected CodeableConceptpriorityprotected java.util.List<CodeableConcept>reasonprotected java.util.List<Reference>recipientprotected DateTimerequestedOnprotected Referencerequesterprotected DateTimescheduledDateTimeprotected PeriodscheduledPeriodprotected Referencesenderprotected CommunicationRequestStatusstatusprotected Referencesubject-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description CommunicationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)CodeableConceptgetCategory()Gets the value of the category property.ReferencegetEncounter()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.CodeableConceptgetPriority()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.DateTimegetRequestedOn()Gets the value of the requestedOn property.ReferencegetRequester()Gets the value of the requester property.DateTimegetScheduledDateTime()Gets the value of the scheduledDateTime property.PeriodgetScheduledPeriod()Gets the value of the scheduledPeriod property.ReferencegetSender()Gets the value of the sender property.CommunicationRequestStatusgetStatus()Gets the value of the status property.ReferencegetSubject()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.voidsetPriority(CodeableConcept value)Sets the value of the priority property.voidsetRequestedOn(DateTime value)Sets the value of the requestedOn property.voidsetRequester(Reference value)Sets the value of the requester property.voidsetScheduledDateTime(DateTime value)Sets the value of the scheduledDateTime property.voidsetScheduledPeriod(Period value)Sets the value of the scheduledPeriod property.voidsetSender(Reference value)Sets the value of the sender property.voidsetStatus(CommunicationRequestStatus value)Sets the value of the status property.voidsetSubject(Reference value)Sets the value of the subject property.java.lang.StringtoString()CommunicationRequestwithCategory(CodeableConcept value)CommunicationRequestwithContained(java.util.Collection<ResourceContainer> values)CommunicationRequestwithContained(ResourceContainer... values)CommunicationRequestwithEncounter(Reference value)CommunicationRequestwithExtension(java.util.Collection<Extension> values)CommunicationRequestwithExtension(Extension... values)CommunicationRequestwithId(Id value)CommunicationRequestwithIdentifier(java.util.Collection<Identifier> values)CommunicationRequestwithIdentifier(Identifier... values)CommunicationRequestwithImplicitRules(Uri value)CommunicationRequestwithLanguage(Code value)CommunicationRequestwithMedium(java.util.Collection<CodeableConcept> values)CommunicationRequestwithMedium(CodeableConcept... values)CommunicationRequestwithMeta(Meta value)CommunicationRequestwithModifierExtension(java.util.Collection<Extension> values)CommunicationRequestwithModifierExtension(Extension... values)CommunicationRequestwithPayload(java.util.Collection<CommunicationRequestPayload> values)CommunicationRequestwithPayload(CommunicationRequestPayload... values)CommunicationRequestwithPriority(CodeableConcept value)CommunicationRequestwithReason(java.util.Collection<CodeableConcept> values)CommunicationRequestwithReason(CodeableConcept... values)CommunicationRequestwithRecipient(java.util.Collection<Reference> values)CommunicationRequestwithRecipient(Reference... values)CommunicationRequestwithRequestedOn(DateTime value)CommunicationRequestwithRequester(Reference value)CommunicationRequestwithScheduledDateTime(DateTime value)CommunicationRequestwithScheduledPeriod(Period value)CommunicationRequestwithSender(Reference value)CommunicationRequestwithStatus(CommunicationRequestStatus value)CommunicationRequestwithSubject(Reference value)CommunicationRequestwithText(Narrative value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
identifier
protected java.util.List<Identifier> identifier
-
category
protected CodeableConcept category
-
sender
protected Reference sender
-
recipient
protected java.util.List<Reference> recipient
-
payload
protected java.util.List<CommunicationRequestPayload> payload
-
medium
protected java.util.List<CodeableConcept> medium
-
requester
protected Reference requester
-
status
protected CommunicationRequestStatus status
-
encounter
protected Reference encounter
-
scheduledDateTime
protected DateTime scheduledDateTime
-
scheduledPeriod
protected Period scheduledPeriod
-
reason
protected java.util.List<CodeableConcept> reason
-
requestedOn
protected DateTime requestedOn
-
subject
protected Reference subject
-
priority
protected CodeableConcept priority
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> 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 JAXB 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
public CodeableConcept getCategory()
Gets the value of the category property.- Returns:
- possible object is
CodeableConcept
-
setCategory
public void setCategory(CodeableConcept value)
Sets the value of the category property.- Parameters:
value- allowed object isCodeableConcept
-
getSender
public Reference getSender()
Gets the value of the sender property.- Returns:
- possible object is
Reference
-
setSender
public void setSender(Reference value)
Sets the value of the sender property.- Parameters:
value- allowed object isReference
-
getRecipient
public java.util.List<Reference> 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 JAXB 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
public java.util.List<CommunicationRequestPayload> 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 JAXB 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
CommunicationRequestPayload
-
getMedium
public java.util.List<CodeableConcept> 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 JAXB 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
-
getRequester
public Reference getRequester()
Gets the value of the requester property.- Returns:
- possible object is
Reference
-
setRequester
public void setRequester(Reference value)
Sets the value of the requester property.- Parameters:
value- allowed object isReference
-
getStatus
public CommunicationRequestStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
CommunicationRequestStatus
-
setStatus
public void setStatus(CommunicationRequestStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isCommunicationRequestStatus
-
getEncounter
public Reference getEncounter()
Gets the value of the encounter property.- Returns:
- possible object is
Reference
-
setEncounter
public void setEncounter(Reference value)
Sets the value of the encounter property.- Parameters:
value- allowed object isReference
-
getScheduledDateTime
public DateTime getScheduledDateTime()
Gets the value of the scheduledDateTime property.- Returns:
- possible object is
DateTime
-
setScheduledDateTime
public void setScheduledDateTime(DateTime value)
Sets the value of the scheduledDateTime property.- Parameters:
value- allowed object isDateTime
-
getScheduledPeriod
public Period getScheduledPeriod()
Gets the value of the scheduledPeriod property.- Returns:
- possible object is
Period
-
setScheduledPeriod
public void setScheduledPeriod(Period value)
Sets the value of the scheduledPeriod property.- Parameters:
value- allowed object isPeriod
-
getReason
public java.util.List<CodeableConcept> 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 JAXB 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
-
getRequestedOn
public DateTime getRequestedOn()
Gets the value of the requestedOn property.- Returns:
- possible object is
DateTime
-
setRequestedOn
public void setRequestedOn(DateTime value)
Sets the value of the requestedOn property.- Parameters:
value- allowed object isDateTime
-
getSubject
public Reference getSubject()
Gets the value of the subject property.- Returns:
- possible object is
Reference
-
setSubject
public void setSubject(Reference value)
Sets the value of the subject property.- Parameters:
value- allowed object isReference
-
getPriority
public CodeableConcept getPriority()
Gets the value of the priority property.- Returns:
- possible object is
CodeableConcept
-
setPriority
public void setPriority(CodeableConcept value)
Sets the value of the priority property.- Parameters:
value- allowed object isCodeableConcept
-
withIdentifier
public CommunicationRequest withIdentifier(Identifier... values)
-
withIdentifier
public CommunicationRequest withIdentifier(java.util.Collection<Identifier> values)
-
withCategory
public CommunicationRequest withCategory(CodeableConcept value)
-
withSender
public CommunicationRequest withSender(Reference value)
-
withRecipient
public CommunicationRequest withRecipient(Reference... values)
-
withRecipient
public CommunicationRequest withRecipient(java.util.Collection<Reference> values)
-
withPayload
public CommunicationRequest withPayload(CommunicationRequestPayload... values)
-
withPayload
public CommunicationRequest withPayload(java.util.Collection<CommunicationRequestPayload> values)
-
withMedium
public CommunicationRequest withMedium(CodeableConcept... values)
-
withMedium
public CommunicationRequest withMedium(java.util.Collection<CodeableConcept> values)
-
withRequester
public CommunicationRequest withRequester(Reference value)
-
withStatus
public CommunicationRequest withStatus(CommunicationRequestStatus value)
-
withEncounter
public CommunicationRequest withEncounter(Reference value)
-
withScheduledDateTime
public CommunicationRequest withScheduledDateTime(DateTime value)
-
withScheduledPeriod
public CommunicationRequest withScheduledPeriod(Period value)
-
withReason
public CommunicationRequest withReason(CodeableConcept... values)
-
withReason
public CommunicationRequest withReason(java.util.Collection<CodeableConcept> values)
-
withRequestedOn
public CommunicationRequest withRequestedOn(DateTime value)
-
withSubject
public CommunicationRequest withSubject(Reference value)
-
withPriority
public CommunicationRequest withPriority(CodeableConcept value)
-
withText
public CommunicationRequest withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public CommunicationRequest withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public CommunicationRequest withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public CommunicationRequest withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public CommunicationRequest withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public CommunicationRequest withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public CommunicationRequest withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public CommunicationRequest withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public CommunicationRequest withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public CommunicationRequest withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public CommunicationRequest withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public 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.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- 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
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-