public class DiagnosticOrder extends BaseResource implements IResource
Definition: A request for a diagnostic investigation service to be performed
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/DiagnosticOrder
| Modifier and Type | Class and Description |
|---|---|
static class |
DiagnosticOrder.Event
Block class for child element: DiagnosticOrder.event (A list of events of interest in the lifecycle)
|
static class |
DiagnosticOrder.Item
Block class for child element: DiagnosticOrder.item (The items the orderer requested)
|
| Modifier and Type | Field and Description |
|---|---|
static ReferenceClientParam |
ACTOR
Fluent Client search parameter constant for actor
|
static TokenClientParam |
BODYSITE
Fluent Client search parameter constant for bodysite
|
static TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
static ReferenceClientParam |
ENCOUNTER
Fluent Client search parameter constant for encounter
|
static DateClientParam |
EVENT_DATE
Fluent Client search parameter constant for event-date
|
static TokenClientParam |
EVENT_STATUS
Fluent Client search parameter constant for event-status
|
static CompositeClientParam<TokenClientParam,DateClientParam> |
EVENT_STATUS_EVENT_DATE
Fluent Client search parameter constant for event-status-event-date
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_EVENT_ACTOR
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_ITEM_EVENT_ACTOR
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_ITEM_SPECIMEN
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_ORDERER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SPECIMEN
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 DateClientParam |
ITEM_DATE
Fluent Client search parameter constant for item-date
|
static TokenClientParam |
ITEM_PAST_STATUS
Fluent Client search parameter constant for item-past-status
|
static CompositeClientParam<TokenClientParam,DateClientParam> |
ITEM_PAST_STATUS_ITEM_DATE
Fluent Client search parameter constant for item-past-status-item-date
|
static TokenClientParam |
ITEM_STATUS
Fluent Client search parameter constant for item-status
|
static ReferenceClientParam |
ORDERER
Fluent Client search parameter constant for orderer
|
static String |
SP_ACTOR
Search parameter constant for actor
|
static String |
SP_BODYSITE
Search parameter constant for bodysite
|
static String |
SP_CODE
Search parameter constant for code
|
static String |
SP_ENCOUNTER
Search parameter constant for encounter
|
static String |
SP_EVENT_DATE
Search parameter constant for event-date
|
static String |
SP_EVENT_STATUS
Search parameter constant for event-status
|
static String |
SP_EVENT_STATUS_EVENT_DATE
Search parameter constant for event-status-event-date
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_ITEM_DATE
Search parameter constant for item-date
|
static String |
SP_ITEM_PAST_STATUS
Search parameter constant for item-past-status
|
static String |
SP_ITEM_PAST_STATUS_ITEM_DATE
Search parameter constant for item-past-status-item-date
|
static String |
SP_ITEM_STATUS
Search parameter constant for item-status
|
static String |
SP_ORDERER
Search parameter constant for orderer
|
static String |
SP_SPECIMEN
Search parameter constant for specimen
|
static String |
SP_STATUS
Search parameter constant for status
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static ReferenceClientParam |
SPECIMEN
Fluent Client search parameter constant for specimen
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
DiagnosticOrder() |
| Modifier and Type | Method and Description |
|---|---|
DiagnosticOrder.Event |
addEvent()
Adds and returns a new value for event (A list of events of interest in the lifecycle)
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (Identifiers assigned to this order)
|
DiagnosticOrder |
addIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Adds a new value for identifier (Identifiers assigned to this order)
|
DiagnosticOrder |
addIdentifier(String theSystem,
String theValue)
Adds a new value for identifier (Identifiers assigned to this order)
|
DiagnosticOrder.Item |
addItem()
Adds and returns a new value for item (The items the orderer requested)
|
ResourceReferenceDt |
addSpecimen()
Adds and returns a new value for specimen (If the whole order relates to specific specimens)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
StringDt |
getClinicalNotes()
Gets the value(s) for clinicalNotes (Explanation/Justification for test).
|
ResourceReferenceDt |
getEncounter()
Gets the value(s) for encounter (The encounter that this diagnostic order is associated with).
|
List<DiagnosticOrder.Event> |
getEvent()
Gets the value(s) for event (A list of events of interest in the lifecycle).
|
DiagnosticOrder.Event |
getEventFirstRep()
Gets the first repetition for event (A list of events of interest in the lifecycle),
creating it if it does not already exist.
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (Identifiers assigned to this order).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (Identifiers assigned to this order),
creating it if it does not already exist.
|
List<DiagnosticOrder.Item> |
getItem()
Gets the value(s) for item (The items the orderer requested).
|
DiagnosticOrder.Item |
getItemFirstRep()
Gets the first repetition for item (The items the orderer requested),
creating it if it does not already exist.
|
ResourceReferenceDt |
getOrderer()
Gets the value(s) for orderer (Who ordered the test).
|
BoundCodeDt<DiagnosticOrderPriorityEnum> |
getPriority()
Gets the value(s) for priority (routine | urgent | stat | asap).
|
List<ResourceReferenceDt> |
getSpecimen()
Gets the value(s) for specimen (If the whole order relates to specific specimens).
|
BoundCodeDt<DiagnosticOrderStatusEnum> |
getStatus()
Gets the value(s) for status (requested | received | accepted | in progress | review | completed | suspended | rejected | failed).
|
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (Who and/or what test is about).
|
boolean |
isEmpty() |
DiagnosticOrder |
setClinicalNotes(String theString)
Sets the value for clinicalNotes (Explanation/Justification for test)
|
DiagnosticOrder |
setClinicalNotes(StringDt theValue)
Sets the value(s) for clinicalNotes (Explanation/Justification for test)
|
DiagnosticOrder |
setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter (The encounter that this diagnostic order is associated with)
|
DiagnosticOrder |
setEvent(List<DiagnosticOrder.Event> theValue)
Sets the value(s) for event (A list of events of interest in the lifecycle)
|
DiagnosticOrder |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (Identifiers assigned to this order)
|
DiagnosticOrder |
setItem(List<DiagnosticOrder.Item> theValue)
Sets the value(s) for item (The items the orderer requested)
|
DiagnosticOrder |
setOrderer(ResourceReferenceDt theValue)
Sets the value(s) for orderer (Who ordered the test)
|
DiagnosticOrder |
setPriority(BoundCodeDt<DiagnosticOrderPriorityEnum> theValue)
Sets the value(s) for priority (routine | urgent | stat | asap)
|
DiagnosticOrder |
setPriority(DiagnosticOrderPriorityEnum theValue)
Sets the value(s) for priority (routine | urgent | stat | asap)
|
DiagnosticOrder |
setSpecimen(List<ResourceReferenceDt> theValue)
Sets the value(s) for specimen (If the whole order relates to specific specimens)
|
DiagnosticOrder |
setStatus(BoundCodeDt<DiagnosticOrderStatusEnum> theValue)
Sets the value(s) for status (requested | received | accepted | in progress | review | completed | suspended | rejected | failed)
|
DiagnosticOrder |
setStatus(DiagnosticOrderStatusEnum theValue)
Sets the value(s) for status (requested | received | accepted | in progress | review | completed | suspended | rejected | failed)
|
DiagnosticOrder |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (Who and/or what test is about)
|
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_ACTOR
Description:
Type: reference
Path: DiagnosticOrder.event.actor | DiagnosticOrder.item.event.actor
public static final ReferenceClientParam ACTOR
Description:
Type: reference
Path: DiagnosticOrder.event.actor | DiagnosticOrder.item.event.actor
public static final Include INCLUDE_EVENT_ACTOR
public static final Include INCLUDE_ITEM_EVENT_ACTOR
public static final String SP_BODYSITE
Description:
Type: token
Path: DiagnosticOrder.item.bodySite
public static final TokenClientParam BODYSITE
Description:
Type: token
Path: DiagnosticOrder.item.bodySite
public static final String SP_CODE
Description:
Type: token
Path: DiagnosticOrder.item.code
public static final TokenClientParam CODE
Description:
Type: token
Path: DiagnosticOrder.item.code
public static final String SP_EVENT_DATE
Description:
Type: date
Path: DiagnosticOrder.event.dateTime
public static final DateClientParam EVENT_DATE
Description:
Type: date
Path: DiagnosticOrder.event.dateTime
public static final String SP_ENCOUNTER
Description:
Type: reference
Path: DiagnosticOrder.encounter
public static final ReferenceClientParam ENCOUNTER
Description:
Type: reference
Path: DiagnosticOrder.encounter
public static final Include INCLUDE_ENCOUNTER
public static final String SP_IDENTIFIER
Description:
Type: token
Path: DiagnosticOrder.identifier
public static final TokenClientParam IDENTIFIER
Description:
Type: token
Path: DiagnosticOrder.identifier
public static final String SP_ITEM_DATE
Description:
Type: date
Path: DiagnosticOrder.item.event.dateTime
public static final DateClientParam ITEM_DATE
Description:
Type: date
Path: DiagnosticOrder.item.event.dateTime
public static final String SP_ITEM_PAST_STATUS
Description:
Type: token
Path: DiagnosticOrder.item.event.status
public static final TokenClientParam ITEM_PAST_STATUS
Description:
Type: token
Path: DiagnosticOrder.item.event.status
public static final String SP_ITEM_STATUS
Description:
Type: token
Path: DiagnosticOrder.item.status
public static final TokenClientParam ITEM_STATUS
Description:
Type: token
Path: DiagnosticOrder.item.status
public static final String SP_ORDERER
Description:
Type: reference
Path: DiagnosticOrder.orderer
public static final ReferenceClientParam ORDERER
Description:
Type: reference
Path: DiagnosticOrder.orderer
public static final Include INCLUDE_ORDERER
public static final String SP_EVENT_STATUS
Description:
Type: token
Path: DiagnosticOrder.event.status
public static final TokenClientParam EVENT_STATUS
Description:
Type: token
Path: DiagnosticOrder.event.status
public static final String SP_SPECIMEN
Description:
Type: reference
Path: DiagnosticOrder.specimen | DiagnosticOrder.item.specimen
public static final ReferenceClientParam SPECIMEN
Description:
Type: reference
Path: DiagnosticOrder.specimen | DiagnosticOrder.item.specimen
public static final Include INCLUDE_SPECIMEN
public static final Include INCLUDE_ITEM_SPECIMEN
public static final String SP_STATUS
Description:
Type: token
Path: DiagnosticOrder.status
public static final TokenClientParam STATUS
Description:
Type: token
Path: DiagnosticOrder.status
public static final String SP_SUBJECT
Description:
Type: reference
Path: DiagnosticOrder.subject
public static final ReferenceClientParam SUBJECT
Description:
Type: reference
Path: DiagnosticOrder.subject
public static final Include INCLUDE_SUBJECT
public static final String SP_ITEM_PAST_STATUS_ITEM_DATE
Description: A combination of item-past-status and item-date
Type: composite
Path: item-past-status & item-date
public static final CompositeClientParam<TokenClientParam,DateClientParam> ITEM_PAST_STATUS_ITEM_DATE
Description: A combination of item-past-status and item-date
Type: composite
Path: item-past-status & item-date
public static final String SP_EVENT_STATUS_EVENT_DATE
Description: A combination of past-status and date
Type: composite
Path: event-status & event-date
public static final CompositeClientParam<TokenClientParam,DateClientParam> EVENT_STATUS_EVENT_DATE
Description: A combination of past-status and date
Type: composite
Path: event-status & event-date
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 ResourceReferenceDt getSubject()
null.
Definition: Who or what the investigation is to be performed on. This is usually a human patient, but diagnostic tests can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans)
public DiagnosticOrder setSubject(ResourceReferenceDt theValue)
Definition: Who or what the investigation is to be performed on. This is usually a human patient, but diagnostic tests can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans)
public ResourceReferenceDt getOrderer()
null.
Definition: The practitioner that holds legal responsibility for ordering the investigation
public DiagnosticOrder setOrderer(ResourceReferenceDt theValue)
Definition: The practitioner that holds legal responsibility for ordering the investigation
public List<IdentifierDt> getIdentifier()
null.
Definition: Identifiers assigned to this order by the order or by the receiver
public DiagnosticOrder setIdentifier(List<IdentifierDt> theValue)
Definition: Identifiers assigned to this order by the order or by the receiver
public IdentifierDt addIdentifier()
Definition: Identifiers assigned to this order by the order or by the receiver
public IdentifierDt getIdentifierFirstRep()
Definition: Identifiers assigned to this order by the order or by the receiver
public DiagnosticOrder addIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
Definition: Identifiers assigned to this order by the order or by the receiver
public DiagnosticOrder addIdentifier(String theSystem, String theValue)
Definition: Identifiers assigned to this order by the order or by the receiver
public ResourceReferenceDt getEncounter()
null.
Definition: An encounter that provides additional informaton about the healthcare context in which this request is made
public DiagnosticOrder setEncounter(ResourceReferenceDt theValue)
Definition: An encounter that provides additional informaton about the healthcare context in which this request is made
public StringDt getClinicalNotes()
null.
Definition: An explanation or justification for why this diagnostic investigation is being requested
public DiagnosticOrder setClinicalNotes(StringDt theValue)
Definition: An explanation or justification for why this diagnostic investigation is being requested
public DiagnosticOrder setClinicalNotes(String theString)
Definition: An explanation or justification for why this diagnostic investigation is being requested
public List<ResourceReferenceDt> getSpecimen()
null.
Definition: One or more specimens that the diagnostic investigation is about
public DiagnosticOrder setSpecimen(List<ResourceReferenceDt> theValue)
Definition: One or more specimens that the diagnostic investigation is about
public ResourceReferenceDt addSpecimen()
Definition: One or more specimens that the diagnostic investigation is about
public BoundCodeDt<DiagnosticOrderStatusEnum> getStatus()
null.
Definition: The status of the order
public DiagnosticOrder setStatus(BoundCodeDt<DiagnosticOrderStatusEnum> theValue)
Definition: The status of the order
public DiagnosticOrder setStatus(DiagnosticOrderStatusEnum theValue)
Definition: The status of the order
public BoundCodeDt<DiagnosticOrderPriorityEnum> getPriority()
null.
Definition: The clinical priority associated with this order
public DiagnosticOrder setPriority(BoundCodeDt<DiagnosticOrderPriorityEnum> theValue)
Definition: The clinical priority associated with this order
public DiagnosticOrder setPriority(DiagnosticOrderPriorityEnum theValue)
Definition: The clinical priority associated with this order
public List<DiagnosticOrder.Event> getEvent()
null.
Definition: A summary of the events of interest that have occurred as the request is processed. E.g. when the order was made, various processing steps (specimens received), when it was completed
public DiagnosticOrder setEvent(List<DiagnosticOrder.Event> theValue)
Definition: A summary of the events of interest that have occurred as the request is processed. E.g. when the order was made, various processing steps (specimens received), when it was completed
public DiagnosticOrder.Event addEvent()
Definition: A summary of the events of interest that have occurred as the request is processed. E.g. when the order was made, various processing steps (specimens received), when it was completed
public DiagnosticOrder.Event getEventFirstRep()
Definition: A summary of the events of interest that have occurred as the request is processed. E.g. when the order was made, various processing steps (specimens received), when it was completed
public List<DiagnosticOrder.Item> getItem()
null.
Definition: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested
public DiagnosticOrder setItem(List<DiagnosticOrder.Item> theValue)
Definition: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested
public DiagnosticOrder.Item addItem()
Definition: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested
public DiagnosticOrder.Item getItemFirstRep()
Definition: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested
Copyright © 2014 University Health Network. All rights reserved.