Package org.hl7.fhir
Class SupplyDelivery
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.SupplyDelivery
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class SupplyDelivery 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 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected Referencedestinationprotected Identifieridentifierprotected Referencepatientprotected SimpleQuantityquantityprotected java.util.List<Reference>receiverprotected SupplyDeliveryStatusstatusprotected ReferencesuppliedItemprotected Referencesupplierprotected DateTimetimeprotected CodeableConcepttypeprotected PeriodwhenPrepared-
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 SupplyDelivery()
-
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)ReferencegetDestination()Gets the value of the destination property.IdentifiergetIdentifier()Gets the value of the identifier property.ReferencegetPatient()Gets the value of the patient property.SimpleQuantitygetQuantity()Gets the value of the quantity property.java.util.List<Reference>getReceiver()Gets the value of the receiver property.SupplyDeliveryStatusgetStatus()Gets the value of the status property.ReferencegetSuppliedItem()Gets the value of the suppliedItem property.ReferencegetSupplier()Gets the value of the supplier property.DateTimegetTime()Gets the value of the time property.CodeableConceptgetType()Gets the value of the type property.PeriodgetWhenPrepared()Gets the value of the whenPrepared property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetDestination(Reference value)Sets the value of the destination property.voidsetIdentifier(Identifier value)Sets the value of the identifier property.voidsetPatient(Reference value)Sets the value of the patient property.voidsetQuantity(SimpleQuantity value)Sets the value of the quantity property.voidsetStatus(SupplyDeliveryStatus value)Sets the value of the status property.voidsetSuppliedItem(Reference value)Sets the value of the suppliedItem property.voidsetSupplier(Reference value)Sets the value of the supplier property.voidsetTime(DateTime value)Sets the value of the time property.voidsetType(CodeableConcept value)Sets the value of the type property.voidsetWhenPrepared(Period value)Sets the value of the whenPrepared property.java.lang.StringtoString()SupplyDeliverywithContained(java.util.Collection<ResourceContainer> values)SupplyDeliverywithContained(ResourceContainer... values)SupplyDeliverywithDestination(Reference value)SupplyDeliverywithExtension(java.util.Collection<Extension> values)SupplyDeliverywithExtension(Extension... values)SupplyDeliverywithId(Id value)SupplyDeliverywithIdentifier(Identifier value)SupplyDeliverywithImplicitRules(Uri value)SupplyDeliverywithLanguage(Code value)SupplyDeliverywithMeta(Meta value)SupplyDeliverywithModifierExtension(java.util.Collection<Extension> values)SupplyDeliverywithModifierExtension(Extension... values)SupplyDeliverywithPatient(Reference value)SupplyDeliverywithQuantity(SimpleQuantity value)SupplyDeliverywithReceiver(java.util.Collection<Reference> values)SupplyDeliverywithReceiver(Reference... values)SupplyDeliverywithStatus(SupplyDeliveryStatus value)SupplyDeliverywithSuppliedItem(Reference value)SupplyDeliverywithSupplier(Reference value)SupplyDeliverywithText(Narrative value)SupplyDeliverywithTime(DateTime value)SupplyDeliverywithType(CodeableConcept value)SupplyDeliverywithWhenPrepared(Period 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 Identifier identifier
-
status
protected SupplyDeliveryStatus status
-
patient
protected Reference patient
-
type
protected CodeableConcept type
-
quantity
protected SimpleQuantity quantity
-
suppliedItem
protected Reference suppliedItem
-
supplier
protected Reference supplier
-
whenPrepared
protected Period whenPrepared
-
time
protected DateTime time
-
destination
protected Reference destination
-
receiver
protected java.util.List<Reference> receiver
-
-
Method Detail
-
getIdentifier
public Identifier getIdentifier()
Gets the value of the identifier property.- Returns:
- possible object is
Identifier
-
setIdentifier
public void setIdentifier(Identifier value)
Sets the value of the identifier property.- Parameters:
value- allowed object isIdentifier
-
getStatus
public SupplyDeliveryStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
SupplyDeliveryStatus
-
setStatus
public void setStatus(SupplyDeliveryStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isSupplyDeliveryStatus
-
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
-
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
-
getQuantity
public SimpleQuantity getQuantity()
Gets the value of the quantity property.- Returns:
- possible object is
SimpleQuantity
-
setQuantity
public void setQuantity(SimpleQuantity value)
Sets the value of the quantity property.- Parameters:
value- allowed object isSimpleQuantity
-
getSuppliedItem
public Reference getSuppliedItem()
Gets the value of the suppliedItem property.- Returns:
- possible object is
Reference
-
setSuppliedItem
public void setSuppliedItem(Reference value)
Sets the value of the suppliedItem property.- Parameters:
value- allowed object isReference
-
getSupplier
public Reference getSupplier()
Gets the value of the supplier property.- Returns:
- possible object is
Reference
-
setSupplier
public void setSupplier(Reference value)
Sets the value of the supplier property.- Parameters:
value- allowed object isReference
-
getWhenPrepared
public Period getWhenPrepared()
Gets the value of the whenPrepared property.- Returns:
- possible object is
Period
-
setWhenPrepared
public void setWhenPrepared(Period value)
Sets the value of the whenPrepared property.- Parameters:
value- allowed object isPeriod
-
getTime
public DateTime getTime()
Gets the value of the time property.- Returns:
- possible object is
DateTime
-
setTime
public void setTime(DateTime value)
Sets the value of the time property.- Parameters:
value- allowed object isDateTime
-
getDestination
public Reference getDestination()
Gets the value of the destination property.- Returns:
- possible object is
Reference
-
setDestination
public void setDestination(Reference value)
Sets the value of the destination property.- Parameters:
value- allowed object isReference
-
getReceiver
public java.util.List<Reference> getReceiver()
Gets the value of the receiver 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 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
-
withIdentifier
public SupplyDelivery withIdentifier(Identifier value)
-
withStatus
public SupplyDelivery withStatus(SupplyDeliveryStatus value)
-
withPatient
public SupplyDelivery withPatient(Reference value)
-
withType
public SupplyDelivery withType(CodeableConcept value)
-
withQuantity
public SupplyDelivery withQuantity(SimpleQuantity value)
-
withSuppliedItem
public SupplyDelivery withSuppliedItem(Reference value)
-
withSupplier
public SupplyDelivery withSupplier(Reference value)
-
withWhenPrepared
public SupplyDelivery withWhenPrepared(Period value)
-
withTime
public SupplyDelivery withTime(DateTime value)
-
withDestination
public SupplyDelivery withDestination(Reference value)
-
withReceiver
public SupplyDelivery withReceiver(Reference... values)
-
withReceiver
public SupplyDelivery withReceiver(java.util.Collection<Reference> values)
-
withText
public SupplyDelivery withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public SupplyDelivery withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public SupplyDelivery withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public SupplyDelivery withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public SupplyDelivery withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public SupplyDelivery withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public SupplyDelivery withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public SupplyDelivery withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public SupplyDelivery withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public SupplyDelivery withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public SupplyDelivery 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
-
-