Package com.ibm.fhir.model.resource
Class Device
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Device.Builder
static class
Device.DeviceName
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.static class
Device.Property
The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.static class
Device.Specialization
The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication.static class
Device.UdiCarrier
Unique device identifier (UDI) assigned to device label or package.static class
Device.Version
The actual design of the device or software version running on the device.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static Device.Builder
builder()
boolean
equals(Object obj)
List<ContactPoint>
getContact()
Contact details for an organization or a particular human that is responsible for the device.Reference
getDefinition()
The reference to the definition for the device.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.String
getDistinctIdentifier()
The distinct identification string as required by regulation for a human cell, tissue, or cellular and tissue-based product.DateTime
getExpirationDate()
The date and time beyond which this device is no longer valid or should not be used (if applicable).List<Identifier>
getIdentifier()
Unique instance identifiers assigned to a device by manufacturers other organizations or owners.Reference
getLocation()
The place where the device can be found.String
getLotNumber()
Lot number assigned by the manufacturer.DateTime
getManufactureDate()
The date and time when the device was manufactured.String
getManufacturer()
A name of the manufacturer.String
getModelNumber()
The model number for the device.List<Annotation>
getNote()
Descriptive information, usage information or implantation information that is not captured in an existing element.Reference
getOwner()
An organization that is responsible for the provision and ongoing maintenance of the device.Reference
getParent()
The parent device.String
getPartNumber()
The part number of the device.Reference
getPatient()
Patient information, If the device is affixed to a person.List<Device.Property>
getProperty()
The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.List<CodeableConcept>
getSafety()
Provides additional safety characteristics about a medical device.String
getSerialNumber()
The serial number assigned by the organization when the device was manufactured.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.FHIRDeviceStatus
getStatus()
Status of the Device availability.List<CodeableConcept>
getStatusReason()
Reason for the dtatus of the Device availability.CodeableConcept
getType()
The kind or type of device.List<Device.UdiCarrier>
getUdiCarrier()
Unique device identifier (UDI) assigned to device label or package.Uri
getUrl()
A network address on which the device may be contacted directly.List<Device.Version>
getVersion()
The actual design of the device or software version running on the device.boolean
hasChildren()
int
hashCode()
Device.Builder
toBuilder()
Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public 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 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.
-
getStatus
public FHIRDeviceStatus getStatus()
Status of the Device availability.- Returns:
- An immutable object of type
FHIRDeviceStatus
that may be null.
-
getStatusReason
public 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 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.
-
getType
public CodeableConcept getType()
The kind or type of device.- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getSpecialization
public 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 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 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 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 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 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.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classDomainResource
-
accept
public void accept(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 interfaceVisitable
- Specified by:
accept
in classAbstractVisitable
- Parameters:
elementName
- the name of the element in the context of this visitelementIndex
- the index of the element in a list or -1 if it is not contained within a Listvisitor
- the visitor to use
-
toBuilder
public Device.Builder toBuilder()
Description copied from class:Resource
Create a new Builder from the contents of this Resource- Specified by:
toBuilder
in classDomainResource
-
builder
public static Device.Builder builder()
-
-