Enum UsageContextType
- java.lang.Object
-
- java.lang.Enum<UsageContextType>
-
- org.hl7.fhir.r4.model.codesystems.UsageContextType
-
- All Implemented Interfaces:
Serializable,Comparable<UsageContextType>
public enum UsageContextType extends Enum<UsageContextType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGEThe age of the patient.FOCUSThe clinical concept(s) addressed by the artifact.GENDERThe gender of the patient.NULLadded to help the parsersPROGRAMA program/project of work for which this artifact is applicable.SPECIESThe species to which an artifact applies.TASKThe context for the clinical task(s) represented by this artifact.USERThe clinical specialty of the context in which the patient is being treated - For example, PCP, Patient, Cardiologist, Behavioral Professional, Oral Health Professional, Prescriber, etc...VENUEThe venue in which an artifact could be used.WORKFLOWThe settings in which the artifact is intended for use.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsageContextTypefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static UsageContextTypevalueOf(String name)Returns the enum constant of this type with the specified name.static UsageContextType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENDER
public static final UsageContextType GENDER
The gender of the patient. For this context type, appropriate values can be found in the http://hl7.org/fhir/ValueSet/administrative-gender value set.
-
AGE
public static final UsageContextType AGE
The age of the patient. For this context type, the value could be a range that specifies the applicable ages or a code from an appropriate value set such as the MeSH value set http://terminology.hl7.org/ValueSet/v3-AgeGroupObservationValue.
-
FOCUS
public static final UsageContextType FOCUS
The clinical concept(s) addressed by the artifact. For example, disease, diagnostic test interpretation, medication ordering as in http://hl7.org/fhir/ValueSet/condition-code.
-
USER
public static final UsageContextType USER
The clinical specialty of the context in which the patient is being treated - For example, PCP, Patient, Cardiologist, Behavioral Professional, Oral Health Professional, Prescriber, etc... taken from a specialty value set such as the NUCC Health Care provider taxonomy value set http://hl7.org/fhir/ValueSet/provider-taxonomy.
-
WORKFLOW
public static final UsageContextType WORKFLOW
The settings in which the artifact is intended for use. For example, admission, pre-op, etc. For example, the ActEncounterCode value set http://terminology.hl7.org/ValueSet/v3-ActEncounterCode.
-
TASK
public static final UsageContextType TASK
The context for the clinical task(s) represented by this artifact. For example, this could be any task context represented by the HL7 ActTaskCode value set http://terminology.hl7.org/ValueSet/v3-ActTaskCode. General categories include: order entry, patient documentation and patient information review.
-
VENUE
public static final UsageContextType VENUE
The venue in which an artifact could be used. For example, Outpatient, Inpatient, Home, Nursing home. The code value may originate from the HL7 ServiceDeliveryLocationRoleType value set (http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType).
-
SPECIES
public static final UsageContextType SPECIES
The species to which an artifact applies. For example, SNOMED - 387961004 | Kingdom Animalia (organism).
-
PROGRAM
public static final UsageContextType PROGRAM
A program/project of work for which this artifact is applicable.
-
NULL
public static final UsageContextType NULL
added to help the parsers
-
-
Method Detail
-
values
public static UsageContextType[] 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 (UsageContextType c : UsageContextType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UsageContextType 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 UsageContextType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-