public enum MedicationRequestCategory extends Enum<MedicationRequestCategory>
| Enum Constant and Description |
|---|
COMMUNITY
Includes requests for medications to be administered or consumed by the patient in their home (this would include long term care or nursing homes, hospices, etc.).
|
DISCHARGE
Includes requests for medications created when the patient is being released from a facility.
|
INPATIENT
Includes requests for medications to be administered or consumed in an inpatient or acute care setting.
|
NULL
added to help the parsers
|
OUTPATIENT
Includes requests for medications to be administered or consumed in an outpatient setting (for example, Emergency Department, Outpatient Clinic, Outpatient Surgery, Doctor's office).
|
| Modifier and Type | Method and Description |
|---|---|
static MedicationRequestCategory |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static MedicationRequestCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MedicationRequestCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MedicationRequestCategory INPATIENT
public static final MedicationRequestCategory OUTPATIENT
public static final MedicationRequestCategory COMMUNITY
public static final MedicationRequestCategory DISCHARGE
public static final MedicationRequestCategory NULL
public static MedicationRequestCategory[] values()
for (MedicationRequestCategory c : MedicationRequestCategory.values()) System.out.println(c);
public static MedicationRequestCategory 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 MedicationRequestCategory 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.