Class ReferralRequest
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.ReferralRequest
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ReferralRequest 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 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected DateTimeauthoredprotected java.util.List<Reference>basedOnprotected ReferralCategorycategoryprotected Referencecontextprotected Stringdescriptionprotected PeriodfulfillmentTimeprotected java.util.List<Identifier>identifierprotected Identifierparentprotected Referencepatientprotected CodeableConceptpriorityprotected CodeableConceptreasonprotected java.util.List<Reference>recipientprotected Referencerequesterprotected java.util.List<CodeableConcept>serviceRequestedprotected CodeableConceptspecialtyprotected ReferralStatusstatusprotected java.util.List<Reference>supportingInformationprotected CodeableConcepttype-
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 ReferralRequest()
-
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)DateTimegetAuthored()Gets the value of the authored property.java.util.List<Reference>getBasedOn()Gets the value of the basedOn property.ReferralCategorygetCategory()Gets the value of the category property.ReferencegetContext()Gets the value of the context property.StringgetDescription()Gets the value of the description property.PeriodgetFulfillmentTime()Gets the value of the fulfillmentTime property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.IdentifiergetParent()Gets the value of the parent property.ReferencegetPatient()Gets the value of the patient property.CodeableConceptgetPriority()Gets the value of the priority property.CodeableConceptgetReason()Gets the value of the reason property.java.util.List<Reference>getRecipient()Gets the value of the recipient property.ReferencegetRequester()Gets the value of the requester property.java.util.List<CodeableConcept>getServiceRequested()Gets the value of the serviceRequested property.CodeableConceptgetSpecialty()Gets the value of the specialty property.ReferralStatusgetStatus()Gets the value of the status property.java.util.List<Reference>getSupportingInformation()Gets the value of the supportingInformation property.CodeableConceptgetType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAuthored(DateTime value)Sets the value of the authored property.voidsetCategory(ReferralCategory value)Sets the value of the category property.voidsetContext(Reference value)Sets the value of the context property.voidsetDescription(String value)Sets the value of the description property.voidsetFulfillmentTime(Period value)Sets the value of the fulfillmentTime property.voidsetParent(Identifier value)Sets the value of the parent property.voidsetPatient(Reference value)Sets the value of the patient property.voidsetPriority(CodeableConcept value)Sets the value of the priority property.voidsetReason(CodeableConcept value)Sets the value of the reason property.voidsetRequester(Reference value)Sets the value of the requester property.voidsetSpecialty(CodeableConcept value)Sets the value of the specialty property.voidsetStatus(ReferralStatus value)Sets the value of the status property.voidsetType(CodeableConcept value)Sets the value of the type property.java.lang.StringtoString()ReferralRequestwithAuthored(DateTime value)ReferralRequestwithBasedOn(java.util.Collection<Reference> values)ReferralRequestwithBasedOn(Reference... values)ReferralRequestwithCategory(ReferralCategory value)ReferralRequestwithContained(java.util.Collection<ResourceContainer> values)ReferralRequestwithContained(ResourceContainer... values)ReferralRequestwithContext(Reference value)ReferralRequestwithDescription(String value)ReferralRequestwithExtension(java.util.Collection<Extension> values)ReferralRequestwithExtension(Extension... values)ReferralRequestwithFulfillmentTime(Period value)ReferralRequestwithId(Id value)ReferralRequestwithIdentifier(java.util.Collection<Identifier> values)ReferralRequestwithIdentifier(Identifier... values)ReferralRequestwithImplicitRules(Uri value)ReferralRequestwithLanguage(Code value)ReferralRequestwithMeta(Meta value)ReferralRequestwithModifierExtension(java.util.Collection<Extension> values)ReferralRequestwithModifierExtension(Extension... values)ReferralRequestwithParent(Identifier value)ReferralRequestwithPatient(Reference value)ReferralRequestwithPriority(CodeableConcept value)ReferralRequestwithReason(CodeableConcept value)ReferralRequestwithRecipient(java.util.Collection<Reference> values)ReferralRequestwithRecipient(Reference... values)ReferralRequestwithRequester(Reference value)ReferralRequestwithServiceRequested(java.util.Collection<CodeableConcept> values)ReferralRequestwithServiceRequested(CodeableConcept... values)ReferralRequestwithSpecialty(CodeableConcept value)ReferralRequestwithStatus(ReferralStatus value)ReferralRequestwithSupportingInformation(java.util.Collection<Reference> values)ReferralRequestwithSupportingInformation(Reference... values)ReferralRequestwithText(Narrative value)ReferralRequestwithType(CodeableConcept 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
-
basedOn
protected java.util.List<Reference> basedOn
-
parent
protected Identifier parent
-
status
protected ReferralStatus status
-
category
protected ReferralCategory category
-
type
protected CodeableConcept type
-
priority
protected CodeableConcept priority
-
patient
protected Reference patient
-
context
protected Reference context
-
fulfillmentTime
protected Period fulfillmentTime
-
authored
protected DateTime authored
-
requester
protected Reference requester
-
specialty
protected CodeableConcept specialty
-
recipient
protected java.util.List<Reference> recipient
-
reason
protected CodeableConcept reason
-
description
protected String description
-
serviceRequested
protected java.util.List<CodeableConcept> serviceRequested
-
supportingInformation
protected java.util.List<Reference> supportingInformation
-
-
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
-
getBasedOn
public java.util.List<Reference> getBasedOn()
Gets the value of the basedOn 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 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
-
getParent
public Identifier getParent()
Gets the value of the parent property.- Returns:
- possible object is
Identifier
-
setParent
public void setParent(Identifier value)
Sets the value of the parent property.- Parameters:
value- allowed object isIdentifier
-
getStatus
public ReferralStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
ReferralStatus
-
setStatus
public void setStatus(ReferralStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isReferralStatus
-
getCategory
public ReferralCategory getCategory()
Gets the value of the category property.- Returns:
- possible object is
ReferralCategory
-
setCategory
public void setCategory(ReferralCategory value)
Sets the value of the category property.- Parameters:
value- allowed object isReferralCategory
-
getType
public CodeableConcept getType()
Gets the value of the type property.- Returns:
- possible object is
CodeableConcept
-
setType
public void setType(CodeableConcept value)
Sets the value of the type property.- Parameters:
value- allowed object isCodeableConcept
-
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
-
getPatient
public Reference getPatient()
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
public void setPatient(Reference value)
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getContext
public Reference getContext()
Gets the value of the context property.- Returns:
- possible object is
Reference
-
setContext
public void setContext(Reference value)
Sets the value of the context property.- Parameters:
value- allowed object isReference
-
getFulfillmentTime
public Period getFulfillmentTime()
Gets the value of the fulfillmentTime property.- Returns:
- possible object is
Period
-
setFulfillmentTime
public void setFulfillmentTime(Period value)
Sets the value of the fulfillmentTime property.- Parameters:
value- allowed object isPeriod
-
getAuthored
public DateTime getAuthored()
Gets the value of the authored property.- Returns:
- possible object is
DateTime
-
setAuthored
public void setAuthored(DateTime value)
Sets the value of the authored property.- Parameters:
value- allowed object isDateTime
-
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
-
getSpecialty
public CodeableConcept getSpecialty()
Gets the value of the specialty property.- Returns:
- possible object is
CodeableConcept
-
setSpecialty
public void setSpecialty(CodeableConcept value)
Sets the value of the specialty property.- Parameters:
value- allowed object isCodeableConcept
-
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
-
getReason
public CodeableConcept getReason()
Gets the value of the reason property.- Returns:
- possible object is
CodeableConcept
-
setReason
public void setReason(CodeableConcept value)
Sets the value of the reason property.- Parameters:
value- allowed object isCodeableConcept
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getServiceRequested
public java.util.List<CodeableConcept> getServiceRequested()
Gets the value of the serviceRequested 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 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
-
getSupportingInformation
public java.util.List<Reference> getSupportingInformation()
Gets the value of the supportingInformation 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 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
-
withIdentifier
public ReferralRequest withIdentifier(Identifier... values)
-
withIdentifier
public ReferralRequest withIdentifier(java.util.Collection<Identifier> values)
-
withBasedOn
public ReferralRequest withBasedOn(Reference... values)
-
withBasedOn
public ReferralRequest withBasedOn(java.util.Collection<Reference> values)
-
withParent
public ReferralRequest withParent(Identifier value)
-
withStatus
public ReferralRequest withStatus(ReferralStatus value)
-
withCategory
public ReferralRequest withCategory(ReferralCategory value)
-
withType
public ReferralRequest withType(CodeableConcept value)
-
withPriority
public ReferralRequest withPriority(CodeableConcept value)
-
withPatient
public ReferralRequest withPatient(Reference value)
-
withContext
public ReferralRequest withContext(Reference value)
-
withFulfillmentTime
public ReferralRequest withFulfillmentTime(Period value)
-
withAuthored
public ReferralRequest withAuthored(DateTime value)
-
withRequester
public ReferralRequest withRequester(Reference value)
-
withSpecialty
public ReferralRequest withSpecialty(CodeableConcept value)
-
withRecipient
public ReferralRequest withRecipient(Reference... values)
-
withRecipient
public ReferralRequest withRecipient(java.util.Collection<Reference> values)
-
withReason
public ReferralRequest withReason(CodeableConcept value)
-
withDescription
public ReferralRequest withDescription(String value)
-
withServiceRequested
public ReferralRequest withServiceRequested(CodeableConcept... values)
-
withServiceRequested
public ReferralRequest withServiceRequested(java.util.Collection<CodeableConcept> values)
-
withSupportingInformation
public ReferralRequest withSupportingInformation(Reference... values)
-
withSupportingInformation
public ReferralRequest withSupportingInformation(java.util.Collection<Reference> values)
-
withText
public ReferralRequest withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public ReferralRequest withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public ReferralRequest withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public ReferralRequest withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public ReferralRequest withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public ReferralRequest withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public ReferralRequest withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public ReferralRequest withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public ReferralRequest withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public ReferralRequest withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public ReferralRequest 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
-
-