public class DeviceUseStatement extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for DeviceUseStatement complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DeviceUseStatement">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<choice minOccurs="0">
<element name="bodySiteCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="bodySiteReference" type="{http://hl7.org/fhir}Reference"/>
</choice>
<element name="whenUsed" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
<element name="device" type="{http://hl7.org/fhir}Reference"/>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="indication" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="notes" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="recordedOn" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="subject" type="{http://hl7.org/fhir}Reference"/>
<choice minOccurs="0">
<element name="timingTiming" type="{http://hl7.org/fhir}Timing"/>
<element name="timingPeriod" type="{http://hl7.org/fhir}Period"/>
<element name="timingDateTime" type="{http://hl7.org/fhir}dateTime"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
bodySiteCodeableConcept |
protected Reference |
bodySiteReference |
protected Reference |
device |
protected java.util.List<Identifier> |
identifier |
protected java.util.List<CodeableConcept> |
indication |
protected java.util.List<String> |
notes |
protected DateTime |
recordedOn |
protected Reference |
subject |
protected DateTime |
timingDateTime |
protected Period |
timingPeriod |
protected Timing |
timingTiming |
protected Period |
whenUsed |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
DeviceUseStatement() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
CodeableConcept |
getBodySiteCodeableConcept()
Gets the value of the bodySiteCodeableConcept property.
|
Reference |
getBodySiteReference()
Gets the value of the bodySiteReference property.
|
Reference |
getDevice()
Gets the value of the device property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
java.util.List<CodeableConcept> |
getIndication()
Gets the value of the indication property.
|
java.util.List<String> |
getNotes()
Gets the value of the notes property.
|
DateTime |
getRecordedOn()
Gets the value of the recordedOn property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
DateTime |
getTimingDateTime()
Gets the value of the timingDateTime property.
|
Period |
getTimingPeriod()
Gets the value of the timingPeriod property.
|
Timing |
getTimingTiming()
Gets the value of the timingTiming property.
|
Period |
getWhenUsed()
Gets the value of the whenUsed property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setBodySiteCodeableConcept(CodeableConcept value)
Sets the value of the bodySiteCodeableConcept property.
|
void |
setBodySiteReference(Reference value)
Sets the value of the bodySiteReference property.
|
void |
setDevice(Reference value)
Sets the value of the device property.
|
void |
setRecordedOn(DateTime value)
Sets the value of the recordedOn property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
void |
setTimingDateTime(DateTime value)
Sets the value of the timingDateTime property.
|
void |
setTimingPeriod(Period value)
Sets the value of the timingPeriod property.
|
void |
setTimingTiming(Timing value)
Sets the value of the timingTiming property.
|
void |
setWhenUsed(Period value)
Sets the value of the whenUsed property.
|
java.lang.String |
toString() |
DeviceUseStatement |
withBodySiteCodeableConcept(CodeableConcept value) |
DeviceUseStatement |
withBodySiteReference(Reference value) |
DeviceUseStatement |
withContained(java.util.Collection<ResourceContainer> values) |
DeviceUseStatement |
withContained(ResourceContainer... values) |
DeviceUseStatement |
withDevice(Reference value) |
DeviceUseStatement |
withExtension(java.util.Collection<Extension> values) |
DeviceUseStatement |
withExtension(Extension... values) |
DeviceUseStatement |
withId(Id value) |
DeviceUseStatement |
withIdentifier(java.util.Collection<Identifier> values) |
DeviceUseStatement |
withIdentifier(Identifier... values) |
DeviceUseStatement |
withImplicitRules(Uri value) |
DeviceUseStatement |
withIndication(CodeableConcept... values) |
DeviceUseStatement |
withIndication(java.util.Collection<CodeableConcept> values) |
DeviceUseStatement |
withLanguage(Code value) |
DeviceUseStatement |
withMeta(Meta value) |
DeviceUseStatement |
withModifierExtension(java.util.Collection<Extension> values) |
DeviceUseStatement |
withModifierExtension(Extension... values) |
DeviceUseStatement |
withNotes(java.util.Collection<String> values) |
DeviceUseStatement |
withNotes(String... values) |
DeviceUseStatement |
withRecordedOn(DateTime value) |
DeviceUseStatement |
withSubject(Reference value) |
DeviceUseStatement |
withText(Narrative value) |
DeviceUseStatement |
withTimingDateTime(DateTime value) |
DeviceUseStatement |
withTimingPeriod(Period value) |
DeviceUseStatement |
withTimingTiming(Timing value) |
DeviceUseStatement |
withWhenUsed(Period value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected CodeableConcept bodySiteCodeableConcept
protected Reference bodySiteReference
protected Period whenUsed
protected Reference device
protected java.util.List<Identifier> identifier
protected java.util.List<CodeableConcept> indication
protected java.util.List<String> notes
protected DateTime recordedOn
protected Reference subject
protected Timing timingTiming
protected Period timingPeriod
protected DateTime timingDateTime
public CodeableConcept getBodySiteCodeableConcept()
CodeableConceptpublic void setBodySiteCodeableConcept(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getBodySiteReference()
Referencepublic void setBodySiteReference(Reference value)
value - allowed object is
Referencepublic Period getWhenUsed()
Periodpublic void setWhenUsed(Period value)
value - allowed object is
Periodpublic Reference getDevice()
Referencepublic void setDevice(Reference value)
value - allowed object is
Referencepublic java.util.List<Identifier> getIdentifier()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the identifier property.
For example, to add a new item, do as follows:
getIdentifier().add(newItem);
Objects of the following type(s) are allowed in the list
Identifier
public java.util.List<CodeableConcept> getIndication()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the indication property.
For example, to add a new item, do as follows:
getIndication().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public java.util.List<String> getNotes()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the notes property.
For example, to add a new item, do as follows:
getNotes().add(newItem);
Objects of the following type(s) are allowed in the list
String
public DateTime getRecordedOn()
DateTimepublic void setRecordedOn(DateTime value)
value - allowed object is
DateTimepublic Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic Timing getTimingTiming()
Timingpublic void setTimingTiming(Timing value)
value - allowed object is
Timingpublic Period getTimingPeriod()
Periodpublic void setTimingPeriod(Period value)
value - allowed object is
Periodpublic DateTime getTimingDateTime()
DateTimepublic void setTimingDateTime(DateTime value)
value - allowed object is
DateTimepublic DeviceUseStatement withBodySiteCodeableConcept(CodeableConcept value)
public DeviceUseStatement withBodySiteReference(Reference value)
public DeviceUseStatement withWhenUsed(Period value)
public DeviceUseStatement withDevice(Reference value)
public DeviceUseStatement withIdentifier(Identifier... values)
public DeviceUseStatement withIdentifier(java.util.Collection<Identifier> values)
public DeviceUseStatement withIndication(CodeableConcept... values)
public DeviceUseStatement withIndication(java.util.Collection<CodeableConcept> values)
public DeviceUseStatement withNotes(String... values)
public DeviceUseStatement withNotes(java.util.Collection<String> values)
public DeviceUseStatement withRecordedOn(DateTime value)
public DeviceUseStatement withSubject(Reference value)
public DeviceUseStatement withTimingTiming(Timing value)
public DeviceUseStatement withTimingPeriod(Period value)
public DeviceUseStatement withTimingDateTime(DateTime value)
public DeviceUseStatement withText(Narrative value)
withText in class DomainResourcepublic DeviceUseStatement withContained(ResourceContainer... values)
withContained in class DomainResourcepublic DeviceUseStatement withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic DeviceUseStatement withExtension(Extension... values)
withExtension in class DomainResourcepublic DeviceUseStatement withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic DeviceUseStatement withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic DeviceUseStatement withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic DeviceUseStatement withId(Id value)
withId in class DomainResourcepublic DeviceUseStatement withMeta(Meta value)
withMeta in class DomainResourcepublic DeviceUseStatement withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic DeviceUseStatement withLanguage(Code value)
withLanguage in class DomainResourcepublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource