Enum MediaModality
- java.lang.Object
-
- java.lang.Enum<MediaModality>
-
- org.hl7.fhir.r4.model.codesystems.MediaModality
-
- All Implemented Interfaces:
Serializable
,Comparable<MediaModality>
public enum MediaModality extends Enum<MediaModality>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIAGRAM
A diagram.FACE
A face scan used for identification purposesFAX
A digital record of a fax documentFINGERPRINT
A finger print scan used for identification purposesIRIS
An iris scan used for identification purposesNULL
added to help the parsersPALM
A palm scan used for identification purposesRETINA
A retinal image used for identification purposesSCAN
A digital scan of a document.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MediaModality
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static MediaModality
valueOf(String name)
Returns the enum constant of this type with the specified name.static MediaModality[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIAGRAM
public static final MediaModality DIAGRAM
A diagram. Often used in diagnostic reports
-
FAX
public static final MediaModality FAX
A digital record of a fax document
-
SCAN
public static final MediaModality SCAN
A digital scan of a document. This is reserved for when there is not enough metadata to create a document reference
-
RETINA
public static final MediaModality RETINA
A retinal image used for identification purposes
-
FINGERPRINT
public static final MediaModality FINGERPRINT
A finger print scan used for identification purposes
-
IRIS
public static final MediaModality IRIS
An iris scan used for identification purposes
-
PALM
public static final MediaModality PALM
A palm scan used for identification purposes
-
FACE
public static final MediaModality FACE
A face scan used for identification purposes
-
NULL
public static final MediaModality NULL
added to help the parsers
-
-
Method Detail
-
values
public static MediaModality[] 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 (MediaModality c : MediaModality.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MediaModality 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 MediaModality fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-