public class SupplyRequest extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for SupplyRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SupplyRequest">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="patient" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="source" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}SupplyRequestStatus" minOccurs="0"/>
<element name="kind" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="orderedItem" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="supplier" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<choice minOccurs="0">
<element name="reasonCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="reasonReference" type="{http://hl7.org/fhir}Reference"/>
</choice>
<element name="when" type="{http://hl7.org/fhir}SupplyRequest.When" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DateTime |
date |
protected Identifier |
identifier |
protected CodeableConcept |
kind |
protected Reference |
orderedItem |
protected Reference |
patient |
protected CodeableConcept |
reasonCodeableConcept |
protected Reference |
reasonReference |
protected Reference |
source |
protected SupplyRequestStatus |
status |
protected java.util.List<Reference> |
supplier |
protected SupplyRequestWhen |
when |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
SupplyRequest() |
| 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 |
getDate()
Gets the value of the date property.
|
Identifier |
getIdentifier()
Gets the value of the identifier property.
|
CodeableConcept |
getKind()
Gets the value of the kind property.
|
Reference |
getOrderedItem()
Gets the value of the orderedItem property.
|
Reference |
getPatient()
Gets the value of the patient property.
|
CodeableConcept |
getReasonCodeableConcept()
Gets the value of the reasonCodeableConcept property.
|
Reference |
getReasonReference()
Gets the value of the reasonReference property.
|
Reference |
getSource()
Gets the value of the source property.
|
SupplyRequestStatus |
getStatus()
Gets the value of the status property.
|
java.util.List<Reference> |
getSupplier()
Gets the value of the supplier property.
|
SupplyRequestWhen |
getWhen()
Gets the value of the when property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDate(DateTime value)
Sets the value of the date property.
|
void |
setIdentifier(Identifier value)
Sets the value of the identifier property.
|
void |
setKind(CodeableConcept value)
Sets the value of the kind property.
|
void |
setOrderedItem(Reference value)
Sets the value of the orderedItem property.
|
void |
setPatient(Reference value)
Sets the value of the patient property.
|
void |
setReasonCodeableConcept(CodeableConcept value)
Sets the value of the reasonCodeableConcept property.
|
void |
setReasonReference(Reference value)
Sets the value of the reasonReference property.
|
void |
setSource(Reference value)
Sets the value of the source property.
|
void |
setStatus(SupplyRequestStatus value)
Sets the value of the status property.
|
void |
setWhen(SupplyRequestWhen value)
Sets the value of the when property.
|
java.lang.String |
toString() |
SupplyRequest |
withContained(java.util.Collection<ResourceContainer> values) |
SupplyRequest |
withContained(ResourceContainer... values) |
SupplyRequest |
withDate(DateTime value) |
SupplyRequest |
withExtension(java.util.Collection<Extension> values) |
SupplyRequest |
withExtension(Extension... values) |
SupplyRequest |
withId(Id value) |
SupplyRequest |
withIdentifier(Identifier value) |
SupplyRequest |
withImplicitRules(Uri value) |
SupplyRequest |
withKind(CodeableConcept value) |
SupplyRequest |
withLanguage(Code value) |
SupplyRequest |
withMeta(Meta value) |
SupplyRequest |
withModifierExtension(java.util.Collection<Extension> values) |
SupplyRequest |
withModifierExtension(Extension... values) |
SupplyRequest |
withOrderedItem(Reference value) |
SupplyRequest |
withPatient(Reference value) |
SupplyRequest |
withReasonCodeableConcept(CodeableConcept value) |
SupplyRequest |
withReasonReference(Reference value) |
SupplyRequest |
withSource(Reference value) |
SupplyRequest |
withStatus(SupplyRequestStatus value) |
SupplyRequest |
withSupplier(java.util.Collection<Reference> values) |
SupplyRequest |
withSupplier(Reference... values) |
SupplyRequest |
withText(Narrative value) |
SupplyRequest |
withWhen(SupplyRequestWhen value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Reference patient
protected Reference source
protected DateTime date
protected Identifier identifier
protected SupplyRequestStatus status
protected CodeableConcept kind
protected Reference orderedItem
protected java.util.List<Reference> supplier
protected CodeableConcept reasonCodeableConcept
protected Reference reasonReference
protected SupplyRequestWhen when
public Reference getPatient()
Referencepublic void setPatient(Reference value)
value - allowed object is
Referencepublic Reference getSource()
Referencepublic void setSource(Reference value)
value - allowed object is
Referencepublic DateTime getDate()
DateTimepublic void setDate(DateTime value)
value - allowed object is
DateTimepublic Identifier getIdentifier()
Identifierpublic void setIdentifier(Identifier value)
value - allowed object is
Identifierpublic SupplyRequestStatus getStatus()
SupplyRequestStatuspublic void setStatus(SupplyRequestStatus value)
value - allowed object is
SupplyRequestStatuspublic CodeableConcept getKind()
CodeableConceptpublic void setKind(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getOrderedItem()
Referencepublic void setOrderedItem(Reference value)
value - allowed object is
Referencepublic java.util.List<Reference> getSupplier()
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 supplier property.
For example, to add a new item, do as follows:
getSupplier().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public CodeableConcept getReasonCodeableConcept()
CodeableConceptpublic void setReasonCodeableConcept(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getReasonReference()
Referencepublic void setReasonReference(Reference value)
value - allowed object is
Referencepublic SupplyRequestWhen getWhen()
SupplyRequestWhenpublic void setWhen(SupplyRequestWhen value)
value - allowed object is
SupplyRequestWhenpublic SupplyRequest withPatient(Reference value)
public SupplyRequest withSource(Reference value)
public SupplyRequest withDate(DateTime value)
public SupplyRequest withIdentifier(Identifier value)
public SupplyRequest withStatus(SupplyRequestStatus value)
public SupplyRequest withKind(CodeableConcept value)
public SupplyRequest withOrderedItem(Reference value)
public SupplyRequest withSupplier(Reference... values)
public SupplyRequest withSupplier(java.util.Collection<Reference> values)
public SupplyRequest withReasonCodeableConcept(CodeableConcept value)
public SupplyRequest withReasonReference(Reference value)
public SupplyRequest withWhen(SupplyRequestWhen value)
public SupplyRequest withText(Narrative value)
withText in class DomainResourcepublic SupplyRequest withContained(ResourceContainer... values)
withContained in class DomainResourcepublic SupplyRequest withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic SupplyRequest withExtension(Extension... values)
withExtension in class DomainResourcepublic SupplyRequest withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic SupplyRequest withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic SupplyRequest withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic SupplyRequest withId(Id value)
withId in class DomainResourcepublic SupplyRequest withMeta(Meta value)
withMeta in class DomainResourcepublic SupplyRequest withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic SupplyRequest 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