public class SupplyRequest extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
SupplyRequest.RequestPriority |
static class |
SupplyRequest.RequestPriorityEnumFactory |
static class |
SupplyRequest.SupplyRequestParameterComponent |
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 ca.uhn.fhir.rest.gclient.TokenClientParam |
CATEGORY
Fluent Client search parameter constant for category
|
static ca.uhn.fhir.rest.gclient.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 List<Identifier> |
identifier
Business identifiers assigned to this SupplyRequest by the author and/or other systems.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_REQUESTER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUPPLIER
Constant for fluent queries to be used to add include statements.
|
protected Type |
item
The item that is requested to be supplied.
|
protected Type |
occurrence
When the request should be fulfilled.
|
protected List<SupplyRequest.SupplyRequestParameterComponent> |
parameter
Specific parameters for the ordered item.
|
protected Enumeration<SupplyRequest.RequestPriority> |
priority
Indicates how quickly this SupplyRequest should be addressed with respect to other requests.
|
protected Quantity |
quantity
The amount that is being ordered of the indicated item.
|
protected List<CodeableConcept> |
reasonCode
The reason why the supply item was requested.
|
protected List<Reference> |
reasonReference
The reason why the supply item was requested.
|
protected List<Resource> |
reasonReferenceTarget
The actual objects that are the target of the reference (The reason why the supply item was requested.)
|
protected Reference |
requester
The device, practitioner, etc.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
REQUESTER
Fluent Client search parameter constant for requester
|
protected Resource |
requesterTarget
The actual object that is the target of the reference (The device, practitioner, etc.
|
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_SUBJECT
Search parameter: subject
|
static String |
SP_SUPPLIER
Search parameter: supplier
|
protected Enumeration<SupplyRequest.SupplyRequestStatus> |
status
Status of the supply request.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected List<Reference> |
supplier
Who is intended to fulfill the request.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUPPLIER
Fluent Client search parameter constant for supplier
|
protected List<Resource> |
supplierTarget
The actual objects that are the target of the reference (Who is intended to fulfill the request.)
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
SupplyRequest()
Constructor
|
SupplyRequest(Type item,
Quantity quantity)
Constructor
|
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected Enumeration<SupplyRequest.SupplyRequestStatus> status
protected CodeableConcept category
protected Enumeration<SupplyRequest.RequestPriority> priority
protected Type item
protected List<SupplyRequest.SupplyRequestParameterComponent> parameter
protected Type occurrence
protected DateTimeType authoredOn
protected Resource requesterTarget
protected List<Resource> supplierTarget
protected List<CodeableConcept> reasonCode
protected List<Reference> reasonReference
protected List<Resource> reasonReferenceTarget
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
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTER
Description: Individual making the request
Type: reference
Path: SupplyRequest.requester
public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTER
public static final String SP_DATE
Description: When the request was made
Type: date
Path: SupplyRequest.authoredOn
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Description: When the request was made
Type: date
Path: SupplyRequest.authoredOn
public static final String SP_IDENTIFIER
Description: Business Identifier for SupplyRequest
Type: token
Path: SupplyRequest.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Business Identifier for SupplyRequest
Type: token
Path: SupplyRequest.identifier
public static final String SP_SUBJECT
Description: The destination of the supply
Type: reference
Path: SupplyRequest.deliverTo
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description: The destination of the supply
Type: reference
Path: SupplyRequest.deliverTo
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public static final String SP_SUPPLIER
Description: Who is intended to fulfill the request
Type: reference
Path: SupplyRequest.supplier
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPLIER
Description: Who is intended to fulfill the request
Type: reference
Path: SupplyRequest.supplier
public static final ca.uhn.fhir.model.api.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: draft | active | suspended +
Type: token
Path: SupplyRequest.status
public SupplyRequest()
public SupplyRequest(Type item, Quantity quantity)
public List<Identifier> getIdentifier()
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.)public SupplyRequest setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public SupplyRequest addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic 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 Type getItem()
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.)public CodeableConcept getItemCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasItemCodeableConcept()
public Reference getItemReference() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasItemReference()
public boolean hasItem()
public SupplyRequest setItem(Type value)
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.)public Quantity getQuantity()
quantity (The amount that is being ordered of the indicated item.)public boolean hasQuantity()
public SupplyRequest setQuantity(Quantity value)
value - quantity (The amount that is being ordered of the indicated item.)public List<SupplyRequest.SupplyRequestParameterComponent> getParameter()
parameter (Specific parameters for the ordered item. For example, the size of the indicated item.)public SupplyRequest setParameter(List<SupplyRequest.SupplyRequestParameterComponent> theParameter)
this for easy method chainingpublic boolean hasParameter()
public SupplyRequest.SupplyRequestParameterComponent addParameter()
public SupplyRequest addParameter(SupplyRequest.SupplyRequestParameterComponent t)
public SupplyRequest.SupplyRequestParameterComponent getParameterFirstRep()
parameter, creating it if it does not already existpublic Type getOccurrence()
occurrence (When the request should be fulfilled.)public DateTimeType getOccurrenceDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
occurrence (When the request should be fulfilled.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasOccurrenceDateTimeType()
public Period getOccurrencePeriod() throws org.hl7.fhir.exceptions.FHIRException
occurrence (When the request should be fulfilled.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasOccurrencePeriod()
public Timing getOccurrenceTiming() throws org.hl7.fhir.exceptions.FHIRException
occurrence (When the request should be fulfilled.)org.hl7.fhir.exceptions.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 Reference getRequester()
requester (The device, practitioner, etc. who initiated the request.)public boolean hasRequester()
public SupplyRequest setRequester(Reference value)
value - requester (The device, practitioner, etc. who initiated the request.)public Resource getRequesterTarget()
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.)public SupplyRequest setRequesterTarget(Resource value)
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.)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<Resource> getSupplierTarget()
public List<CodeableConcept> getReasonCode()
reasonCode (The reason why the supply item was requested.)public SupplyRequest setReasonCode(List<CodeableConcept> theReasonCode)
this for easy method chainingpublic boolean hasReasonCode()
public CodeableConcept addReasonCode()
public SupplyRequest addReasonCode(CodeableConcept t)
public CodeableConcept getReasonCodeFirstRep()
reasonCode, creating it if it does not already existpublic List<Reference> getReasonReference()
reasonReference (The reason why the supply item was requested.)public SupplyRequest setReasonReference(List<Reference> theReasonReference)
this for easy method chainingpublic boolean hasReasonReference()
public Reference addReasonReference()
public SupplyRequest addReasonReference(Reference t)
public Reference getReasonReferenceFirstRep()
reasonReference, creating it if it does not already exist@Deprecated public List<Resource> getReasonReferenceTarget()
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> children)
listChildren in class DomainResourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class DomainResourcepublic SupplyRequest copy()
copy in class DomainResourcepublic void copyValues(SupplyRequest dst)
protected SupplyRequest typedCopy()
public boolean equalsDeep(Base other_)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other_)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2021 Health Level 7. All rights reserved.