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