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 extensions
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Referenceprotected Identifierprotected Referenceprotected SimpleQuantityprotected SupplyDeliveryStatusprotected Referenceprotected Referenceprotected DateTimeprotected CodeableConceptprotected PeriodFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the destination property.Gets the value of the identifier property.Gets the value of the patient property.Gets the value of the quantity property.Gets the value of the receiver property.Gets the value of the status property.Gets the value of the suppliedItem property.Gets the value of the supplier property.getTime()Gets the value of the time property.getType()Gets the value of the type property.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.voidsetReceiver(List<Reference> value) 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.voidSets 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.toString()withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withDestination(Reference value) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Identifier value) withImplicitRules(Uri value) withLanguage(Code value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withPatient(Reference value) withQuantity(SimpleQuantity value) withReceiver(Collection<Reference> values) withReceiver(Reference... values) withStatus(SupplyDeliveryStatus value) withSuppliedItem(Reference value) withSupplier(Reference value) withType(CodeableConcept value) withWhenPrepared(Period value) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
identifier
-
status
-
patient
-
type
-
quantity
-
suppliedItem
-
supplier
-
whenPrepared
-
time
-
destination
-
receiver
-
-
Constructor Details
-
SupplyDelivery
public SupplyDelivery()
-
-
Method Details
-
getIdentifier
Gets the value of the identifier property.- Returns:
- possible object is
Identifier
-
setIdentifier
Sets the value of the identifier property.- Parameters:
value- allowed object isIdentifier
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
SupplyDeliveryStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isSupplyDeliveryStatus
-
getPatient
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getType
Gets the value of the type property.- Returns:
- possible object is
CodeableConcept
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isCodeableConcept
-
getQuantity
Gets the value of the quantity property.- Returns:
- possible object is
SimpleQuantity
-
setQuantity
Sets the value of the quantity property.- Parameters:
value- allowed object isSimpleQuantity
-
getSuppliedItem
Gets the value of the suppliedItem property.- Returns:
- possible object is
Reference
-
setSuppliedItem
Sets the value of the suppliedItem property.- Parameters:
value- allowed object isReference
-
getSupplier
Gets the value of the supplier property.- Returns:
- possible object is
Reference
-
setSupplier
Sets the value of the supplier property.- Parameters:
value- allowed object isReference
-
getWhenPrepared
Gets the value of the whenPrepared property.- Returns:
- possible object is
Period
-
setWhenPrepared
Sets the value of the whenPrepared property.- Parameters:
value- allowed object isPeriod
-
getTime
Gets the value of the time property.- Returns:
- possible object is
DateTime
-
setTime
Sets the value of the time property.- Parameters:
value- allowed object isDateTime
-
getDestination
Gets the value of the destination property.- Returns:
- possible object is
Reference
-
setDestination
Sets the value of the destination property.- Parameters:
value- allowed object isReference
-
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 Jakarta XML Binding 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
-
withStatus
-
withPatient
-
withType
-
withQuantity
-
withSuppliedItem
-
withSupplier
-
withWhenPrepared
-
withTime
-
withDestination
-
withReceiver
-
withReceiver
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- 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
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setReceiver
-