
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
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TypeIndicates the site on the subject's body where the device should be used ( i.e. the target site).protected ReferenceThe details of the device to be used.protected DeviceThe actual object that is the target of the reference (The details of the device to be used.)protected ReferenceAn encounter that provides additional context in which this request is made.protected EncounterThe 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 DateTimeTypeThe 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 DateTimeTypeThe time at which the request was made/recorded.static final Stringstatic final Stringstatic final StringThe status of the request.protected ReferenceThe patient who will use the device.protected PatientThe actual object that is the target of the reference (The patient who will use the device.)protected TypeThe 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, textFields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, metaFields 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_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getNotes()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasNotes()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> childrenList) setBodySite(Type value) setDeviceTarget(Device value) setEncounter(Reference value) setEncounterTarget(Encounter value) setOrderedOn(Date value) setOrderedOnElement(DateTimeType value) voidsetProperty(String name, Base value) setRecordedOn(Date value) setRecordedOnElement(DateTimeType value) setSubject(Reference value) setSubjectTarget(Patient value) protected DeviceUseRequestMethods 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, setTextMethods 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, setMetaMethods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setIdMethods 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, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods 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:
deviceThe 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-deviceThe 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:
encounterThe 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-encounterThe 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:
subjectThe 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-subjectThe 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:
listChildrenin classDomainResource
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-