diff --git a/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/ActionPlan/Plan.cshtml b/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/ActionPlan/Plan.cshtml
index 528994d..7c9af66 100644
--- a/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/ActionPlan/Plan.cshtml
+++ b/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/ActionPlan/Plan.cshtml
@@ -112,6 +112,7 @@
@task.Name |
@task.Status |
@Html.ActionLink("Edit", "Task", new { planId = task.AssociatedPlanId, id = task.Id, personId = Request.Params["personId"], recordId = Request.Params["recordId"] }, new { cssClass = "btn btn-default" }) |
+ @Html.ActionLink("Validate auto tracking", "ValidateTracking", new { planId = task.AssociatedPlanId, id = task.Id, personId = Request.Params["personId"], recordId = Request.Params["recordId"] }, new { cssClass = "btn btn-default" }) |
}
diff --git a/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/ActionPlan/TrackingValidationEntry.cshtml b/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/ActionPlan/TrackingValidationEntry.cshtml
new file mode 100644
index 0000000..ad26256
--- /dev/null
+++ b/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/ActionPlan/TrackingValidationEntry.cshtml
@@ -0,0 +1,48 @@
+@*
+ Copyright (c) Microsoft Corporation. All rights reserved.
+ MIT License
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+*@
+@model Microsoft.Health.Platform.Entities.V3.ActionPlans.ActionPlanTaskInstance
+
+@{
+ ViewBag.Title = "Validate Task Auto Tracking";
+}
+@Html.Partial("UserInfo")
+
+@Html.ActionLink("<< Back to plan", "Plan", new { id = Model.AssociatedPlanId, personId = Request.Params["personId"], recordId = Request.Params["recordId"] }, new { cssClass = "btn btn-default" })
+
+Validate Task Auto Tracking
+
+@using (Html.BeginForm("ValidateTracking", "ActionPlan"))
+{
+ @Html.AntiForgeryToken()
+ @Html.Hidden("personID", Request.Params["personId"])
+ @Html.Hidden("recordId", Request.Params["recordId"])
+
+
+}
diff --git a/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/ActionPlan/UserInfo.cshtml b/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/ActionPlan/UserInfo.cshtml
index d52a84a..13b1d6b 100644
--- a/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/ActionPlan/UserInfo.cshtml
+++ b/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/ActionPlan/UserInfo.cshtml
@@ -1,10 +1,10 @@
- @if (Request.Params["personID"] == null || Request.Params["recordID"] == null)
+ @if (Request.QueryString["personID"] == null || Request.QueryString["recordID"] == null)
{
Editing action plans for the logged in user
}
else
{
-
Editing action plans for user @Request.Params["personID"], record @Request.Params["recordID"]
+
Editing action plans for Person ID @Request.QueryString["personID"], Record ID @Request.QueryString["recordID"]
}
\ No newline at end of file
diff --git a/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/ActionPlan/ValidateTracking.cshtml b/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/ActionPlan/ValidateTracking.cshtml
new file mode 100644
index 0000000..b5a74df
--- /dev/null
+++ b/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/ActionPlan/ValidateTracking.cshtml
@@ -0,0 +1,65 @@
+@*
+ Copyright (c) Microsoft Corporation. All rights reserved.
+ MIT License
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+*@
+@model Microsoft.Health.Platform.Entities.V3.Responses.ActionPlanTaskTrackingResponse
+
+@{
+ ViewBag.Title = "Task Auto Tracking Validation Results";
+}
+@Html.Partial("UserInfo")
+
+Task Auto Tracking Validation Results
+@if (Model.TaskTrackingInstances == null || !Model.TaskTrackingInstances.Any())
+{
+ The entered Thing XML will not auto track against the given task
+}
+else
+{
+
+
+
+ Tracking ID |
+ Type |
+ Tracking DateTime |
+ Status |
+ Evidence |
+
+
+
+ @foreach (var instance in Model.TaskTrackingInstances)
+ {
+
+ @instance.Id |
+ @instance.TrackingType |
+ @instance.TrackingDateTime |
+ @instance.TrackingStatus |
+
+ @if (instance.Evidence != null)
+ {
+ if (instance.Evidence.HVThings != null)
+ {
+ foreach (var evidence in instance.Evidence.HVThings)
+ {
+ @evidence
+ }
+ }
+ if (instance.Evidence.Trackings != null)
+ {
+ foreach (var evidence in instance.Evidence.Trackings)
+ {
+ @evidence
+ }
+ }
+ }
+ |
+
+ }
+
+
+}
diff --git a/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/HealthData/Index.cshtml b/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/HealthData/Index.cshtml
index 5fa41dc..a3967f4 100644
--- a/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/HealthData/Index.cshtml
+++ b/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/HealthData/Index.cshtml
@@ -24,7 +24,7 @@
@if (Model == null)
{
- You don't have any weight values! Add some!
+ No weight values found. Confirm that weight values are available in HealthVault. Note: This operation requires that the app has been authorized for Online access to the weight data type.
}
else
diff --git a/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/Home/Index.cshtml b/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/Home/Index.cshtml
index 6f60700..ee96954 100644
--- a/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/Home/Index.cshtml
+++ b/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/Home/Index.cshtml
@@ -12,7 +12,7 @@
}
-
HealthVault sample app
+ HealthVault Provider Management Portal
@@ -25,7 +25,7 @@
View and update health measurements
-
Examples of reading and writing patients' health data stored in HealthVault.
+
Examples of reading and writing patients' health data stored in HealthVault.
Go »
diff --git a/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/Onboarding/Index.cshtml b/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/Onboarding/Index.cshtml
index af6f1d2..a65e1d5 100644
--- a/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/Onboarding/Index.cshtml
+++ b/dotNET/HealthVaultProviderManagementPortal/HealthVaultProviderManagementPortal/Views/Onboarding/Index.cshtml
@@ -14,6 +14,7 @@
}
Create and send an invitation
+
This page can be used to create user-specific invitations for your organization's remote monitoring solution. The next page will provide an invitation URL that you can provide your patient directly.
@using (Html.BeginForm("CreateInvite", "Onboarding"))
{
@@ -58,7 +59,7 @@