public class Order extends BaseResource implements IResource
Definition: A request to perform an action.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Order
| Modifier and Type | Class and Description |
|---|---|
static class |
Order.When
Block class for child element: Order.when ()
|
| Modifier and Type | Field and Description |
|---|---|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static ReferenceClientParam |
DETAIL
Fluent Client search parameter constant for detail
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_DETAIL
Constant for fluent queries to be used to add include statements.
|
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_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_TARGET
Constant for fluent queries to be used to add include statements.
|
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_DETAIL
Search parameter constant for detail
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_SOURCE
Search parameter constant for source
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static String |
SP_TARGET
Search parameter constant for target
|
static String |
SP_WHEN
Search parameter constant for when
|
static String |
SP_WHEN_CODE
Search parameter constant for when_code
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
static ReferenceClientParam |
TARGET
Fluent Client search parameter constant for target
|
static DateClientParam |
WHEN
Fluent Client search parameter constant for when
|
static TokenClientParam |
WHEN_CODE
Fluent Client search parameter constant for when_code
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Order() |
| Modifier and Type | Method and Description |
|---|---|
ResourceReferenceDt |
addDetail()
Adds and returns a new value for detail ()
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (id)
|
Order |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
Date |
getDate()
Gets the value(s) for date (when.done).
|
DateTimeDt |
getDateElement()
Gets the value(s) for date (when.done).
|
List<ResourceReferenceDt> |
getDetail()
Gets the value(s) for detail ().
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (id).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (id),
creating it if it does not already exist.
|
IDatatype |
getReason()
Gets the value(s) for reason[x] (why).
|
String |
getResourceName() |
ResourceReferenceDt |
getSource()
Gets the value(s) for source (who.cause).
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (who.focus).
|
ResourceReferenceDt |
getTarget()
Gets the value(s) for target (who.actor).
|
Order.When |
getWhen()
Gets the value(s) for when ().
|
boolean |
isEmpty() |
Order |
setDate(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for date (when.done)
|
Order |
setDate(DateTimeDt theValue)
Sets the value(s) for date (when.done)
|
Order |
setDateWithSecondsPrecision(Date theDate)
Sets the value for date (when.done)
|
Order |
setDetail(List<ResourceReferenceDt> theValue)
Sets the value(s) for detail ()
|
Order |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)
|
Order |
setReason(IDatatype theValue)
Sets the value(s) for reason[x] (why)
|
Order |
setSource(ResourceReferenceDt theValue)
Sets the value(s) for source (who.cause)
|
Order |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (who.focus)
|
Order |
setTarget(ResourceReferenceDt theValue)
Sets the value(s) for target (who.actor)
|
Order |
setWhen(Order.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_DATE
Description:
Type: date
Path: Order.date
public static final DateClientParam DATE
Description:
Type: date
Path: Order.date
public static final String SP_SUBJECT
Description:
Type: reference
Path: Order.subject
public static final ReferenceClientParam SUBJECT
Description:
Type: reference
Path: Order.subject
public static final String SP_SOURCE
Description:
Type: reference
Path: Order.source
public static final ReferenceClientParam SOURCE
Description:
Type: reference
Path: Order.source
public static final String SP_TARGET
Description:
Type: reference
Path: Order.target
public static final ReferenceClientParam TARGET
Description:
Type: reference
Path: Order.target
public static final String SP_WHEN_CODE
Description:
Type: token
Path: Order.when.code
public static final TokenClientParam WHEN_CODE
Description:
Type: token
Path: Order.when.code
public static final String SP_WHEN
Description:
Type: date
Path: Order.when.schedule
public static final DateClientParam WHEN
Description:
Type: date
Path: Order.when.schedule
public static final String SP_DETAIL
Description:
Type: reference
Path: Order.detail
public static final ReferenceClientParam DETAIL
Description:
Type: reference
Path: Order.detail
public static final String SP_PATIENT
Description:
Type: reference
Path: Order.subject
public static final ReferenceClientParam PATIENT
Description:
Type: reference
Path: Order.subject
public static final String SP_IDENTIFIER
Description: Instance id from source, target, and/or others
Type: token
Path: Order.identifier
public static final TokenClientParam IDENTIFIER
Description: Instance id from source, target, and/or others
Type: token
Path: Order.identifier
public static final Include INCLUDE_DETAIL
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_SOURCE
public static final Include INCLUDE_SUBJECT
public static final Include INCLUDE_TARGET
public Order()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic List<IdentifierDt> getIdentifier()
null.
Definition:
public Order setIdentifier(List<IdentifierDt> theValue)
Definition:
public IdentifierDt addIdentifier()
Definition:
public Order addIdentifier(IdentifierDt theValue)
Definition:
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition:
public DateTimeDt getDateElement()
null.
Definition:
public Date getDate()
null.
Definition:
public Order setDate(DateTimeDt theValue)
Definition:
public Order setDate(Date theDate, TemporalPrecisionEnum thePrecision)
Definition:
public Order setDateWithSecondsPrecision(Date theDate)
Definition:
public ResourceReferenceDt getSubject()
null.
Definition:
public Order setSubject(ResourceReferenceDt theValue)
Definition:
public ResourceReferenceDt getSource()
null.
Definition:
public Order setSource(ResourceReferenceDt theValue)
Definition:
public ResourceReferenceDt getTarget()
null.
Definition:
public Order setTarget(ResourceReferenceDt theValue)
Definition:
public IDatatype getReason()
null.
Definition:
public Order setReason(IDatatype theValue)
Definition:
public Order.When getWhen()
null.
Definition:
public Order setWhen(Order.When theValue)
Definition:
public List<ResourceReferenceDt> getDetail()
null.
Definition:
public Order setDetail(List<ResourceReferenceDt> theValue)
Definition:
public ResourceReferenceDt addDetail()
Definition:
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.