public class DeviceUseStatement extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceUseStatement.DeviceUseStatementStatus |
static class |
DeviceUseStatement.DeviceUseStatementStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
bodySite
Indicates the site on the subject's body where the device was used ( i.e.
|
protected Reference |
device
The details of the device used.
|
static ReferenceClientParam |
DEVICE
Fluent Client search parameter constant for device
|
protected Device |
deviceTarget
The actual object that is the target of the reference (The details of the device used.)
|
protected List<Identifier> |
identifier
An external identifier for this statement such as an IRI.
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
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.
|
protected List<CodeableConcept> |
indication
Reason or justification for the use of the device.
|
protected List<Annotation> |
note
Details about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class.
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected DateTimeType |
recordedOn
The time at which the statement was made/recorded.
|
protected Reference |
source
Who reported the device was being used by the patient.
|
protected Resource |
sourceTarget
The actual object that is the target of the reference (Who reported the device was being used by the patient.)
|
static String |
SP_DEVICE
Search parameter: device
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_SUBJECT
Search parameter: subject
|
protected Enumeration<DeviceUseStatement.DeviceUseStatementStatus> |
status
A code representing the patient or other source's judgment about the state of the device used that this statement is about.
|
protected Reference |
subject
The patient who used the device.
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (The patient who used the device.)
|
protected Type |
timing
How often the device was used.
|
protected Period |
whenUsed
The time period over which the device was used.
|
contained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
DeviceUseStatement()
Constructor
|
DeviceUseStatement(Enumeration<DeviceUseStatement.DeviceUseStatementStatus> status,
Reference subject,
Reference device)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected List<Identifier> identifier
protected Enumeration<DeviceUseStatement.DeviceUseStatementStatus> status
protected Resource subjectTarget
protected DateTimeType recordedOn
protected Resource sourceTarget
protected Device deviceTarget
protected List<CodeableConcept> indication
protected CodeableConcept bodySite
protected List<Annotation> note
public static final String SP_IDENTIFIER
Description: Search by identifier
Type: token
Path: DeviceUseStatement.identifier
public static final TokenClientParam IDENTIFIER
Description: Search by identifier
Type: token
Path: DeviceUseStatement.identifier
public 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 Include INCLUDE_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 Include INCLUDE_PATIENT
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 DeviceUseStatement()
public DeviceUseStatement(Enumeration<DeviceUseStatement.DeviceUseStatementStatus> status, Reference subject, Reference device)
public List<Identifier> getIdentifier()
identifier (An external identifier for this statement such as an IRI.)public DeviceUseStatement setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public DeviceUseStatement addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic Enumeration<DeviceUseStatement.DeviceUseStatementStatus> getStatusElement()
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 valuepublic boolean hasStatusElement()
public boolean hasStatus()
public DeviceUseStatement setStatusElement(Enumeration<DeviceUseStatement.DeviceUseStatementStatus> value)
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 valuepublic DeviceUseStatement.DeviceUseStatementStatus getStatus()
public DeviceUseStatement setStatus(DeviceUseStatement.DeviceUseStatementStatus value)
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.public Reference getSubject()
subject (The patient who used the device.)public boolean hasSubject()
public DeviceUseStatement setSubject(Reference value)
value - subject (The patient who used the device.)public Resource getSubjectTarget()
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.)public DeviceUseStatement setSubjectTarget(Resource value)
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.)public Period getWhenUsed()
whenUsed (The time period over which the device was used.)public boolean hasWhenUsed()
public DeviceUseStatement setWhenUsed(Period value)
value - whenUsed (The time period over which the device was used.)public Timing getTimingTiming() throws FHIRException
timing (How often the device was used.)FHIRExceptionpublic boolean hasTimingTiming()
public Period getTimingPeriod() throws FHIRException
timing (How often the device was used.)FHIRExceptionpublic boolean hasTimingPeriod()
public DateTimeType getTimingDateTimeType() throws FHIRException
timing (How often the device was used.)FHIRExceptionpublic boolean hasTimingDateTimeType()
public boolean hasTiming()
public DeviceUseStatement setTiming(Type value)
value - timing (How often the device was used.)public DateTimeType getRecordedOnElement()
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 valuepublic boolean hasRecordedOnElement()
public boolean hasRecordedOn()
public DeviceUseStatement setRecordedOnElement(DateTimeType value)
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 valuepublic Date getRecordedOn()
public DeviceUseStatement setRecordedOn(Date value)
value - The time at which the statement was made/recorded.public Reference getSource()
source (Who reported the device was being used by the patient.)public boolean hasSource()
public DeviceUseStatement setSource(Reference value)
value - source (Who reported the device was being used by the patient.)public Resource getSourceTarget()
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.)public DeviceUseStatement setSourceTarget(Resource value)
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.)public boolean hasDevice()
public DeviceUseStatement setDevice(Reference value)
value - device (The details of the device used.)public Device getDeviceTarget()
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.)public DeviceUseStatement setDeviceTarget(Device value)
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.)public List<CodeableConcept> getIndication()
indication (Reason or justification for the use of the device.)public DeviceUseStatement setIndication(List<CodeableConcept> theIndication)
this for easy method chainingpublic boolean hasIndication()
public CodeableConcept addIndication()
public DeviceUseStatement addIndication(CodeableConcept t)
public CodeableConcept getIndicationFirstRep()
indication, creating it if it does not already existpublic CodeableConcept getBodySite()
bodySite (Indicates the site on the subject's body where the device was used ( i.e. the target site).)public boolean hasBodySite()
public DeviceUseStatement setBodySite(CodeableConcept value)
value - bodySite (Indicates the site on the subject's body where the device was used ( i.e. the target site).)public List<Annotation> getNote()
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.)public DeviceUseStatement setNote(List<Annotation> theNote)
this for easy method chainingpublic boolean hasNote()
public Annotation addNote()
public DeviceUseStatement addNote(Annotation t)
public Annotation getNoteFirstRep()
note, creating it if it does not already existprotected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class DomainResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class DomainResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class DomainResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class DomainResourceFHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic DeviceUseStatement copy()
copy in class DomainResourceprotected DeviceUseStatement typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2017 University Health Network. All rights reserved.