public enum CourseOfTherapy extends Enum<CourseOfTherapy>
| Enum Constant and Description |
|---|
ACUTE
A medication which the patient is only expected to consume for the duration of the current order and which is not expected to be renewed.
|
CONTINUOUS
A medication which is expected to be continued beyond the present order and which the patient should be assumed to be taking unless explicitly stopped.
|
NULL
added to help the parsers
|
SEASONAL
A medication which is expected to be used on a part time basis at certain times of the year.
|
| Modifier and Type | Method and Description |
|---|---|
static CourseOfTherapy |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static CourseOfTherapy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CourseOfTherapy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CourseOfTherapy CONTINUOUS
public static final CourseOfTherapy ACUTE
public static final CourseOfTherapy SEASONAL
public static final CourseOfTherapy NULL
public static CourseOfTherapy[] values()
for (CourseOfTherapy c : CourseOfTherapy.values()) System.out.println(c);
public static CourseOfTherapy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static CourseOfTherapy fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2018 University Health Network. All rights reserved.