Class DeviceUseRequest
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.DeviceUseRequest
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class DeviceUseRequest 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 DeviceUseRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DeviceUseRequest"> <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="status" type="{http://hl7.org/fhir}DeviceUseRequestStatus" minOccurs="0"/> <element name="device" type="{http://hl7.org/fhir}Reference"/> <element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <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="prnReason" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="orderedOn" type="{http://hl7.org/fhir}dateTime" 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> <element name="priority" type="{http://hl7.org/fhir}DeviceUseRequestPriority" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptbodySiteCodeableConceptprotected ReferencebodySiteReferenceprotected Referencedeviceprotected Referenceencounterprotected java.util.List<Identifier>identifierprotected java.util.List<CodeableConcept>indicationprotected java.util.List<String>notesprotected DateTimeorderedOnprotected DeviceUseRequestPrioritypriorityprotected java.util.List<CodeableConcept>prnReasonprotected DateTimerecordedOnprotected DeviceUseRequestStatusstatusprotected Referencesubjectprotected DateTimetimingDateTimeprotected PeriodtimingPeriodprotected TimingtimingTiming-
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 DeviceUseRequest()
-
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.ReferencegetEncounter()Gets the value of the encounter 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.DateTimegetOrderedOn()Gets the value of the orderedOn property.DeviceUseRequestPrioritygetPriority()Gets the value of the priority property.java.util.List<CodeableConcept>getPrnReason()Gets the value of the prnReason property.DateTimegetRecordedOn()Gets the value of the recordedOn property.DeviceUseRequestStatusgetStatus()Gets the value of the status 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.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.voidsetEncounter(Reference value)Sets the value of the encounter property.voidsetOrderedOn(DateTime value)Sets the value of the orderedOn property.voidsetPriority(DeviceUseRequestPriority value)Sets the value of the priority property.voidsetRecordedOn(DateTime value)Sets the value of the recordedOn property.voidsetStatus(DeviceUseRequestStatus value)Sets the value of the status 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.java.lang.StringtoString()DeviceUseRequestwithBodySiteCodeableConcept(CodeableConcept value)DeviceUseRequestwithBodySiteReference(Reference value)DeviceUseRequestwithContained(java.util.Collection<ResourceContainer> values)DeviceUseRequestwithContained(ResourceContainer... values)DeviceUseRequestwithDevice(Reference value)DeviceUseRequestwithEncounter(Reference value)DeviceUseRequestwithExtension(java.util.Collection<Extension> values)DeviceUseRequestwithExtension(Extension... values)DeviceUseRequestwithId(Id value)DeviceUseRequestwithIdentifier(java.util.Collection<Identifier> values)DeviceUseRequestwithIdentifier(Identifier... values)DeviceUseRequestwithImplicitRules(Uri value)DeviceUseRequestwithIndication(java.util.Collection<CodeableConcept> values)DeviceUseRequestwithIndication(CodeableConcept... values)DeviceUseRequestwithLanguage(Code value)DeviceUseRequestwithMeta(Meta value)DeviceUseRequestwithModifierExtension(java.util.Collection<Extension> values)DeviceUseRequestwithModifierExtension(Extension... values)DeviceUseRequestwithNotes(java.util.Collection<String> values)DeviceUseRequestwithNotes(String... values)DeviceUseRequestwithOrderedOn(DateTime value)DeviceUseRequestwithPriority(DeviceUseRequestPriority value)DeviceUseRequestwithPrnReason(java.util.Collection<CodeableConcept> values)DeviceUseRequestwithPrnReason(CodeableConcept... values)DeviceUseRequestwithRecordedOn(DateTime value)DeviceUseRequestwithStatus(DeviceUseRequestStatus value)DeviceUseRequestwithSubject(Reference value)DeviceUseRequestwithText(Narrative value)DeviceUseRequestwithTimingDateTime(DateTime value)DeviceUseRequestwithTimingPeriod(Period value)DeviceUseRequestwithTimingTiming(Timing 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
-
status
protected DeviceUseRequestStatus status
-
device
protected Reference device
-
encounter
protected Reference encounter
-
identifier
protected java.util.List<Identifier> identifier
-
indication
protected java.util.List<CodeableConcept> indication
-
notes
protected java.util.List<String> notes
-
prnReason
protected java.util.List<CodeableConcept> prnReason
-
orderedOn
protected DateTime orderedOn
-
recordedOn
protected DateTime recordedOn
-
subject
protected Reference subject
-
timingTiming
protected Timing timingTiming
-
timingPeriod
protected Period timingPeriod
-
timingDateTime
protected DateTime timingDateTime
-
priority
protected DeviceUseRequestPriority priority
-
-
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
-
getStatus
public DeviceUseRequestStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
DeviceUseRequestStatus
-
setStatus
public void setStatus(DeviceUseRequestStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isDeviceUseRequestStatus
-
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
-
getEncounter
public Reference getEncounter()
Gets the value of the encounter property.- Returns:
- possible object is
Reference
-
setEncounter
public void setEncounter(Reference value)
Sets the value of the encounter 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
-
getPrnReason
public java.util.List<CodeableConcept> getPrnReason()
Gets the value of the prnReason 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 prnReason property.For example, to add a new item, do as follows:
getPrnReason().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getOrderedOn
public DateTime getOrderedOn()
Gets the value of the orderedOn property.- Returns:
- possible object is
DateTime
-
setOrderedOn
public void setOrderedOn(DateTime value)
Sets the value of the orderedOn property.- Parameters:
value- allowed object isDateTime
-
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
-
getPriority
public DeviceUseRequestPriority getPriority()
Gets the value of the priority property.- Returns:
- possible object is
DeviceUseRequestPriority
-
setPriority
public void setPriority(DeviceUseRequestPriority value)
Sets the value of the priority property.- Parameters:
value- allowed object isDeviceUseRequestPriority
-
withBodySiteCodeableConcept
public DeviceUseRequest withBodySiteCodeableConcept(CodeableConcept value)
-
withBodySiteReference
public DeviceUseRequest withBodySiteReference(Reference value)
-
withStatus
public DeviceUseRequest withStatus(DeviceUseRequestStatus value)
-
withDevice
public DeviceUseRequest withDevice(Reference value)
-
withEncounter
public DeviceUseRequest withEncounter(Reference value)
-
withIdentifier
public DeviceUseRequest withIdentifier(Identifier... values)
-
withIdentifier
public DeviceUseRequest withIdentifier(java.util.Collection<Identifier> values)
-
withIndication
public DeviceUseRequest withIndication(CodeableConcept... values)
-
withIndication
public DeviceUseRequest withIndication(java.util.Collection<CodeableConcept> values)
-
withNotes
public DeviceUseRequest withNotes(String... values)
-
withNotes
public DeviceUseRequest withNotes(java.util.Collection<String> values)
-
withPrnReason
public DeviceUseRequest withPrnReason(CodeableConcept... values)
-
withPrnReason
public DeviceUseRequest withPrnReason(java.util.Collection<CodeableConcept> values)
-
withOrderedOn
public DeviceUseRequest withOrderedOn(DateTime value)
-
withRecordedOn
public DeviceUseRequest withRecordedOn(DateTime value)
-
withSubject
public DeviceUseRequest withSubject(Reference value)
-
withTimingTiming
public DeviceUseRequest withTimingTiming(Timing value)
-
withTimingPeriod
public DeviceUseRequest withTimingPeriod(Period value)
-
withTimingDateTime
public DeviceUseRequest withTimingDateTime(DateTime value)
-
withPriority
public DeviceUseRequest withPriority(DeviceUseRequestPriority value)
-
withText
public DeviceUseRequest withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public DeviceUseRequest withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public DeviceUseRequest withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public DeviceUseRequest withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public DeviceUseRequest withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public DeviceUseRequest withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public DeviceUseRequest withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public DeviceUseRequest withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public DeviceUseRequest withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public DeviceUseRequest withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public DeviceUseRequest 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
-
-