public enum CompartmentType extends Enum<CompartmentType>
| Enum Constant and Description |
|---|
DEVICE
The compartment definition is for the device compartment.
|
ENCOUNTER
The compartment definition is for the encounter compartment.
|
NULL
added to help the parsers
|
PATIENT
The compartment definition is for the patient compartment.
|
PRACTITIONER
The compartment definition is for the practitioner compartment.
|
RELATEDPERSON
The compartment definition is for the related-person compartment.
|
| Modifier and Type | Method and Description |
|---|---|
static CompartmentType |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static CompartmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompartmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompartmentType PATIENT
public static final CompartmentType ENCOUNTER
public static final CompartmentType RELATEDPERSON
public static final CompartmentType PRACTITIONER
public static final CompartmentType DEVICE
public static final CompartmentType NULL
public static CompartmentType[] values()
for (CompartmentType c : CompartmentType.values()) System.out.println(c);
public static CompartmentType 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 CompartmentType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2021 Health Level 7. All rights reserved.