Class DeviceDefinition
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.resource.Resource
-
- org.linuxforhealth.fhir.model.resource.DomainResource
-
- org.linuxforhealth.fhir.model.resource.DeviceDefinition
-
- All Implemented Interfaces:
Visitable
@Generated("org.linuxforhealth.fhir.tools.CodeGenerator") public class DeviceDefinition extends DomainResource
The characteristics, operational status and capabilities of a medical-related component of a medical device.Maturity level: FMM0 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeviceDefinition.Builder
static class
DeviceDefinition.Capability
Device capabilities.static class
DeviceDefinition.DeviceName
A name given to the device to identify it.static class
DeviceDefinition.Material
A substance used to create the material(s) of which the device is made.static class
DeviceDefinition.Property
The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.static class
DeviceDefinition.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
DeviceDefinition.UdiDeviceIdentifier
Unique device identifier (UDI) assigned to device label or package.
-
Field Summary
-
Fields inherited from class org.linuxforhealth.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(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static DeviceDefinition.Builder
builder()
boolean
equals(java.lang.Object obj)
java.util.List<DeviceDefinition.Capability>
getCapability()
Device capabilities.java.util.List<ContactPoint>
getContact()
Contact details for an organization or a particular human that is responsible for the device.java.util.List<DeviceDefinition.DeviceName>
getDeviceName()
A name given to the device to identify it.java.util.List<Identifier>
getIdentifier()
Unique instance identifiers assigned to a device by the software, manufacturers, other organizations or owners.java.util.List<CodeableConcept>
getLanguageCode()
Language code for the human-readable text strings produced by the device (all supported).Element
getManufacturer()
A name of the manufacturer.java.util.List<DeviceDefinition.Material>
getMaterial()
A substance used to create the material(s) of which the device is made.String
getModelNumber()
The model number for the device.java.util.List<Annotation>
getNote()
Descriptive information, usage information or implantation information that is not captured in an existing element.Uri
getOnlineInformation()
Access to on-line information about the device.Reference
getOwner()
An organization that is responsible for the provision and ongoing maintenance of the device.Reference
getParentDevice()
The parent device it can be part of.ProdCharacteristic
getPhysicalCharacteristics()
Dimensions, color etc.java.util.List<DeviceDefinition.Property>
getProperty()
The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.Quantity
getQuantity()
The quantity of the device present in the packaging (e.g.java.util.List<CodeableConcept>
getSafety()
Safety characteristics of the device.java.util.List<ProductShelfLife>
getShelfLifeStorage()
Shelf Life and storage information.java.util.List<DeviceDefinition.Specialization>
getSpecialization()
The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication.CodeableConcept
getType()
What kind of device or device system this is.java.util.List<DeviceDefinition.UdiDeviceIdentifier>
getUdiDeviceIdentifier()
Unique device identifier (UDI) assigned to device label or package.Uri
getUrl()
A network address on which the device may be contacted directly.java.util.List<String>
getVersion()
The available versions of the device, e.g., software versions.boolean
hasChildren()
int
hashCode()
DeviceDefinition.Builder
toBuilder()
Create a new Builder from the contents of this Resource-
Methods inherited from class org.linuxforhealth.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class org.linuxforhealth.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Unique instance identifiers assigned to a device by the software, manufacturers, other organizations or owners. For example: handle ID.- Returns:
- An unmodifiable list containing immutable objects of type
Identifier
that may be empty.
-
getUdiDeviceIdentifier
public java.util.List<DeviceDefinition.UdiDeviceIdentifier> getUdiDeviceIdentifier()
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
DeviceDefinition.UdiDeviceIdentifier
that may be empty.
-
getManufacturer
public Element getManufacturer()
A name of the manufacturer.
-
getDeviceName
public java.util.List<DeviceDefinition.DeviceName> getDeviceName()
A name given to the device to identify it.- Returns:
- An unmodifiable list containing immutable objects of type
DeviceDefinition.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.
-
getType
public CodeableConcept getType()
What kind of device or device system this is.- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getSpecialization
public java.util.List<DeviceDefinition.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
DeviceDefinition.Specialization
that may be empty.
-
getVersion
public java.util.List<String> getVersion()
The available versions of the device, e.g., software versions.- Returns:
- An unmodifiable list containing immutable objects of type
String
that may be empty.
-
getSafety
public java.util.List<CodeableConcept> getSafety()
Safety characteristics of the device.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConcept
that may be empty.
-
getShelfLifeStorage
public java.util.List<ProductShelfLife> getShelfLifeStorage()
Shelf Life and storage information.- Returns:
- An unmodifiable list containing immutable objects of type
ProductShelfLife
that may be empty.
-
getPhysicalCharacteristics
public ProdCharacteristic getPhysicalCharacteristics()
Dimensions, color etc.- Returns:
- An immutable object of type
ProdCharacteristic
that may be null.
-
getLanguageCode
public java.util.List<CodeableConcept> getLanguageCode()
Language code for the human-readable text strings produced by the device (all supported).- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConcept
that may be empty.
-
getCapability
public java.util.List<DeviceDefinition.Capability> getCapability()
Device capabilities.- Returns:
- An unmodifiable list containing immutable objects of type
DeviceDefinition.Capability
that may be empty.
-
getProperty
public java.util.List<DeviceDefinition.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
DeviceDefinition.Property
that may be empty.
-
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.
-
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.
-
getOnlineInformation
public Uri getOnlineInformation()
Access to on-line information about the device.- 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.
-
getQuantity
public Quantity getQuantity()
The quantity of the device present in the packaging (e.g. the number of devices present in a pack, or the number of devices in the same package of the medicinal product).- Returns:
- An immutable object of type
Quantity
that may be null.
-
getParentDevice
public Reference getParentDevice()
The parent device it can be part of.- Returns:
- An immutable object of type
Reference
that may be null.
-
getMaterial
public java.util.List<DeviceDefinition.Material> getMaterial()
A substance used to create the material(s) of which the device is made.- Returns:
- An unmodifiable list containing immutable objects of type
DeviceDefinition.Material
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classDomainResource
-
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 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
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public DeviceDefinition.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 DeviceDefinition.Builder builder()
-
-