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 DomainResourceA 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 classDevice.Builderstatic classDevice.DeviceNameThis 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 classDevice.PropertyThe actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.static classDevice.SpecializationThe capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication.static classDevice.UdiCarrierUnique device identifier (UDI) assigned to device label or package.static classDevice.VersionThe 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 voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static Device.Builderbuilder()booleanequals(java.lang.Object obj)java.util.List<ContactPoint>getContact()Contact details for an organization or a particular human that is responsible for the device.ReferencegetDefinition()The reference to the definition for the device.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.StringgetDistinctIdentifier()The distinct identification string as required by regulation for a human cell, tissue, or cellular and tissue-based product.DateTimegetExpirationDate()The date and time beyond which this device is no longer valid or should not be used (if applicable).java.util.List<Identifier>getIdentifier()Unique instance identifiers assigned to a device by manufacturers other organizations or owners.ReferencegetLocation()The place where the device can be found.StringgetLotNumber()Lot number assigned by the manufacturer.DateTimegetManufactureDate()The date and time when the device was manufactured.StringgetManufacturer()A name of the manufacturer.StringgetModelNumber()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.ReferencegetOwner()An organization that is responsible for the provision and ongoing maintenance of the device.ReferencegetParent()The parent device.StringgetPartNumber()The part number of the device.ReferencegetPatient()Patient information, If the device is affixed to a person.java.util.List<Device.Property>getProperty()The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.java.util.List<CodeableConcept>getSafety()Provides additional safety characteristics about a medical device.StringgetSerialNumber()The serial number assigned by the organization when the device was manufactured.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.FHIRDeviceStatusgetStatus()Status of the Device availability.java.util.List<CodeableConcept>getStatusReason()Reason for the dtatus of the Device availability.CodeableConceptgetType()The kind or type of device.java.util.List<Device.UdiCarrier>getUdiCarrier()Unique device identifier (UDI) assigned to device label or package.UrigetUrl()A network address on which the device may be contacted directly.java.util.List<Device.Version>getVersion()The actual design of the device or software version running on the device.booleanhasChildren()inthashCode()Device.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 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
Identifierthat may be empty.
-
getDefinition
public Reference getDefinition()
The reference to the definition for the device.- Returns:
- An immutable object of type
Referencethat 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.UdiCarrierthat may be empty.
-
getStatus
public FHIRDeviceStatus getStatus()
Status of the Device availability.- Returns:
- An immutable object of type
FHIRDeviceStatusthat may be null.
-
getStatusReason
public java.util.List<CodeableConcept> getStatusReason()
Reason for the dtatus of the Device availability.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat 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
Stringthat may be null.
-
getManufacturer
public String getManufacturer()
A name of the manufacturer.- Returns:
- An immutable object of type
Stringthat may be null.
-
getManufactureDate
public DateTime getManufactureDate()
The date and time when the device was manufactured.- Returns:
- An immutable object of type
DateTimethat 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
DateTimethat may be null.
-
getLotNumber
public String getLotNumber()
Lot number assigned by the manufacturer.- Returns:
- An immutable object of type
Stringthat 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
Stringthat 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.DeviceNamethat may be empty.
-
getModelNumber
public String getModelNumber()
The model number for the device.- Returns:
- An immutable object of type
Stringthat may be null.
-
getPartNumber
public String getPartNumber()
The part number of the device.- Returns:
- An immutable object of type
Stringthat may be null.
-
getType
public CodeableConcept getType()
The kind or type of device.- Returns:
- An immutable object of type
CodeableConceptthat 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.Specializationthat 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.Versionthat 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.Propertythat may be empty.
-
getPatient
public Reference getPatient()
Patient information, If the device is affixed to a person.- Returns:
- An immutable object of type
Referencethat 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
Referencethat 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
ContactPointthat may be empty.
-
getLocation
public Reference getLocation()
The place where the device can be found.- Returns:
- An immutable object of type
Referencethat may be null.
-
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.
-
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
Annotationthat 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
CodeableConceptthat may be empty.
-
getParent
public Reference getParent()
The parent device.- Returns:
- An immutable object of type
Referencethat may be null.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(java.lang.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
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toBuilder
public Device.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static Device.Builder builder()
-
-