Package org.hl7.fhir
Class SupplyRequest
java.lang.Object
org.hl7.fhir.Resource
org.hl7.fhir.DomainResource
org.hl7.fhir.SupplyRequest
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class SupplyRequest
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 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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateTimeprotected Identifierprotected CodeableConceptprotected Referenceprotected Referenceprotected CodeableConceptprotected Referenceprotected Referenceprotected SupplyRequestStatusprotected SupplyRequestWhenFields 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) getDate()Gets the value of the date property.Gets the value of the identifier property.getKind()Gets the value of the kind property.Gets the value of the orderedItem property.Gets the value of the patient property.Gets the value of the reasonCodeableConcept property.Gets the value of the reasonReference property.Gets the value of the source property.Gets the value of the status property.Gets the value of the supplier property.getWhen()Gets the value of the when property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidSets the value of the date property.voidsetIdentifier(Identifier value) Sets the value of the identifier property.voidsetKind(CodeableConcept value) Sets the value of the kind property.voidsetOrderedItem(Reference value) Sets the value of the orderedItem property.voidsetPatient(Reference value) Sets the value of the patient property.voidSets the value of the reasonCodeableConcept property.voidsetReasonReference(Reference value) Sets the value of the reasonReference property.voidSets the value of the source property.voidsetStatus(SupplyRequestStatus value) Sets the value of the status property.voidsetSupplier(List<Reference> value) voidsetWhen(SupplyRequestWhen value) Sets the value of the when property.toString()withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Identifier value) withImplicitRules(Uri value) withKind(CodeableConcept value) withLanguage(Code value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withOrderedItem(Reference value) withPatient(Reference value) withReasonReference(Reference value) withSource(Reference value) withStatus(SupplyRequestStatus value) withSupplier(Collection<Reference> values) withSupplier(Reference... values) withWhen(SupplyRequestWhen 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
-
patient
-
source
-
date
-
identifier
-
status
-
kind
-
orderedItem
-
supplier
-
reasonCodeableConcept
-
reasonReference
-
when
-
-
Constructor Details
-
SupplyRequest
public SupplyRequest()
-
-
Method Details
-
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
-
getSource
Gets the value of the source property.- Returns:
- possible object is
Reference
-
setSource
Sets the value of the source property.- Parameters:
value- allowed object isReference
-
getDate
Gets the value of the date property.- Returns:
- possible object is
DateTime
-
setDate
Sets the value of the date property.- Parameters:
value- allowed object isDateTime
-
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
SupplyRequestStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isSupplyRequestStatus
-
getKind
Gets the value of the kind property.- Returns:
- possible object is
CodeableConcept
-
setKind
Sets the value of the kind property.- Parameters:
value- allowed object isCodeableConcept
-
getOrderedItem
Gets the value of the orderedItem property.- Returns:
- possible object is
Reference
-
setOrderedItem
Sets the value of the orderedItem property.- Parameters:
value- allowed object isReference
-
getSupplier
Gets the value of the supplier 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 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 -
getReasonCodeableConcept
Gets the value of the reasonCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setReasonCodeableConcept
Sets the value of the reasonCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getReasonReference
Gets the value of the reasonReference property.- Returns:
- possible object is
Reference
-
setReasonReference
Sets the value of the reasonReference property.- Parameters:
value- allowed object isReference
-
getWhen
Gets the value of the when property.- Returns:
- possible object is
SupplyRequestWhen
-
setWhen
Sets the value of the when property.- Parameters:
value- allowed object isSupplyRequestWhen
-
withPatient
-
withSource
-
withDate
-
withIdentifier
-
withStatus
-
withKind
-
withOrderedItem
-
withSupplier
-
withSupplier
-
withReasonCodeableConcept
-
withReasonReference
-
withWhen
-
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
-
setSupplier
-