public enum PatientContactRelationship extends Enum<PatientContactRelationship>
| Enum Constant and Description |
|---|
AGENT
Contact that acts on behalf of the patient
|
CAREGIVER
(Non)professional caregiver
|
EMERGENCY
Contact for use in case of emergency.
|
FAMILY
null
|
FRIEND
null
|
GUARANTOR
Contact for financial matters
|
GUARDIAN
null
|
NULL
added to help the parsers
|
OWNER
For animals, the owner of the animal
|
PARENT
Parent of the patient
|
PARTNER
null
|
WORK
Contact for matters related to the patients occupation/employment.
|
| Modifier and Type | Method and Description |
|---|---|
static PatientContactRelationship |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static PatientContactRelationship |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatientContactRelationship[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatientContactRelationship EMERGENCY
public static final PatientContactRelationship FAMILY
public static final PatientContactRelationship GUARDIAN
public static final PatientContactRelationship FRIEND
public static final PatientContactRelationship PARTNER
public static final PatientContactRelationship WORK
public static final PatientContactRelationship CAREGIVER
public static final PatientContactRelationship AGENT
public static final PatientContactRelationship GUARANTOR
public static final PatientContactRelationship OWNER
public static final PatientContactRelationship PARENT
public static final PatientContactRelationship NULL
public static PatientContactRelationship[] values()
for (PatientContactRelationship c : PatientContactRelationship.values()) System.out.println(c);
public static PatientContactRelationship 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 PatientContactRelationship fromCode(String codeString) throws Exception
Exceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2018 University Health Network. All rights reserved.