Class Device.UdiCarrier
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.type.Element
-
- org.linuxforhealth.fhir.model.type.BackboneElement
-
- org.linuxforhealth.fhir.model.resource.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Device.UdiCarrier.Builder
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
modifierExtension
-
-
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 Device.UdiCarrier.Builder
builder()
boolean
equals(java.lang.Object obj)
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.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.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.UDIEntryType
getEntryType()
A coded entry to indicate how the data was entered.Uri
getIssuer()
Organization that is charged with issuing UDIs for devices.Uri
getJurisdiction()
The identity of the authoritative source for UDI generation within a jurisdiction.boolean
hasChildren()
int
hashCode()
Device.UdiCarrier.Builder
toBuilder()
Create a new Builder from the contents of this Element-
Methods inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
getModifierExtension
-
Methods inherited from class org.linuxforhealth.fhir.model.type.Element
as, getExtension, getId, hasValue, is
-
-
-
-
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.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classBackboneElement
-
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 Device.UdiCarrier.Builder toBuilder()
Description copied from class:Element
Create a new Builder from the contents of this Element- Specified by:
toBuilder
in classBackboneElement
-
builder
public static Device.UdiCarrier.Builder builder()
-
-