public enum ConsentStateCodes extends Enum<ConsentStateCodes>
| 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
|
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 ConsentStateCodes |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static ConsentStateCodes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsentStateCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsentStateCodes DRAFT
public static final ConsentStateCodes PROPOSED
public static final ConsentStateCodes ACTIVE
public static final ConsentStateCodes REJECTED
public static final ConsentStateCodes INACTIVE
public static final ConsentStateCodes ENTEREDINERROR
public static final ConsentStateCodes NULL
public static ConsentStateCodes[] values()
for (ConsentStateCodes c : ConsentStateCodes.values()) System.out.println(c);
public static ConsentStateCodes 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 ConsentStateCodes 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.