encode static method

Implementation

static String encode(ShareAllPatientDataOptionsShareableEntity value) {
	switch (value) {
		case ShareAllPatientDataOptionsShareableEntity.calendarItem:
			return 'CalendarItem';
		case ShareAllPatientDataOptionsShareableEntity.contact:
			return 'Contact';
		case ShareAllPatientDataOptionsShareableEntity.classification:
			return 'Classification';
		case ShareAllPatientDataOptionsShareableEntity.document:
			return 'Document';
		case ShareAllPatientDataOptionsShareableEntity.form:
			return 'Form';
		case ShareAllPatientDataOptionsShareableEntity.healthElement:
			return 'HealthElement';
		case ShareAllPatientDataOptionsShareableEntity.invoice:
			return 'Invoice';
		case ShareAllPatientDataOptionsShareableEntity.patient:
			return 'Patient';
		}
}