Enum PractitionerRole
- java.lang.Object
-
- java.lang.Enum<PractitionerRole>
-
- org.hl7.fhir.r4.model.codesystems.PractitionerRole
-
- All Implemented Interfaces:
Serializable,Comparable<PractitionerRole>
public enum PractitionerRole extends Enum<PractitionerRole>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOCTORA qualified/registered medical practitionerICTSomeone who is qualified in Information and Communication TechnologiesNULLadded to help the parsersNURSEA practitioner with nursing experience that may be qualified/registeredPHARMACISTA qualified/registered/licensed pharmacistRESEARCHERA practitioner that may perform researchTEACHERSomeone who is able to provide educational services
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PractitionerRolefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static PractitionerRolevalueOf(String name)Returns the enum constant of this type with the specified name.static PractitionerRole[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOCTOR
public static final PractitionerRole DOCTOR
A qualified/registered medical practitioner
-
NURSE
public static final PractitionerRole NURSE
A practitioner with nursing experience that may be qualified/registered
-
PHARMACIST
public static final PractitionerRole PHARMACIST
A qualified/registered/licensed pharmacist
-
RESEARCHER
public static final PractitionerRole RESEARCHER
A practitioner that may perform research
-
TEACHER
public static final PractitionerRole TEACHER
Someone who is able to provide educational services
-
ICT
public static final PractitionerRole ICT
Someone who is qualified in Information and Communication Technologies
-
NULL
public static final PractitionerRole NULL
added to help the parsers
-
-
Method Detail
-
values
public static PractitionerRole[] 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 (PractitionerRole c : PractitionerRole.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PractitionerRole 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 PractitionerRole fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-