Enum SpecificationType
- java.lang.Object
-
- java.lang.Enum<SpecificationType>
-
- org.hl7.fhir.dstu3.model.codesystems.SpecificationType
-
- All Implemented Interfaces:
Serializable,Comparable<SpecificationType>
public enum SpecificationType extends Enum<SpecificationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIRMWAREREVISIONFirmware Revision - MDC_ID_PROD_SPEC_FWGMDNGMDN - MDC_ID_PROD_SPEC_GMDNHARDWAREREVISIONHardware Revision - MDC_ID_PROD_SPEC_HWNULLadded to help the parsersPARTNUMBERPart Number - MDC_ID_PROD_SPEC_PARTPROTOCOLREVISIONProtocol Revision - MDC_ID_PROD_SPEC_PROTOCOLSERIALNUMBERSerial Number - MDC_ID_PROD_SPEC_SERIALSOFTWAREREVISIONSoftware Revision - MDC_ID_PROD_SPEC_SWUNSPECIFIEDUnspecified Production Specification - MDC_ID_PROD_SPEC_UNSPECIFIED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SpecificationTypefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static SpecificationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SpecificationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final SpecificationType UNSPECIFIED
Unspecified Production Specification - MDC_ID_PROD_SPEC_UNSPECIFIED
-
SERIALNUMBER
public static final SpecificationType SERIALNUMBER
Serial Number - MDC_ID_PROD_SPEC_SERIAL
-
PARTNUMBER
public static final SpecificationType PARTNUMBER
Part Number - MDC_ID_PROD_SPEC_PART
-
HARDWAREREVISION
public static final SpecificationType HARDWAREREVISION
Hardware Revision - MDC_ID_PROD_SPEC_HW
-
SOFTWAREREVISION
public static final SpecificationType SOFTWAREREVISION
Software Revision - MDC_ID_PROD_SPEC_SW
-
FIRMWAREREVISION
public static final SpecificationType FIRMWAREREVISION
Firmware Revision - MDC_ID_PROD_SPEC_FW
-
PROTOCOLREVISION
public static final SpecificationType PROTOCOLREVISION
Protocol Revision - MDC_ID_PROD_SPEC_PROTOCOL
-
GMDN
public static final SpecificationType GMDN
GMDN - MDC_ID_PROD_SPEC_GMDN
-
NULL
public static final SpecificationType NULL
added to help the parsers
-
-
Method Detail
-
values
public static SpecificationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SpecificationType c : SpecificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpecificationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromCode
public static SpecificationType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-