public class Order extends BaseResource implements IResource
Definition:
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 (When order should be fulfilled)
|
| Modifier and Type | Field and Description |
|---|---|
static ReferenceClientParam |
AUTHORITY
Fluent Client search parameter constant for authority
|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static ReferenceClientParam |
DETAIL
Fluent Client search parameter constant for detail
|
static Include |
INCLUDE_AUTHORITY
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_DETAIL
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 |
SOURCE
Fluent Client search parameter constant for source
|
static String |
SP_AUTHORITY
Search parameter constant for authority
|
static String |
SP_DATE
Search parameter constant for date
|
static String |
SP_DETAIL
Search parameter constant for detail
|
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
|
SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
Order() |
| Modifier and Type | Method and Description |
|---|---|
ResourceReferenceDt |
addDetail()
Adds and returns a new value for detail (What action is being ordered)
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (Identifiers assigned to this order by the orderer or by the receiver)
|
Order |
addIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Adds a new value for identifier (Identifiers assigned to this order by the orderer or by the receiver)
|
Order |
addIdentifier(String theSystem,
String theValue)
Adds a new value for identifier (Identifiers assigned to this order by the orderer or by the receiver)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
ResourceReferenceDt |
getAuthority()
Gets the value(s) for authority (If required by policy).
|
DateTimeDt |
getDate()
Gets the value(s) for date (When the order was made).
|
List<ResourceReferenceDt> |
getDetail()
Gets the value(s) for detail (What action is being ordered).
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (Identifiers assigned to this order by the orderer or by the receiver).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (Identifiers assigned to this order by the orderer or by the receiver),
creating it if it does not already exist.
|
IDatatype |
getReason()
Gets the value(s) for reason[x] (Text - why the order was made).
|
ResourceReferenceDt |
getSource()
Gets the value(s) for source (Who initiated the order).
|
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (Patient this order is about).
|
ResourceReferenceDt |
getTarget()
Gets the value(s) for target (Who is intended to fulfill the order).
|
Order.When |
getWhen()
Gets the value(s) for when (When order should be fulfilled).
|
boolean |
isEmpty() |
Order |
setAuthority(ResourceReferenceDt theValue)
Sets the value(s) for authority (If required by policy)
|
Order |
setDate(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for date (When the order was made)
|
Order |
setDate(DateTimeDt theValue)
Sets the value(s) for date (When the order was made)
|
Order |
setDateWithSecondsPrecision(Date theDate)
Sets the value for date (When the order was made)
|
Order |
setDetail(List<ResourceReferenceDt> theValue)
Sets the value(s) for detail (What action is being ordered)
|
Order |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (Identifiers assigned to this order by the orderer or by the receiver)
|
Order |
setReason(IDatatype theValue)
Sets the value(s) for reason[x] (Text - why the order was made)
|
Order |
setSource(ResourceReferenceDt theValue)
Sets the value(s) for source (Who initiated the order)
|
Order |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (Patient this order is about)
|
Order |
setTarget(ResourceReferenceDt theValue)
Sets the value(s) for target (Who is intended to fulfill the order)
|
Order |
setWhen(Order.When theValue)
Sets the value(s) for when (When order should be fulfilled)
|
getContained, getId, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, 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, setResourceMetadatapublic 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 Include INCLUDE_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 Include INCLUDE_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 Include INCLUDE_TARGET
public static final String SP_AUTHORITY
Description:
Type: reference
Path: Order.authority
public static final ReferenceClientParam AUTHORITY
Description:
Type: reference
Path: Order.authority
public static final Include INCLUDE_AUTHORITY
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 Include INCLUDE_DETAIL
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic List<IdentifierDt> getIdentifier()
null.
Definition:
public Order setIdentifier(List<IdentifierDt> theValue)
Definition:
public IdentifierDt addIdentifier()
Definition:
public IdentifierDt getIdentifierFirstRep()
Definition:
public Order addIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
Definition:
public Order addIdentifier(String theSystem, String theValue)
Definition:
public DateTimeDt getDate()
null.
Definition:
public Order setDate(DateTimeDt theValue)
Definition:
public Order setDateWithSecondsPrecision(Date theDate)
Definition:
public Order setDate(Date theDate, TemporalPrecisionEnum thePrecision)
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 ResourceReferenceDt getAuthority()
null.
Definition:
public Order setAuthority(ResourceReferenceDt 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:
Copyright © 2014 University Health Network. All rights reserved.