package org.phoenixctms.ctsms.email;

public interface MassMailMessageTemplateParameters {

	public static final String TEMPLATE_MODEL_FIELD_NAME_ASSOCIATION_PATH_SEPARATOR = "_";
	public static final boolean TEMPLATE_MODEL_LOWER_CASE_FIELD_NAMES = true;
	public static final String MASS_MAIL_PREFIX = "mail" + TEMPLATE_MODEL_FIELD_NAME_ASSOCIATION_PATH_SEPARATOR;
	public static final String TRIAL_PREFIX = "trial" + TEMPLATE_MODEL_FIELD_NAME_ASSOCIATION_PATH_SEPARATOR;
	public static final String PROBAND_PREFIX = ""; // "trial" + TEMPLATE_MODEL_FIELD_NAME_ASSOCIATION_PATH_SEPARATOR;
	// public static final String TRIAL = "trial";
	// public static final String PROBAND = "proband";
	public static final String TRIAL_TAG_VALUES = "trial_tagvalues";
	public static final String PROBAND_LIST_ENTRY_OUT_VO_PREFIX = "trial_listentry" + TEMPLATE_MODEL_FIELD_NAME_ASSOCIATION_PATH_SEPARATOR;
	public static final String PROBAND_LIST_ENTRY_TAG_VALUES = "trial_listentry_tagvalues";
	public static final Object PROBAND_LIST_ENTRY_TAG_VALUES_VALUE = "value";
	public static final String TRIAL_INVENTORY_BOOKINGS = "trial_bookings";
	public static final String PROBAND_INVENTORY_BOOKINGS = "proband_bookings";
	public static final String PROBAND_SALUTATION = "proband_salutation";
	public static final String PHYSICIAN_SALUTATION = "physician_salutation";
	public static final String SUBJECT = "subject";
	public static final String GENERATED_ON = "generated_on";
	public static final String INSTANCE_NAME = "instance_name";
	public static final String HTTP_BASE_URL = "http_base_url";
	public static final String HTTP_DOMAIN_NAME = "http_domain_name";
	public static final String STRING_UTILS = "string_utils";
	public static final Object MASS_MAIL_BEACON_UNSUBSCRIBE_URL = "mail_unsubscribe_url";
	public static final Object PROBAND_BEACON_UNSUBSCRIBE_URL = "proband_unsubscribe_url";
	public static final String PROBAND_TAG_VALUES = "proband_tagvalues";
	public static final String PROBAND_CONTACT_DETAIL_VALUES = "proband_contactdetailvalues";
	public static final String PROBAND_ADDRESSES = "proband_addresses";
	public static final String DIAGNOSES = "diagnoses";
	public static final String PROCEDURES = "procedures";
	public static final String MEDICATIONS = "medications";
	public static final String BANK_ACCOUNTS = "bankaccounts";


}

@@ -523,20 +523,15 @@
  = %22
-%22; // %22trial
+proband
 %22 + 
@@ -734,23 +734,32 @@
 ALUES = 
-%22trial_
+TRIAL_PREFIX + %22
 tagvalue
@@ -826,23 +826,32 @@
 REFIX = 
-%22trial_
+TRIAL_PREFIX + %22
 listentr
@@ -974,25 +974,44 @@
 S = 
-%22trial_listentry_
+PROBAND_LIST_ENTRY_OUT_VO_PREFIX + %22
 tagv
@@ -1154,15 +1154,24 @@
 S = 
-%22trial_
+TRIAL_PREFIX + %22
 book
@@ -1235,25 +1235,34 @@
 KINGS = 
-%22proband_
+PROBAND_PREFIX + %22
 bookings
@@ -1314,25 +1314,34 @@
 ATION = 
-%22proband_
+PROBAND_PREFIX + %22
 salutati
@@ -1338,32 +1338,173 @@
  %22salutation%22;%0D%0A
+%09public final static String PROBAND_PHYSICIAN_PREFIX = PROBAND_PREFIX + %22physician%22 + TEMPLATE_MODEL_FIELD_NAME_ASSOCIATION_PATH_SEPARATOR;%0D%0A
 %09public static f
@@ -1542,19 +1542,36 @@
 N = 
-%22physician_
+PROBAND_PHYSICIAN_PREFIX + %22
 salu
@@ -1617,16 +1617,35 @@
 UBJECT =
+ MASS_MAIL_PREFIX +
  %22subjec
@@ -1691,16 +1691,35 @@
 TED_ON =
+ MASS_MAIL_PREFIX +
  %22genera
@@ -2047,14 +2047,28 @@
 L = 
-%22mail_
+MASS_MAIL_PREFIX + %22
 unsu
@@ -2143,25 +2143,34 @@
 E_URL = 
-%22proband_
+PROBAND_PREFIX + %22
 unsubscr
@@ -2229,25 +2229,34 @@
 ALUES = 
-%22proband_
+PROBAND_PREFIX + %22
 tagvalue
@@ -2320,25 +2320,34 @@
 ALUES = 
-%22proband_
+PROBAND_PREFIX + %22
 contactd
@@ -2413,17 +2413,26 @@
 S = 
-%22proband_
+PROBAND_PREFIX + %22
 addr
@@ -2479,16 +2479,33 @@
 GNOSES =
+ PROBAND_PREFIX +
  %22diagno
@@ -2551,16 +2551,33 @@
 EDURES =
+ PROBAND_PREFIX +
  %22proced
@@ -2625,16 +2625,33 @@
 ATIONS =
+ PROBAND_PREFIX +
  %22medica
@@ -2702,16 +2702,33 @@
 COUNTS =
+ PROBAND_PREFIX +
  %22bankac
@@ -2739,13 +2739,11 @@
 ts%22;%0D%0A%0D%0A
-%0D%0A
 %7D%0D%0A

rearrange mass mail velocity template objectgraph