Package org.hl7.fhir.dstu2016may.model
Enum Protocol.ProtocolType
- java.lang.Object
-
- java.lang.Enum<Protocol.ProtocolType>
-
- org.hl7.fhir.dstu2016may.model.Protocol.ProtocolType
-
- All Implemented Interfaces:
Serializable,Comparable<Protocol.ProtocolType>
- Enclosing class:
- Protocol
public static enum Protocol.ProtocolType extends Enum<Protocol.ProtocolType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONDITIONThe protocol describes the steps to manage a particular health condition including monitoring, treatment, mitigation and/or follow-upDEVICEThe protocol describes the appropriate use of a particular device (medical device, software, etc.)DRUGThe protocol describes the appropriate use of a particular medication including indications for use, dosages, treatment cycles, etc.NULLadded to help the parsersSTUDYThe protocol describes the set of steps to occur for study subjects enrolled in an interventional study
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Protocol.ProtocolTypefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Protocol.ProtocolTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Protocol.ProtocolType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONDITION
public static final Protocol.ProtocolType CONDITION
The protocol describes the steps to manage a particular health condition including monitoring, treatment, mitigation and/or follow-up
-
DEVICE
public static final Protocol.ProtocolType DEVICE
The protocol describes the appropriate use of a particular device (medical device, software, etc.)
-
DRUG
public static final Protocol.ProtocolType DRUG
The protocol describes the appropriate use of a particular medication including indications for use, dosages, treatment cycles, etc.
-
STUDY
public static final Protocol.ProtocolType STUDY
The protocol describes the set of steps to occur for study subjects enrolled in an interventional study
-
NULL
public static final Protocol.ProtocolType NULL
added to help the parsers
-
-
Method Detail
-
values
public static Protocol.ProtocolType[] 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 (Protocol.ProtocolType c : Protocol.ProtocolType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Protocol.ProtocolType 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 Protocol.ProtocolType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-