Class SupplyRequest
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected DateTimeType
When the request was made.protected CodeableConcept
Category of supply, e.g.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for categorystatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for dateprotected Reference
Where the supply is expected to come from.protected Resource
The actual object that is the target of the reference (Where the supply is expected to come from.)protected Reference
Where the supply is destined to go.protected Resource
The actual object that is the target of the reference (Where the supply is destined to go.)protected List
<Identifier> Business identifiers assigned to this SupplyRequest by the author and/or other systems.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.protected Type
The item that is requested to be supplied.protected Type
When the request should be fulfilled.Specific parameters for the ordered item.protected Enumeration
<SupplyRequest.RequestPriority> Indicates how quickly this SupplyRequest should be addressed with respect to other requests.protected Quantity
The amount that is being ordered of the indicated item.protected List
<CodeableConcept> The reason why the supply item was requested.The reason why the supply item was requested.The actual objects that are the target of the reference (The reason why the supply item was requested.)protected Reference
The device, practitioner, etc.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for requesterprotected Resource
The actual object that is the target of the reference (The device, practitioner, etc.static final String
Search parameter: categorystatic final String
Search parameter: datestatic final String
Search parameter: identifierstatic final String
Search parameter: requesterstatic final String
Search parameter: statusstatic final String
Search parameter: subjectstatic final String
Search parameter: supplierprotected Enumeration
<SupplyRequest.SupplyRequestStatus> Status of the supply request.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for subjectWho is intended to fulfill the request.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for supplierThe actual objects that are the target of the reference (Who is intended to fulfill the request.)Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
copyValues
(SupplyRequest dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getItem()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) Deprecated.Use Reference#setResource(IBaseResource) insteadDeprecated.Use Reference#setResource(IBaseResource) insteadString[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasItem()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) void
removeChild
(String name, Base value) setAuthoredOn
(Date value) setAuthoredOnElement
(DateTimeType value) setCategory
(CodeableConcept value) setDeliverFrom
(Reference value) setDeliverFromTarget
(Resource value) setDeliverTo
(Reference value) setDeliverToTarget
(Resource value) setIdentifier
(List<Identifier> theIdentifier) setOccurrence
(Type value) setParameter
(List<SupplyRequest.SupplyRequestParameterComponent> theParameter) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setQuantity
(Quantity value) setReasonCode
(List<CodeableConcept> theReasonCode) setReasonReference
(List<Reference> theReasonReference) setRequester
(Reference value) setRequesterTarget
(Resource value) setSupplier
(List<Reference> theSupplier) protected SupplyRequest
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
Business identifiers assigned to this SupplyRequest by the author and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server. -
status
Status of the supply request. -
category
Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process. -
priority
Indicates how quickly this SupplyRequest should be addressed with respect to other requests. -
item
The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list. -
quantity
The amount that is being ordered of the indicated item. -
parameter
Specific parameters for the ordered item. For example, the size of the indicated item. -
occurrence
When the request should be fulfilled. -
authoredOn
When the request was made. -
requester
The device, practitioner, etc. who initiated the request. -
requesterTarget
The actual object that is the target of the reference (The device, practitioner, etc. who initiated the request.) -
supplier
Who is intended to fulfill the request. -
supplierTarget
The actual objects that are the target of the reference (Who is intended to fulfill the request.) -
reasonCode
The reason why the supply item was requested. -
reasonReference
The reason why the supply item was requested. -
reasonReferenceTarget
The actual objects that are the target of the reference (The reason why the supply item was requested.) -
deliverFrom
Where the supply is expected to come from. -
deliverFromTarget
The actual object that is the target of the reference (Where the supply is expected to come from.) -
deliverTo
Where the supply is destined to go. -
deliverToTarget
The actual object that is the target of the reference (Where the supply is destined to go.) -
SP_REQUESTER
Search parameter: requesterDescription: Individual making the request
Type: reference
Path: SupplyRequest.requester
- See Also:
-
REQUESTER
Fluent Client search parameter constant for requesterDescription: Individual making the request
Type: reference
Path: SupplyRequest.requester
-
INCLUDE_REQUESTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyRequest:requester". -
SP_DATE
Search parameter: dateDescription: When the request was made
Type: date
Path: SupplyRequest.authoredOn
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription: When the request was made
Type: date
Path: SupplyRequest.authoredOn
-
SP_IDENTIFIER
Search parameter: identifierDescription: Business Identifier for SupplyRequest
Type: token
Path: SupplyRequest.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Business Identifier for SupplyRequest
Type: token
Path: SupplyRequest.identifier
-
SP_SUBJECT
Search parameter: subjectDescription: The destination of the supply
Type: reference
Path: SupplyRequest.deliverTo
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription: The destination of the supply
Type: reference
Path: SupplyRequest.deliverTo
-
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyRequest:subject". -
SP_SUPPLIER
Search parameter: supplierDescription: Who is intended to fulfill the request
Type: reference
Path: SupplyRequest.supplier
- See Also:
-
SUPPLIER
Fluent Client search parameter constant for supplierDescription: Who is intended to fulfill the request
Type: reference
Path: SupplyRequest.supplier
-
INCLUDE_SUPPLIER
Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyRequest:supplier". -
SP_CATEGORY
Search parameter: categoryDescription: The kind of supply (central, non-stock, etc.)
Type: token
Path: SupplyRequest.category
- See Also:
-
CATEGORY
Fluent Client search parameter constant for categoryDescription: The kind of supply (central, non-stock, etc.)
Type: token
Path: SupplyRequest.category
-
SP_STATUS
Search parameter: statusDescription: draft | active | suspended +
Type: token
Path: SupplyRequest.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: draft | active | suspended +
Type: token
Path: SupplyRequest.status
-
-
Constructor Details
-
SupplyRequest
public SupplyRequest()Constructor -
SupplyRequest
Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Business identifiers assigned to this SupplyRequest by the author and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.)
-
setIdentifier
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasIdentifier
-
addIdentifier
-
addIdentifier
-
getIdentifierFirstRep
- Returns:
- The first repetition of repeating field
identifier
, creating it if it does not already exist
-
getStatusElement
- Returns:
status
(Status of the supply request.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
value
-status
(Status of the supply request.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- Status of the supply request.
-
setStatus
- Parameters:
value
- Status of the supply request.
-
getCategory
- Returns:
category
(Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.)
-
hasCategory
-
setCategory
- Parameters:
value
-category
(Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.)
-
getPriorityElement
- Returns:
priority
(Indicates how quickly this SupplyRequest should be addressed with respect to other requests.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value
-
hasPriorityElement
-
hasPriority
-
setPriorityElement
- Parameters:
value
-priority
(Indicates how quickly this SupplyRequest should be addressed with respect to other requests.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value
-
getPriority
- Returns:
- Indicates how quickly this SupplyRequest should be addressed with respect to other requests.
-
setPriority
- Parameters:
value
- Indicates how quickly this SupplyRequest should be addressed with respect to other requests.
-
getItem
- Returns:
item
(The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.)
-
getItemCodeableConcept
- Returns:
item
(The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasItemCodeableConcept
-
getItemReference
- Returns:
item
(The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasItemReference
-
hasItem
-
setItem
- Parameters:
value
-item
(The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.)
-
getQuantity
- Returns:
quantity
(The amount that is being ordered of the indicated item.)
-
hasQuantity
-
setQuantity
- Parameters:
value
-quantity
(The amount that is being ordered of the indicated item.)
-
getParameter
- Returns:
parameter
(Specific parameters for the ordered item. For example, the size of the indicated item.)
-
setParameter
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasParameter
-
addParameter
-
addParameter
-
getParameterFirstRep
- Returns:
- The first repetition of repeating field
parameter
, creating it if it does not already exist
-
getOccurrence
- Returns:
occurrence
(When the request should be fulfilled.)
-
getOccurrenceDateTimeType
- Returns:
occurrence
(When the request should be fulfilled.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOccurrenceDateTimeType
-
getOccurrencePeriod
- Returns:
occurrence
(When the request should be fulfilled.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOccurrencePeriod
-
getOccurrenceTiming
- Returns:
occurrence
(When the request should be fulfilled.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOccurrenceTiming
-
hasOccurrence
-
setOccurrence
- Parameters:
value
-occurrence
(When the request should be fulfilled.)
-
getAuthoredOnElement
- Returns:
authoredOn
(When the request was made.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the value
-
hasAuthoredOnElement
-
hasAuthoredOn
-
setAuthoredOnElement
- Parameters:
value
-authoredOn
(When the request was made.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the value
-
getAuthoredOn
- Returns:
- When the request was made.
-
setAuthoredOn
- Parameters:
value
- When the request was made.
-
getRequester
- Returns:
requester
(The device, practitioner, etc. who initiated the request.)
-
hasRequester
-
setRequester
- Parameters:
value
-requester
(The device, practitioner, etc. who initiated the request.)
-
getRequesterTarget
- Returns:
requester
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The device, practitioner, etc. who initiated the request.)
-
setRequesterTarget
- Parameters:
value
-requester
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The device, practitioner, etc. who initiated the request.)
-
getSupplier
- Returns:
supplier
(Who is intended to fulfill the request.)
-
setSupplier
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasSupplier
-
addSupplier
-
addSupplier
-
getSupplierFirstRep
- Returns:
- The first repetition of repeating field
supplier
, creating it if it does not already exist
-
getSupplierTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
getReasonCode
- Returns:
reasonCode
(The reason why the supply item was requested.)
-
setReasonCode
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasReasonCode
-
addReasonCode
-
addReasonCode
-
getReasonCodeFirstRep
- Returns:
- The first repetition of repeating field
reasonCode
, creating it if it does not already exist
-
getReasonReference
- Returns:
reasonReference
(The reason why the supply item was requested.)
-
setReasonReference
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasReasonReference
-
addReasonReference
-
addReasonReference
-
getReasonReferenceFirstRep
- Returns:
- The first repetition of repeating field
reasonReference
, creating it if it does not already exist
-
getReasonReferenceTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
getDeliverFrom
- Returns:
deliverFrom
(Where the supply is expected to come from.)
-
hasDeliverFrom
-
setDeliverFrom
- Parameters:
value
-deliverFrom
(Where the supply is expected to come from.)
-
getDeliverFromTarget
- Returns:
deliverFrom
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Where the supply is expected to come from.)
-
setDeliverFromTarget
- Parameters:
value
-deliverFrom
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Where the supply is expected to come from.)
-
getDeliverTo
- Returns:
deliverTo
(Where the supply is destined to go.)
-
hasDeliverTo
-
setDeliverTo
- Parameters:
value
-deliverTo
(Where the supply is destined to go.)
-
getDeliverToTarget
- Returns:
deliverTo
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Where the supply is destined to go.)
-
setDeliverToTarget
- Parameters:
value
-deliverTo
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Where the supply is destined to go.)
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-