Class Device.UdiCarrier

  • All Implemented Interfaces:
    Visitable
    Enclosing class:
    Device

    public static class Device.UdiCarrier
    extends BackboneElement
    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.
    • Method Detail

      • getDeviceIdentifier

        public String getDeviceIdentifier()
        The device identifier (DI) is a mandatory, fixed portion of a UDI that identifies the labeler and the specific version or model of a device.
        Returns:
        An immutable object of type String that may be null.
      • getIssuer

        public Uri getIssuer()
        Organization that is charged with issuing UDIs for devices. For example, the US FDA issuers include : 1) GS1: http://hl7.org/fhir/NamingSystem/gs1-di, 2) HIBCC: http://hl7.org/fhir/NamingSystem/hibcc-dI, 3) ICCBBA for blood containers: http://hl7.org/fhir/NamingSystem/iccbba-blood-di, 4) ICCBA for other devices: http://hl7.org/fhir/NamingSystem/iccbba-other-di.
        Returns:
        An immutable object of type Uri that may be null.
      • getJurisdiction

        public Uri getJurisdiction()
        The identity of the authoritative source for UDI generation within a jurisdiction. All UDIs are globally unique within a single namespace with the appropriate repository uri as the system. For example, UDIs of devices managed in the U.S. by the FDA, the value is http://hl7.org/fhir/NamingSystem/fda-udi.
        Returns:
        An immutable object of type Uri that may be null.
      • getCarrierAIDC

        public Base64Binary getCarrierAIDC()
        The full UDI carrier of the Automatic Identification and Data Capture (AIDC) technology representation of the barcode string as printed on the packaging of the device - e.g., a barcode or RFID. Because of limitations on character sets in XML and the need to round-trip JSON data through XML, AIDC Formats *SHALL* be base64 encoded.
        Returns:
        An immutable object of type Base64Binary that may be null.
      • getCarrierHRF

        public String getCarrierHRF()
        The full UDI carrier as the human readable form (HRF) representation of the barcode string as printed on the packaging of the device.
        Returns:
        An immutable object of type String that may be null.
      • getEntryType

        public UDIEntryType getEntryType()
        A coded entry to indicate how the data was entered.
        Returns:
        An immutable object of type UDIEntryType that may be null.
      • 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 interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object