public class DeviceUseRequest extends BaseResource implements IResource
Definition: Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/DeviceUseRequest
| Modifier and Type | Field and Description |
|---|---|
static ReferenceClientParam |
DEVICE
Fluent Client search parameter constant for device
|
static Include |
INCLUDE_DEVICE
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_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static String |
SP_DEVICE
Search parameter constant for device
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
DeviceUseRequest() |
| Modifier and Type | Method and Description |
|---|---|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (id)
|
DeviceUseRequest |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)
|
CodeableConceptDt |
addIndication()
Adds and returns a new value for indication (why)
|
DeviceUseRequest |
addIndication(CodeableConceptDt theValue)
Adds a given new value for indication (why)
|
StringDt |
addNotes()
Adds and returns a new value for notes ()
|
DeviceUseRequest |
addNotes(String theString)
Adds a new value for notes ()
|
DeviceUseRequest |
addNotes(StringDt theValue)
Adds a given new value for notes ()
|
CodeableConceptDt |
addPrnReason()
Adds and returns a new value for prnReason ()
|
DeviceUseRequest |
addPrnReason(CodeableConceptDt theValue)
Adds a given new value for prnReason ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
IDatatype |
getBodySite()
Gets the value(s) for bodySite[x] ().
|
ResourceReferenceDt |
getDevice()
Gets the value(s) for device ().
|
ResourceReferenceDt |
getEncounter()
Gets the value(s) for encounter (context).
|
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<CodeableConceptDt> |
getIndication()
Gets the value(s) for indication (why).
|
CodeableConceptDt |
getIndicationFirstRep()
Gets the first repetition for indication (why),
creating it if it does not already exist.
|
List<StringDt> |
getNotes()
Gets the value(s) for notes ().
|
StringDt |
getNotesFirstRep()
Gets the first repetition for notes (),
creating it if it does not already exist.
|
Date |
getOrderedOn()
Gets the value(s) for orderedOn (when.init).
|
DateTimeDt |
getOrderedOnElement()
Gets the value(s) for orderedOn (when.init).
|
String |
getPriority()
Gets the value(s) for priority (grade).
|
BoundCodeDt<DeviceUseRequestPriorityEnum> |
getPriorityElement()
Gets the value(s) for priority (grade).
|
List<CodeableConceptDt> |
getPrnReason()
Gets the value(s) for prnReason ().
|
CodeableConceptDt |
getPrnReasonFirstRep()
Gets the first repetition for prnReason (),
creating it if it does not already exist.
|
Date |
getRecordedOn()
Gets the value(s) for recordedOn (when.recorded).
|
DateTimeDt |
getRecordedOnElement()
Gets the value(s) for recordedOn (when.recorded).
|
String |
getResourceName() |
String |
getStatus()
Gets the value(s) for status (status).
|
BoundCodeDt<DeviceUseRequestStatusEnum> |
getStatusElement()
Gets the value(s) for status (status).
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (who.focus).
|
IDatatype |
getTiming()
Gets the value(s) for timing[x] (when.planned).
|
boolean |
isEmpty() |
DeviceUseRequest |
setBodySite(IDatatype theValue)
Sets the value(s) for bodySite[x] ()
|
DeviceUseRequest |
setDevice(ResourceReferenceDt theValue)
Sets the value(s) for device ()
|
DeviceUseRequest |
setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter (context)
|
DeviceUseRequest |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)
|
DeviceUseRequest |
setIndication(List<CodeableConceptDt> theValue)
Sets the value(s) for indication (why)
|
DeviceUseRequest |
setNotes(List<StringDt> theValue)
Sets the value(s) for notes ()
|
DeviceUseRequest |
setOrderedOn(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for orderedOn (when.init)
|
DeviceUseRequest |
setOrderedOn(DateTimeDt theValue)
Sets the value(s) for orderedOn (when.init)
|
DeviceUseRequest |
setOrderedOnWithSecondsPrecision(Date theDate)
Sets the value for orderedOn (when.init)
|
DeviceUseRequest |
setPriority(BoundCodeDt<DeviceUseRequestPriorityEnum> theValue)
Sets the value(s) for priority (grade)
|
DeviceUseRequest |
setPriority(DeviceUseRequestPriorityEnum theValue)
Sets the value(s) for priority (grade)
|
DeviceUseRequest |
setPrnReason(List<CodeableConceptDt> theValue)
Sets the value(s) for prnReason ()
|
DeviceUseRequest |
setRecordedOn(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for recordedOn (when.recorded)
|
DeviceUseRequest |
setRecordedOn(DateTimeDt theValue)
Sets the value(s) for recordedOn (when.recorded)
|
DeviceUseRequest |
setRecordedOnWithSecondsPrecision(Date theDate)
Sets the value for recordedOn (when.recorded)
|
DeviceUseRequest |
setStatus(BoundCodeDt<DeviceUseRequestStatusEnum> theValue)
Sets the value(s) for status (status)
|
DeviceUseRequest |
setStatus(DeviceUseRequestStatusEnum theValue)
Sets the value(s) for status (status)
|
DeviceUseRequest |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (who.focus)
|
DeviceUseRequest |
setTiming(IDatatype theValue)
Sets the value(s) for timing[x] (when.planned)
|
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_SUBJECT
Description: Search by subject
Type: reference
Path: DeviceUseRequest.subject
public static final ReferenceClientParam SUBJECT
Description: Search by subject
Type: reference
Path: DeviceUseRequest.subject
public static final String SP_PATIENT
Description: Search by subject - a patient
Type: reference
Path: DeviceUseRequest.subject
public static final ReferenceClientParam PATIENT
Description: Search by subject - a patient
Type: reference
Path: DeviceUseRequest.subject
public static final String SP_DEVICE
Description:
Type: reference
Path: DeviceUseRequest.device
public static final ReferenceClientParam DEVICE
Description:
Type: reference
Path: DeviceUseRequest.device
public static final Include INCLUDE_DEVICE
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_SUBJECT
public DeviceUseRequest()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic IDatatype getBodySite()
null.
Definition: Indicates the site on the subject's body where the device should be used ( i.e. the target site).
public DeviceUseRequest setBodySite(IDatatype theValue)
Definition: Indicates the site on the subject's body where the device should be used ( i.e. the target site).
public BoundCodeDt<DeviceUseRequestStatusEnum> getStatusElement()
null.
Definition: The status of the request.
public String getStatus()
null.
Definition: The status of the request.
public DeviceUseRequest setStatus(BoundCodeDt<DeviceUseRequestStatusEnum> theValue)
Definition: The status of the request.
public DeviceUseRequest setStatus(DeviceUseRequestStatusEnum theValue)
Definition: The status of the request.
public ResourceReferenceDt getDevice()
null.
Definition: The details of the device to be used.
public DeviceUseRequest setDevice(ResourceReferenceDt theValue)
Definition: The details of the device to be used.
public ResourceReferenceDt getEncounter()
null.
Definition: An encounter that provides additional context in which this request is made.
public DeviceUseRequest setEncounter(ResourceReferenceDt theValue)
Definition: An encounter that provides additional context in which this request is made.
public List<IdentifierDt> getIdentifier()
null.
Definition: Identifiers assigned to this order by the orderer or by the receiver.
public DeviceUseRequest setIdentifier(List<IdentifierDt> theValue)
Definition: Identifiers assigned to this order by the orderer or by the receiver.
public IdentifierDt addIdentifier()
Definition: Identifiers assigned to this order by the orderer or by the receiver.
public DeviceUseRequest addIdentifier(IdentifierDt theValue)
Definition: Identifiers assigned to this order by the orderer or by the receiver.
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition: Identifiers assigned to this order by the orderer or by the receiver.
public List<CodeableConceptDt> getIndication()
null.
Definition: Reason or justification for the use of this device.
public DeviceUseRequest setIndication(List<CodeableConceptDt> theValue)
Definition: Reason or justification for the use of this device.
public CodeableConceptDt addIndication()
Definition: Reason or justification for the use of this device.
public DeviceUseRequest addIndication(CodeableConceptDt theValue)
Definition: Reason or justification for the use of this device.
theValue - The indication to add (must not be null)public CodeableConceptDt getIndicationFirstRep()
Definition: Reason or justification for the use of this device.
public List<StringDt> getNotes()
null.
Definition: Details about this request that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.
public DeviceUseRequest setNotes(List<StringDt> theValue)
Definition: Details about this request that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.
public StringDt addNotes()
Definition: Details about this request that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.
public DeviceUseRequest addNotes(StringDt theValue)
Definition: Details about this request that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.
theValue - The notes to add (must not be null)public StringDt getNotesFirstRep()
Definition: Details about this request that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.
public DeviceUseRequest addNotes(String theString)
Definition: Details about this request that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.
public List<CodeableConceptDt> getPrnReason()
null.
Definition: The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%.
public DeviceUseRequest setPrnReason(List<CodeableConceptDt> theValue)
Definition: The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%.
public CodeableConceptDt addPrnReason()
Definition: The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%.
public DeviceUseRequest addPrnReason(CodeableConceptDt theValue)
Definition: The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%.
theValue - The prnReason to add (must not be null)public CodeableConceptDt getPrnReasonFirstRep()
Definition: The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%.
public DateTimeDt getOrderedOnElement()
null.
Definition: The time when the request was made.
public Date getOrderedOn()
null.
Definition: The time when the request was made.
public DeviceUseRequest setOrderedOn(DateTimeDt theValue)
Definition: The time when the request was made.
public DeviceUseRequest setOrderedOn(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The time when the request was made.
public DeviceUseRequest setOrderedOnWithSecondsPrecision(Date theDate)
Definition: The time when the request was made.
public DateTimeDt getRecordedOnElement()
null.
Definition: The time at which the request was made/recorded.
public Date getRecordedOn()
null.
Definition: The time at which the request was made/recorded.
public DeviceUseRequest setRecordedOn(DateTimeDt theValue)
Definition: The time at which the request was made/recorded.
public DeviceUseRequest setRecordedOn(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The time at which the request was made/recorded.
public DeviceUseRequest setRecordedOnWithSecondsPrecision(Date theDate)
Definition: The time at which the request was made/recorded.
public ResourceReferenceDt getSubject()
null.
Definition: The patient who will use the device.
public DeviceUseRequest setSubject(ResourceReferenceDt theValue)
Definition: The patient who will use the device.
public IDatatype getTiming()
null.
Definition: The timing schedule for the use of the device The Schedule data type allows many different expressions, for example. \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\".
public DeviceUseRequest setTiming(IDatatype theValue)
Definition: The timing schedule for the use of the device The Schedule data type allows many different expressions, for example. \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\".
public BoundCodeDt<DeviceUseRequestPriorityEnum> getPriorityElement()
null.
Definition: Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine.
public String getPriority()
null.
Definition: Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine.
public DeviceUseRequest setPriority(BoundCodeDt<DeviceUseRequestPriorityEnum> theValue)
Definition: Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine.
public DeviceUseRequest setPriority(DeviceUseRequestPriorityEnum theValue)
Definition: Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine.
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.