diff --git a/templates/load_test.go b/templates/load_test.go index 4b738cc..f27ddcc 100644 --- a/templates/load_test.go +++ b/templates/load_test.go @@ -25,6 +25,12 @@ func Test_Load_ExpectedTemplates(t *testing.T) { "request_dexcom_connect": {}, "request_dexcom_reconnect": {}, "request_dexcom_connect_custodial": {}, + "request_twiist_connect": {}, + "request_twiist_reconnect": {}, + "request_twiist_connect_custodial": {}, + "request_abbott_connect": {}, + "request_abbott_reconnect": {}, + "request_abbott_connect_custodial": {}, "clinic_merged_patient_notification": {}, "clinic_merged_source_clinician_notification": {}, "clinic_merged_target_admin_notification": {}, diff --git a/templates/sources/request_abbott_connect_body.html b/templates/sources/request_abbott_connect_body.html new file mode 100644 index 0000000..c79696f --- /dev/null +++ b/templates/sources/request_abbott_connect_body.html @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Hi, {{ .PatientName }}! +

+

+ {{ .ClinicName }} has requested that you begin sharing your Abbott data with Tidepool. Please provide authorization to securely share your Abbott data so that your clinician can view your data in Tidepool by clicking the "Connect your Abbott Account" button below. +

+
+ + + Connect your Abbott Account + + +
+

+ Should you ever change your mind, you can revoke data sharing permissions from your Abbott account. +

+

+ If you have any questions about this request, or Tidepool, please contact support@tidepool.org. +

+
+

Sincerely,
The Tidepool Team

+
+ +
+ + + + + + + + +
+

+ Tidepool + An open source, not-for-profit effort to build an open data platform and better applications that reduce the burden of diabetes. +

+
+ + + + + + + +
+
+ +
+
+ + diff --git a/templates/sources/request_abbott_connect_custodial_body.html b/templates/sources/request_abbott_connect_custodial_body.html new file mode 100644 index 0000000..85751eb --- /dev/null +++ b/templates/sources/request_abbott_connect_custodial_body.html @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Hi, {{ .PatientName }}! +

+

+ {{ .ClinicName }} has created a Tidepool account for your diabetes device data. +

+

+ Along with your new account, they have requested that you begin sharing your Abbott data with Tidepool. Please provide authorization to securely share your Abbott data so that your clinician can view your data in Tidepool by clicking the "Connect your Abbott Account" button below. +

+
+ + + Connect your Abbott Account + + +
+

+ Should you ever change your mind, you can revoke data sharing permissions from your Abbott account. +

+

+ If you have any questions about this request, or Tidepool, please contact support@tidepool.org. +

+
+

Sincerely,
The Tidepool Team

+
+ +
+ + + + + + + + +
+

+ Tidepool + An open source, not-for-profit effort to build an open data platform and better applications that reduce the burden of diabetes. +

+
+ + + + + + + +
+
+ +
+
+ + diff --git a/templates/sources/request_abbott_connect_custodial_subject.txt b/templates/sources/request_abbott_connect_custodial_subject.txt new file mode 100644 index 0000000..9f312d1 --- /dev/null +++ b/templates/sources/request_abbott_connect_custodial_subject.txt @@ -0,0 +1 @@ +{{ .ClinicName }} Follow Up - Connect your Abbott Account to Tidepool diff --git a/templates/sources/request_abbott_connect_subject.txt b/templates/sources/request_abbott_connect_subject.txt new file mode 100644 index 0000000..9f312d1 --- /dev/null +++ b/templates/sources/request_abbott_connect_subject.txt @@ -0,0 +1 @@ +{{ .ClinicName }} Follow Up - Connect your Abbott Account to Tidepool diff --git a/templates/sources/request_abbott_reconnect_body.html b/templates/sources/request_abbott_reconnect_body.html new file mode 100644 index 0000000..3ac32a4 --- /dev/null +++ b/templates/sources/request_abbott_reconnect_body.html @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Hi, {{ .PatientName }}! +

+

+ {{ .ClinicName }} has noticed that your Tidepool connection to Abbott is no longer active. They have requested that you re-authorize sharing your Abbott data with Tidepool. +

+

+ If you would no longer like your Abbott data shared with Tidepool, you can simply ignore this email. +

+

+ If you did not intentionally disconnect, your authorization has likely expired, in which case we ask that you reconnect your Abbott data to Tidepool by clicking the "Reconnect your Abbott Account" button below. +

+
+

+ The data that will be shared includes: +

    +
  • Your Estimated Blood Glucose Levels
  • +
  • Your Calibration Data
  • +
  • Your Events Entry Data
  • +
  • Your Device Details
  • +
  • Your CGM Statistics
  • +
+

+
+ + + Reconnect your Abbott Account + + +
+

+ Should you ever change your mind, you can revoke data sharing permissions from your Abbott account. +

+

+ If you have any questions about this request, or Tidepool, please contact support@tidepool.org. +

+
+

Sincerely,
The Tidepool Team

+
+ +
+ + + + + + + + +
+

+ Tidepool + An open source, not-for-profit effort to build an open data platform and better applications that reduce the burden of diabetes. +

+
+ + + + + + + +
+
+ +
+
+ + diff --git a/templates/sources/request_abbott_reconnect_subject.txt b/templates/sources/request_abbott_reconnect_subject.txt new file mode 100644 index 0000000..36413dd --- /dev/null +++ b/templates/sources/request_abbott_reconnect_subject.txt @@ -0,0 +1 @@ +{{ .ClinicName }} Follow Up - Reconnect your Abbott Account to Tidepool diff --git a/templates/sources/request_twiist_connect_body.html b/templates/sources/request_twiist_connect_body.html new file mode 100644 index 0000000..95c1359 --- /dev/null +++ b/templates/sources/request_twiist_connect_body.html @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Hi, {{ .PatientName }}! +

+

+ {{ .ClinicName }} has requested that you begin sharing your Twiist data with Tidepool. Please provide authorization to securely share your Twiist data so that your clinician can view your data in Tidepool by clicking the "Connect your Twiist Account" button below. +

+
+ + + Connect your Twiist Account + + +
+

+ Should you ever change your mind, you can revoke data sharing permissions from your Twiist account. +

+

+ If you have any questions about this request, or Tidepool, please contact support@tidepool.org. +

+
+

Sincerely,
The Tidepool Team

+
+ +
+ + + + + + + + +
+

+ Tidepool + An open source, not-for-profit effort to build an open data platform and better applications that reduce the burden of diabetes. +

+
+ + + + + + + +
+
+ +
+
+ + diff --git a/templates/sources/request_twiist_connect_custodial_body.html b/templates/sources/request_twiist_connect_custodial_body.html new file mode 100644 index 0000000..cf112d4 --- /dev/null +++ b/templates/sources/request_twiist_connect_custodial_body.html @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Hi, {{ .PatientName }}! +

+

+ {{ .ClinicName }} has created a Tidepool account for your diabetes device data. +

+

+ Along with your new account, they have requested that you begin sharing your Twiist data with Tidepool. Please provide authorization to securely share your Twiist data so that your clinician can view your data in Tidepool by clicking the "Connect your Twiist Account" button below. +

+
+ + + Connect your Twiist Account + + +
+

+ Should you ever change your mind, you can revoke data sharing permissions from your Twiist account. +

+

+ If you have any questions about this request, or Tidepool, please contact support@tidepool.org. +

+
+

Sincerely,
The Tidepool Team

+
+ +
+ + + + + + + + +
+

+ Tidepool + An open source, not-for-profit effort to build an open data platform and better applications that reduce the burden of diabetes. +

+
+ + + + + + + +
+
+ +
+
+ + diff --git a/templates/sources/request_twiist_connect_custodial_subject.txt b/templates/sources/request_twiist_connect_custodial_subject.txt new file mode 100644 index 0000000..7190368 --- /dev/null +++ b/templates/sources/request_twiist_connect_custodial_subject.txt @@ -0,0 +1 @@ +{{ .ClinicName }} Follow Up - Connect your Twiist Account to Tidepool diff --git a/templates/sources/request_twiist_connect_subject.txt b/templates/sources/request_twiist_connect_subject.txt new file mode 100644 index 0000000..7190368 --- /dev/null +++ b/templates/sources/request_twiist_connect_subject.txt @@ -0,0 +1 @@ +{{ .ClinicName }} Follow Up - Connect your Twiist Account to Tidepool diff --git a/templates/sources/request_twiist_reconnect_body.html b/templates/sources/request_twiist_reconnect_body.html new file mode 100644 index 0000000..57facc1 --- /dev/null +++ b/templates/sources/request_twiist_reconnect_body.html @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Hi, {{ .PatientName }}! +

+

+ {{ .ClinicName }} has noticed that your Tidepool connection to Twiist is no longer active. They have requested that you re-authorize sharing your Twiist data with Tidepool. +

+

+ If you would no longer like your Twiist data shared with Tidepool, you can simply ignore this email. +

+

+ If you did not intentionally disconnect, your authorization has likely expired, in which case we ask that you reconnect your Twiist data to Tidepool by clicking the "Reconnect your Twiist Account" button below. +

+
+

+ The data that will be shared includes: +

    +
  • Your Estimated Blood Glucose Levels
  • +
  • Your Calibration Data
  • +
  • Your Events Entry Data
  • +
  • Your Device Details
  • +
  • Your CGM Statistics
  • +
+

+
+ + + Reconnect your Twiist Account + + +
+

+ Should you ever change your mind, you can revoke data sharing permissions from your Twiist account. +

+

+ If you have any questions about this request, or Tidepool, please contact support@tidepool.org. +

+
+

Sincerely,
The Tidepool Team

+
+ +
+ + + + + + + + +
+

+ Tidepool + An open source, not-for-profit effort to build an open data platform and better applications that reduce the burden of diabetes. +

+
+ + + + + + + +
+
+ +
+
+ + diff --git a/templates/sources/request_twiist_reconnect_subject.txt b/templates/sources/request_twiist_reconnect_subject.txt new file mode 100644 index 0000000..18f7bc2 --- /dev/null +++ b/templates/sources/request_twiist_reconnect_subject.txt @@ -0,0 +1 @@ +{{ .ClinicName }} Follow Up - Reconnect your Twiist Account to Tidepool