public class SupplyRequest extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
SupplyRequest.RequestPriority |
static class |
SupplyRequest.RequestPriorityEnumFactory |
static class |
SupplyRequest.SupplyRequestOrderedItemComponent |
static class |
SupplyRequest.SupplyRequestRequesterComponent |
static class |
SupplyRequest.SupplyRequestStatus |
static class |
SupplyRequest.SupplyRequestStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected DateTimeType |
authoredOn
When the request was made.
|
protected CodeableConcept |
category
Category of supply, e.g.
|
static TokenClientParam |
CATEGORY
Fluent Client search parameter constant for category
|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
protected Reference |
deliverFrom
Where the supply is expected to come from.
|
protected Resource |
deliverFromTarget
The actual object that is the target of the reference (Where the supply is expected to come from.)
|
protected Reference |
deliverTo
Where the supply is destined to go.
|
protected Resource |
deliverToTarget
The actual object that is the target of the reference (Where the supply is destined to go.)
|
protected Identifier |
identifier
Unique identifier for this supply request.
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_REQUESTER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUPPLIER
Constant for fluent queries to be used to add include statements.
|
protected Type |
occurrence
When the request should be fulfilled.
|
protected SupplyRequest.SupplyRequestOrderedItemComponent |
orderedItem
The item being requested.
|
protected Enumeration<SupplyRequest.RequestPriority> |
priority
Indicates how quickly this SupplyRequest should be addressed with respect to other requests.
|
protected Type |
reason
Why the supply item was requested.
|
protected SupplyRequest.SupplyRequestRequesterComponent |
requester
The individual who initiated the request and has responsibility for its activation.
|
static ReferenceClientParam |
REQUESTER
Fluent Client search parameter constant for requester
|
static String |
SP_CATEGORY
Search parameter: category
|
static String |
SP_DATE
Search parameter: date
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_REQUESTER
Search parameter: requester
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_SUPPLIER
Search parameter: supplier
|
protected Enumeration<SupplyRequest.SupplyRequestStatus> |
status
Status of the supply request.
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected List<Reference> |
supplier
Who is intended to fulfill the request.
|
static ReferenceClientParam |
SUPPLIER
Fluent Client search parameter constant for supplier
|
protected List<Organization> |
supplierTarget
The actual objects that are the target of the reference (Who is intended to fulfill the request.)
|
contained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
SupplyRequest()
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected Identifier identifier
protected Enumeration<SupplyRequest.SupplyRequestStatus> status
protected CodeableConcept category
protected Enumeration<SupplyRequest.RequestPriority> priority
protected SupplyRequest.SupplyRequestOrderedItemComponent orderedItem
protected Type occurrence
protected DateTimeType authoredOn
protected SupplyRequest.SupplyRequestRequesterComponent requester
protected List<Organization> supplierTarget
protected Reference deliverFrom
protected Resource deliverFromTarget
protected Resource deliverToTarget
public static final String SP_REQUESTER
Description: Individual making the request
Type: reference
Path: SupplyRequest.requester.agent
public static final ReferenceClientParam REQUESTER
Description: Individual making the request
Type: reference
Path: SupplyRequest.requester.agent
public static final Include INCLUDE_REQUESTER
public static final String SP_DATE
Description: When the request was made
Type: date
Path: SupplyRequest.authoredOn
public static final DateClientParam DATE
Description: When the request was made
Type: date
Path: SupplyRequest.authoredOn
public static final String SP_IDENTIFIER
Description: Unique identifier
Type: token
Path: SupplyRequest.identifier
public static final TokenClientParam IDENTIFIER
Description: Unique identifier
Type: token
Path: SupplyRequest.identifier
public static final String SP_SUPPLIER
Description: Who is intended to fulfill the request
Type: reference
Path: SupplyRequest.supplier
public static final ReferenceClientParam SUPPLIER
Description: Who is intended to fulfill the request
Type: reference
Path: SupplyRequest.supplier
public static final Include INCLUDE_SUPPLIER
public static final String SP_CATEGORY
Description: The kind of supply (central, non-stock, etc.)
Type: token
Path: SupplyRequest.category
public static final TokenClientParam CATEGORY
Description: The kind of supply (central, non-stock, etc.)
Type: token
Path: SupplyRequest.category
public static final String SP_STATUS
Description: draft | active | suspended +
Type: token
Path: SupplyRequest.status
public static final TokenClientParam STATUS
Description: draft | active | suspended +
Type: token
Path: SupplyRequest.status
public SupplyRequest()
public Identifier getIdentifier()
identifier (Unique identifier for this supply request.)public boolean hasIdentifier()
public SupplyRequest setIdentifier(Identifier value)
value - identifier (Unique identifier for this supply request.)public Enumeration<SupplyRequest.SupplyRequestStatus> getStatusElement()
status (Status of the supply request.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public SupplyRequest setStatusElement(Enumeration<SupplyRequest.SupplyRequestStatus> value)
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 valuepublic SupplyRequest.SupplyRequestStatus getStatus()
public SupplyRequest setStatus(SupplyRequest.SupplyRequestStatus value)
value - Status of the supply request.public CodeableConcept getCategory()
category (Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.)public boolean hasCategory()
public SupplyRequest setCategory(CodeableConcept value)
value - category (Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.)public Enumeration<SupplyRequest.RequestPriority> getPriorityElement()
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 valuepublic boolean hasPriorityElement()
public boolean hasPriority()
public SupplyRequest setPriorityElement(Enumeration<SupplyRequest.RequestPriority> value)
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 valuepublic SupplyRequest.RequestPriority getPriority()
public SupplyRequest setPriority(SupplyRequest.RequestPriority value)
value - Indicates how quickly this SupplyRequest should be addressed with respect to other requests.public SupplyRequest.SupplyRequestOrderedItemComponent getOrderedItem()
orderedItem (The item being requested.)public boolean hasOrderedItem()
public SupplyRequest setOrderedItem(SupplyRequest.SupplyRequestOrderedItemComponent value)
value - orderedItem (The item being requested.)public Type getOccurrence()
occurrence (When the request should be fulfilled.)public DateTimeType getOccurrenceDateTimeType() throws FHIRException
occurrence (When the request should be fulfilled.)FHIRExceptionpublic boolean hasOccurrenceDateTimeType()
public Period getOccurrencePeriod() throws FHIRException
occurrence (When the request should be fulfilled.)FHIRExceptionpublic boolean hasOccurrencePeriod()
public Timing getOccurrenceTiming() throws FHIRException
occurrence (When the request should be fulfilled.)FHIRExceptionpublic boolean hasOccurrenceTiming()
public boolean hasOccurrence()
public SupplyRequest setOccurrence(Type value)
value - occurrence (When the request should be fulfilled.)public DateTimeType getAuthoredOnElement()
authoredOn (When the request was made.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the valuepublic boolean hasAuthoredOnElement()
public boolean hasAuthoredOn()
public SupplyRequest setAuthoredOnElement(DateTimeType value)
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 valuepublic Date getAuthoredOn()
public SupplyRequest setAuthoredOn(Date value)
value - When the request was made.public SupplyRequest.SupplyRequestRequesterComponent getRequester()
requester (The individual who initiated the request and has responsibility for its activation.)public boolean hasRequester()
public SupplyRequest setRequester(SupplyRequest.SupplyRequestRequesterComponent value)
value - requester (The individual who initiated the request and has responsibility for its activation.)public List<Reference> getSupplier()
supplier (Who is intended to fulfill the request.)public SupplyRequest setSupplier(List<Reference> theSupplier)
this for easy method chainingpublic boolean hasSupplier()
public Reference addSupplier()
public SupplyRequest addSupplier(Reference t)
public Reference getSupplierFirstRep()
supplier, creating it if it does not already exist@Deprecated public List<Organization> getSupplierTarget()
@Deprecated public Organization addSupplierTarget()
public CodeableConcept getReasonCodeableConcept() throws FHIRException
reason (Why the supply item was requested.)FHIRExceptionpublic boolean hasReasonCodeableConcept()
public Reference getReasonReference() throws FHIRException
reason (Why the supply item was requested.)FHIRExceptionpublic boolean hasReasonReference()
public boolean hasReason()
public SupplyRequest setReason(Type value)
value - reason (Why the supply item was requested.)public Reference getDeliverFrom()
deliverFrom (Where the supply is expected to come from.)public boolean hasDeliverFrom()
public SupplyRequest setDeliverFrom(Reference value)
value - deliverFrom (Where the supply is expected to come from.)public Resource getDeliverFromTarget()
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.)public SupplyRequest setDeliverFromTarget(Resource value)
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.)public Reference getDeliverTo()
deliverTo (Where the supply is destined to go.)public boolean hasDeliverTo()
public SupplyRequest setDeliverTo(Reference value)
value - deliverTo (Where the supply is destined to go.)public Resource getDeliverToTarget()
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.)public SupplyRequest setDeliverToTarget(Resource value)
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.)protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class DomainResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class DomainResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class DomainResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class DomainResourceFHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic SupplyRequest copy()
copy in class DomainResourceprotected SupplyRequest typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2017 University Health Network. All rights reserved.