public class DeviceUseStatement extends BaseResource implements IResource
Definition: 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.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/DeviceUseStatement
| Modifier and Type | Field and Description |
|---|---|
static ReferenceClientParam |
DEVICE
Fluent Client search parameter constant for device
|
static Include |
INCLUDE_DEVICE
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static String |
SP_DEVICE
Search parameter constant for device
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
DeviceUseStatement() |
| Modifier and Type | Method and Description |
|---|---|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (id)
|
DeviceUseStatement |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)
|
CodeableConceptDt |
addIndication()
Adds and returns a new value for indication (why)
|
DeviceUseStatement |
addIndication(CodeableConceptDt theValue)
Adds a given new value for indication (why)
|
StringDt |
addNotes()
Adds and returns a new value for notes ()
|
DeviceUseStatement |
addNotes(String theString)
Adds a new value for notes ()
|
DeviceUseStatement |
addNotes(StringDt theValue)
Adds a given new value for notes ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
IDatatype |
getBodySite()
Gets the value(s) for bodySite[x] ().
|
ResourceReferenceDt |
getDevice()
Gets the value(s) for device (who.actor).
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (id).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (id),
creating it if it does not already exist.
|
List<CodeableConceptDt> |
getIndication()
Gets the value(s) for indication (why).
|
CodeableConceptDt |
getIndicationFirstRep()
Gets the first repetition for indication (why),
creating it if it does not already exist.
|
List<StringDt> |
getNotes()
Gets the value(s) for notes ().
|
StringDt |
getNotesFirstRep()
Gets the first repetition for notes (),
creating it if it does not already exist.
|
Date |
getRecordedOn()
Gets the value(s) for recordedOn (when.recorded).
|
DateTimeDt |
getRecordedOnElement()
Gets the value(s) for recordedOn (when.recorded).
|
String |
getResourceName() |
FhirVersionEnum |
getStructureFhirVersionEnum() |
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (who.focus).
|
IDatatype |
getTiming()
Gets the value(s) for timing[x] (when.done).
|
PeriodDt |
getWhenUsed()
Gets the value(s) for whenUsed (when.done).
|
boolean |
isEmpty() |
DeviceUseStatement |
setBodySite(IDatatype theValue)
Sets the value(s) for bodySite[x] ()
|
DeviceUseStatement |
setDevice(ResourceReferenceDt theValue)
Sets the value(s) for device (who.actor)
|
DeviceUseStatement |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)
|
DeviceUseStatement |
setIndication(List<CodeableConceptDt> theValue)
Sets the value(s) for indication (why)
|
DeviceUseStatement |
setNotes(List<StringDt> theValue)
Sets the value(s) for notes ()
|
DeviceUseStatement |
setRecordedOn(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for recordedOn (when.recorded)
|
DeviceUseStatement |
setRecordedOn(DateTimeDt theValue)
Sets the value(s) for recordedOn (when.recorded)
|
DeviceUseStatement |
setRecordedOnWithSecondsPrecision(Date theDate)
Sets the value for recordedOn (when.recorded)
|
DeviceUseStatement |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (who.focus)
|
DeviceUseStatement |
setTiming(IDatatype theValue)
Sets the value(s) for timing[x] (when.done)
|
DeviceUseStatement |
setWhenUsed(PeriodDt theValue)
Sets the value(s) for whenUsed (when.done)
|
getContained, getId, getIdElement, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatagetIdElement, setId, setIdpublic static final String SP_SUBJECT
Description: Search by subject
Type: reference
Path: DeviceUseStatement.subject
public static final ReferenceClientParam SUBJECT
Description: Search by subject
Type: reference
Path: DeviceUseStatement.subject
public static final String SP_PATIENT
Description: Search by subject - a patient
Type: reference
Path: DeviceUseStatement.subject
public static final ReferenceClientParam PATIENT
Description: Search by subject - a patient
Type: reference
Path: DeviceUseStatement.subject
public static final String SP_DEVICE
Description: Search by device
Type: reference
Path: DeviceUseStatement.device
public static final ReferenceClientParam DEVICE
Description: Search by device
Type: reference
Path: DeviceUseStatement.device
public static final Include INCLUDE_DEVICE
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_SUBJECT
public DeviceUseStatement()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic IDatatype getBodySite()
null.
Definition: Indicates the site on the subject's body where the device was used ( i.e. the target site).
public DeviceUseStatement setBodySite(IDatatype theValue)
Definition: Indicates the site on the subject's body where the device was used ( i.e. the target site).
public PeriodDt getWhenUsed()
null.
Definition: The time period over which the device was used.
public DeviceUseStatement setWhenUsed(PeriodDt theValue)
Definition: The time period over which the device was used.
public ResourceReferenceDt getDevice()
null.
Definition: The details of the device used.
public DeviceUseStatement setDevice(ResourceReferenceDt theValue)
Definition: The details of the device used.
public List<IdentifierDt> getIdentifier()
null.
Definition: An external identifier for this statement such as an IRI.
public DeviceUseStatement setIdentifier(List<IdentifierDt> theValue)
Definition: An external identifier for this statement such as an IRI.
public IdentifierDt addIdentifier()
Definition: An external identifier for this statement such as an IRI.
public DeviceUseStatement addIdentifier(IdentifierDt theValue)
Definition: An external identifier for this statement such as an IRI.
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition: An external identifier for this statement such as an IRI.
public List<CodeableConceptDt> getIndication()
null.
Definition: Reason or justification for the use of the device.
public DeviceUseStatement setIndication(List<CodeableConceptDt> theValue)
Definition: Reason or justification for the use of the device.
public CodeableConceptDt addIndication()
Definition: Reason or justification for the use of the device.
public DeviceUseStatement addIndication(CodeableConceptDt theValue)
Definition: Reason or justification for the use of the device.
theValue - The indication to add (must not be null)public CodeableConceptDt getIndicationFirstRep()
Definition: Reason or justification for the use of the device.
public List<StringDt> getNotes()
null.
Definition: 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.
public DeviceUseStatement setNotes(List<StringDt> theValue)
Definition: 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.
public StringDt addNotes()
Definition: 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.
public DeviceUseStatement addNotes(StringDt theValue)
Definition: 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.
theValue - The notes to add (must not be null)public StringDt getNotesFirstRep()
Definition: 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.
public DeviceUseStatement addNotes(String theString)
Definition: 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.
public DateTimeDt getRecordedOnElement()
null.
Definition: The time at which the statement was made/recorded.
public Date getRecordedOn()
null.
Definition: The time at which the statement was made/recorded.
public DeviceUseStatement setRecordedOn(DateTimeDt theValue)
Definition: The time at which the statement was made/recorded.
public DeviceUseStatement setRecordedOn(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The time at which the statement was made/recorded.
public DeviceUseStatement setRecordedOnWithSecondsPrecision(Date theDate)
Definition: The time at which the statement was made/recorded.
public ResourceReferenceDt getSubject()
null.
Definition: The patient who used the device.
public DeviceUseStatement setSubject(ResourceReferenceDt theValue)
Definition: The patient who used the device.
public IDatatype getTiming()
null.
Definition: How often the device was used.
public DeviceUseStatement setTiming(IDatatype theValue)
Definition: How often the device was used.
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.