Class CommunicationRequest
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CodeableConceptprotected Referenceprotected List<Identifier> protected List<CodeableConcept> protected List<CommunicationRequestPayload> protected CodeableConceptprotected List<CodeableConcept> protected DateTimeprotected Referenceprotected DateTimeprotected Periodprotected Referenceprotected CommunicationRequestStatusprotected 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 priority property.Gets the value of the reason property.Gets the value of the recipient property.Gets the value of the requestedOn property.Gets the value of the requester property.Gets the value of the scheduledDateTime property.Gets the value of the scheduledPeriod property.Gets the value of the sender 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) voidvoidsetPriority(CodeableConcept value) Sets the value of the priority property.voidsetReason(List<CodeableConcept> value) voidsetRecipient(List<Reference> value) 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.voidSets the value of the sender property.voidSets 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(CommunicationRequestPayload... values) withPriority(CodeableConcept value) withReason(Collection<CodeableConcept> values) withReason(CodeableConcept... values) withRecipient(Collection<Reference> values) withRecipient(Reference... values) withRequestedOn(DateTime value) withRequester(Reference value) withScheduledDateTime(DateTime value) withScheduledPeriod(Period value) withSender(Reference 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
-
requester
-
status
-
encounter
-
scheduledDateTime
-
scheduledPeriod
-
reason
-
requestedOn
-
subject
-
priority
-
-
Constructor Details
-
CommunicationRequest
public CommunicationRequest()
-
-
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
CommunicationRequestPayload -
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 -
getRequester
Gets the value of the requester property.- Returns:
- possible object is
Reference
-
setRequester
Sets the value of the requester property.- Parameters:
value- allowed object isReference
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
CommunicationRequestStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isCommunicationRequestStatus
-
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
-
getScheduledDateTime
Gets the value of the scheduledDateTime property.- Returns:
- possible object is
DateTime
-
setScheduledDateTime
Sets the value of the scheduledDateTime property.- Parameters:
value- allowed object isDateTime
-
getScheduledPeriod
Gets the value of the scheduledPeriod property.- Returns:
- possible object is
Period
-
setScheduledPeriod
Sets the value of the scheduledPeriod property.- Parameters:
value- allowed object isPeriod
-
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 -
getRequestedOn
Gets the value of the requestedOn property.- Returns:
- possible object is
DateTime
-
setRequestedOn
Sets the value of the requestedOn property.- Parameters:
value- allowed object isDateTime
-
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
-
getPriority
Gets the value of the priority property.- Returns:
- possible object is
CodeableConcept
-
setPriority
Sets the value of the priority property.- Parameters:
value- allowed object isCodeableConcept
-
withIdentifier
-
withIdentifier
-
withCategory
-
withSender
-
withRecipient
-
withRecipient
-
withPayload
-
withPayload
-
withMedium
-
withMedium
-
withRequester
-
withStatus
-
withEncounter
-
withScheduledDateTime
-
withScheduledPeriod
-
withReason
-
withReason
-
withRequestedOn
-
withSubject
-
withPriority
-
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
-