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 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 Identifier
Unique identifier for this supply request.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.protected Type
When the request should be fulfilled.The item being requested.protected Enumeration
<SupplyRequest.RequestPriority> Indicates how quickly this SupplyRequest should be addressed with respect to other requests.protected Type
Why the supply item was requested.The individual who initiated the request and has responsibility for its activation.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for requesterstatic 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: supplierprotected Enumeration
<SupplyRequest.SupplyRequestStatus> Status of the supply request.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusWho is intended to fulfill the request.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for supplierprotected List
<Organization> The actual objects that are the target of the reference (Who is intended to fulfill the request.)Fields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu3.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 TypeMethodDescriptionDeprecated.Use Reference#setResource(IBaseResource) insteadcopy()
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) Deprecated.Use Reference#setResource(IBaseResource) insteadString[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
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) setAuthoredOn
(Date value) setAuthoredOnElement
(DateTimeType value) setCategory
(CodeableConcept value) setDeliverFrom
(Reference value) setDeliverFromTarget
(Resource value) setDeliverTo
(Reference value) setDeliverToTarget
(Resource value) setIdentifier
(Identifier value) setOccurrence
(Type value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setSupplier
(List<Reference> theSupplier) protected SupplyRequest
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, 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.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, 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
Unique identifier for this supply request. -
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. -
orderedItem
The item being requested. -
occurrence
When the request should be fulfilled. -
authoredOn
When the request was made. -
requester
The individual who initiated the request and has responsibility for its activation. -
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.) -
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.agent
- See Also:
-
REQUESTER
Fluent Client search parameter constant for requesterDescription: Individual making the request
Type: reference
Path: SupplyRequest.requester.agent
-
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: Unique identifier
Type: token
Path: SupplyRequest.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Unique identifier
Type: token
Path: SupplyRequest.identifier
-
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
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Unique identifier for this supply request.)
-
hasIdentifier
-
setIdentifier
- Parameters:
value
-identifier
(Unique identifier for this supply request.)
-
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.
-
getOrderedItem
- Returns:
orderedItem
(The item being requested.)
-
hasOrderedItem
-
setOrderedItem
- Parameters:
value
-orderedItem
(The item being requested.)
-
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.)- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
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 individual who initiated the request and has responsibility for its activation.)
-
hasRequester
-
setRequester
- Parameters:
value
-requester
(The individual who initiated the request and has responsibility for its activation.)
-
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 -
addSupplierTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
getReason
- Returns:
reason
(Why the supply item was requested.)
-
getReasonCodeableConcept
- Returns:
reason
(Why the supply item was requested.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReasonCodeableConcept
-
getReasonReference
- Returns:
reason
(Why the supply item was requested.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReasonReference
-
hasReason
-
setReason
- Parameters:
value
-reason
(Why the supply item was requested.)- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
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
-
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
-
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
-