Class DeviceUseStatement

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class DeviceUseStatement
    extends DomainResource
    A record of a device being used by a patient where the record is the result of a report from the patient or another clinician.

    Maturity level: FMM0 (Trial Use)

    • Method Detail

      • getIdentifier

        public java.util.List<Identifier> getIdentifier()
        An external identifier for this statement such as an IRI.
        Returns:
        An unmodifiable list containing immutable objects of type Identifier that may be empty.
      • getBasedOn

        public java.util.List<Reference> getBasedOn()
        A plan, proposal or order that is fulfilled in whole or in part by this DeviceUseStatement.
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • getStatus

        public DeviceUseStatementStatus getStatus()
        A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.
        Returns:
        An immutable object of type DeviceUseStatementStatus that is non-null.
      • getSubject

        public Reference getSubject()
        The patient who used the device.
        Returns:
        An immutable object of type Reference that is non-null.
      • getDerivedFrom

        public java.util.List<Reference> getDerivedFrom()
        Allows linking the DeviceUseStatement to the underlying Request, or to other information that supports or is used to derive the DeviceUseStatement.
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • getTiming

        public Element getTiming()
        How often the device was used.
        Returns:
        An immutable object of type Timing, Period or DateTime that may be null.
      • getRecordedOn

        public DateTime getRecordedOn()
        The time at which the statement was made/recorded.
        Returns:
        An immutable object of type DateTime that may be null.
      • getSource

        public Reference getSource()
        Who reported the device was being used by the patient.
        Returns:
        An immutable object of type Reference that may be null.
      • getDevice

        public Reference getDevice()
        The details of the device used.
        Returns:
        An immutable object of type Reference that is non-null.
      • getReasonCode

        public java.util.List<CodeableConcept> getReasonCode()
        Reason or justification for the use of the device.
        Returns:
        An unmodifiable list containing immutable objects of type CodeableConcept that may be empty.
      • getReasonReference

        public java.util.List<Reference> getReasonReference()
        Indicates another resource whose existence justifies this DeviceUseStatement.
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • getBodySite

        public CodeableConcept getBodySite()
        Indicates the anotomic location on the subject's body where the device was used ( i.e. the target).
        Returns:
        An immutable object of type CodeableConcept that may be null.
      • getNote

        public java.util.List<Annotation> getNote()
        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.
        Returns:
        An unmodifiable list containing immutable objects of type Annotation that may be empty.
      • accept

        public void accept​(java.lang.String elementName,
                           int elementIndex,
                           Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:
         if (visitor.preVisit(this)) {
             visitor.visitStart(elementName, elementIndex, this);
             if (visitor.visit(elementName, elementIndex, this)) {
                 // visit children
             }
             visitor.visitEnd(elementName, elementIndex, this);
             visitor.postVisit(this);
         }
         
        Specified by:
        accept in interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object