public static enum Consent.ConsentState extends Enum<Consent.ConsentState>
| Enum Constant and Description |
|---|
ACTIVE
The consent is to be followed and enforced.
|
DRAFT
The consent is in development or awaiting use but is not yet intended to be acted upon.
|
ENTEREDINERROR
The consent was created wrongly (e.g.
|
INACTIVE
The consent is terminated or replaced.
|
NULL
added to help the parsers with the generic types
|
PROPOSED
The consent has been proposed but not yet agreed to by all parties.
|
REJECTED
The consent has been rejected by one or more of the parties.
|
| Modifier and Type | Method and Description |
|---|---|
static Consent.ConsentState |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static Consent.ConsentState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Consent.ConsentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Consent.ConsentState DRAFT
public static final Consent.ConsentState PROPOSED
public static final Consent.ConsentState ACTIVE
public static final Consent.ConsentState REJECTED
public static final Consent.ConsentState INACTIVE
public static final Consent.ConsentState ENTEREDINERROR
public static final Consent.ConsentState NULL
public static Consent.ConsentState[] values()
for (Consent.ConsentState c : Consent.ConsentState.values()) System.out.println(c);
public static Consent.ConsentState 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 Consent.ConsentState 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.