Class DeviceUseRequest
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
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
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for devicestatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final String
Search parameter constant for devicestatic final String
Search parameter constant for patientstatic final String
Search parameter constant for subjectstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for subjectFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for identifier (id)addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier (id)Adds and returns a new value for indication (why)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 ()addNotes
(ca.uhn.fhir.model.primitive.StringDt theValue) Adds a given new value for notes ()Adds a new value for notes ()Adds and returns a new value for prnReason ()addPrnReason
(CodeableConceptDt theValue) Adds a given new value for prnReason ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for bodySite[x] ().Gets the value(s) for device ().Gets the value(s) for encounter (context).Gets the value(s) for identifier (id).Gets the first repetition for identifier (id), creating it if it does not already exist.Gets the value(s) for indication (why).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
Gets the first repetition for notes (), creating it if it does not already exist.Gets the value(s) for orderedOn (when.init).ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for orderedOn (when.init).Gets the value(s) for priority (grade).ca.uhn.fhir.model.primitive.BoundCodeDt
<DeviceUseRequestPriorityEnum> Gets the value(s) for priority (grade).Gets the value(s) for prnReason ().Gets the first repetition for prnReason (), creating it if it does not already exist.Gets the value(s) for recordedOn (when.recorded).ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for recordedOn (when.recorded).Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt
<DeviceUseRequestStatusEnum> Gets the value(s) for status (status).ca.uhn.fhir.context.FhirVersionEnum
Gets the value(s) for subject (who.focus).ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for timing[x] (when.planned).boolean
isEmpty()
setBodySite
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for bodySite[x] ()setDevice
(ResourceReferenceDt theValue) Sets the value(s) for device ()setEncounter
(ResourceReferenceDt theValue) Sets the value(s) for encounter (context)setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier (id)setIndication
(List<CodeableConceptDt> theValue) Sets the value(s) for indication (why)Sets the value(s) for notes ()setOrderedOn
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for orderedOn (when.init)setOrderedOn
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for orderedOn (when.init)setOrderedOnWithSecondsPrecision
(Date theDate) Sets the value for orderedOn (when.init)setPriority
(DeviceUseRequestPriorityEnum theValue) Sets the value(s) for priority (grade)setPriority
(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceUseRequestPriorityEnum> theValue) Sets the value(s) for priority (grade)setPrnReason
(List<CodeableConceptDt> theValue) Sets the value(s) for prnReason ()setRecordedOn
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for recordedOn (when.recorded)setRecordedOn
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for recordedOn (when.recorded)setRecordedOnWithSecondsPrecision
(Date theDate) Sets the value for recordedOn (when.recorded)setStatus
(DeviceUseRequestStatusEnum theValue) Sets the value(s) for status (status)setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceUseRequestStatusEnum> theValue) Sets the value(s) for status (status)setSubject
(ResourceReferenceDt theValue) Sets the value(s) for subject (who.focus)setTiming
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for timing[x] (when.planned)Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_SUBJECT
Search parameter constant for subjectDescription: Search by subject
Type: reference
Path: DeviceUseRequest.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription: Search by subject
Type: reference
Path: DeviceUseRequest.subject
-
SP_PATIENT
Search parameter constant for patientDescription: Search by subject - a patient
Type: reference
Path: DeviceUseRequest.subject
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: Search by subject - a patient
Type: reference
Path: DeviceUseRequest.subject
-
SP_DEVICE
Search parameter constant for deviceDescription:
Type: reference
Path: DeviceUseRequest.device
- See Also:
-
DEVICE
Fluent Client search parameter constant for deviceDescription:
Type: reference
Path: DeviceUseRequest.device
-
INCLUDE_DEVICE
Constant for fluent queries to be used to add include statements. Specifies the path value of "DeviceUseRequest:device". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "DeviceUseRequest:patient". -
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "DeviceUseRequest:subject".
-
-
Constructor Details
-
DeviceUseRequest
public DeviceUseRequest()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getBodySite
Gets the value(s) for bodySite[x] (). creating it if it does not exist. Will not returnnull
.Definition: Indicates the site on the subject's body where the device should be used ( i.e. the target site).
-
setBodySite
Sets the value(s) for bodySite[x] ()Definition: Indicates the site on the subject's body where the device should be used ( i.e. the target site).
-
getStatusElement
Gets the value(s) for status (status). creating it if it does not exist. Will not returnnull
.Definition: The status of the request.
-
getStatus
Gets the value(s) for status (status). creating it if it does not exist. This method may returnnull
.Definition: The status of the request.
-
setStatus
public DeviceUseRequest setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceUseRequestStatusEnum> theValue) Sets the value(s) for status (status)Definition: The status of the request.
-
setStatus
Sets the value(s) for status (status)Definition: The status of the request.
-
getDevice
Gets the value(s) for device (). creating it if it does not exist. Will not returnnull
.Definition: The details of the device to be used.
-
setDevice
Sets the value(s) for device ()Definition: The details of the device to be used.
-
getEncounter
Gets the value(s) for encounter (context). creating it if it does not exist. Will not returnnull
.Definition: An encounter that provides additional context in which this request is made.
-
setEncounter
Sets the value(s) for encounter (context)Definition: An encounter that provides additional context in which this request is made.
-
getIdentifier
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull
.Definition: Identifiers assigned to this order by the orderer or by the receiver.
-
setIdentifier
Sets the value(s) for identifier (id)Definition: Identifiers assigned to this order by the orderer or by the receiver.
-
addIdentifier
Adds and returns a new value for identifier (id)Definition: Identifiers assigned to this order by the orderer or by the receiver.
-
addIdentifier
Adds a given new value for identifier (id)Definition: Identifiers assigned to this order by the orderer or by the receiver.
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: Identifiers assigned to this order by the orderer or by the receiver.
-
getIndication
Gets the value(s) for indication (why). creating it if it does not exist. Will not returnnull
.Definition: Reason or justification for the use of this device.
-
setIndication
Sets the value(s) for indication (why)Definition: Reason or justification for the use of this device.
-
addIndication
Adds and returns a new value for indication (why)Definition: Reason or justification for the use of this device.
-
addIndication
Adds a given new value for indication (why)Definition: Reason or justification for the use of this device.
- Parameters:
theValue
- The indication to add (must not benull
)
-
getIndicationFirstRep
Gets the first repetition for indication (why), creating it if it does not already exist.Definition: Reason or justification for the use of this device.
-
getNotes
Gets the value(s) for notes (). creating it if it does not exist. Will not returnnull
.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.
-
setNotes
Sets the value(s) for notes ()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.
-
addNotes
Adds and returns a new value for notes ()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.
-
addNotes
Adds a given new value for notes ()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.
- Parameters:
theValue
- The notes to add (must not benull
)
-
getNotesFirstRep
Gets the first repetition for notes (), creating it if it does not already exist.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.
-
addNotes
Adds a new value for notes ()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.
- Returns:
- Returns a reference to this object, to allow for simple chaining.
-
getPrnReason
Gets the value(s) for prnReason (). creating it if it does not exist. Will not returnnull
.Definition: The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%.
-
setPrnReason
Sets the value(s) for prnReason ()Definition: The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%.
-
addPrnReason
Adds and returns a new value for prnReason ()Definition: The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%.
-
addPrnReason
Adds a given new value for prnReason ()Definition: The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%.
- Parameters:
theValue
- The prnReason to add (must not benull
)
-
getPrnReasonFirstRep
Gets the first repetition for prnReason (), creating it if it does not already exist.Definition: The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%.
-
getOrderedOnElement
Gets the value(s) for orderedOn (when.init). creating it if it does not exist. Will not returnnull
.Definition: The time when the request was made.
-
getOrderedOn
Gets the value(s) for orderedOn (when.init). creating it if it does not exist. This method may returnnull
.Definition: The time when the request was made.
-
setOrderedOn
Sets the value(s) for orderedOn (when.init)Definition: The time when the request was made.
-
setOrderedOnWithSecondsPrecision
Sets the value for orderedOn (when.init)Definition: The time when the request was made.
-
setOrderedOn
public DeviceUseRequest setOrderedOn(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for orderedOn (when.init)Definition: The time when the request was made.
-
getRecordedOnElement
Gets the value(s) for recordedOn (when.recorded). creating it if it does not exist. Will not returnnull
.Definition: The time at which the request was made/recorded.
-
getRecordedOn
Gets the value(s) for recordedOn (when.recorded). creating it if it does not exist. This method may returnnull
.Definition: The time at which the request was made/recorded.
-
setRecordedOn
Sets the value(s) for recordedOn (when.recorded)Definition: The time at which the request was made/recorded.
-
setRecordedOnWithSecondsPrecision
Sets the value for recordedOn (when.recorded)Definition: The time at which the request was made/recorded.
-
setRecordedOn
public DeviceUseRequest setRecordedOn(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for recordedOn (when.recorded)Definition: The time at which the request was made/recorded.
-
getSubject
Gets the value(s) for subject (who.focus). creating it if it does not exist. Will not returnnull
.Definition: The patient who will use the device.
-
setSubject
Sets the value(s) for subject (who.focus)Definition: The patient who will use the device.
-
getTiming
Gets the value(s) for timing[x] (when.planned). creating it if it does not exist. Will not returnnull
.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\".
-
setTiming
Sets the value(s) for timing[x] (when.planned)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\".
-
getPriorityElement
Gets the value(s) for priority (grade). creating it if it does not exist. Will not returnnull
.Definition: Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine.
-
getPriority
Gets the value(s) for priority (grade). creating it if it does not exist. This method may returnnull
.Definition: Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine.
-
setPriority
public DeviceUseRequest setPriority(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceUseRequestPriorityEnum> theValue) Sets the value(s) for priority (grade)Definition: Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine.
-
setPriority
Sets the value(s) for priority (grade)Definition: Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine.
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-