Package org.hl7.fhir

Class 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 extensions

    Java 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>
     
    • Constructor Detail

      • DeviceUseRequest

        public DeviceUseRequest()
    • 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 is CodeableConcept
      • 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 is Reference
      • 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 is Reference
      • 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 is Reference
      • 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 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

      • 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 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

      • 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 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

      • 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 set method 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 is DateTime
      • 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 is DateTime
      • 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 is Reference
      • 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 is Timing
      • 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 is Period
      • 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 is DateTime
      • 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:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
        Overrides:
        equals in class DomainResource
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class DomainResource
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
        Overrides:
        hashCode in class DomainResource
      • 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:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        append in class DomainResource
      • 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:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        appendFields in class DomainResource