Package org.hl7.fhir.dstu3.model
Class DeviceUseStatement
java.lang.Object
org.hl7.fhir.dstu3.model.Base
org.hl7.fhir.dstu3.model.BaseResource
org.hl7.fhir.dstu3.model.Resource
org.hl7.fhir.dstu3.model.DomainResource
org.hl7.fhir.dstu3.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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected CodeableConcept
Indicates the site on the subject's body where the device was used ( i.e.protected Reference
The details of the device used.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for deviceprotected 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.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic 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.protected List
<CodeableConcept> Reason or justification for the use of the device.protected List
<Annotation> Details about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientprotected DateTimeType
The time at which the statement was made/recorded.protected Reference
Who reported the device was being used by the patient.protected Resource
The actual object that is the target of the reference (Who reported the device was being used by the patient.)static final String
Search parameter: devicestatic final String
Search parameter: identifierstatic final String
Search parameter: patientstatic final String
Search parameter: subjectA code representing the patient or other source's judgment about the state of the device used that this statement is about.protected Reference
The patient who used the device.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for subjectprotected Resource
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.dstu3.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu3.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
ConstructorDescriptionConstructorDeviceUseStatement
(Enumeration<DeviceUseStatement.DeviceUseStatementStatus> status, Reference subject, Reference device) Constructor -
Method Summary
Modifier and TypeMethodDescriptionaddNote()
copy()
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) getNote()
Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
hasNote()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setBodySite
(CodeableConcept value) setDeviceTarget
(Device value) setIdentifier
(List<Identifier> theIdentifier) setIndication
(List<CodeableConcept> theIndication) setNote
(List<Annotation> theNote) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setRecordedOn
(Date value) setRecordedOnElement
(DateTimeType value) setSourceTarget
(Resource value) setSubject
(Reference value) setSubjectTarget
(Resource value) setWhenUsed
(Period value) protected DeviceUseStatement
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, listChildrenByName, 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
-
identifier
An external identifier for this statement such as an IRI. -
status
A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed. -
subject
The patient who used the device. -
subjectTarget
The actual object that is the target of the reference (The patient who used the device.) -
whenUsed
The time period over which the device was used. -
timing
How often the device was used. -
recordedOn
The time at which the statement was made/recorded. -
source
Who reported the device was being used by the patient. -
sourceTarget
The actual object that is the target of the reference (Who reported the device was being used by the patient.) -
device
The details of the device used. -
deviceTarget
The actual object that is the target of the reference (The details of the device used.) -
indication
Reason or justification for the use of the device. -
bodySite
Indicates the site on the subject's body where the device was used ( i.e. the target site). -
note
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. -
SP_IDENTIFIER
Search parameter: identifierDescription: Search by identifier
Type: token
Path: DeviceUseStatement.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Search by identifier
Type: token
Path: DeviceUseStatement.identifier
-
SP_SUBJECT
Search parameter: subjectDescription: Search by subject
Type: reference
Path: DeviceUseStatement.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription: Search by subject
Type: reference
Path: DeviceUseStatement.subject
-
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "DeviceUseStatement:subject". -
SP_PATIENT
Search parameter: patientDescription: Search by subject - a patient
Type: reference
Path: DeviceUseStatement.subject
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: Search by subject - a patient
Type: reference
Path: DeviceUseStatement.subject
-
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "DeviceUseStatement:patient". -
SP_DEVICE
Search parameter: deviceDescription: Search by device
Type: reference
Path: DeviceUseStatement.device
- See Also:
-
DEVICE
Fluent Client search parameter constant for deviceDescription: Search by device
Type: reference
Path: DeviceUseStatement.device
-
INCLUDE_DEVICE
Constant for fluent queries to be used to add include statements. Specifies the path value of "DeviceUseStatement:device".
-
-
Constructor Details
-
DeviceUseStatement
public DeviceUseStatement()Constructor -
DeviceUseStatement
public DeviceUseStatement(Enumeration<DeviceUseStatement.DeviceUseStatementStatus> status, Reference subject, Reference device) Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(An external identifier for this statement such as an IRI.)
-
setIdentifier
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasIdentifier
-
addIdentifier
-
addIdentifier
-
getIdentifierFirstRep
- Returns:
- The first repetition of repeating field
identifier
, creating it if it does not already exist
-
getStatusElement
- Returns:
status
(A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
public DeviceUseStatement setStatusElement(Enumeration<DeviceUseStatement.DeviceUseStatementStatus> value) - Parameters:
value
-status
(A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.
-
setStatus
- Parameters:
value
- A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.
-
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.)
-
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.)
-
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.)- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
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.
-
getSource
- Returns:
source
(Who reported the device was being used by the patient.)
-
hasSource
-
setSource
- Parameters:
value
-source
(Who reported the device was being used by the patient.)
-
getSourceTarget
- Returns:
source
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. (Who reported the device was being used by the patient.)
-
setSourceTarget
- Parameters:
value
-source
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. (Who reported the device was being used by the patient.)
-
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.)
-
getIndication
- Returns:
indication
(Reason or justification for the use of the device.)
-
setIndication
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasIndication
-
addIndication
-
addIndication
-
getIndicationFirstRep
- Returns:
- The first repetition of repeating field
indication
, creating it if it does not already exist
-
getBodySite
- Returns:
bodySite
(Indicates the site on the subject's body where the device was used ( i.e. the target site).)
-
hasBodySite
-
setBodySite
- Parameters:
value
-bodySite
(Indicates the site on the subject's body where the device was used ( i.e. the target site).)
-
getNote
- Returns:
note
(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.)
-
setNote
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasNote
-
addNote
-
addNote
-
getNoteFirstRep
- Returns:
- The first repetition of repeating field
note
, creating it if it does not already exist
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
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
-