Class DeviceDefinition.Builder

    • Method Detail

      • id

        public DeviceDefinition.Builder id​(String id)
        The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
        Overrides:
        id in class DomainResource.Builder
        Parameters:
        id - Logical id of this artifact
        Returns:
        A reference to this Builder instance
      • meta

        public DeviceDefinition.Builder meta​(Meta meta)
        The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
        Overrides:
        meta in class DomainResource.Builder
        Parameters:
        meta - Metadata about the resource
        Returns:
        A reference to this Builder instance
      • implicitRules

        public DeviceDefinition.Builder implicitRules​(Uri implicitRules)
        A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
        Overrides:
        implicitRules in class DomainResource.Builder
        Parameters:
        implicitRules - A set of rules under which this content was created
        Returns:
        A reference to this Builder instance
      • text

        public DeviceDefinition.Builder text​(Narrative text)
        A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
        Overrides:
        text in class DomainResource.Builder
        Parameters:
        text - Text summary of the resource, for human interpretation
        Returns:
        A reference to this Builder instance
      • contained

        public DeviceDefinition.Builder contained​(Resource... contained)
        These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.

        Adds new element(s) to the existing list

        Overrides:
        contained in class DomainResource.Builder
        Parameters:
        contained - Contained, inline Resources
        Returns:
        A reference to this Builder instance
      • contained

        public DeviceDefinition.Builder contained​(Collection<Resource> contained)
        These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.

        Replaces the existing list with a new one containing elements from the Collection

        Overrides:
        contained in class DomainResource.Builder
        Parameters:
        contained - Contained, inline Resources
        Returns:
        A reference to this Builder instance
      • extension

        public DeviceDefinition.Builder extension​(Extension... extension)
        May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

        Adds new element(s) to the existing list

        Overrides:
        extension in class DomainResource.Builder
        Parameters:
        extension - Additional content defined by implementations
        Returns:
        A reference to this Builder instance
      • extension

        public DeviceDefinition.Builder extension​(Collection<Extension> extension)
        May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

        Replaces the existing list with a new one containing elements from the Collection

        Overrides:
        extension in class DomainResource.Builder
        Parameters:
        extension - Additional content defined by implementations
        Returns:
        A reference to this Builder instance
      • modifierExtension

        public DeviceDefinition.Builder modifierExtension​(Extension... modifierExtension)
        May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

        Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

        Adds new element(s) to the existing list

        Overrides:
        modifierExtension in class DomainResource.Builder
        Parameters:
        modifierExtension - Extensions that cannot be ignored
        Returns:
        A reference to this Builder instance
      • modifierExtension

        public DeviceDefinition.Builder modifierExtension​(Collection<Extension> modifierExtension)
        May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

        Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

        Replaces the existing list with a new one containing elements from the Collection

        Overrides:
        modifierExtension in class DomainResource.Builder
        Parameters:
        modifierExtension - Extensions that cannot be ignored
        Returns:
        A reference to this Builder instance
      • identifier

        public DeviceDefinition.Builder identifier​(Identifier... identifier)
        Unique instance identifiers assigned to a device by the software, manufacturers, other organizations or owners. For example: handle ID.

        Adds new element(s) to the existing list

        Parameters:
        identifier - Instance identifier
        Returns:
        A reference to this Builder instance
      • identifier

        public DeviceDefinition.Builder identifier​(Collection<Identifier> identifier)
        Unique instance identifiers assigned to a device by the software, manufacturers, other organizations or owners. For example: handle ID.

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        identifier - Instance identifier
        Returns:
        A reference to this Builder instance
      • udiDeviceIdentifier

        public DeviceDefinition.Builder udiDeviceIdentifier​(DeviceDefinition.UdiDeviceIdentifier... udiDeviceIdentifier)
        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.

        Adds new element(s) to the existing list

        Parameters:
        udiDeviceIdentifier - Unique Device Identifier (UDI) Barcode string
        Returns:
        A reference to this Builder instance
      • udiDeviceIdentifier

        public DeviceDefinition.Builder udiDeviceIdentifier​(Collection<DeviceDefinition.UdiDeviceIdentifier> udiDeviceIdentifier)
        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.

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        udiDeviceIdentifier - Unique Device Identifier (UDI) Barcode string
        Returns:
        A reference to this Builder instance
      • manufacturer

        public DeviceDefinition.Builder manufacturer​(Element manufacturer)
        A name of the manufacturer.

        This is a choice element with the following allowed types:

        Parameters:
        manufacturer - Name of device manufacturer
        Returns:
        A reference to this Builder instance
      • deviceName

        public DeviceDefinition.Builder deviceName​(DeviceDefinition.DeviceName... deviceName)
        A name given to the device to identify it.

        Adds new element(s) to the existing list

        Parameters:
        deviceName - A name given to the device to identify it
        Returns:
        A reference to this Builder instance
      • deviceName

        public DeviceDefinition.Builder deviceName​(Collection<DeviceDefinition.DeviceName> deviceName)
        A name given to the device to identify it.

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        deviceName - A name given to the device to identify it
        Returns:
        A reference to this Builder instance
      • modelNumber

        public DeviceDefinition.Builder modelNumber​(String modelNumber)
        The model number for the device.
        Parameters:
        modelNumber - The model number for the device
        Returns:
        A reference to this Builder instance
      • type

        public DeviceDefinition.Builder type​(CodeableConcept type)
        What kind of device or device system this is.
        Parameters:
        type - What kind of device or device system this is
        Returns:
        A reference to this Builder instance
      • specialization

        public DeviceDefinition.Builder specialization​(DeviceDefinition.Specialization... specialization)
        The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication.

        Adds new element(s) to the existing list

        Parameters:
        specialization - The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication
        Returns:
        A reference to this Builder instance
      • specialization

        public DeviceDefinition.Builder specialization​(Collection<DeviceDefinition.Specialization> specialization)
        The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication.

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        specialization - The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication
        Returns:
        A reference to this Builder instance
      • version

        public DeviceDefinition.Builder version​(String... version)
        The available versions of the device, e.g., software versions.

        Adds new element(s) to the existing list

        Parameters:
        version - Available versions
        Returns:
        A reference to this Builder instance
      • version

        public DeviceDefinition.Builder version​(Collection<String> version)
        The available versions of the device, e.g., software versions.

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        version - Available versions
        Returns:
        A reference to this Builder instance
      • safety

        public DeviceDefinition.Builder safety​(CodeableConcept... safety)
        Safety characteristics of the device.

        Adds new element(s) to the existing list

        Parameters:
        safety - Safety characteristics of the device
        Returns:
        A reference to this Builder instance
      • safety

        public DeviceDefinition.Builder safety​(Collection<CodeableConcept> safety)
        Safety characteristics of the device.

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        safety - Safety characteristics of the device
        Returns:
        A reference to this Builder instance
      • shelfLifeStorage

        public DeviceDefinition.Builder shelfLifeStorage​(ProductShelfLife... shelfLifeStorage)
        Shelf Life and storage information.

        Adds new element(s) to the existing list

        Parameters:
        shelfLifeStorage - Shelf Life and storage information
        Returns:
        A reference to this Builder instance
      • shelfLifeStorage

        public DeviceDefinition.Builder shelfLifeStorage​(Collection<ProductShelfLife> shelfLifeStorage)
        Shelf Life and storage information.

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        shelfLifeStorage - Shelf Life and storage information
        Returns:
        A reference to this Builder instance
      • physicalCharacteristics

        public DeviceDefinition.Builder physicalCharacteristics​(ProdCharacteristic physicalCharacteristics)
        Dimensions, color etc.
        Parameters:
        physicalCharacteristics - Dimensions, color etc.
        Returns:
        A reference to this Builder instance
      • languageCode

        public DeviceDefinition.Builder languageCode​(CodeableConcept... languageCode)
        Language code for the human-readable text strings produced by the device (all supported).

        Adds new element(s) to the existing list

        Parameters:
        languageCode - Language code for the human-readable text strings produced by the device (all supported)
        Returns:
        A reference to this Builder instance
      • languageCode

        public DeviceDefinition.Builder languageCode​(Collection<CodeableConcept> languageCode)
        Language code for the human-readable text strings produced by the device (all supported).

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        languageCode - Language code for the human-readable text strings produced by the device (all supported)
        Returns:
        A reference to this Builder instance
      • capability

        public DeviceDefinition.Builder capability​(DeviceDefinition.Capability... capability)
        Device capabilities.

        Adds new element(s) to the existing list

        Parameters:
        capability - Device capabilities
        Returns:
        A reference to this Builder instance
      • capability

        public DeviceDefinition.Builder capability​(Collection<DeviceDefinition.Capability> capability)
        Device capabilities.

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        capability - Device capabilities
        Returns:
        A reference to this Builder instance
      • property

        public DeviceDefinition.Builder property​(DeviceDefinition.Property... property)
        The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.

        Adds new element(s) to the existing list

        Parameters:
        property - The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties
        Returns:
        A reference to this Builder instance
      • property

        public DeviceDefinition.Builder property​(Collection<DeviceDefinition.Property> property)
        The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        property - The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties
        Returns:
        A reference to this Builder instance
      • owner

        public DeviceDefinition.Builder owner​(Reference owner)
        An organization that is responsible for the provision and ongoing maintenance of the device.

        Allowed resource types for this reference:

        Parameters:
        owner - Organization responsible for device
        Returns:
        A reference to this Builder instance
      • contact

        public DeviceDefinition.Builder contact​(ContactPoint... contact)
        Contact details for an organization or a particular human that is responsible for the device.

        Adds new element(s) to the existing list

        Parameters:
        contact - Details for human/organization for support
        Returns:
        A reference to this Builder instance
      • contact

        public DeviceDefinition.Builder contact​(Collection<ContactPoint> contact)
        Contact details for an organization or a particular human that is responsible for the device.

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        contact - Details for human/organization for support
        Returns:
        A reference to this Builder instance
      • url

        public DeviceDefinition.Builder url​(Uri url)
        A network address on which the device may be contacted directly.
        Parameters:
        url - Network address to contact device
        Returns:
        A reference to this Builder instance
      • onlineInformation

        public DeviceDefinition.Builder onlineInformation​(Uri onlineInformation)
        Access to on-line information about the device.
        Parameters:
        onlineInformation - Access to on-line information
        Returns:
        A reference to this Builder instance
      • note

        public DeviceDefinition.Builder note​(Annotation... note)
        Descriptive information, usage information or implantation information that is not captured in an existing element.

        Adds new element(s) to the existing list

        Parameters:
        note - Device notes and comments
        Returns:
        A reference to this Builder instance
      • note

        public DeviceDefinition.Builder note​(Collection<Annotation> note)
        Descriptive information, usage information or implantation information that is not captured in an existing element.

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        note - Device notes and comments
        Returns:
        A reference to this Builder instance
      • quantity

        public DeviceDefinition.Builder quantity​(Quantity quantity)
        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).
        Parameters:
        quantity - 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:
        A reference to this Builder instance
      • parentDevice

        public DeviceDefinition.Builder parentDevice​(Reference parentDevice)
        The parent device it can be part of.

        Allowed resource types for this reference:

        Parameters:
        parentDevice - The parent device it can be part of
        Returns:
        A reference to this Builder instance
      • material

        public DeviceDefinition.Builder material​(DeviceDefinition.Material... material)
        A substance used to create the material(s) of which the device is made.

        Adds new element(s) to the existing list

        Parameters:
        material - A substance used to create the material(s) of which the device is made
        Returns:
        A reference to this Builder instance
      • material

        public DeviceDefinition.Builder material​(Collection<DeviceDefinition.Material> material)
        A substance used to create the material(s) of which the device is made.

        Replaces the existing list with a new one containing elements from the Collection

        Parameters:
        material - A substance used to create the material(s) of which the device is made
        Returns:
        A reference to this Builder instance