Package com.ibm.fhir.model.type.code
Class GroupType
- 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.GroupType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class GroupType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupType.Builderstatic classGroupType.ValueSet
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupType.Builderbuilder()static Codecode(String value)Inherited factory method for creating GroupType objects from a passed string value.booleanequals(Object obj)GroupType.ValueSetgetValueAsEnumConstant()inthashCode()static GroupTypeof(GroupType.ValueSet value)Factory method for creating GroupType objects from a passed enum value.static GroupTypeof(String value)Factory method for creating GroupType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating GroupType objects from a passed string value.GroupType.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
-
PERSON
public static final GroupType PERSON
PersonGroup contains "person" Patient resources.
-
ANIMAL
public static final GroupType ANIMAL
AnimalGroup contains "animal" Patient resources.
-
PRACTITIONER
public static final GroupType PRACTITIONER
PractitionerGroup contains healthcare practitioner resources (Practitioner or PractitionerRole).
-
DEVICE
public static final GroupType DEVICE
DeviceGroup contains Device resources.
-
MEDICATION
public static final GroupType MEDICATION
MedicationGroup contains Medication resources.
-
SUBSTANCE
public static final GroupType SUBSTANCE
SubstanceGroup contains Substance resources.
-
-
Method Detail
-
getValueAsEnumConstant
public GroupType.ValueSet getValueAsEnumConstant()
-
of
public static GroupType of(GroupType.ValueSet value)
Factory method for creating GroupType objects from a passed enum value.
-
of
public static GroupType of(String value)
Factory method for creating GroupType 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 GroupType 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 GroupType 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 GroupType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static GroupType.Builder builder()
-
-