Class Device

  • All Implemented Interfaces:
    ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IAnyResource, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions, org.hl7.fhir.instance.model.api.IBaseResource, org.hl7.fhir.instance.model.api.IDomainResource

    public class Device
    extends DomainResource
    This resource identifies an instance 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. Medical devices includes durable (reusable) medical equipment, implantable devices, as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. Non-medical devices may include items such as a machine, cellphone, computer, application, etc.
    See Also:
    Serialized Form
    • Method Detail

      • getIdentifier

        public List<IdentifiergetIdentifier()
        Returns:
        identifier (Unique instance identifiers assigned to a device by organizations like manufacturers or owners. If the identifier identifies the type of device, Device.type should be used.)
      • addIdentifier

        public Identifier addIdentifier()
        Returns:
        identifier (Unique instance identifiers assigned to a device by organizations like manufacturers or owners. If the identifier identifies the type of device, Device.type should be used.)
      • hasType

        public boolean hasType()
      • getNote

        public List<AnnotationgetNote()
        Returns:
        note (Descriptive information, usage information or implantation information that is not captured in an existing element.)
      • hasNote

        public boolean hasNote()
      • addNote

        public Annotation addNote()
        Returns:
        note (Descriptive information, usage information or implantation information that is not captured in an existing element.)
      • getManufacturerElement

        public StringType getManufacturerElement()
        Returns:
        manufacturer (A name of the manufacturer.). This is the underlying object with id, value and extensions. The accessor "getManufacturer" gives direct access to the value
      • setManufacturerElement

        public Device setManufacturerElement​(StringType value)
        Parameters:
        value - manufacturer (A name of the manufacturer.). This is the underlying object with id, value and extensions. The accessor "getManufacturer" gives direct access to the value
      • getModelElement

        public StringType getModelElement()
        Returns:
        model (The "model" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.). This is the underlying object with id, value and extensions. The accessor "getModel" gives direct access to the value
      • setModelElement

        public Device setModelElement​(StringType value)
        Parameters:
        value - model (The "model" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.). This is the underlying object with id, value and extensions. The accessor "getModel" gives direct access to the value
      • getModel

        public String getModel()
        Returns:
        The "model" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.
      • setModel

        public Device setModel​(String value)
        Parameters:
        value - The "model" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.
      • getVersionElement

        public StringType getVersionElement()
        Returns:
        version (The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
      • setVersionElement

        public Device setVersionElement​(StringType value)
        Parameters:
        value - version (The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the value
      • getVersion

        public String getVersion()
        Returns:
        The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.
      • setVersion

        public Device setVersion​(String value)
        Parameters:
        value - The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.
      • getManufactureDateElement

        public DateTimeType getManufactureDateElement()
        Returns:
        manufactureDate (The date and time when the device was manufactured.). This is the underlying object with id, value and extensions. The accessor "getManufactureDate" gives direct access to the value
      • setManufactureDateElement

        public Device setManufactureDateElement​(DateTimeType value)
        Parameters:
        value - manufactureDate (The date and time when the device was manufactured.). This is the underlying object with id, value and extensions. The accessor "getManufactureDate" gives direct access to the value
      • getManufactureDate

        public Date getManufactureDate()
        Returns:
        The date and time when the device was manufactured.
      • setManufactureDate

        public Device setManufactureDate​(Date value)
        Parameters:
        value - The date and time when the device was manufactured.
      • getExpiryElement

        public DateTimeType getExpiryElement()
        Returns:
        expiry (The date and time beyond which this device is no longer valid or should not be used (if applicable).). This is the underlying object with id, value and extensions. The accessor "getExpiry" gives direct access to the value
      • setExpiryElement

        public Device setExpiryElement​(DateTimeType value)
        Parameters:
        value - expiry (The date and time beyond which this device is no longer valid or should not be used (if applicable).). This is the underlying object with id, value and extensions. The accessor "getExpiry" gives direct access to the value
      • getExpiry

        public Date getExpiry()
        Returns:
        The date and time beyond which this device is no longer valid or should not be used (if applicable).
      • setExpiry

        public Device setExpiry​(Date value)
        Parameters:
        value - The date and time beyond which this device is no longer valid or should not be used (if applicable).
      • getUdiElement

        public StringType getUdiElement()
        Returns:
        udi (United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm.). This is the underlying object with id, value and extensions. The accessor "getUdi" gives direct access to the value
      • hasUdi

        public boolean hasUdi()
      • setUdiElement

        public Device setUdiElement​(StringType value)
        Parameters:
        value - udi (United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm.). This is the underlying object with id, value and extensions. The accessor "getUdi" gives direct access to the value
      • getUdi

        public String getUdi()
        Returns:
        United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm.
      • setUdi

        public Device setUdi​(String value)
        Parameters:
        value - United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm.
      • getLotNumberElement

        public StringType getLotNumberElement()
        Returns:
        lotNumber (Lot number assigned by the manufacturer.). This is the underlying object with id, value and extensions. The accessor "getLotNumber" gives direct access to the value
      • setLotNumberElement

        public Device setLotNumberElement​(StringType value)
        Parameters:
        value - lotNumber (Lot number assigned by the manufacturer.). This is the underlying object with id, value and extensions. The accessor "getLotNumber" gives direct access to the value
      • getLotNumber

        public String getLotNumber()
        Returns:
        Lot number assigned by the manufacturer.
      • setLotNumber

        public Device setLotNumber​(String value)
        Parameters:
        value - Lot number assigned by the manufacturer.
      • getOwner

        public Reference getOwner()
        Returns:
        owner (An organization that is responsible for the provision and ongoing maintenance of the device.)
      • setOwner

        public Device setOwner​(Reference value)
        Parameters:
        value - owner (An organization that is responsible for the provision and ongoing maintenance of the device.)
      • getOwnerTarget

        public Organization getOwnerTarget()
        Returns:
        owner The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (An organization that is responsible for the provision and ongoing maintenance of the device.)
      • setOwnerTarget

        public Device setOwnerTarget​(Organization value)
        Parameters:
        value - owner The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (An organization that is responsible for the provision and ongoing maintenance of the device.)
      • getLocationTarget

        public Location getLocationTarget()
        Returns:
        location The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The place where the device can be found.)
      • setLocationTarget

        public Device setLocationTarget​(Location value)
        Parameters:
        value - location The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The place where the device can be found.)
      • getPatientTarget

        public Patient getPatientTarget()
        Returns:
        patient The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Patient information, if the resource is affixed to a person.)
      • setPatientTarget

        public Device setPatientTarget​(Patient value)
        Parameters:
        value - patient The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Patient information, if the resource is affixed to a person.)
      • getContact

        public List<ContactPointgetContact()
        Returns:
        contact (Contact details for an organization or a particular human that is responsible for the device.)
      • addContact

        public ContactPoint addContact()
        Returns:
        contact (Contact details for an organization or a particular human that is responsible for the device.)
      • getUrlElement

        public UriType getUrlElement()
        Returns:
        url (A network address on which the device may be contacted directly.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
      • hasUrl

        public boolean hasUrl()
      • setUrlElement

        public Device setUrlElement​(UriType value)
        Parameters:
        value - url (A network address on which the device may be contacted directly.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
      • getUrl

        public String getUrl()
        Returns:
        A network address on which the device may be contacted directly.
      • setUrl

        public Device setUrl​(String value)
        Parameters:
        value - A network address on which the device may be contacted directly.
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
        Overrides:
        isEmpty in class DomainResource