public static enum ElementDefinition.ConstraintSeverity extends Enum<ElementDefinition.ConstraintSeverity>
| Enum Constant and Description |
|---|
ERROR
If the constraint is violated, the resource is not conformant.
|
NULL
added to help the parsers with the generic types
|
WARNING
If the constraint is violated, the resource is conformant, but it is not necessarily following best practice.
|
| Modifier and Type | Method and Description |
|---|---|
static ElementDefinition.ConstraintSeverity |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static ElementDefinition.ConstraintSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElementDefinition.ConstraintSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElementDefinition.ConstraintSeverity ERROR
public static final ElementDefinition.ConstraintSeverity WARNING
public static final ElementDefinition.ConstraintSeverity NULL
public static ElementDefinition.ConstraintSeverity[] values()
for (ElementDefinition.ConstraintSeverity c : ElementDefinition.ConstraintSeverity.values()) System.out.println(c);
public static ElementDefinition.ConstraintSeverity 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 ElementDefinition.ConstraintSeverity 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.