Package com.ibm.fhir.model.resource
Class DeviceDefinition
- 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.DeviceDefinition
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class DeviceDefinition extends DomainResource
The characteristics, operational status and capabilities of a medical-related component of a medical device.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceDefinition.Builderstatic classDeviceDefinition.CapabilityDevice capabilities.static classDeviceDefinition.DeviceNameA name given to the device to identify it.static classDeviceDefinition.MaterialA substance used to create the material(s) of which the device is made.static classDeviceDefinition.PropertyThe actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.static classDeviceDefinition.SpecializationThe capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication.static classDeviceDefinition.UdiDeviceIdentifierUnique device identifier (UDI) assigned to device label or package.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class com.ibm.fhir.model.resource.Resource
id, implicitRules, language, meta
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static DeviceDefinition.Builderbuilder()booleanequals(Object obj)List<DeviceDefinition.Capability>getCapability()Device capabilities.List<ContactPoint>getContact()Contact details for an organization or a particular human that is responsible for the device.List<DeviceDefinition.DeviceName>getDeviceName()A name given to the device to identify it.List<Identifier>getIdentifier()Unique instance identifiers assigned to a device by the software, manufacturers, other organizations or owners.List<CodeableConcept>getLanguageCode()Language code for the human-readable text strings produced by the device (all supported).ElementgetManufacturer()A name of the manufacturer.List<DeviceDefinition.Material>getMaterial()A substance used to create the material(s) of which the device is made.StringgetModelNumber()The model number for the device.List<Annotation>getNote()Descriptive information, usage information or implantation information that is not captured in an existing element.UrigetOnlineInformation()Access to on-line information about the device.ReferencegetOwner()An organization that is responsible for the provision and ongoing maintenance of the device.ReferencegetParentDevice()The parent device it can be part of.ProdCharacteristicgetPhysicalCharacteristics()Dimensions, color etc.List<DeviceDefinition.Property>getProperty()The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.QuantitygetQuantity()The quantity of the device present in the packaging (e.g.List<CodeableConcept>getSafety()Safety characteristics of the device.List<ProductShelfLife>getShelfLifeStorage()Shelf Life and storage information.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.CodeableConceptgetType()What kind of device or device system this is.List<DeviceDefinition.UdiDeviceIdentifier>getUdiDeviceIdentifier()Unique device identifier (UDI) assigned to device label or package.UrigetUrl()A network address on which the device may be contacted directly.List<String>getVersion()The available versions of the device, e.g., software versions.booleanhasChildren()inthashCode()DeviceDefinition.BuildertoBuilder()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 the software, manufacturers, other organizations or owners. For example: handle ID.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getUdiDeviceIdentifier
public 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.UdiDeviceIdentifierthat may be empty.
-
getManufacturer
public Element getManufacturer()
A name of the manufacturer.- Returns:
- An immutable object of type
Elementthat may be null.
-
getDeviceName
public List<DeviceDefinition.DeviceName> getDeviceName()
A name given to the device to identify it.- Returns:
- An unmodifiable list containing immutable objects of type
DeviceDefinition.DeviceNamethat may be empty.
-
getModelNumber
public String getModelNumber()
The model number for the device.- Returns:
- An immutable object of type
Stringthat may be null.
-
getType
public CodeableConcept getType()
What kind of device or device system this is.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getSpecialization
public 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.Specializationthat may be empty.
-
getVersion
public List<String> getVersion()
The available versions of the device, e.g., software versions.- Returns:
- An unmodifiable list containing immutable objects of type
Stringthat may be empty.
-
getSafety
public List<CodeableConcept> getSafety()
Safety characteristics of the device.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getShelfLifeStorage
public List<ProductShelfLife> getShelfLifeStorage()
Shelf Life and storage information.- Returns:
- An unmodifiable list containing immutable objects of type
ProductShelfLifethat may be empty.
-
getPhysicalCharacteristics
public ProdCharacteristic getPhysicalCharacteristics()
Dimensions, color etc.- Returns:
- An immutable object of type
ProdCharacteristicthat may be null.
-
getLanguageCode
public 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
CodeableConceptthat may be empty.
-
getCapability
public List<DeviceDefinition.Capability> getCapability()
Device capabilities.- Returns:
- An unmodifiable list containing immutable objects of type
DeviceDefinition.Capabilitythat may be empty.
-
getProperty
public 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.Propertythat 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
Referencethat 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
ContactPointthat may be empty.
-
getUrl
public Uri getUrl()
A network address on which the device may be contacted directly.- Returns:
- An immutable object of type
Urithat may be null.
-
getOnlineInformation
public Uri getOnlineInformation()
Access to on-line information about the device.- Returns:
- An immutable object of type
Urithat 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
Annotationthat 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
Quantitythat may be null.
-
getParentDevice
public Reference getParentDevice()
The parent device it can be part of.- Returns:
- An immutable object of type
Referencethat may be null.
-
getMaterial
public 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.Materialthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept 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:
acceptin interfaceVisitable- Specified by:
acceptin 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 DeviceDefinition.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static DeviceDefinition.Builder builder()
-
-