
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
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic classstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateTimeTypeWhen the request was made.protected CodeableConceptCategory of supply, e.g. central, non-stock, etc.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for categorystatic final ca.uhn.fhir.rest.gclient.DateClientParamFluent Client search parameter constant for dateprotected ReferenceWhere the supply is expected to come from.protected ResourceThe actual object that is the target of the reference (Where the supply is expected to come from.)protected ReferenceWhere the supply is destined to go.protected ResourceThe 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.TokenClientParamFluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.protected TypeThe item that is requested to be supplied.protected TypeWhen 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 QuantityThe 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 ReferenceThe device, practitioner, etc. who initiated the request.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for requesterprotected ResourceThe actual object that is the target of the reference (The device, practitioner, etc. who initiated the request.)static final StringSearch parameter: categorystatic final StringSearch parameter: datestatic final StringSearch parameter: identifierstatic final StringSearch parameter: requesterstatic final StringSearch parameter: statusstatic final StringSearch parameter: subjectstatic final StringSearch parameter: supplierprotected Enumeration<SupplyRequest.SupplyRequestStatus> Status of the supply request.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for subjectWho is intended to fulfill the request.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent 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, textFields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, metaFields 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_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidcopyValues(SupplyRequest dst) booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getItem()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanbooleanbooleanbooleanbooleanhasItem()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(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 SupplyRequestMethods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getExtensionString, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasPrimitiveExtension, hasText, setContained, setExtension, setModifierExtension, setTextMethods 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, setMetaMethods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setIdMethods 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, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods 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
thisfor 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
thisfor 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:
requesterThe 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-requesterThe 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
thisfor easy method chaining
-
hasSupplier
-
addSupplier
-
addSupplier
-
getSupplierFirstRep
- Returns:
- The first repetition of repeating field
supplier, creating it if it does not already exist
-
getReasonCode
- Returns:
reasonCode(The reason why the supply item was requested.)
-
setReasonCode
- Returns:
- Returns a reference to
thisfor 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
thisfor easy method chaining
-
hasReasonReference
-
addReasonReference
-
addReasonReference
-
getReasonReferenceFirstRep
- Returns:
- The first repetition of repeating field
reasonReference, creating it if it does not already exist
-
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:
deliverFromThe 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-deliverFromThe 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:
deliverToThe 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-deliverToThe 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:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-