public class DeviceUseStatement extends BaseResource implements ca.uhn.fhir.model.api.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 ca.uhn.fhir.rest.gclient.ReferenceClientParam |
DEVICE
Fluent Client search parameter constant for device
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_DEVICE
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGE| 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)
|
ca.uhn.fhir.model.primitive.StringDt |
addNotes()
Adds and returns a new value for notes ()
|
DeviceUseStatement |
addNotes(String theString)
Adds a new value for notes ()
|
DeviceUseStatement |
addNotes(ca.uhn.fhir.model.primitive.StringDt theValue)
Adds a given new value for notes ()
|
<T extends ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
ca.uhn.fhir.model.api.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<ca.uhn.fhir.model.primitive.StringDt> |
getNotes()
Gets the value(s) for notes ().
|
ca.uhn.fhir.model.primitive.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).
|
ca.uhn.fhir.model.primitive.DateTimeDt |
getRecordedOnElement()
Gets the value(s) for recordedOn (when.recorded).
|
String |
getResourceName() |
ca.uhn.fhir.context.FhirVersionEnum |
getStructureFhirVersionEnum() |
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (who.focus).
|
ca.uhn.fhir.model.api.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(ca.uhn.fhir.model.api.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<ca.uhn.fhir.model.primitive.StringDt> theValue)
Sets the value(s) for notes ()
|
DeviceUseStatement |
setRecordedOn(Date theDate,
ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for recordedOn (when.recorded)
|
DeviceUseStatement |
setRecordedOn(ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.api.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, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatCommentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String SP_SUBJECT
Description: Search by subject
Type: reference
Path: DeviceUseStatement.subject
public static final ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.ReferenceClientParam DEVICE
Description: Search by device
Type: reference
Path: DeviceUseStatement.device
public static final ca.uhn.fhir.model.api.Include INCLUDE_DEVICE
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public DeviceUseStatement()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElementpublic ca.uhn.fhir.model.api.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(ca.uhn.fhir.model.api.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<ca.uhn.fhir.model.primitive.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<ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
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 DeviceUseStatement setRecordedOn(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
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 ca.uhn.fhir.model.api.IDatatype getTiming()
null.
Definition: How often the device was used.
public DeviceUseStatement setTiming(ca.uhn.fhir.model.api.IDatatype theValue)
Definition: How often the device was used.
public String getResourceName()
getResourceName in interface ca.uhn.fhir.model.api.IResourcepublic ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface ca.uhn.fhir.model.api.IResourcegetStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResourceCopyright © 2014–2018 University Health Network. All rights reserved.