Package com.ibm.fhir.model.type.code
Class DeviceNameType
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.DeviceNameType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class DeviceNameType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceNameType.Builderstatic classDeviceNameType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static DeviceNameTypeMANUFACTURER_NAMEManufacturer namestatic DeviceNameTypeMODEL_NAMEModel namestatic DeviceNameTypeOTHERotherstatic DeviceNameTypePATIENT_REPORTED_NAMEPatient Reported namestatic DeviceNameTypeUDI_LABEL_NAMEUDI Label namestatic DeviceNameTypeUSER_FRIENDLY_NAMEUser Friendly name
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceNameType.Builderbuilder()static Codecode(String value)Inherited factory method for creating DeviceNameType objects from a passed string value.booleanequals(Object obj)DeviceNameType.ValueSetgetValueAsEnumConstant()inthashCode()static DeviceNameTypeof(DeviceNameType.ValueSet value)Factory method for creating DeviceNameType objects from a passed enum value.static DeviceNameTypeof(String value)Factory method for creating DeviceNameType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating DeviceNameType objects from a passed string value.DeviceNameType.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
UDI_LABEL_NAME
public static final DeviceNameType UDI_LABEL_NAME
UDI Label nameUDI Label name.
-
USER_FRIENDLY_NAME
public static final DeviceNameType USER_FRIENDLY_NAME
User Friendly nameUser Friendly name.
-
PATIENT_REPORTED_NAME
public static final DeviceNameType PATIENT_REPORTED_NAME
Patient Reported namePatient Reported name.
-
MANUFACTURER_NAME
public static final DeviceNameType MANUFACTURER_NAME
Manufacturer nameManufacturer name.
-
MODEL_NAME
public static final DeviceNameType MODEL_NAME
Model nameModel name.
-
OTHER
public static final DeviceNameType OTHER
otherother.
-
-
Method Detail
-
getValueAsEnumConstant
public DeviceNameType.ValueSet getValueAsEnumConstant()
-
of
public static DeviceNameType of(DeviceNameType.ValueSet value)
Factory method for creating DeviceNameType objects from a passed enum value.
-
of
public static DeviceNameType of(String value)
Factory method for creating DeviceNameType objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
string
public static String string(String value)
Inherited factory method for creating DeviceNameType objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
code
public static Code code(String value)
Inherited factory method for creating DeviceNameType objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
toBuilder
public DeviceNameType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static DeviceNameType.Builder builder()
-
-