public class SupplyDelivery extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for SupplyDelivery complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SupplyDelivery">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}SupplyDeliveryStatus" minOccurs="0"/>
<element name="patient" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="quantity" type="{http://hl7.org/fhir}SimpleQuantity" minOccurs="0"/>
<element name="suppliedItem" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="supplier" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="whenPrepared" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
<element name="time" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="destination" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="receiver" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
destination |
protected Identifier |
identifier |
protected Reference |
patient |
protected SimpleQuantity |
quantity |
protected java.util.List<Reference> |
receiver |
protected SupplyDeliveryStatus |
status |
protected Reference |
suppliedItem |
protected Reference |
supplier |
protected DateTime |
time |
protected CodeableConcept |
type |
protected Period |
whenPrepared |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
SupplyDelivery() |
| 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) |
Reference |
getDestination()
Gets the value of the destination property.
|
Identifier |
getIdentifier()
Gets the value of the identifier property.
|
Reference |
getPatient()
Gets the value of the patient property.
|
SimpleQuantity |
getQuantity()
Gets the value of the quantity property.
|
java.util.List<Reference> |
getReceiver()
Gets the value of the receiver property.
|
SupplyDeliveryStatus |
getStatus()
Gets the value of the status property.
|
Reference |
getSuppliedItem()
Gets the value of the suppliedItem property.
|
Reference |
getSupplier()
Gets the value of the supplier property.
|
DateTime |
getTime()
Gets the value of the time property.
|
CodeableConcept |
getType()
Gets the value of the type property.
|
Period |
getWhenPrepared()
Gets the value of the whenPrepared property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDestination(Reference value)
Sets the value of the destination property.
|
void |
setIdentifier(Identifier value)
Sets the value of the identifier property.
|
void |
setPatient(Reference value)
Sets the value of the patient property.
|
void |
setQuantity(SimpleQuantity value)
Sets the value of the quantity property.
|
void |
setStatus(SupplyDeliveryStatus value)
Sets the value of the status property.
|
void |
setSuppliedItem(Reference value)
Sets the value of the suppliedItem property.
|
void |
setSupplier(Reference value)
Sets the value of the supplier property.
|
void |
setTime(DateTime value)
Sets the value of the time property.
|
void |
setType(CodeableConcept value)
Sets the value of the type property.
|
void |
setWhenPrepared(Period value)
Sets the value of the whenPrepared property.
|
java.lang.String |
toString() |
SupplyDelivery |
withContained(java.util.Collection<ResourceContainer> values) |
SupplyDelivery |
withContained(ResourceContainer... values) |
SupplyDelivery |
withDestination(Reference value) |
SupplyDelivery |
withExtension(java.util.Collection<Extension> values) |
SupplyDelivery |
withExtension(Extension... values) |
SupplyDelivery |
withId(Id value) |
SupplyDelivery |
withIdentifier(Identifier value) |
SupplyDelivery |
withImplicitRules(Uri value) |
SupplyDelivery |
withLanguage(Code value) |
SupplyDelivery |
withMeta(Meta value) |
SupplyDelivery |
withModifierExtension(java.util.Collection<Extension> values) |
SupplyDelivery |
withModifierExtension(Extension... values) |
SupplyDelivery |
withPatient(Reference value) |
SupplyDelivery |
withQuantity(SimpleQuantity value) |
SupplyDelivery |
withReceiver(java.util.Collection<Reference> values) |
SupplyDelivery |
withReceiver(Reference... values) |
SupplyDelivery |
withStatus(SupplyDeliveryStatus value) |
SupplyDelivery |
withSuppliedItem(Reference value) |
SupplyDelivery |
withSupplier(Reference value) |
SupplyDelivery |
withText(Narrative value) |
SupplyDelivery |
withTime(DateTime value) |
SupplyDelivery |
withType(CodeableConcept value) |
SupplyDelivery |
withWhenPrepared(Period value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Identifier identifier
protected SupplyDeliveryStatus status
protected Reference patient
protected CodeableConcept type
protected SimpleQuantity quantity
protected Reference suppliedItem
protected Reference supplier
protected Period whenPrepared
protected DateTime time
protected Reference destination
protected java.util.List<Reference> receiver
public Identifier getIdentifier()
Identifierpublic void setIdentifier(Identifier value)
value - allowed object is
Identifierpublic SupplyDeliveryStatus getStatus()
SupplyDeliveryStatuspublic void setStatus(SupplyDeliveryStatus value)
value - allowed object is
SupplyDeliveryStatuspublic Reference getPatient()
Referencepublic void setPatient(Reference value)
value - allowed object is
Referencepublic CodeableConcept getType()
CodeableConceptpublic void setType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic SimpleQuantity getQuantity()
SimpleQuantitypublic void setQuantity(SimpleQuantity value)
value - allowed object is
SimpleQuantitypublic Reference getSuppliedItem()
Referencepublic void setSuppliedItem(Reference value)
value - allowed object is
Referencepublic Reference getSupplier()
Referencepublic void setSupplier(Reference value)
value - allowed object is
Referencepublic Period getWhenPrepared()
Periodpublic void setWhenPrepared(Period value)
value - allowed object is
Periodpublic DateTime getTime()
DateTimepublic void setTime(DateTime value)
value - allowed object is
DateTimepublic Reference getDestination()
Referencepublic void setDestination(Reference value)
value - allowed object is
Referencepublic java.util.List<Reference> getReceiver()
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 receiver property.
For example, to add a new item, do as follows:
getReceiver().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public SupplyDelivery withIdentifier(Identifier value)
public SupplyDelivery withStatus(SupplyDeliveryStatus value)
public SupplyDelivery withPatient(Reference value)
public SupplyDelivery withType(CodeableConcept value)
public SupplyDelivery withQuantity(SimpleQuantity value)
public SupplyDelivery withSuppliedItem(Reference value)
public SupplyDelivery withSupplier(Reference value)
public SupplyDelivery withWhenPrepared(Period value)
public SupplyDelivery withTime(DateTime value)
public SupplyDelivery withDestination(Reference value)
public SupplyDelivery withReceiver(Reference... values)
public SupplyDelivery withReceiver(java.util.Collection<Reference> values)
public SupplyDelivery withText(Narrative value)
withText in class DomainResourcepublic SupplyDelivery withContained(ResourceContainer... values)
withContained in class DomainResourcepublic SupplyDelivery withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic SupplyDelivery withExtension(Extension... values)
withExtension in class DomainResourcepublic SupplyDelivery withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic SupplyDelivery withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic SupplyDelivery withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic SupplyDelivery withId(Id value)
withId in class DomainResourcepublic SupplyDelivery withMeta(Meta value)
withMeta in class DomainResourcepublic SupplyDelivery withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic SupplyDelivery 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