Package org.hl7.fhir.dstu2.model
Class DeviceUseRequest
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.DeviceUseRequest
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
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.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected Type
Indicates the site on the subject's body where the device should be used ( i.e.protected Reference
The details of the device to be used.protected Device
The actual object that is the target of the reference (The details of the device to be used.)protected Reference
An encounter that provides additional context in which this request is made.protected Encounter
The actual object that is the target of the reference (An encounter that provides additional context in which this request is made.)protected List
<Identifier> Identifiers assigned to this order by the orderer or by the receiver.protected List
<CodeableConcept> Reason or justification for the use of this device.protected List
<StringType> Details about this request that were not represented at all or sufficiently in one of the attributes provided in a class.protected DateTimeType
The time when the request was made.Characterizes how quickly the use of device must be initiated.protected List
<CodeableConcept> The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%.protected DateTimeType
The time at which the request was made/recorded.static final String
static final String
static final String
The status of the request.protected Reference
The patient who will use the device.protected Patient
The actual object that is the target of the reference (The patient who will use the device.)protected Type
The timing schedule for the use of the device The Schedule data type allows many different expressions, for example.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getNotes()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasNotes()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setBodySite
(Type value) setDeviceTarget
(Device value) setEncounter
(Reference value) setEncounterTarget
(Encounter value) setOrderedOn
(Date value) setOrderedOnElement
(DateTimeType value) void
setProperty
(String name, Base value) setRecordedOn
(Date value) setRecordedOnElement
(DateTimeType value) setSubject
(Reference value) setSubjectTarget
(Patient value) protected DeviceUseRequest
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
bodySite
Indicates the site on the subject's body where the device should be used ( i.e. the target site). -
status
The status of the request. -
device
The details of the device to be used. -
deviceTarget
The actual object that is the target of the reference (The details of the device to be used.) -
encounter
An encounter that provides additional context in which this request is made. -
encounterTarget
The actual object that is the target of the reference (An encounter that provides additional context in which this request is made.) -
identifier
Identifiers assigned to this order by the orderer or by the receiver. -
indication
Reason or justification for the use of this device. -
notes
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. -
prnReason
The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%. -
orderedOn
The time when the request was made. -
recordedOn
The time at which the request was made/recorded. -
subject
The patient who will use the device. -
subjectTarget
The actual object that is the target of the reference (The patient who will use the device.) -
timing
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". -
priority
Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine. -
SP_SUBJECT
- See Also:
-
SP_PATIENT
- See Also:
-
SP_DEVICE
- See Also:
-
-
Constructor Details
-
DeviceUseRequest
public DeviceUseRequest() -
DeviceUseRequest
-
-
Method Details
-
getBodySite
- Returns:
bodySite
(Indicates the site on the subject's body where the device should be used ( i.e. the target site).)
-
getBodySiteCodeableConcept
- Returns:
bodySite
(Indicates the site on the subject's body where the device should be used ( i.e. the target site).)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasBodySiteCodeableConcept
-
getBodySiteReference
- Returns:
bodySite
(Indicates the site on the subject's body where the device should be used ( i.e. the target site).)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasBodySiteReference
-
hasBodySite
-
setBodySite
- Parameters:
value
-bodySite
(Indicates the site on the subject's body where the device should be used ( i.e. the target site).)
-
getStatusElement
- Returns:
status
(The status of the request.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
public DeviceUseRequest setStatusElement(Enumeration<DeviceUseRequest.DeviceUseRequestStatus> value) - Parameters:
value
-status
(The status of the request.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- The status of the request.
-
setStatus
- Parameters:
value
- The status of the request.
-
getDevice
- Returns:
device
(The details of the device to be used.)
-
hasDevice
-
setDevice
- Parameters:
value
-device
(The details of the device to be used.)
-
getDeviceTarget
- Returns:
device
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The details of the device to be used.)
-
setDeviceTarget
- Parameters:
value
-device
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The details of the device to be used.)
-
getEncounter
- Returns:
encounter
(An encounter that provides additional context in which this request is made.)
-
hasEncounter
-
setEncounter
- Parameters:
value
-encounter
(An encounter that provides additional context in which this request is made.)
-
getEncounterTarget
- Returns:
encounter
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (An encounter that provides additional context in which this request is made.)
-
setEncounterTarget
- Parameters:
value
-encounter
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (An encounter that provides additional context in which this request is made.)
-
getIdentifier
- Returns:
identifier
(Identifiers assigned to this order by the orderer or by the receiver.)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(Identifiers assigned to this order by the orderer or by the receiver.)
-
addIdentifier
-
getIndication
- Returns:
indication
(Reason or justification for the use of this device.)
-
hasIndication
-
addIndication
- Returns:
indication
(Reason or justification for the use of this device.)
-
addIndication
-
getNotes
- Returns:
notes
(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.)
-
hasNotes
-
addNotesElement
- Returns:
notes
(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
- Parameters:
value
-notes
(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.)
-
hasNotes
- Parameters:
value
-notes
(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.)
-
getPrnReason
- Returns:
prnReason
(The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%.)
-
hasPrnReason
-
addPrnReason
- Returns:
prnReason
(The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%.)
-
addPrnReason
-
getOrderedOnElement
- Returns:
orderedOn
(The time when the request was made.). This is the underlying object with id, value and extensions. The accessor "getOrderedOn" gives direct access to the value
-
hasOrderedOnElement
-
hasOrderedOn
-
setOrderedOnElement
- Parameters:
value
-orderedOn
(The time when the request was made.). This is the underlying object with id, value and extensions. The accessor "getOrderedOn" gives direct access to the value
-
getOrderedOn
- Returns:
- The time when the request was made.
-
setOrderedOn
- Parameters:
value
- The time when the request was made.
-
getRecordedOnElement
- Returns:
recordedOn
(The time at which the request was made/recorded.). This is the underlying object with id, value and extensions. The accessor "getRecordedOn" gives direct access to the value
-
hasRecordedOnElement
-
hasRecordedOn
-
setRecordedOnElement
- Parameters:
value
-recordedOn
(The time at which the request was made/recorded.). This is the underlying object with id, value and extensions. The accessor "getRecordedOn" gives direct access to the value
-
getRecordedOn
- Returns:
- The time at which the request was made/recorded.
-
setRecordedOn
- Parameters:
value
- The time at which the request was made/recorded.
-
getSubject
- Returns:
subject
(The patient who will use the device.)
-
hasSubject
-
setSubject
- Parameters:
value
-subject
(The patient who will use the device.)
-
getSubjectTarget
- Returns:
subject
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The patient who will use the device.)
-
setSubjectTarget
- Parameters:
value
-subject
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The patient who will use the device.)
-
getTiming
- Returns:
timing
(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".)
-
getTimingTiming
- Returns:
timing
(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".)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasTimingTiming
-
getTimingPeriod
- Returns:
timing
(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".)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasTimingPeriod
-
getTimingDateTimeType
- Returns:
timing
(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".)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasTimingDateTimeType
-
hasTiming
-
setTiming
- Parameters:
value
-timing
(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
- Returns:
priority
(Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value
-
hasPriorityElement
-
hasPriority
-
setPriorityElement
public DeviceUseRequest setPriorityElement(Enumeration<DeviceUseRequest.DeviceUseRequestPriority> value) - Parameters:
value
-priority
(Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value
-
getPriority
- Returns:
- Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine.
-
setPriority
- Parameters:
value
- Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine.
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-