public static enum GraphDefinition.CompartmentCode extends Enum<GraphDefinition.CompartmentCode>
| 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 with the generic types
|
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 GraphDefinition.CompartmentCode |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static GraphDefinition.CompartmentCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphDefinition.CompartmentCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphDefinition.CompartmentCode PATIENT
public static final GraphDefinition.CompartmentCode ENCOUNTER
public static final GraphDefinition.CompartmentCode RELATEDPERSON
public static final GraphDefinition.CompartmentCode PRACTITIONER
public static final GraphDefinition.CompartmentCode DEVICE
public static final GraphDefinition.CompartmentCode NULL
public static GraphDefinition.CompartmentCode[] values()
for (GraphDefinition.CompartmentCode c : GraphDefinition.CompartmentCode.values()) System.out.println(c);
public static GraphDefinition.CompartmentCode 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 GraphDefinition.CompartmentCode 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.