public class SupplyRequest extends BaseResource implements ca.uhn.fhir.model.api.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 ca.uhn.fhir.rest.gclient.DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SOURCE
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.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
KIND
Fluent Client search parameter constant for kind
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUPPLIER
Fluent Client search parameter constant for supplier
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
SupplyRequest() |
| Modifier and Type | Method and Description |
|---|---|
ResourceReferenceDt |
addSupplier()
Adds and returns a new value for supplier ()
|
<T extends ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
Date |
getDate()
Gets the value(s) for date ().
|
ca.uhn.fhir.model.primitive.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 ().
|
ca.uhn.fhir.model.api.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 ().
|
ca.uhn.fhir.model.primitive.BoundCodeDt<SupplyRequestStatusEnum> |
getStatusElement()
Gets the value(s) for status ().
|
ca.uhn.fhir.context.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,
ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for date ()
|
SupplyRequest |
setDate(ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for reason[x] ()
|
SupplyRequest |
setSource(ResourceReferenceDt theValue)
Sets the value(s) for source ()
|
SupplyRequest |
setStatus(ca.uhn.fhir.model.primitive.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, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatCommentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String SP_KIND
Description:
Type: token
Path: SupplyRequest.kind
public static final ca.uhn.fhir.rest.gclient.TokenClientParam KIND
Description:
Type: token
Path: SupplyRequest.kind
public static final String SP_IDENTIFIER
Description:
Type: token
Path: SupplyRequest.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description:
Type: token
Path: SupplyRequest.identifier
public static final String SP_STATUS
Description:
Type: token
Path: SupplyRequest.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description:
Type: token
Path: SupplyRequest.status
public static final String SP_PATIENT
Description:
Type: reference
Path: SupplyRequest.patient
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description:
Type: reference
Path: SupplyRequest.patient
public static final String SP_SOURCE
Description:
Type: reference
Path: SupplyRequest.source
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE
Description:
Type: reference
Path: SupplyRequest.source
public static final String SP_DATE
Description:
Type: date
Path: SupplyRequest.date
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Description:
Type: date
Path: SupplyRequest.date
public static final String SP_SUPPLIER
Description:
Type: reference
Path: SupplyRequest.supplier
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPLIER
Description:
Type: reference
Path: SupplyRequest.supplier
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUPPLIER
public SupplyRequest()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.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 ca.uhn.fhir.model.primitive.DateTimeDt getDateElement()
null.
Definition: When the request was made
public Date getDate()
null.
Definition: When the request was made
public SupplyRequest setDate(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Definition: When the request was made
public SupplyRequest setDateWithSecondsPrecision(Date theDate)
Definition: When the request was made
public SupplyRequest setDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
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 ca.uhn.fhir.model.primitive.BoundCodeDt<SupplyRequestStatusEnum> getStatusElement()
null.
Definition: Status of the supply request
public String getStatus()
null.
Definition: Status of the supply request
public SupplyRequest setStatus(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.api.IDatatype getReason()
null.
Definition: Why the supply item was requested
public SupplyRequest setReason(ca.uhn.fhir.model.api.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 ca.uhn.fhir.model.api.IResourcepublic ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface ca.uhn.fhir.model.api.IResourcegetStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResourceCopyright © 2014–2018 University Health Network. All rights reserved.