public class ReferralRequest extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for ReferralRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ReferralRequest">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="basedOn" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="parent" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}ReferralStatus"/>
<element name="category" type="{http://hl7.org/fhir}ReferralCategory"/>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="priority" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="patient" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="context" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="fulfillmentTime" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
<element name="authored" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="requester" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="specialty" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="recipient" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="reason" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="serviceRequested" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="supportingInformation" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DateTime |
authored |
protected java.util.List<Reference> |
basedOn |
protected ReferralCategory |
category |
protected Reference |
context |
protected String |
description |
protected Period |
fulfillmentTime |
protected java.util.List<Identifier> |
identifier |
protected Identifier |
parent |
protected Reference |
patient |
protected CodeableConcept |
priority |
protected CodeableConcept |
reason |
protected java.util.List<Reference> |
recipient |
protected Reference |
requester |
protected java.util.List<CodeableConcept> |
serviceRequested |
protected CodeableConcept |
specialty |
protected ReferralStatus |
status |
protected java.util.List<Reference> |
supportingInformation |
protected CodeableConcept |
type |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
ReferralRequest() |
| 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) |
DateTime |
getAuthored()
Gets the value of the authored property.
|
java.util.List<Reference> |
getBasedOn()
Gets the value of the basedOn property.
|
ReferralCategory |
getCategory()
Gets the value of the category property.
|
Reference |
getContext()
Gets the value of the context property.
|
String |
getDescription()
Gets the value of the description property.
|
Period |
getFulfillmentTime()
Gets the value of the fulfillmentTime property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
Identifier |
getParent()
Gets the value of the parent property.
|
Reference |
getPatient()
Gets the value of the patient property.
|
CodeableConcept |
getPriority()
Gets the value of the priority property.
|
CodeableConcept |
getReason()
Gets the value of the reason property.
|
java.util.List<Reference> |
getRecipient()
Gets the value of the recipient property.
|
Reference |
getRequester()
Gets the value of the requester property.
|
java.util.List<CodeableConcept> |
getServiceRequested()
Gets the value of the serviceRequested property.
|
CodeableConcept |
getSpecialty()
Gets the value of the specialty property.
|
ReferralStatus |
getStatus()
Gets the value of the status property.
|
java.util.List<Reference> |
getSupportingInformation()
Gets the value of the supportingInformation property.
|
CodeableConcept |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAuthored(DateTime value)
Sets the value of the authored property.
|
void |
setCategory(ReferralCategory value)
Sets the value of the category property.
|
void |
setContext(Reference value)
Sets the value of the context property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setFulfillmentTime(Period value)
Sets the value of the fulfillmentTime property.
|
void |
setParent(Identifier value)
Sets the value of the parent property.
|
void |
setPatient(Reference value)
Sets the value of the patient property.
|
void |
setPriority(CodeableConcept value)
Sets the value of the priority property.
|
void |
setReason(CodeableConcept value)
Sets the value of the reason property.
|
void |
setRequester(Reference value)
Sets the value of the requester property.
|
void |
setSpecialty(CodeableConcept value)
Sets the value of the specialty property.
|
void |
setStatus(ReferralStatus value)
Sets the value of the status property.
|
void |
setType(CodeableConcept value)
Sets the value of the type property.
|
java.lang.String |
toString() |
ReferralRequest |
withAuthored(DateTime value) |
ReferralRequest |
withBasedOn(java.util.Collection<Reference> values) |
ReferralRequest |
withBasedOn(Reference... values) |
ReferralRequest |
withCategory(ReferralCategory value) |
ReferralRequest |
withContained(java.util.Collection<ResourceContainer> values) |
ReferralRequest |
withContained(ResourceContainer... values) |
ReferralRequest |
withContext(Reference value) |
ReferralRequest |
withDescription(String value) |
ReferralRequest |
withExtension(java.util.Collection<Extension> values) |
ReferralRequest |
withExtension(Extension... values) |
ReferralRequest |
withFulfillmentTime(Period value) |
ReferralRequest |
withId(Id value) |
ReferralRequest |
withIdentifier(java.util.Collection<Identifier> values) |
ReferralRequest |
withIdentifier(Identifier... values) |
ReferralRequest |
withImplicitRules(Uri value) |
ReferralRequest |
withLanguage(Code value) |
ReferralRequest |
withMeta(Meta value) |
ReferralRequest |
withModifierExtension(java.util.Collection<Extension> values) |
ReferralRequest |
withModifierExtension(Extension... values) |
ReferralRequest |
withParent(Identifier value) |
ReferralRequest |
withPatient(Reference value) |
ReferralRequest |
withPriority(CodeableConcept value) |
ReferralRequest |
withReason(CodeableConcept value) |
ReferralRequest |
withRecipient(java.util.Collection<Reference> values) |
ReferralRequest |
withRecipient(Reference... values) |
ReferralRequest |
withRequester(Reference value) |
ReferralRequest |
withServiceRequested(CodeableConcept... values) |
ReferralRequest |
withServiceRequested(java.util.Collection<CodeableConcept> values) |
ReferralRequest |
withSpecialty(CodeableConcept value) |
ReferralRequest |
withStatus(ReferralStatus value) |
ReferralRequest |
withSupportingInformation(java.util.Collection<Reference> values) |
ReferralRequest |
withSupportingInformation(Reference... values) |
ReferralRequest |
withText(Narrative value) |
ReferralRequest |
withType(CodeableConcept value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected java.util.List<Reference> basedOn
protected Identifier parent
protected ReferralStatus status
protected ReferralCategory category
protected CodeableConcept type
protected CodeableConcept priority
protected Reference patient
protected Reference context
protected Period fulfillmentTime
protected DateTime authored
protected Reference requester
protected CodeableConcept specialty
protected java.util.List<Reference> recipient
protected CodeableConcept reason
protected String description
protected java.util.List<CodeableConcept> serviceRequested
protected java.util.List<Reference> supportingInformation
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 java.util.List<Reference> getBasedOn()
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 basedOn property.
For example, to add a new item, do as follows:
getBasedOn().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public Identifier getParent()
Identifierpublic void setParent(Identifier value)
value - allowed object is
Identifierpublic ReferralStatus getStatus()
ReferralStatuspublic void setStatus(ReferralStatus value)
value - allowed object is
ReferralStatuspublic ReferralCategory getCategory()
ReferralCategorypublic void setCategory(ReferralCategory value)
value - allowed object is
ReferralCategorypublic CodeableConcept getType()
CodeableConceptpublic void setType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic CodeableConcept getPriority()
CodeableConceptpublic void setPriority(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getPatient()
Referencepublic void setPatient(Reference value)
value - allowed object is
Referencepublic Reference getContext()
Referencepublic void setContext(Reference value)
value - allowed object is
Referencepublic Period getFulfillmentTime()
Periodpublic void setFulfillmentTime(Period value)
value - allowed object is
Periodpublic DateTime getAuthored()
DateTimepublic void setAuthored(DateTime value)
value - allowed object is
DateTimepublic Reference getRequester()
Referencepublic void setRequester(Reference value)
value - allowed object is
Referencepublic CodeableConcept getSpecialty()
CodeableConceptpublic void setSpecialty(CodeableConcept value)
value - allowed object is
CodeableConceptpublic 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 CodeableConcept getReason()
CodeableConceptpublic void setReason(CodeableConcept value)
value - allowed object is
CodeableConceptpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic java.util.List<CodeableConcept> getServiceRequested()
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 serviceRequested property.
For example, to add a new item, do as follows:
getServiceRequested().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public java.util.List<Reference> getSupportingInformation()
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 supportingInformation property.
For example, to add a new item, do as follows:
getSupportingInformation().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public ReferralRequest withIdentifier(Identifier... values)
public ReferralRequest withIdentifier(java.util.Collection<Identifier> values)
public ReferralRequest withBasedOn(Reference... values)
public ReferralRequest withBasedOn(java.util.Collection<Reference> values)
public ReferralRequest withParent(Identifier value)
public ReferralRequest withStatus(ReferralStatus value)
public ReferralRequest withCategory(ReferralCategory value)
public ReferralRequest withType(CodeableConcept value)
public ReferralRequest withPriority(CodeableConcept value)
public ReferralRequest withPatient(Reference value)
public ReferralRequest withContext(Reference value)
public ReferralRequest withFulfillmentTime(Period value)
public ReferralRequest withAuthored(DateTime value)
public ReferralRequest withRequester(Reference value)
public ReferralRequest withSpecialty(CodeableConcept value)
public ReferralRequest withRecipient(Reference... values)
public ReferralRequest withRecipient(java.util.Collection<Reference> values)
public ReferralRequest withReason(CodeableConcept value)
public ReferralRequest withDescription(String value)
public ReferralRequest withServiceRequested(CodeableConcept... values)
public ReferralRequest withServiceRequested(java.util.Collection<CodeableConcept> values)
public ReferralRequest withSupportingInformation(Reference... values)
public ReferralRequest withSupportingInformation(java.util.Collection<Reference> values)
public ReferralRequest withText(Narrative value)
withText in class DomainResourcepublic ReferralRequest withContained(ResourceContainer... values)
withContained in class DomainResourcepublic ReferralRequest withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic ReferralRequest withExtension(Extension... values)
withExtension in class DomainResourcepublic ReferralRequest withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic ReferralRequest withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic ReferralRequest withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic ReferralRequest withId(Id value)
withId in class DomainResourcepublic ReferralRequest withMeta(Meta value)
withMeta in class DomainResourcepublic ReferralRequest withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic ReferralRequest 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