Package com.ibm.fhir.model.type.code
Class ServiceRequestPriority
- 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.ServiceRequestPriority
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class ServiceRequestPriority extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceRequestPriority.Builderstatic classServiceRequestPriority.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static ServiceRequestPriorityASAPASAPstatic ServiceRequestPriorityROUTINERoutinestatic ServiceRequestPrioritySTATSTATstatic ServiceRequestPriorityURGENTUrgent
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceRequestPriority.Builderbuilder()static Codecode(String value)Inherited factory method for creating ServiceRequestPriority objects from a passed string value.booleanequals(Object obj)ServiceRequestPriority.ValueSetgetValueAsEnumConstant()inthashCode()static ServiceRequestPriorityof(ServiceRequestPriority.ValueSet value)Factory method for creating ServiceRequestPriority objects from a passed enum value.static ServiceRequestPriorityof(String value)Factory method for creating ServiceRequestPriority objects from a passed string value.static Stringstring(String value)Inherited factory method for creating ServiceRequestPriority objects from a passed string value.ServiceRequestPriority.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
-
ROUTINE
public static final ServiceRequestPriority ROUTINE
RoutineThe request has normal priority.
-
URGENT
public static final ServiceRequestPriority URGENT
UrgentThe request should be actioned promptly - higher priority than routine.
-
ASAP
public static final ServiceRequestPriority ASAP
ASAPThe request should be actioned as soon as possible - higher priority than urgent.
-
STAT
public static final ServiceRequestPriority STAT
STATThe request should be actioned immediately - highest possible priority. E.g. an emergency.
-
-
Method Detail
-
getValueAsEnumConstant
public ServiceRequestPriority.ValueSet getValueAsEnumConstant()
-
of
public static ServiceRequestPriority of(ServiceRequestPriority.ValueSet value)
Factory method for creating ServiceRequestPriority objects from a passed enum value.
-
of
public static ServiceRequestPriority of(String value)
Factory method for creating ServiceRequestPriority 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 ServiceRequestPriority 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 ServiceRequestPriority 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 ServiceRequestPriority.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static ServiceRequestPriority.Builder builder()
-
-