public class SupplyRequest extends BaseResource implements IResource
Definition: A record of a request for a medication, substance or device used in the healthcare setting.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/SupplyRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
SupplyRequest.When
Block class for child element: SupplyRequest.when ()
|
| Modifier and Type | Field and Description |
|---|---|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SOURCE
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.
|
static TokenClientParam |
KIND
Fluent Client search parameter constant for kind
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static ReferenceClientParam |
SOURCE
Fluent Client search parameter constant for source
|
static String |
SP_DATE
Search parameter constant for date
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_KIND
Search parameter constant for kind
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_SOURCE
Search parameter constant for source
|
static String |
SP_STATUS
Search parameter constant for status
|
static String |
SP_SUPPLIER
Search parameter constant for supplier
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static ReferenceClientParam |
SUPPLIER
Fluent Client search parameter constant for supplier
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
SupplyRequest() |
| Modifier and Type | Method and Description |
|---|---|
ResourceReferenceDt |
addSupplier()
Adds and returns a new value for supplier ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
Date |
getDate()
Gets the value(s) for date ().
|
DateTimeDt |
getDateElement()
Gets the value(s) for date ().
|
IdentifierDt |
getIdentifier()
Gets the value(s) for identifier ().
|
CodeableConceptDt |
getKind()
Gets the value(s) for kind ().
|
ResourceReferenceDt |
getOrderedItem()
Gets the value(s) for orderedItem ().
|
ResourceReferenceDt |
getPatient()
Gets the value(s) for patient ().
|
IDatatype |
getReason()
Gets the value(s) for reason[x] ().
|
String |
getResourceName() |
ResourceReferenceDt |
getSource()
Gets the value(s) for source ().
|
String |
getStatus()
Gets the value(s) for status ().
|
BoundCodeDt<SupplyRequestStatusEnum> |
getStatusElement()
Gets the value(s) for status ().
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
List<ResourceReferenceDt> |
getSupplier()
Gets the value(s) for supplier ().
|
SupplyRequest.When |
getWhen()
Gets the value(s) for when ().
|
boolean |
isEmpty() |
SupplyRequest |
setDate(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for date ()
|
SupplyRequest |
setDate(DateTimeDt theValue)
Sets the value(s) for date ()
|
SupplyRequest |
setDateWithSecondsPrecision(Date theDate)
Sets the value for date ()
|
SupplyRequest |
setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier ()
|
SupplyRequest |
setKind(CodeableConceptDt theValue)
Sets the value(s) for kind ()
|
SupplyRequest |
setOrderedItem(ResourceReferenceDt theValue)
Sets the value(s) for orderedItem ()
|
SupplyRequest |
setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient ()
|
SupplyRequest |
setReason(IDatatype theValue)
Sets the value(s) for reason[x] ()
|
SupplyRequest |
setSource(ResourceReferenceDt theValue)
Sets the value(s) for source ()
|
SupplyRequest |
setStatus(BoundCodeDt<SupplyRequestStatusEnum> theValue)
Sets the value(s) for status ()
|
SupplyRequest |
setStatus(SupplyRequestStatusEnum theValue)
Sets the value(s) for status ()
|
SupplyRequest |
setSupplier(List<ResourceReferenceDt> theValue)
Sets the value(s) for supplier ()
|
SupplyRequest |
setWhen(SupplyRequest.When theValue)
Sets the value(s) for when ()
|
getContained, getId, getIdElement, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatagetIdElement, setId, setIdpublic static final String SP_KIND
Description:
Type: token
Path: SupplyRequest.kind
public static final TokenClientParam KIND
Description:
Type: token
Path: SupplyRequest.kind
public static final String SP_IDENTIFIER
Description:
Type: token
Path: SupplyRequest.identifier
public static final TokenClientParam IDENTIFIER
Description:
Type: token
Path: SupplyRequest.identifier
public static final String SP_STATUS
Description:
Type: token
Path: SupplyRequest.status
public static final TokenClientParam STATUS
Description:
Type: token
Path: SupplyRequest.status
public static final String SP_PATIENT
Description:
Type: reference
Path: SupplyRequest.patient
public static final ReferenceClientParam PATIENT
Description:
Type: reference
Path: SupplyRequest.patient
public static final String SP_SOURCE
Description:
Type: reference
Path: SupplyRequest.source
public static final ReferenceClientParam SOURCE
Description:
Type: reference
Path: SupplyRequest.source
public static final String SP_DATE
Description:
Type: date
Path: SupplyRequest.date
public static final DateClientParam DATE
Description:
Type: date
Path: SupplyRequest.date
public static final String SP_SUPPLIER
Description:
Type: reference
Path: SupplyRequest.supplier
public static final ReferenceClientParam SUPPLIER
Description:
Type: reference
Path: SupplyRequest.supplier
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_SOURCE
public static final Include INCLUDE_SUPPLIER
public SupplyRequest()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic ResourceReferenceDt getPatient()
null.
Definition: A link to a resource representing the person whom the ordered item is for
public SupplyRequest setPatient(ResourceReferenceDt theValue)
Definition: A link to a resource representing the person whom the ordered item is for
public ResourceReferenceDt getSource()
null.
Definition: The Practitioner , Organization or Patient who initiated this order for the supply
public SupplyRequest setSource(ResourceReferenceDt theValue)
Definition: The Practitioner , Organization or Patient who initiated this order for the supply
public DateTimeDt getDateElement()
null.
Definition: When the request was made
public Date getDate()
null.
Definition: When the request was made
public SupplyRequest setDate(DateTimeDt theValue)
Definition: When the request was made
public SupplyRequest setDate(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: When the request was made
public SupplyRequest setDateWithSecondsPrecision(Date theDate)
Definition: When the request was made
public IdentifierDt getIdentifier()
null.
Definition: Unique identifier for this supply request
public SupplyRequest setIdentifier(IdentifierDt theValue)
Definition: Unique identifier for this supply request
public BoundCodeDt<SupplyRequestStatusEnum> getStatusElement()
null.
Definition: Status of the supply request
public String getStatus()
null.
Definition: Status of the supply request
public SupplyRequest setStatus(BoundCodeDt<SupplyRequestStatusEnum> theValue)
Definition: Status of the supply request
public SupplyRequest setStatus(SupplyRequestStatusEnum theValue)
Definition: Status of the supply request
public CodeableConceptDt getKind()
null.
Definition: Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process
public SupplyRequest setKind(CodeableConceptDt theValue)
Definition: Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process
public ResourceReferenceDt getOrderedItem()
null.
Definition: The item that is requested to be supplied
public SupplyRequest setOrderedItem(ResourceReferenceDt theValue)
Definition: The item that is requested to be supplied
public List<ResourceReferenceDt> getSupplier()
null.
Definition: Who is intended to fulfill the request
public SupplyRequest setSupplier(List<ResourceReferenceDt> theValue)
Definition: Who is intended to fulfill the request
public ResourceReferenceDt addSupplier()
Definition: Who is intended to fulfill the request
public IDatatype getReason()
null.
Definition: Why the supply item was requested
public SupplyRequest setReason(IDatatype theValue)
Definition: Why the supply item was requested
public SupplyRequest.When getWhen()
null.
Definition: When the request should be fulfilled
public SupplyRequest setWhen(SupplyRequest.When theValue)
Definition: When the request should be fulfilled
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.