Package com.ibm.fhir.model.type.code
Class ActivityParticipantType
- 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.ActivityParticipantType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class ActivityParticipantType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActivityParticipantType.Builderstatic classActivityParticipantType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static ActivityParticipantTypeDEVICEDevicestatic ActivityParticipantTypePATIENTPatientstatic ActivityParticipantTypePRACTITIONERPractitionerstatic ActivityParticipantTypeRELATED_PERSONRelated Person
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActivityParticipantType.Builderbuilder()static Codecode(String value)Inherited factory method for creating ActivityParticipantType objects from a passed string value.booleanequals(Object obj)ActivityParticipantType.ValueSetgetValueAsEnumConstant()inthashCode()static ActivityParticipantTypeof(ActivityParticipantType.ValueSet value)Factory method for creating ActivityParticipantType objects from a passed enum value.static ActivityParticipantTypeof(String value)Factory method for creating ActivityParticipantType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating ActivityParticipantType objects from a passed string value.ActivityParticipantType.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
-
PATIENT
public static final ActivityParticipantType PATIENT
PatientThe participant is the patient under evaluation.
-
PRACTITIONER
public static final ActivityParticipantType PRACTITIONER
PractitionerThe participant is a practitioner involved in the patient's care.
-
RELATED_PERSON
public static final ActivityParticipantType RELATED_PERSON
Related PersonThe participant is a person related to the patient.
-
DEVICE
public static final ActivityParticipantType DEVICE
DeviceThe participant is a system or device used in the care of the patient.
-
-
Method Detail
-
getValueAsEnumConstant
public ActivityParticipantType.ValueSet getValueAsEnumConstant()
-
of
public static ActivityParticipantType of(ActivityParticipantType.ValueSet value)
Factory method for creating ActivityParticipantType objects from a passed enum value.
-
of
public static ActivityParticipantType of(String value)
Factory method for creating ActivityParticipantType 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 ActivityParticipantType 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 ActivityParticipantType 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 ActivityParticipantType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static ActivityParticipantType.Builder builder()
-
-