public class DeviceUseStatement extends DomainResource
| Modifier and Type | Field and Description |
|---|---|
static String |
SP_DEVICE |
static String |
SP_PATIENT |
static String |
SP_SUBJECT |
| Constructor and Description |
|---|
DeviceUseStatement() |
DeviceUseStatement(Reference device,
Reference subject) |
addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getMeta, setIdsetIdpublic static final String SP_SUBJECT
public static final String SP_PATIENT
public static final String SP_DEVICE
public Type getBodySite()
bodySite (Indicates the site on the subject's body where the device was used ( i.e. the target site).)public CodeableConcept getBodySiteCodeableConcept() throws Exception
public boolean hasBodySiteCodeableConcept()
throws Exception
Exceptionpublic boolean hasBodySite()
public DeviceUseStatement setBodySite(Type value)
value - bodySite (Indicates the site on the subject's body where the device was used ( i.e. the target site).)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 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<Identifier> getIdentifier()
identifier (An external identifier for this statement such as an IRI.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (An external identifier for this statement such as an IRI.)public DeviceUseStatement addIdentifier(Identifier t)
public List<CodeableConcept> getIndication()
indication (Reason or justification for the use of the device.)public boolean hasIndication()
public CodeableConcept addIndication()
indication (Reason or justification for the use of the device.)public DeviceUseStatement addIndication(CodeableConcept t)
public List<StringType> getNotes()
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.)public boolean hasNotes()
public StringType addNotesElement()
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.)public DeviceUseStatement addNotes(String value)
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.)public boolean hasNotes(String value)
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.)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 boolean hasSubject()
public DeviceUseStatement setSubject(Reference value)
value - subject (The patient who used the device.)public Patient 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(Patient 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 DateTimeType getTimingDateTimeType() throws Exception
public boolean hasTiming()
public DeviceUseStatement setTiming(Type value)
value - timing (How often the device was used.)public DeviceUseStatement copy()
copy in class DomainResourcepublic 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–2015 University Health Network. All rights reserved.