Class DeviceUseStatement
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.DeviceUseStatement
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class DeviceUseStatement extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptbodySiteCodeableConceptprotected ReferencebodySiteReferenceprotected Referencedeviceprotected java.util.List<Identifier>identifierprotected java.util.List<CodeableConcept>indicationprotected java.util.List<String>notesprotected DateTimerecordedOnprotected Referencesubjectprotected DateTimetimingDateTimeprotected PeriodtimingPeriodprotected TimingtimingTimingprotected PeriodwhenUsed-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description DeviceUseStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)CodeableConceptgetBodySiteCodeableConcept()Gets the value of the bodySiteCodeableConcept property.ReferencegetBodySiteReference()Gets the value of the bodySiteReference property.ReferencegetDevice()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.DateTimegetRecordedOn()Gets the value of the recordedOn property.ReferencegetSubject()Gets the value of the subject property.DateTimegetTimingDateTime()Gets the value of the timingDateTime property.PeriodgetTimingPeriod()Gets the value of the timingPeriod property.TiminggetTimingTiming()Gets the value of the timingTiming property.PeriodgetWhenUsed()Gets the value of the whenUsed property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetBodySiteCodeableConcept(CodeableConcept value)Sets the value of the bodySiteCodeableConcept property.voidsetBodySiteReference(Reference value)Sets the value of the bodySiteReference property.voidsetDevice(Reference value)Sets the value of the device property.voidsetRecordedOn(DateTime value)Sets the value of the recordedOn property.voidsetSubject(Reference value)Sets the value of the subject property.voidsetTimingDateTime(DateTime value)Sets the value of the timingDateTime property.voidsetTimingPeriod(Period value)Sets the value of the timingPeriod property.voidsetTimingTiming(Timing value)Sets the value of the timingTiming property.voidsetWhenUsed(Period value)Sets the value of the whenUsed property.java.lang.StringtoString()DeviceUseStatementwithBodySiteCodeableConcept(CodeableConcept value)DeviceUseStatementwithBodySiteReference(Reference value)DeviceUseStatementwithContained(java.util.Collection<ResourceContainer> values)DeviceUseStatementwithContained(ResourceContainer... values)DeviceUseStatementwithDevice(Reference value)DeviceUseStatementwithExtension(java.util.Collection<Extension> values)DeviceUseStatementwithExtension(Extension... values)DeviceUseStatementwithId(Id value)DeviceUseStatementwithIdentifier(java.util.Collection<Identifier> values)DeviceUseStatementwithIdentifier(Identifier... values)DeviceUseStatementwithImplicitRules(Uri value)DeviceUseStatementwithIndication(java.util.Collection<CodeableConcept> values)DeviceUseStatementwithIndication(CodeableConcept... values)DeviceUseStatementwithLanguage(Code value)DeviceUseStatementwithMeta(Meta value)DeviceUseStatementwithModifierExtension(java.util.Collection<Extension> values)DeviceUseStatementwithModifierExtension(Extension... values)DeviceUseStatementwithNotes(java.util.Collection<String> values)DeviceUseStatementwithNotes(String... values)DeviceUseStatementwithRecordedOn(DateTime value)DeviceUseStatementwithSubject(Reference value)DeviceUseStatementwithText(Narrative value)DeviceUseStatementwithTimingDateTime(DateTime value)DeviceUseStatementwithTimingPeriod(Period value)DeviceUseStatementwithTimingTiming(Timing value)DeviceUseStatementwithWhenUsed(Period value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
bodySiteCodeableConcept
protected CodeableConcept bodySiteCodeableConcept
-
bodySiteReference
protected Reference bodySiteReference
-
whenUsed
protected Period whenUsed
-
device
protected Reference device
-
identifier
protected java.util.List<Identifier> identifier
-
indication
protected java.util.List<CodeableConcept> indication
-
notes
protected java.util.List<String> notes
-
recordedOn
protected DateTime recordedOn
-
subject
protected Reference subject
-
timingTiming
protected Timing timingTiming
-
timingPeriod
protected Period timingPeriod
-
timingDateTime
protected DateTime timingDateTime
-
-
Method Detail
-
getBodySiteCodeableConcept
public CodeableConcept getBodySiteCodeableConcept()
Gets the value of the bodySiteCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setBodySiteCodeableConcept
public void setBodySiteCodeableConcept(CodeableConcept value)
Sets the value of the bodySiteCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getBodySiteReference
public Reference getBodySiteReference()
Gets the value of the bodySiteReference property.- Returns:
- possible object is
Reference
-
setBodySiteReference
public void setBodySiteReference(Reference value)
Sets the value of the bodySiteReference property.- Parameters:
value- allowed object isReference
-
getWhenUsed
public Period getWhenUsed()
Gets the value of the whenUsed property.- Returns:
- possible object is
Period
-
setWhenUsed
public void setWhenUsed(Period value)
Sets the value of the whenUsed property.- Parameters:
value- allowed object isPeriod
-
getDevice
public Reference getDevice()
Gets the value of the device property.- Returns:
- possible object is
Reference
-
setDevice
public void setDevice(Reference value)
Sets the value of the device property.- Parameters:
value- allowed object isReference
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Gets the value of the identifier property.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
setmethod 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
-
getIndication
public java.util.List<CodeableConcept> getIndication()
Gets the value of the indication property.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
setmethod 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
-
getNotes
public java.util.List<String> getNotes()
Gets the value of the notes property.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
setmethod 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
-
getRecordedOn
public DateTime getRecordedOn()
Gets the value of the recordedOn property.- Returns:
- possible object is
DateTime
-
setRecordedOn
public void setRecordedOn(DateTime value)
Sets the value of the recordedOn property.- Parameters:
value- allowed object isDateTime
-
getSubject
public Reference getSubject()
Gets the value of the subject property.- Returns:
- possible object is
Reference
-
setSubject
public void setSubject(Reference value)
Sets the value of the subject property.- Parameters:
value- allowed object isReference
-
getTimingTiming
public Timing getTimingTiming()
Gets the value of the timingTiming property.- Returns:
- possible object is
Timing
-
setTimingTiming
public void setTimingTiming(Timing value)
Sets the value of the timingTiming property.- Parameters:
value- allowed object isTiming
-
getTimingPeriod
public Period getTimingPeriod()
Gets the value of the timingPeriod property.- Returns:
- possible object is
Period
-
setTimingPeriod
public void setTimingPeriod(Period value)
Sets the value of the timingPeriod property.- Parameters:
value- allowed object isPeriod
-
getTimingDateTime
public DateTime getTimingDateTime()
Gets the value of the timingDateTime property.- Returns:
- possible object is
DateTime
-
setTimingDateTime
public void setTimingDateTime(DateTime value)
Sets the value of the timingDateTime property.- Parameters:
value- allowed object isDateTime
-
withBodySiteCodeableConcept
public DeviceUseStatement withBodySiteCodeableConcept(CodeableConcept value)
-
withBodySiteReference
public DeviceUseStatement withBodySiteReference(Reference value)
-
withWhenUsed
public DeviceUseStatement withWhenUsed(Period value)
-
withDevice
public DeviceUseStatement withDevice(Reference value)
-
withIdentifier
public DeviceUseStatement withIdentifier(Identifier... values)
-
withIdentifier
public DeviceUseStatement withIdentifier(java.util.Collection<Identifier> values)
-
withIndication
public DeviceUseStatement withIndication(CodeableConcept... values)
-
withIndication
public DeviceUseStatement withIndication(java.util.Collection<CodeableConcept> values)
-
withNotes
public DeviceUseStatement withNotes(String... values)
-
withNotes
public DeviceUseStatement withNotes(java.util.Collection<String> values)
-
withRecordedOn
public DeviceUseStatement withRecordedOn(DateTime value)
-
withSubject
public DeviceUseStatement withSubject(Reference value)
-
withTimingTiming
public DeviceUseStatement withTimingTiming(Timing value)
-
withTimingPeriod
public DeviceUseStatement withTimingPeriod(Period value)
-
withTimingDateTime
public DeviceUseStatement withTimingDateTime(DateTime value)
-
withText
public DeviceUseStatement withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public DeviceUseStatement withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public DeviceUseStatement withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public DeviceUseStatement withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public DeviceUseStatement withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public DeviceUseStatement withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public DeviceUseStatement withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public DeviceUseStatement withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public DeviceUseStatement withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public DeviceUseStatement withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public DeviceUseStatement withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public 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.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-