Package org.hl7.fhir.dstu2.model
Class DeviceUseStatement
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.DeviceUseStatement
- 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
A record of a device being used by a patient where the record is the result
of a report from the patient or another clinician.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected Type
Indicates the site on the subject's body where the device was used ( i.e.protected Reference
The details of the device used.protected Device
The actual object that is the target of the reference (The details of the device used.)protected List
<Identifier> An external identifier for this statement such as an IRI.protected List
<CodeableConcept> Reason or justification for the use of the device.protected List
<StringType> Details about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class.protected DateTimeType
The time at which the statement was made/recorded.static final String
static final String
static final String
protected Reference
The patient who used the device.protected Patient
The actual object that is the target of the reference (The patient who used the device.)protected Type
How often the device was used.protected Period
The time period over which the device was used.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
hasNotes()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setBodySite
(Type value) setDeviceTarget
(Device value) void
setProperty
(String name, Base value) setRecordedOn
(Date value) setRecordedOnElement
(DateTimeType value) setSubject
(Reference value) setSubjectTarget
(Patient value) setWhenUsed
(Period value) protected DeviceUseStatement
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 was used ( i.e. the target site). -
whenUsed
The time period over which the device was used. -
device
The details of the device used. -
deviceTarget
The actual object that is the target of the reference (The details of the device used.) -
identifier
An external identifier for this statement such as an IRI. -
indication
Reason or justification for the use of the device. -
notes
Details about the device statement 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. -
recordedOn
The time at which the statement was made/recorded. -
subject
The patient who used the device. -
subjectTarget
The actual object that is the target of the reference (The patient who used the device.) -
timing
How often the device was used. -
SP_SUBJECT
- See Also:
-
SP_PATIENT
- See Also:
-
SP_DEVICE
- See Also:
-
-
Constructor Details
-
DeviceUseStatement
public DeviceUseStatement() -
DeviceUseStatement
-
-
Method Details
-
getBodySite
- Returns:
bodySite
(Indicates the site on the subject's body where the device was used ( i.e. the target site).)
-
getBodySiteCodeableConcept
- Returns:
bodySite
(Indicates the site on the subject's body where the device was 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 was 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 was used ( i.e. the target site).)
-
getWhenUsed
- Returns:
whenUsed
(The time period over which the device was used.)
-
hasWhenUsed
-
setWhenUsed
- Parameters:
value
-whenUsed
(The time period over which the device was used.)
-
getDevice
- Returns:
device
(The details of the device used.)
-
hasDevice
-
setDevice
- Parameters:
value
-device
(The details of the device 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 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 used.)
-
getIdentifier
- Returns:
identifier
(An external identifier for this statement such as an IRI.)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(An external identifier for this statement such as an IRI.)
-
addIdentifier
-
getIndication
- Returns:
indication
(Reason or justification for the use of the device.)
-
hasIndication
-
addIndication
- Returns:
indication
(Reason or justification for the use of the device.)
-
addIndication
-
getNotes
- Returns:
notes
(Details about the device statement 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 the device statement 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 the device statement 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 the device statement 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.)
-
getRecordedOnElement
- Returns:
recordedOn
(The time at which the statement 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 statement 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 statement was made/recorded.
-
setRecordedOn
- Parameters:
value
- The time at which the statement was made/recorded.
-
getSubject
- Returns:
subject
(The patient who used the device.)
-
hasSubject
-
setSubject
- Parameters:
value
-subject
(The patient who used 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 used 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 used the device.)
-
getTiming
- Returns:
timing
(How often the device was used.)
-
getTimingTiming
- Returns:
timing
(How often the device was used.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasTimingTiming
-
getTimingPeriod
- Returns:
timing
(How often the device was used.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasTimingPeriod
-
getTimingDateTimeType
- Returns:
timing
(How often the device was used.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasTimingDateTimeType
-
hasTiming
-
setTiming
- Parameters:
value
-timing
(How often the device was used.)
-
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
-