public class DeviceUseRequest extends BaseResource implements ca.uhn.fhir.model.api.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 ca.uhn.fhir.rest.gclient.ReferenceClientParam |
DEVICE
Fluent Client search parameter constant for device
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_DEVICE
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGE| 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)
|
ca.uhn.fhir.model.primitive.StringDt |
addNotes()
Adds and returns a new value for notes ()
|
DeviceUseRequest |
addNotes(String theString)
Adds a new value for notes ()
|
DeviceUseRequest |
addNotes(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
ca.uhn.fhir.model.api.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<ca.uhn.fhir.model.primitive.StringDt> |
getNotes()
Gets the value(s) for notes ().
|
ca.uhn.fhir.model.primitive.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).
|
ca.uhn.fhir.model.primitive.DateTimeDt |
getOrderedOnElement()
Gets the value(s) for orderedOn (when.init).
|
String |
getPriority()
Gets the value(s) for priority (grade).
|
ca.uhn.fhir.model.primitive.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).
|
ca.uhn.fhir.model.primitive.DateTimeDt |
getRecordedOnElement()
Gets the value(s) for recordedOn (when.recorded).
|
String |
getResourceName() |
String |
getStatus()
Gets the value(s) for status (status).
|
ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceUseRequestStatusEnum> |
getStatusElement()
Gets the value(s) for status (status).
|
ca.uhn.fhir.context.FhirVersionEnum |
getStructureFhirVersionEnum() |
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (who.focus).
|
ca.uhn.fhir.model.api.IDatatype |
getTiming()
Gets the value(s) for timing[x] (when.planned).
|
boolean |
isEmpty() |
DeviceUseRequest |
setBodySite(ca.uhn.fhir.model.api.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<ca.uhn.fhir.model.primitive.StringDt> theValue)
Sets the value(s) for notes ()
|
DeviceUseRequest |
setOrderedOn(Date theDate,
ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for orderedOn (when.init)
|
DeviceUseRequest |
setOrderedOn(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for orderedOn (when.init)
|
DeviceUseRequest |
setOrderedOnWithSecondsPrecision(Date theDate)
Sets the value for orderedOn (when.init)
|
DeviceUseRequest |
setPriority(ca.uhn.fhir.model.primitive.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,
ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for recordedOn (when.recorded)
|
DeviceUseRequest |
setRecordedOn(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for recordedOn (when.recorded)
|
DeviceUseRequest |
setRecordedOnWithSecondsPrecision(Date theDate)
Sets the value for recordedOn (when.recorded)
|
DeviceUseRequest |
setStatus(ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for timing[x] (when.planned)
|
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatCommentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String SP_SUBJECT
Description: Search by subject
Type: reference
Path: DeviceUseRequest.subject
public static final ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.ReferenceClientParam DEVICE
Description:
Type: reference
Path: DeviceUseRequest.device
public static final ca.uhn.fhir.model.api.Include INCLUDE_DEVICE
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public DeviceUseRequest()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElementpublic ca.uhn.fhir.model.api.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(ca.uhn.fhir.model.api.IDatatype theValue)
Definition: Indicates the site on the subject's body where the device should be used ( i.e. the target site).
public ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceUseRequestStatusEnum> getStatusElement()
null.
Definition: The status of the request.
public String getStatus()
null.
Definition: The status of the request.
public DeviceUseRequest setStatus(ca.uhn.fhir.model.primitive.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<ca.uhn.fhir.model.primitive.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<ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Definition: The time when the request was made.
public DeviceUseRequest setOrderedOnWithSecondsPrecision(Date theDate)
Definition: The time when the request was made.
public DeviceUseRequest setOrderedOn(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Definition: The time when the request was made.
public ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
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 DeviceUseRequest setRecordedOn(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
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 ca.uhn.fhir.model.api.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(ca.uhn.fhir.model.api.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.api.IResourcepublic ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface ca.uhn.fhir.model.api.IResourcegetStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResourceCopyright © 2014–2018 University Health Network. All rights reserved.