Class Device

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class Device
    extends DomainResource
    A type of a manufactured item that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device.

    Maturity level: FMM2 (Trial Use)

    • Method Detail

      • getIdentifier

        public java.util.List<Identifier> getIdentifier()
        Unique instance identifiers assigned to a device by manufacturers other organizations or owners.
        Returns:
        An unmodifiable list containing immutable objects of type Identifier that may be empty.
      • getDefinition

        public Reference getDefinition()
        The reference to the definition for the device.
        Returns:
        An immutable object of type Reference that may be null.
      • getUdiCarrier

        public java.util.List<Device.UdiCarrier> getUdiCarrier()
        Unique device identifier (UDI) assigned to device label or package. Note that the Device may include multiple udiCarriers as it either may include just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions it could have been sold.
        Returns:
        An unmodifiable list containing immutable objects of type Device.UdiCarrier that may be empty.
      • getStatusReason

        public java.util.List<CodeableConcept> getStatusReason()
        Reason for the dtatus of the Device availability.
        Returns:
        An unmodifiable list containing immutable objects of type CodeableConcept that may be empty.
      • getDistinctIdentifier

        public String getDistinctIdentifier()
        The distinct identification string as required by regulation for a human cell, tissue, or cellular and tissue-based product.
        Returns:
        An immutable object of type String that may be null.
      • getManufacturer

        public String getManufacturer()
        A name of the manufacturer.
        Returns:
        An immutable object of type String that may be null.
      • getManufactureDate

        public DateTime getManufactureDate()
        The date and time when the device was manufactured.
        Returns:
        An immutable object of type DateTime that may be null.
      • getExpirationDate

        public DateTime getExpirationDate()
        The date and time beyond which this device is no longer valid or should not be used (if applicable).
        Returns:
        An immutable object of type DateTime that may be null.
      • getLotNumber

        public String getLotNumber()
        Lot number assigned by the manufacturer.
        Returns:
        An immutable object of type String that may be null.
      • getSerialNumber

        public String getSerialNumber()
        The serial number assigned by the organization when the device was manufactured.
        Returns:
        An immutable object of type String that may be null.
      • getDeviceName

        public java.util.List<Device.DeviceName> getDeviceName()
        This represents the manufacturer's name of the device as provided by the device, from a UDI label, or by a person describing the Device. This typically would be used when a person provides the name(s) or when the device represents one of the names available from DeviceDefinition.
        Returns:
        An unmodifiable list containing immutable objects of type Device.DeviceName that may be empty.
      • getModelNumber

        public String getModelNumber()
        The model number for the device.
        Returns:
        An immutable object of type String that may be null.
      • getPartNumber

        public String getPartNumber()
        The part number of the device.
        Returns:
        An immutable object of type String that may be null.
      • getSpecialization

        public java.util.List<Device.Specialization> getSpecialization()
        The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication.
        Returns:
        An unmodifiable list containing immutable objects of type Device.Specialization that may be empty.
      • getVersion

        public java.util.List<Device.Version> getVersion()
        The actual design of the device or software version running on the device.
        Returns:
        An unmodifiable list containing immutable objects of type Device.Version that may be empty.
      • getProperty

        public java.util.List<Device.Property> getProperty()
        The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.
        Returns:
        An unmodifiable list containing immutable objects of type Device.Property that may be empty.
      • getPatient

        public Reference getPatient()
        Patient information, If the device is affixed to a person.
        Returns:
        An immutable object of type Reference that may be null.
      • getOwner

        public Reference getOwner()
        An organization that is responsible for the provision and ongoing maintenance of the device.
        Returns:
        An immutable object of type Reference that may be null.
      • getContact

        public java.util.List<ContactPoint> getContact()
        Contact details for an organization or a particular human that is responsible for the device.
        Returns:
        An unmodifiable list containing immutable objects of type ContactPoint that may be empty.
      • getLocation

        public Reference getLocation()
        The place where the device can be found.
        Returns:
        An immutable object of type Reference that may be null.
      • getUrl

        public Uri getUrl()
        A network address on which the device may be contacted directly.
        Returns:
        An immutable object of type Uri that may be null.
      • getNote

        public java.util.List<Annotation> getNote()
        Descriptive information, usage information or implantation information that is not captured in an existing element.
        Returns:
        An unmodifiable list containing immutable objects of type Annotation that may be empty.
      • getSafety

        public java.util.List<CodeableConcept> getSafety()
        Provides additional safety characteristics about a medical device. For example devices containing latex.
        Returns:
        An unmodifiable list containing immutable objects of type CodeableConcept that may be empty.
      • getParent

        public Reference getParent()
        The parent device.
        Returns:
        An immutable object of type Reference that may be null.
      • 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