public class DiagnosticOrder extends BaseResource implements IResource
Definition: A record of 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 ()
|
static class |
DiagnosticOrder.Item
Block class for child element: DiagnosticOrder.item ()
|
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_ACTOR
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_ENCOUNTER
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_PATIENT
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 ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
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_PATIENT
Search parameter constant for patient
|
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
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
INCLUDE_ALL, WILDCARD_ALL_SET
Constructor and Description |
---|
DiagnosticOrder() |
Modifier and Type | Method and Description |
---|---|
DiagnosticOrder.Event |
addEvent()
Adds and returns a new value for event ()
|
DiagnosticOrder |
addEvent(DiagnosticOrder.Event theValue)
Adds a given new value for event ()
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (id)
|
DiagnosticOrder |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)
|
DiagnosticOrder.Item |
addItem()
Adds and returns a new value for item ()
|
DiagnosticOrder |
addItem(DiagnosticOrder.Item theValue)
Adds a given new value for item ()
|
AnnotationDt |
addNote()
Adds and returns a new value for note ()
|
DiagnosticOrder |
addNote(AnnotationDt theValue)
Adds a given new value for note ()
|
CodeableConceptDt |
addReason()
Adds and returns a new value for reason ()
|
DiagnosticOrder |
addReason(CodeableConceptDt theValue)
Adds a given new value for reason ()
|
ResourceReferenceDt |
addSpecimen()
Adds and returns a new value for specimen ()
|
ResourceReferenceDt |
addSupportingInformation()
Adds and returns a new value for supportingInformation ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
ResourceReferenceDt |
getEncounter()
Gets the value(s) for encounter (context).
|
List<DiagnosticOrder.Event> |
getEvent()
Gets the value(s) for event ().
|
DiagnosticOrder.Event |
getEventFirstRep()
Gets the first repetition for event (),
creating it if it does not already exist.
|
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.
|
List<DiagnosticOrder.Item> |
getItem()
Gets the value(s) for item ().
|
DiagnosticOrder.Item |
getItemFirstRep()
Gets the first repetition for item (),
creating it if it does not already exist.
|
List<AnnotationDt> |
getNote()
Gets the value(s) for note ().
|
AnnotationDt |
getNoteFirstRep()
Gets the first repetition for note (),
creating it if it does not already exist.
|
ResourceReferenceDt |
getOrderer()
Gets the value(s) for orderer (who.actor).
|
String |
getPriority()
Gets the value(s) for priority (grade).
|
BoundCodeDt<DiagnosticOrderPriorityEnum> |
getPriorityElement()
Gets the value(s) for priority (grade).
|
List<CodeableConceptDt> |
getReason()
Gets the value(s) for reason ().
|
CodeableConceptDt |
getReasonFirstRep()
Gets the first repetition for reason (),
creating it if it does not already exist.
|
String |
getResourceName() |
List<ResourceReferenceDt> |
getSpecimen()
Gets the value(s) for specimen ().
|
String |
getStatus()
Gets the value(s) for status (status).
|
BoundCodeDt<DiagnosticOrderStatusEnum> |
getStatusElement()
Gets the value(s) for status (status).
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (who.focus).
|
List<ResourceReferenceDt> |
getSupportingInformation()
Gets the value(s) for supportingInformation ().
|
boolean |
isEmpty() |
DiagnosticOrder |
setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter (context)
|
DiagnosticOrder |
setEvent(List<DiagnosticOrder.Event> theValue)
Sets the value(s) for event ()
|
DiagnosticOrder |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)
|
DiagnosticOrder |
setItem(List<DiagnosticOrder.Item> theValue)
Sets the value(s) for item ()
|
DiagnosticOrder |
setNote(List<AnnotationDt> theValue)
Sets the value(s) for note ()
|
DiagnosticOrder |
setOrderer(ResourceReferenceDt theValue)
Sets the value(s) for orderer (who.actor)
|
DiagnosticOrder |
setPriority(BoundCodeDt<DiagnosticOrderPriorityEnum> theValue)
Sets the value(s) for priority (grade)
|
DiagnosticOrder |
setPriority(DiagnosticOrderPriorityEnum theValue)
Sets the value(s) for priority (grade)
|
DiagnosticOrder |
setReason(List<CodeableConceptDt> theValue)
Sets the value(s) for reason ()
|
DiagnosticOrder |
setSpecimen(List<ResourceReferenceDt> theValue)
Sets the value(s) for specimen ()
|
DiagnosticOrder |
setStatus(BoundCodeDt<DiagnosticOrderStatusEnum> theValue)
Sets the value(s) for status (status)
|
DiagnosticOrder |
setStatus(DiagnosticOrderStatusEnum theValue)
Sets the value(s) for status (status)
|
DiagnosticOrder |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (who.focus)
|
DiagnosticOrder |
setSupportingInformation(List<ResourceReferenceDt> theValue)
Sets the value(s) for supportingInformation ()
|
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatComment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
getIdElement, setId, setId
public 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 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 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 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 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 String SP_PATIENT
Description:
Type: reference
Path: DiagnosticOrder.subject
public static final ReferenceClientParam PATIENT
Description:
Type: reference
Path: DiagnosticOrder.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 static final Include INCLUDE_ACTOR
public static final Include INCLUDE_ENCOUNTER
public static final Include INCLUDE_ORDERER
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_SPECIMEN
public static final Include INCLUDE_SUBJECT
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType
in interface ICompositeElement
public 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 instance by the orderer and/or the receiver and/or order fulfiller.
public DiagnosticOrder setIdentifier(List<IdentifierDt> theValue)
Definition: Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
public IdentifierDt addIdentifier()
Definition: Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
public DiagnosticOrder addIdentifier(IdentifierDt theValue)
Definition: Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
theValue
- The identifier to add (must not be null
)public IdentifierDt getIdentifierFirstRep()
Definition: Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
public ResourceReferenceDt getEncounter()
null
.
Definition: An encounter that provides additional information about the healthcare context in which this request is made
public DiagnosticOrder setEncounter(ResourceReferenceDt theValue)
Definition: An encounter that provides additional information about the healthcare context in which this request is made
public List<CodeableConceptDt> getReason()
null
.
Definition: An explanation or justification for why this diagnostic investigation is being requested. This is often for billing purposes. May relate to the resources referred to in supportingInformation.
public DiagnosticOrder setReason(List<CodeableConceptDt> theValue)
Definition: An explanation or justification for why this diagnostic investigation is being requested. This is often for billing purposes. May relate to the resources referred to in supportingInformation.
public CodeableConceptDt addReason()
Definition: An explanation or justification for why this diagnostic investigation is being requested. This is often for billing purposes. May relate to the resources referred to in supportingInformation.
public DiagnosticOrder addReason(CodeableConceptDt theValue)
Definition: An explanation or justification for why this diagnostic investigation is being requested. This is often for billing purposes. May relate to the resources referred to in supportingInformation.
theValue
- The reason to add (must not be null
)public CodeableConceptDt getReasonFirstRep()
Definition: An explanation or justification for why this diagnostic investigation is being requested. This is often for billing purposes. May relate to the resources referred to in supportingInformation.
public List<ResourceReferenceDt> getSupportingInformation()
null
.
Definition: Additional clinical information about the patient or specimen that may influence test interpretations. This includes observations explicitly requested by the producer(filler) to provide context or supporting information needed to complete the order.
public DiagnosticOrder setSupportingInformation(List<ResourceReferenceDt> theValue)
Definition: Additional clinical information about the patient or specimen that may influence test interpretations. This includes observations explicitly requested by the producer(filler) to provide context or supporting information needed to complete the order.
public ResourceReferenceDt addSupportingInformation()
Definition: Additional clinical information about the patient or specimen that may influence test interpretations. This includes observations explicitly requested by the producer(filler) to provide context or supporting information needed to complete the order.
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> getStatusElement()
null
.
Definition: The status of the order
public String 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> getPriorityElement()
null
.
Definition: The clinical priority associated with this order
public String 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 addEvent(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
theValue
- The event to add (must not be null
)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 addItem(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
theValue
- The item to add (must not be null
)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
public List<AnnotationDt> getNote()
null
.
Definition: Any other notes associated with this patient, specimen or order (e.g. \"patient hates needles\")
public DiagnosticOrder setNote(List<AnnotationDt> theValue)
Definition: Any other notes associated with this patient, specimen or order (e.g. \"patient hates needles\")
public AnnotationDt addNote()
Definition: Any other notes associated with this patient, specimen or order (e.g. \"patient hates needles\")
public DiagnosticOrder addNote(AnnotationDt theValue)
Definition: Any other notes associated with this patient, specimen or order (e.g. \"patient hates needles\")
theValue
- The note to add (must not be null
)public AnnotationDt getNoteFirstRep()
Definition: Any other notes associated with this patient, specimen or order (e.g. \"patient hates needles\")
public String getResourceName()
getResourceName
in interface IResource
public FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum
in interface IResource
getStructureFhirVersionEnum
in interface IBaseResource
Copyright © 2014–2019 University Health Network. All rights reserved.