- Ran CoreFX CodeFormatter on solutions
- Ran Visual Studio's Format Document on solution files
- Manual smoke check to correct anomalies

#55403
This commit is contained in:
David Woods 2017-05-23 11:52:43 -07:00
Родитель 1de7105df0
Коммит a4f639c0d1
251 изменённых файлов: 2708 добавлений и 3129 удалений

Просмотреть файл

@ -3,10 +3,10 @@
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.
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.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
@ -40,20 +40,19 @@
p {
padding-bottom: 22px;
}
</style>
</head>
<body>
<header id="header" class="stylePageHeader">
<header id="header" class="stylePageHeader">
<h1>Microsoft HealthVault and Dynamics CRM Demo </h1>
<h3>The website that you've reached is actually a web-service and thus isn't meant for browsing. That is, not by humans anyway.</h3>
<h3>The website that you've reached is actually a web-service and thus isn't meant for browsing. That is, not by humans anyway.</h3>
</header>
<!-- Introduction -->
<section id="sectionIntro" class="styleIntro">
<p>Please consult the Microsoft HealthVault Business Development Team for information on this service related integrated solution scenarios.</p>
</section>
<!-- Footer -->
<footer id="footerOne" class="styleFooter">
<div>
@ -66,6 +65,5 @@
</section>
</div>
</footer>
</body>
</html>

Просмотреть файл

@ -1,17 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.IO;
using System.Web;
using System.Xml;
using System.Xml.Serialization;
namespace HVAppCode
{
@ -20,17 +15,17 @@ namespace HVAppCode
//
public static class AppSettings
{
static readonly Guid[] myValidTokens = null;
private static readonly Guid[] s_myValidTokens = null;
static AppSettings() // constructor
{ // ASSIGNED TO //
myValidTokens = new Guid[]{ (new Guid("A245FDA7-8D3B-4ACA-8A73-A4A2AC8001D9")), // My CRM System #1
(new Guid("ca3c57f4-f4c1-4e15-be67-0a3caf5414ed")), // My Dev/Test System
(new Guid("879e7c04-4e8a-4707-9ad3-b054df467ce4")), // ...
(new Guid("227f55fb-1001-4d4e-9f6a-8d893e07b451")), // extend as needed
(new Guid("25c94a9f-9d3d-4576-96dc-6791178a8143")), // ...
(new Guid("40750a6a-89b2-455c-bd8d-b420a4cb500b")),
(new Guid("55E12BD9-4C69-499B-B483-B6BC2B3F8B22")) };
{ // ASSIGNED TO //
s_myValidTokens = new Guid[]{ (new Guid("A245FDA7-8D3B-4ACA-8A73-A4A2AC8001D9")), // My CRM System #1
(new Guid("ca3c57f4-f4c1-4e15-be67-0a3caf5414ed")), // My Dev/Test System
(new Guid("879e7c04-4e8a-4707-9ad3-b054df467ce4")), // ...
(new Guid("227f55fb-1001-4d4e-9f6a-8d893e07b451")), // extend as needed
(new Guid("25c94a9f-9d3d-4576-96dc-6791178a8143")), // ...
(new Guid("40750a6a-89b2-455c-bd8d-b420a4cb500b")),
(new Guid("55E12BD9-4C69-499B-B483-B6BC2B3F8B22")) };
}
public static bool IsValidToken(string token)
@ -38,7 +33,7 @@ namespace HVAppCode
bool found = false;
Guid t = new Guid(token);
foreach (Guid g in myValidTokens)
foreach (Guid g in s_myValidTokens)
{
if (t.Equals(g))
{
@ -50,6 +45,7 @@ namespace HVAppCode
}
public static string PlatformUrl() { return ("https://platform.healthvault-ppe.com/platform/"); }
public static string PickupUrl() { return ("https://account.healthvault-ppe.com/patientwelcome.aspx"); }
public const string NullInputEncountered = "Input parameter cannot be empty or null.";
@ -67,5 +63,3 @@ namespace HVAppCode
"Microsoft HealthVault Services \n";
}
}

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -17,16 +17,16 @@ namespace HVAppCode
{
public class HealthVaultConnection
{
public HealthVaultConnection(string token) : this(token, Guid.Empty) { }
public HealthVaultConnection(string token) : this(token, Guid.Empty) { }
public HealthVaultConnection(string token, Guid personId)
public HealthVaultConnection(string token, Guid personId)
{
if (AppSettings.IsValidToken(token))
{
m_connection = new OfflineWebApplicationConnection(HealthWebApplicationConfiguration.Current.ApplicationId,
_connection = new OfflineWebApplicationConnection(HealthWebApplicationConfiguration.Current.ApplicationId,
HealthWebApplicationConfiguration.Current.HealthVaultMethodUrl,
personId);
m_connection.Authenticate();
_connection.Authenticate();
}
else
throw (new ArgumentException("Your application token is invalid.", "token"));
@ -35,61 +35,61 @@ namespace HVAppCode
public string CreateConnectionRequest(string localRecordId, string localFriendlyName, string secretQuestion, string secretAnswer)
{
string connectionCode =
PatientConnection.Create(m_connection, localFriendlyName, secretQuestion, secretAnswer, null, localRecordId);
PatientConnection.Create(_connection, localFriendlyName, secretQuestion, secretAnswer, null, localRecordId);
return (connectionCode);
}
public Collection<ValidatedPatientConnection> GetValidatedConnectionsSince(DateTime lastCheckedUtc)
{
return (PatientConnection.GetValidatedConnections(m_connection, lastCheckedUtc));
return (PatientConnection.GetValidatedConnections(_connection, lastCheckedUtc));
}
public void DeletePendingConnectionRequest(string localRecordId)
{
PatientConnection.DeletePending(m_connection, localRecordId);
PatientConnection.DeletePending(_connection, localRecordId);
}
public IList<HealthRecordUpdateInfo> GetUpdatedRecordsSince(DateTime lastCheckedUtc)
{
return (m_connection.GetUpdatedRecordInfoForApplication(lastCheckedUtc));
return (_connection.GetUpdatedRecordInfoForApplication(lastCheckedUtc));
}
public void RevokeApplicationConnection(Guid recordId)
{
// connection must have been created in the context of a person
HealthRecordAccessor record = new HealthRecordAccessor(m_connection, recordId);
HealthRecordAccessor record = new HealthRecordAccessor(_connection, recordId);
record.RemoveApplicationAuthorization();
}
public List<string> GetThings(Guid recordId, Guid[] typeIds, DateTime updatedSinceUtc)
{
return (HealthVaultGetThings.GetThings(m_connection, recordId, typeIds, updatedSinceUtc));
return (HealthVaultGetThings.GetThings(_connection, recordId, typeIds, updatedSinceUtc));
}
public void PutThings(Guid recordId, ref HealthRecordItem newItem)
public void PutThings(Guid recordId, ref HealthRecordItem newItem)
{
HealthVaultPutThings.PutThings(m_connection, recordId, ref newItem);
HealthVaultPutThings.PutThings(_connection, recordId, ref newItem);
}
public string AllocatePackageId()
{
return (HealthVaultDOPU.AllocatePackageId(m_connection));
return (HealthVaultDOPU.AllocatePackageId(_connection));
}
public string DropOff(string fromName, string localPatientId, string secretQuestion, string secretAnswer, ref List<HealthRecordItem> newItems)
{
return (HealthVaultDOPU.DropOffToPatient(m_connection,
fromName,
localPatientId,
secretQuestion,
secretAnswer,
return (HealthVaultDOPU.DropOffToPatient(_connection,
fromName,
localPatientId,
secretQuestion,
secretAnswer,
ref newItems));
}
public string DropOff(string dopuPackageId, string fromName, string localPatientId, string secretQuestion, string secretAnswer, ref List<HealthRecordItem> newItems)
{
return (HealthVaultDOPU.DropOffToPackage(m_connection,
return (HealthVaultDOPU.DropOffToPackage(_connection,
dopuPackageId,
fromName,
localPatientId,
@ -100,12 +100,12 @@ namespace HVAppCode
public void DeletePendingDropForPackageId(string packageId)
{
HealthVaultDOPU.DeletePendingForPackageId(m_connection, packageId);
HealthVaultDOPU.DeletePendingForPackageId(_connection, packageId);
}
public void DeletePendingDropForPatientId(string patientId)
{
HealthVaultDOPU.DeletePendingForPatientId(m_connection, patientId);
HealthVaultDOPU.DeletePendingForPatientId(_connection, patientId);
}
public void SendInsecureMessageFromApplication(List<string> emailTo, string emailFrom, string emailSubject, string emailBody)
@ -114,12 +114,11 @@ namespace HVAppCode
foreach (string email in emailTo)
recipients.Add(new MailRecipient(email, email));
m_connection.SendInsecureMessageFromApplication(recipients, emailFrom, emailFrom, emailSubject, emailBody, string.Empty);
_connection.SendInsecureMessageFromApplication(recipients, emailFrom, emailFrom, emailSubject, emailBody, string.Empty);
}
public OfflineWebApplicationConnection Connection { get { return (m_connection); } }
public OfflineWebApplicationConnection Connection { get { return (_connection); } }
private OfflineWebApplicationConnection m_connection;
private OfflineWebApplicationConnection _connection;
}
}

Просмотреть файл

@ -1,40 +1,33 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;
using System.Linq;
using System.Web;
using Microsoft.Health;
using Microsoft.Health.Package;
using Microsoft.Health.Web;
using Microsoft.Health.Web.Authentication;
namespace HVAppCode
{
public class HealthVaultDOPU
{
public static string AllocatePackageId(OfflineWebApplicationConnection connection)
{
return (ConnectPackage.AllocatePackageId(connection));
}
public static string DropOffToPatient(OfflineWebApplicationConnection connection,
string fromName,
public static string DropOffToPatient(OfflineWebApplicationConnection connection,
string fromName,
string localPatientId,
string secretQuestion,
string secretQuestion,
string secretAnswer,
ref List<HealthRecordItem> newItems)
{
{
ConnectPackageCreationParameters parameters = new ConnectPackageCreationParameters(connection,
fromName,
secretQuestion,
@ -73,7 +66,5 @@ namespace HVAppCode
{
ConnectPackage.DeletePending(connection, PatientId);
}
}
} // HVAppCode

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -9,9 +9,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.Health;
using Microsoft.Health.ItemTypes;
using Microsoft.Health.Web;
namespace HVAppCode
@ -33,9 +31,9 @@ namespace HVAppCode
filter.View.Sections = HealthRecordItemSections.All | Microsoft.Health.HealthRecordItemSections.Xml;
//HealthRecordItemSections.Core |
//HealthRecordItemSections.Xml |
//HealthRecordItemSections.Audits;
//HealthRecordItemSections.Core |
//HealthRecordItemSections.Xml |
//HealthRecordItemSections.Audits;
HealthRecordItemCollection things = searcher.GetMatchingItems()[0];
@ -44,7 +42,7 @@ namespace HVAppCode
{
items.Add(thing.GetItemXml(filter.View.Sections));
}
return(items);
return (items);
}
}
}

Просмотреть файл

@ -1,24 +1,18 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.Health;
using Microsoft.Health.ItemTypes;
using Microsoft.Health.Web;
namespace HVAppCode
{
public class HealthVaultPutThings
public class HealthVaultPutThings
{
public static void PutThings(OfflineWebApplicationConnection connection, Guid recordId, ref HealthRecordItem newItem)
{

Просмотреть файл

@ -1,21 +1,15 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using HVAppCode;
using Microsoft.Health.PatientConnect;
using System.Collections.ObjectModel;
using Microsoft.Health.PatientConnect;
namespace HealthVaultProxy
{
@ -60,7 +54,6 @@ namespace HealthVaultProxy
return response;
}
public ValidatedConnectionsResponse GetValidatedConnections(ValidatedConnectionsRequest request)
{
ValidatedConnectionsResponse response = new ValidatedConnectionsResponse();
@ -98,7 +91,6 @@ namespace HealthVaultProxy
return (response);
}
public DeletePendingConnectionResponse DeletePendingConnection(DeletePendingConnectionRequest request)
{
DeletePendingConnectionResponse response = new DeletePendingConnectionResponse();
@ -127,7 +119,6 @@ namespace HealthVaultProxy
return response;
}
public RevokeApplicationConnectionResponse RevokeApplicationConnection(RevokeApplicationConnectionRequest request)
{
RevokeApplicationConnectionResponse response = new RevokeApplicationConnectionResponse();
@ -155,7 +146,5 @@ namespace HealthVaultProxy
}
return response;
}
}
}

Просмотреть файл

@ -1,24 +1,17 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using HVAppCode;
using Microsoft.Health;
using System.Collections.ObjectModel;
using System.Xml;
using System.Xml.XPath;
using System.Diagnostics;
using HVAppCode;
using Microsoft.Health;
namespace HealthVaultProxy
{
@ -90,7 +83,6 @@ namespace HealthVaultProxy
return response;
}
public PutThingsResponse PutThings(PutThingsRequest request)
{
PutThingsResponse response = new PutThingsResponse();
@ -162,8 +154,8 @@ namespace HealthVaultProxy
throw (new System.ArgumentNullException("TypeName", AppSettings.NullInputEncountered));
if (request.TypeId.Equals(Guid.Empty))
throw (new System.ArgumentNullException("TypeId", AppSettings.NullInputEncountered));
throw (new System.ArgumentNullException("TypeId", AppSettings.NullInputEncountered));
if (string.IsNullOrEmpty(request.XmlItem))
throw (new System.ArgumentNullException("XmlItem", AppSettings.NullInputEncountered));
@ -194,6 +186,5 @@ namespace HealthVaultProxy
}
return response;
}
}
}

Просмотреть файл

@ -1,17 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace HealthVaultProxy
{

Просмотреть файл

@ -1,25 +1,20 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using HVAppCode;
using Microsoft.Health;
using System.Xml;
using System.Xml.XPath;
using HVAppCode;
using Microsoft.Health;
// see info here: http://msdn.microsoft.com/en-us/library/ff803640.aspx
namespace HealthVaultProxy
{
public class HVDropOff : IHVDropOff
@ -31,7 +26,7 @@ namespace HealthVaultProxy
{
if (string.IsNullOrEmpty(token))
throw (new System.ArgumentNullException("token", AppSettings.NullInputEncountered));
HealthVaultConnection hv = new HealthVaultConnection(token);
response.DopuPackageId = hv.AllocatePackageId();
}
@ -69,8 +64,8 @@ namespace HealthVaultProxy
throw (new System.ArgumentNullException("DopuPackageId", AppSettings.NullInputEncountered));
if (string.IsNullOrEmpty(request.LocalPatientId))
throw (new System.ArgumentNullException("LocalPatientId", AppSettings.NullInputEncountered));
throw (new System.ArgumentNullException("LocalPatientId", AppSettings.NullInputEncountered));
if (string.IsNullOrEmpty(request.Token))
throw (new System.ArgumentNullException("Token", AppSettings.NullInputEncountered));
@ -117,7 +112,7 @@ namespace HealthVaultProxy
newRecords.Add(new HealthRecordItem(typeId, navData));
}
HealthVaultConnection hv = new HealthVaultConnection(request.Token);
if (isForPackageId)
@ -126,11 +121,11 @@ namespace HealthVaultProxy
request.LocalPatientId,
request.SecretQuestion,
request.SecretAnswer,
ref newRecords);
ref newRecords);
else
response.SecretCode = hv.DropOff(request.FromName,
request.LocalPatientId,
request.SecretQuestion,
request.SecretQuestion,
request.SecretAnswer,
ref newRecords);
@ -142,7 +137,6 @@ namespace HealthVaultProxy
response.PickupUrl += @"?packageid=";
response.PickupUrl += response.SecretCode;
string emailBody = AppSettings.DOPUemailTemplate.Replace("[PICKUP]", response.PickupUrl);
emailBody = emailBody.Replace("[SECRET]", response.SecretCode);
@ -162,7 +156,6 @@ namespace HealthVaultProxy
return (response);
}
public HVProxyResponse DeletePendingForPatient(string token, string localPatientId)
{
HVProxyResponse response = new HVProxyResponse();
@ -174,9 +167,9 @@ namespace HealthVaultProxy
if (string.IsNullOrEmpty(localPatientId))
throw (new System.ArgumentNullException("LocalPatientId", AppSettings.NullInputEncountered));
HealthVaultConnection hv = new HealthVaultConnection(token);
if (string.IsNullOrEmpty(localPatientId))
throw (new System.ArgumentNullException("LocalPatientId", AppSettings.NullInputEncountered));
hv.DeletePendingDropForPatientId(localPatientId);
@ -227,11 +220,5 @@ namespace HealthVaultProxy
}
return response;
}
}
}

Просмотреть файл

@ -1,17 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace HealthVaultProxy
{

Просмотреть файл

@ -1,20 +1,15 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using Microsoft.Health.PatientConnect;
using System.Collections.ObjectModel;
namespace HealthVaultProxy
{
@ -23,10 +18,13 @@ namespace HealthVaultProxy
{
[OperationContract]
ConnectResponse CreateConnection(ConnectRequest request);
[OperationContract]
ValidatedConnectionsResponse GetValidatedConnections(ValidatedConnectionsRequest request);
[OperationContract]
DeletePendingConnectionResponse DeletePendingConnection(DeletePendingConnectionRequest request);
[OperationContract]
RevokeApplicationConnectionResponse RevokeApplicationConnection(RevokeApplicationConnectionRequest request);
}
@ -34,29 +32,29 @@ namespace HealthVaultProxy
[DataContract]
public class HVProxyResponse
{
bool success = true;
string message = string.Empty;
string stack = string.Empty;
private bool _success = true;
private string _message = string.Empty;
private string _stack = string.Empty;
[DataMember]
public bool Success
{
get { return success; }
set { success = value; }
get { return _success; }
set { _success = value; }
}
[DataMember]
public string Message
{
get { return message; }
set { message = value; }
get { return _message; }
set { _message = value; }
}
[DataMember]
public string Stack
{
get { return stack; }
set { stack = value; }
get { return _stack; }
set { _stack = value; }
}
}
@ -146,5 +144,4 @@ namespace HealthVaultProxy
{
// FUTURE : Add methods as needed.
}
} // namespace HealthVaultProxy

Просмотреть файл

@ -1,19 +1,15 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using HVAppCode;
using Microsoft.Health;
namespace HealthVaultProxy
{
@ -22,10 +18,13 @@ namespace HealthVaultProxy
{
[OperationContract]
GetUpdatedRecordsResponse GetUpdatedRecords(GetUpdatedRecordsRequest request);
[OperationContract]
GetThingsResponse GetThings(GetThingsRequest request);
[OperationContract]
PutThingResponse PutThing(PutThingRequest request); // put a single thing item by name
[OperationContract]
PutThingsResponse PutThings(PutThingsRequest request); // put a list of thing items by type-id
}
@ -42,33 +41,34 @@ namespace HealthVaultProxy
[DataContract]
public class RecordUpdateInfo
{
DateTime lastUpdateDate;
Guid personId;
Guid recordId;
private DateTime _lastUpdateDate;
private Guid _personId;
private Guid _recordId;
public RecordUpdateInfo(DateTime dt, Guid pid, Guid rid)
{
lastUpdateDate = dt;
personId = pid;
recordId = rid;
_lastUpdateDate = dt;
_personId = pid;
_recordId = rid;
}
[DataMember]
public DateTime LastUpdateDate
{
get { return lastUpdateDate; }
set { lastUpdateDate = value; }
get { return _lastUpdateDate; }
set { _lastUpdateDate = value; }
}
[DataMember]
public Guid PersonId
{
get { return personId; }
set { personId = value; }
get { return _personId; }
set { _personId = value; }
}
[DataMember]
public Guid RecordId
{
get { return recordId; }
set { recordId = value; }
get { return _recordId; }
set { _recordId = value; }
}
}
@ -101,6 +101,7 @@ namespace HealthVaultProxy
{
Things = new List<string>();
}
[DataMember]
public List<string> Things;
}
@ -151,5 +152,4 @@ namespace HealthVaultProxy
{
// FUTURE : Add methods as needed.
}
}

Просмотреть файл

@ -1,17 +1,13 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace HealthVaultProxy
{

Просмотреть файл

@ -1,17 +1,15 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace HealthVaultProxy
{
@ -21,12 +19,16 @@ namespace HealthVaultProxy
// NOTE: Only a subset of HV API functionality represented here. See http://msdn.microsoft.com/en-us/library/dd724590.aspx.
[OperationContract]
PreAllocatePackageIdResponse PreAllocatePackageId(string token);
[OperationContract]
DropOffResponse DropOffForPatient(DropOffRequest request);
[OperationContract]
DropOffResponse DropOffForPackageId(DropOffRequest request);
[OperationContract]
HVProxyResponse DeletePendingForPatient(string Token, string LocalPatientId);
[OperationContract]
HVProxyResponse DeletePendingForPackageId(string Token, string DopuPackageId);
}
@ -45,13 +47,14 @@ namespace HealthVaultProxy
{
Things = new List<string>();
EmailTo = new List<string>();
}
}
[DataMember]
public string Token { get; set; }
[DataMember]
public string FromName { get; set; }
[DataMember]
public string LocalPatientId { get; set; }
public string LocalPatientId { get; set; }
[DataMember]
public string DopuPackageId { get; set; } // set either from previous call to PreAllocatePackageId or to string.Empty
[DataMember]
@ -76,5 +79,4 @@ namespace HealthVaultProxy
[DataMember]
public string PickupUrl { get; set; }
}
}

Просмотреть файл

@ -1,17 +1,13 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace HealthVaultProxy
{

Просмотреть файл

@ -1,8 +1,7 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("HealthVaultProxy")]
@ -10,12 +9,12 @@ using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("HealthVaultProxy")]
[assembly: AssemblyCopyright("Copyright © 2013")]
[assembly: AssemblyCopyright("Copyright \u00A9 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
@ -25,11 +24,11 @@ using System.Runtime.InteropServices;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]

Просмотреть файл

@ -4,26 +4,26 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an attribute "name" that has a value of "MyDB".
<connectionStrings>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
</connectionStrings>
-->
<system.web>
<!--
In the example below, the "Replace" transform will replace the entire
In the example below, the "Replace" transform will replace the entire
<customErrors> section of your web.config file.
Note that because there is only one customErrors section under the
Note that because there is only one customErrors section under the
<system.web> node, there is no need to use the "xdt:Locator" attribute.
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="InternalError.htm"/>
<error statusCode="500" redirect="InternalError.htm" />
</customErrors>
-->
</system.web>

Просмотреть файл

@ -4,27 +4,27 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an attribute "name" that has a value of "MyDB".
<connectionStrings>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
</connectionStrings>
-->
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
In the example below, the "Replace" transform will replace the entire
In the example below, the "Replace" transform will replace the entire
<customErrors> section of your web.config file.
Note that because there is only one customErrors section under the
Note that because there is only one customErrors section under the
<system.web> node, there is no need to use the "xdt:Locator" attribute.
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="InternalError.htm"/>
<error statusCode="500" redirect="InternalError.htm" />
</customErrors>
-->
</system.web>

Просмотреть файл

@ -1,32 +1,33 @@
<?xml version="1.0"?>
<configuration>
<configSections>
</configSections>
<configSections>
</configSections>
<connectionStrings>
<add name="HealthVaultProxyTest.Properties.Settings.CCF2013_OwnYourOwnHealthConnectionString"
connectionString="Data Source=PHILPENNW530;Initial Catalog=CCF2013_OwnYourOwnHealth;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings> <startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IHVConnect" />
<binding name="BasicHttpBinding_IHVDataAccess" />
<binding name="BasicHttpBinding_IHVDropOff" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:29182/HVConnect.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IHVConnect" contract="HVConnect.IHVConnect"
name="BasicHttpBinding_IHVConnect" />
<endpoint address="http://localhost:29182/HVDataAccess.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IHVDataAccess" contract="HVDataAccess.IHVDataAccess"
name="BasicHttpBinding_IHVDataAccess" />
<endpoint address="http://localhost:29182/HVDropOff.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IHVDropOff" contract="HVDropOff.IHVDropOff"
name="BasicHttpBinding_IHVDropOff" />
</client>
</system.serviceModel>
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IHVConnect" />
<binding name="BasicHttpBinding_IHVDataAccess" />
<binding name="BasicHttpBinding_IHVDropOff" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:29182/HVConnect.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IHVConnect" contract="HVConnect.IHVConnect"
name="BasicHttpBinding_IHVConnect" />
<endpoint address="http://localhost:29182/HVDataAccess.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IHVDataAccess" contract="HVDataAccess.IHVDataAccess"
name="BasicHttpBinding_IHVDataAccess" />
<endpoint address="http://localhost:29182/HVDropOff.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IHVDropOff" contract="HVDropOff.IHVDropOff"
name="BasicHttpBinding_IHVDropOff" />
</client>
</system.serviceModel>
</configuration>

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -9,35 +9,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using CommandLine.Utility;
using System.Diagnostics;
// YOU MAY NEED TO MODIFY App.Config FILE AS INDICATED
//<bindings>
// <basicHttpBinding>
// <binding name="BasicHttpBinding_IHVConnect" />
// <binding name="BasicHttpBinding_IHVDataAccess" maxReceivedMessageSize="2147483647" /> <<< if receiving lots of data then extend your buffer-size
// <binding name="BasicHttpBinding_IHVDropOff" />
// </basicHttpBinding>
//</bindings>
// YOU MAY NEED TO MODIFY App.Config FILE AS INDICATED
//<bindings>
// <basicHttpBinding>
// <binding name="BasicHttpBinding_IHVConnect" />
// <binding name="BasicHttpBinding_IHVDataAccess" maxReceivedMessageSize="2147483647" /> <<< if receiving lots of data then extend your buffer-size
// <binding name="BasicHttpBinding_IHVDropOff" />
// </basicHttpBinding>
//</bindings>
namespace HealthVaultProxyTest
{
class HVProxyTest
internal class HVProxyTest
{
// Use optional command line arguments to invoke specific API tests.
const string myUsage = "\n\tUsage:\t[-deserialize] [-createconnection] [-getconnections] [-getthings] [-putthings] \n" +
// Use optional command line arguments to invoke specific API tests.
private const string myUsage = "\n\tUsage:\t[-deserialize] [-createconnection] [-getconnections] [-getthings] [-putthings] \n" +
"[-getupdatedrecords] [-deleteconnection] [-revokeapplication] [-DOPU] [-serialize] \n";
const string myHVApplicationToken = "A245FDA7-8D3B-4ACA-8A73-A4A2AC8001D9"; // must be listed in HealthVaultProxy -> HealthVaultAppSetting.cs
private const string myHVApplicationToken = "A245FDA7-8D3B-4ACA-8A73-A4A2AC8001D9"; // must be listed in HealthVaultProxy -> HealthVaultAppSetting.cs
public Guid[] myTypeIds = null;
public HVProxyTest() // constructor
public HVProxyTest() // constructor
{
myTypeIds = new Guid[]{ (new Guid("3d34d87e-7fc1-4153-800f-f56592cb0d17")), // weight measurement //
(new Guid("415c95e0-0533-4d9c-ac73-91dc5031186c")), // care plan
@ -45,7 +41,7 @@ namespace HealthVaultProxyTest
(new Guid("879e7c04-4e8a-4707-9ad3-b054df467ce4")), // blood glucose measurement //
(new Guid("227f55fb-1001-4d4e-9f6a-8d893e07b451")), // HbA1C //
(new Guid("25c94a9f-9d3d-4576-96dc-6791178a8143")), // emergency or provider contact
(new Guid("40750a6a-89b2-455c-bd8d-b420a4cb500b")), // height measurement //
(new Guid("40750a6a-89b2-455c-bd8d-b420a4cb500b")), // height measurement //
(new Guid("796c186f-b874-471c-8468-3eeff73bf66e")), // cholesterol measurement //
(new Guid("7ea7a1f9-880b-4bd4-b593-f5660f20eda8")), // condition //
(new Guid("85a21ddb-db20-4c65-8d30-33c899ccf612")), // exercise //
@ -53,7 +49,7 @@ namespace HealthVaultProxyTest
(new Guid("30cafccc-047d-4288-94ef-643571f7919d")) }; // medication
}
static void Main(string[] args)
private static void Main(string[] args)
{
HVProxyTest myHVProxyTest = new HVProxyTest();
LocalPatientRecords myLocalPatientRecords = new LocalPatientRecords();
@ -80,8 +76,7 @@ namespace HealthVaultProxyTest
}
}
if (CommandLine["createconnection"] != null) // **** TEST CREATE CONNECTION
if (CommandLine["createconnection"] != null) // **** TEST CREATE CONNECTION
{
Console.WriteLine("\nTest CreateConnectionRequest API\n");
Console.WriteLine("Local patient name? ");
@ -94,29 +89,31 @@ namespace HealthVaultProxyTest
string secretQuestion = Console.ReadLine();
Console.WriteLine("Secret answer? ");
string secretAnswer = Console.ReadLine();
//
PatientRecord patientRecord = new PatientRecord(patientId, patientName, patientEmail, secretQuestion, secretAnswer, null, null, null, null, null, "requested");
TestCreateConnection(myHVApplicationToken, ref patientRecord);
myLocalPatientRecords.PatientRecords.Add(patientRecord);
//
Console.WriteLine("Go validate the connection request using the provided URL and key, then return to this session. \nPress any key to continue; 'q' to quit...\n");
if (Console.ReadKey().KeyChar == 'q')
return;
}
if (CommandLine["getconnections"] != null) // **** TEST GET VALIDATED CONNECTIONS
{
Console.WriteLine("\nTest GetValidatedConnections API\n");
//
TestGetValidatedConnections(myHVApplicationToken, ref myLocalPatientRecords);
//
Console.WriteLine("\nUse the connections info listed above for subsequent API tests. \nPress any key to continue; 'q' to quit...\n");
if (Console.ReadKey().KeyChar == 'q')
return;
}
if (CommandLine["getthings"] != null) // **** TEST GET-THINGS
{
Console.WriteLine("\nTest GetThings API\n");
@ -124,15 +121,16 @@ namespace HealthVaultProxyTest
string personId = Console.ReadLine();
Console.WriteLine("HV RecordId? ");
string recordId = Console.ReadLine();
//
TestGetThings(myHVApplicationToken, personId, recordId, ref myHVProxyTest.myTypeIds);
//
//
Console.WriteLine("\nPress any key to continue; 'q' to quit...\n");
if (Console.ReadKey().KeyChar == 'q')
return;
}
if (CommandLine["putthing"] != null) // **** TEST PUT-THING
{
Console.WriteLine("\nTest PutThing API\n");
@ -140,15 +138,16 @@ namespace HealthVaultProxyTest
string personId = Console.ReadLine();
Console.WriteLine("HV RecordId? ");
string recordId = Console.ReadLine();
//
TestPutThing(myHVApplicationToken, personId, recordId);
//
//
Console.WriteLine("\nPress any key to continue; 'q' to quit...\n");
if (Console.ReadKey().KeyChar == 'q')
return;
}
if (CommandLine["putthings"] != null) // **** TEST PUT-THINGS
{
Console.WriteLine("\nTest PutThings API\n");
@ -156,41 +155,44 @@ namespace HealthVaultProxyTest
string personId = Console.ReadLine();
Console.WriteLine("HV RecordId? ");
string recordId = Console.ReadLine();
//
TestPutThings(myHVApplicationToken, personId, recordId);
//
//
Console.WriteLine("\nPress any key to continue; 'q' to quit...\n");
if (Console.ReadKey().KeyChar == 'q')
return;
}
if (CommandLine["getupdatedrecords"] != null) // **** TEST GET UPDATED RECORDS
{
Console.WriteLine("\nTest GetUpdatedRecords API\n");
//
TestGetUpdatedRecords(myHVApplicationToken);
//
//
Console.WriteLine("\nPress any key to continue; 'q' to quit...\n");
if (Console.ReadKey().KeyChar == 'q')
return;
}
if (CommandLine["deleteconnection"] != null) // **** TEST DELETE PENDING CONNECTION
{
Console.WriteLine("\nTest DeletePendingConnection API\n");
Console.WriteLine("Local patient identifier? ");
string patientId = Console.ReadLine();
//
TestDeletePendingConnection(myHVApplicationToken, patientId);
//
//
Console.WriteLine("\nPress any key to continue; 'q' to quit...\n");
if (Console.ReadKey().KeyChar == 'q')
return;
}
if (CommandLine["revokeapplication"] != null) // **** TEST REVOKE APPLICATION CONNECTION
{
Console.WriteLine("\nTest RevokeApplicationConnection API\n");
@ -198,9 +200,11 @@ namespace HealthVaultProxyTest
string personId = Console.ReadLine();
Console.WriteLine("HV RecordId? ");
string recordId = Console.ReadLine();
//
TestRevokeApplicationConnection(myHVApplicationToken, personId, recordId);
//
//
Console.WriteLine("\nPress any key to continue; 'q' to quit...\n");
if (Console.ReadKey().KeyChar == 'q')
return;
@ -217,8 +221,10 @@ namespace HealthVaultProxyTest
string secretQuestion = Console.ReadLine();
Console.WriteLine("Secret answer? ");
string secretAnswer = Console.ReadLine();
//
TestDropOffPickUp(myHVApplicationToken, patientId, patientEmail, secretQuestion, secretAnswer);
//
Console.WriteLine("\nPress any key to continue; 'q' to quit...\n");
if (Console.ReadKey().KeyChar == 'q')
@ -233,7 +239,6 @@ namespace HealthVaultProxyTest
}
// TO-DO : ADD OTHER API TESTS HERE.
}
catch (Exception ex)
{
@ -245,8 +250,7 @@ namespace HealthVaultProxyTest
return;
} // Main
static void TestCreateConnection(string token, ref PatientRecord record)
private static void TestCreateConnection(string token, ref PatientRecord record)
{
try
{
@ -254,8 +258,8 @@ namespace HealthVaultProxyTest
HVConnect.ConnectRequest request = new HVConnect.ConnectRequest();
request.Token = token;
request.LocalPersonName = record.PatientName;
request.LocalRecordId = record.PatientId;
request.LocalPersonName = record.PatientName;
request.LocalRecordId = record.PatientId;
request.SecretQuestion = record.SecretQuestion;
request.SecretAnswer = record.SecretAnswer;
@ -278,8 +282,7 @@ namespace HealthVaultProxyTest
}
}
static void TestGetValidatedConnections(string token, ref LocalPatientRecords localPatientRecords)
private static void TestGetValidatedConnections(string token, ref LocalPatientRecords localPatientRecords)
{
try
{
@ -305,7 +308,8 @@ namespace HealthVaultProxyTest
vc.ApplicationSpecificRecordId,
vc.PersonId.ToString(),
vc.RecordId.ToString());
// Add the orphaned record to our list of records.
// Add the orphaned record to our list of records.
PatientRecord patientRecord = new PatientRecord(vc.ApplicationPatientId, "ORPHAN", "UNKOWN", "UNKNOWN", "UNKNOWN", "UNKOWN", "UNKNOWN", vc.PersonId.ToString(), vc.RecordId.ToString(), vc.ApplicationSpecificRecordId, "validated");
localPatientRecords.PatientRecords.Add(patientRecord);
}
@ -331,7 +335,7 @@ namespace HealthVaultProxyTest
}
}
static void TestGetThings(string token, string personId, string recordId, ref Guid[] typeIds)
private static void TestGetThings(string token, string personId, string recordId, ref Guid[] typeIds)
{
try
{
@ -351,7 +355,7 @@ namespace HealthVaultProxyTest
foreach (string item in response.Things)
{
// Example : use LINQ to parse the xml record
XElement thing = XElement.Parse(item);
XElement thing = XElement.Parse(item);
Console.WriteLine(thing);
// Example : use SimpleThings classes to parse the xml into specific object types, Weight in this example.
@ -359,7 +363,7 @@ namespace HealthVaultProxyTest
if (typeId.Equals(typeIds[0])) // Weight type-id is expected at myTypeIds[0] in this test-app
{
SimpleWeight sw = new SimpleWeight();
sw.Initialize(item);
sw.Initialize(item);
Console.WriteLine("SimpleWeight : {0}", sw.Display);
}
}
@ -374,7 +378,7 @@ namespace HealthVaultProxyTest
}
}
static void TestPutThing(string token, string personId, string recordId)
private static void TestPutThing(string token, string personId, string recordId)
{
try
{
@ -402,7 +406,7 @@ namespace HealthVaultProxyTest
}
}
static void TestPutThings(string token, string personId, string recordId)
private static void TestPutThings(string token, string personId, string recordId)
{
try
{
@ -415,7 +419,7 @@ namespace HealthVaultProxyTest
List<string> items = new List<string>();
// Add a weight item entry just for testing.
// Add a weight item entry just for testing.
// See the Health types schema browser at http://developer.healthvault.com for more types.
//
items.Add(@"<thing>
@ -463,8 +467,7 @@ namespace HealthVaultProxyTest
}
}
static void TestGetUpdatedRecords(string token)
private static void TestGetUpdatedRecords(string token)
{
try
{
@ -478,7 +481,7 @@ namespace HealthVaultProxyTest
if (response.Success)
{
Console.WriteLine("\nGetUpdatedRecords Response:\n");
Console.WriteLine("\nGetUpdatedRecords Response:\n");
foreach (HVDataAccess.RecordUpdateInfo rui in response.UpdatedRecords)
{
Console.WriteLine("{0}\t{1}\t{2}\n", rui.LastUpdateDate.ToShortDateString(), rui.PersonId.ToString(), rui.RecordId.ToString());
@ -494,8 +497,7 @@ namespace HealthVaultProxyTest
}
}
static void TestDeletePendingConnection(string token, string localRecordId)
private static void TestDeletePendingConnection(string token, string localRecordId)
{
try
{
@ -516,8 +518,7 @@ namespace HealthVaultProxyTest
}
}
static void TestRevokeApplicationConnection(string token, string personId, string recordId)
private static void TestRevokeApplicationConnection(string token, string personId, string recordId)
{
try
{
@ -540,7 +541,7 @@ namespace HealthVaultProxyTest
}
}
static void TestDropOffPickUp(string token, string localPatientId, string emailTo, string secretQuestion, string secretAnswer)
private static void TestDropOffPickUp(string token, string localPatientId, string emailTo, string secretQuestion, string secretAnswer)
{
try
{
@ -599,9 +600,8 @@ namespace HealthVaultProxyTest
if (response.Success)
Console.WriteLine("\nDropOff Secret Key = {0}\n", response.SecretCode);
else
else
Console.WriteLine("Error = {0}\n", response.Message);
}
catch (Exception ex)
{
@ -610,237 +610,232 @@ namespace HealthVaultProxyTest
}
}
const string myCarePlan = @"<?xml version='1.0'?>
private const string myCarePlan = @"<?xml version='1.0'?>
<care-plan xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
<name>Diabetes Management</name>
<start-date>
<structured>
<date>
<y>2013</y>
<m>4</m>
<d>1</d>
</date>
<time>
<h>0</h>
<m>0</m>
</time>
</structured>
<structured>
<date>
<y>2013</y>
<m>4</m>
<d>1</d>
</date>
<time>
<h>0</h>
<m>0</m>
</time>
</structured>
</start-date>
<status>
<text>Active</text>
<text>Active</text>
</status>
<care-team>
<person>
<name>
<full>Cruz Roudabush</full>
<first>Cruz</first>
<last>Roudabush</last>
</name>
<contact>
<address>
<street>2202 S Central Ave</street>
<city>Mechanicsburg</city>
<state />
<postcode>85004</postcode>
<country />
</address>
<phone>
<description>Home Phone</description>
<number>602-252-4827</number>
</phone>
<email>
<is-primary>true</is-primary>
<address>cruz@roudabush.com</address>
</email>
</contact>
<type>
<text>Care Team Member</text>
</type>
</person>
<person>
<name>
<full>Sidney Higa (sample)</full>
<first>Sidney</first>
<last>Higa (sample)</last>
</name>
<contact>
<address>
<street>7691 Benedict Ct.</street>
<city>Issaquah</city>
<state>WA</state>
<postcode>57065</postcode>
<country>U.S.</country>
</address>
<phone>
<description>Business Phone</description>
<number>555-0104</number>
</phone>
<email>
<is-primary>true</is-primary>
<address>someone_e@example.com</address>
</email>
</contact>
<type>
<text>Care Team Member</text>
</type>
</person>
<person>
<name>
<full>Alicia Smith</full>
<first>Alicia</first>
<last>Smith</last>
</name>
<contact>
<phone>
<description>Home Phone</description>
<number>717-258-6245</number>
</phone>
</contact>
<type>
<text>Care Team Member</text>
</type>
</person>
<person>
<name>
<full>Cruz Roudabush</full>
<first>Cruz</first>
<last>Roudabush</last>
</name>
<contact>
<address>
<street>2202 S Central Ave</street>
<city>Mechanicsburg</city>
<state />
<postcode>85004</postcode>
<country />
</address>
<phone>
<description>Home Phone</description>
<number>602-252-4827</number>
</phone>
<email>
<is-primary>true</is-primary>
<address>cruz@roudabush.com</address>
</email>
</contact>
<type>
<text>Care Team Member</text>
</type>
</person>
<person>
<name>
<full>Sidney Higa (sample)</full>
<first>Sidney</first>
<last>Higa (sample)</last>
</name>
<contact>
<address>
<street>7691 Benedict Ct.</street>
<city>Issaquah</city>
<state>WA</state>
<postcode>57065</postcode>
<country>U.S.</country>
</address>
<phone>
<description>Business Phone</description>
<number>555-0104</number>
</phone>
<email>
<is-primary>true</is-primary>
<address>someone_e@example.com</address>
</email>
</contact>
<type>
<text>Care Team Member</text>
</type>
</person>
<person>
<name>
<full>Alicia Smith</full>
<first>Alicia</first>
<last>Smith</last>
</name>
<contact>
<phone>
<description>Home Phone</description>
<number>717-258-6245</number>
</phone>
</contact>
<type>
<text>Care Team Member</text>
</type>
</person>
</care-team>
<care-plan-manager>
<name>
<full>Tom Gould</full>
<title>
<text>Dr</text>
</title>
<first>Tom</first>
<last>Gould</last>
</name>
<contact>
<address>
<street>street1</street>
<street>street2</street>
<street>street3</street>
<city>mechanicsburg</city>
<state />
<postcode />
<country />
</address>
<phone>
<description>Business Phone</description>
<number>1-717-542-6584</number>
</phone>
<email>
<is-primary>true</is-primary>
<address>tgould@contoso.com</address>
</email>
</contact>
<type>
<text>Care Plan Manager</text>
</type>
<name>
<full>Tom Gould</full>
<title>
<text>Dr</text>
</title>
<first>Tom</first>
<last>Gould</last>
</name>
<contact>
<address>
<street>street1</street>
<street>street2</street>
<street>street3</street>
<city>mechanicsburg</city>
<state />
<postcode />
<country />
</address>
<phone>
<description>Business Phone</description>
<number>1-717-542-6584</number>
</phone>
<email>
<is-primary>true</is-primary>
<address>tgould@contoso.com</address>
</email>
</contact>
<type>
<text>Care Plan Manager</text>
</type>
</care-plan-manager>
<tasks>
<task>
<name>
<text>Measure blood glucose levels</text>
</name>
<start-date>
<descriptive>4/1/2013</descriptive>
</start-date>
<end-date>
<descriptive>5/10/2013</descriptive>
</end-date>
<sequence-number>2</sequence-number>
<associated-type-info>
<thing-type-version-id>879e7c04-4e8a-4707-9ad3-b054df467ce4</thing-type-version-id>
</associated-type-info>
<recurrence>
<ical-recurrence>freq=20;count=Month</ical-recurrence>
</recurrence>
</task>
<task>
<name>
<text>Get dilated eye exam</text>
</name>
<description>Get dilated eye exam every year</description>
<start-date>
<descriptive>4/1/2013</descriptive>
</start-date>
<end-date>
<descriptive>4/24/2013</descriptive>
</end-date>
<recurrence>
<ical-recurrence>freq=1;count=Year</ical-recurrence>
</recurrence>
</task>
<task>
<name>
<text>Blood pressure checked at every diabetes visit</text>
</name>
<description>Have your blood pressure checked at every diabetes visit</description>
<start-date>
<descriptive>4/1/2013</descriptive>
</start-date>
<end-date>
<descriptive>4/18/2013</descriptive>
</end-date>
<associated-type-info>
<thing-type-version-id>ca3c57f4-f4c1-4e15-be67-0a3caf5414ed</thing-type-version-id>
</associated-type-info>
</task>
<task>
<name>
<text>Measure blood glucose levels</text>
</name>
<start-date>
<descriptive>4/1/2013</descriptive>
</start-date>
<end-date>
<descriptive>5/10/2013</descriptive>
</end-date>
<sequence-number>2</sequence-number>
<associated-type-info>
<thing-type-version-id>879e7c04-4e8a-4707-9ad3-b054df467ce4</thing-type-version-id>
</associated-type-info>
<recurrence>
<ical-recurrence>freq=20;count=Month</ical-recurrence>
</recurrence>
</task>
<task>
<name>
<text>Get dilated eye exam</text>
</name>
<description>Get dilated eye exam every year</description>
<start-date>
<descriptive>4/1/2013</descriptive>
</start-date>
<end-date>
<descriptive>4/24/2013</descriptive>
</end-date>
<recurrence>
<ical-recurrence>freq=1;count=Year</ical-recurrence>
</recurrence>
</task>
<task>
<name>
<text>Blood pressure checked at every diabetes visit</text>
</name>
<description>Have your blood pressure checked at every diabetes visit</description>
<start-date>
<descriptive>4/1/2013</descriptive>
</start-date>
<end-date>
<descriptive>4/18/2013</descriptive>
</end-date>
<associated-type-info>
<thing-type-version-id>ca3c57f4-f4c1-4e15-be67-0a3caf5414ed</thing-type-version-id>
</associated-type-info>
</task>
</tasks>
<goal-groups>
<goal-group>
<name>
<text>Glucose levels</text>
</name>
<description>Keep your glucose levels under control.</description>
<goals>
<goal>
<name>
<text>Glucose</text>
</name>
<description>Glucose measurement should be above 70 mg/dl and below 240 mg/dl.</description>
<start-date>
<descriptive>4/1/2013</descriptive>
</start-date>
<associated-type-info>
<thing-type-version-id>879e7c04-4e8a-4707-9ad3-b054df467ce4</thing-type-version-id>
</associated-type-info>
</goal>
<goal>
<name>
<text>Hba1C</text>
</name>
<start-date>
<descriptive>4/29/2013</descriptive>
</start-date>
<associated-type-info>
<thing-type-version-id>227f55fb-1001-4d4e-9f6a-8d893e07b451</thing-type-version-id>
</associated-type-info>
</goal>
</goals>
</goal-group>
<goal-group>
<name>
<text>Blood Presure</text>
</name>
<description>Keep your blood pressure under control.</description>
<goals>
<goal>
<name>
<text>Blood Pressure</text>
</name>
<description>Systolic should be below 130 mmHg. Diastolic should be less then 90 mmHg.</description>
<start-date>
<descriptive>4/1/2013</descriptive>
</start-date>
<associated-type-info>
<thing-type-version-id>ca3c57f4-f4c1-4e15-be67-0a3caf5414ed</thing-type-version-id>
</associated-type-info>
</goal>
</goals>
</goal-group>
<goal-group>
<name>
<text>Glucose levels</text>
</name>
<description>Keep your glucose levels under control.</description>
<goals>
<goal>
<name>
<text>Glucose</text>
</name>
<description>Glucose measurement should be above 70 mg/dl and below 240 mg/dl.</description>
<start-date>
<descriptive>4/1/2013</descriptive>
</start-date>
<associated-type-info>
<thing-type-version-id>879e7c04-4e8a-4707-9ad3-b054df467ce4</thing-type-version-id>
</associated-type-info>
</goal>
<goal>
<name>
<text>Hba1C</text>
</name>
<start-date>
<descriptive>4/29/2013</descriptive>
</start-date>
<associated-type-info>
<thing-type-version-id>227f55fb-1001-4d4e-9f6a-8d893e07b451</thing-type-version-id>
</associated-type-info>
</goal>
</goals>
</goal-group>
<goal-group>
<name>
<text>Blood Presure</text>
</name>
<description>Keep your blood pressure under control.</description>
<goals>
<goal>
<name>
<text>Blood Pressure</text>
</name>
<description>Systolic should be below 130 mmHg. Diastolic should be less then 90 mmHg.</description>
<start-date>
<descriptive>4/1/2013</descriptive>
</start-date>
<associated-type-info>
<thing-type-version-id>ca3c57f4-f4c1-4e15-be67-0a3caf5414ed</thing-type-version-id>
</associated-type-info>
</goal>
</goals>
</goal-group>
</goal-groups>
</care-plan>";
} // class HVProxyTest
} // namespace HealthVaultProxyTest

Просмотреть файл

@ -1,22 +1,18 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Runtime.Serialization;
using System.Xml;
using System.Xml.Serialization;
// PHIL : Experimenting with XmlSerializer from article here... BUG : serializes twice!
// http://www.codeproject.com/Articles/14064/Using-the-XmlSerializer-Attributes
@ -75,35 +71,33 @@ namespace HealthVaultProxyTest
public PatientRecord(SerializationInfo info, StreamingContext ctxt)
{
this.PatientId = (string)info.GetValue("PatientId", typeof(string));
this.PatientName = (string)info.GetValue("PatientName", typeof(string)); ;
this.PatientEmail = (string)info.GetValue("PatientEmail", typeof(string)); ;
this.SecretQuestion = (string)info.GetValue("SecretQuestion", typeof(string)); ;
this.SecretAnswer = (string)info.GetValue("SecretAnswer", typeof(string)); ;
this.ConnectCode = (string)info.GetValue("ConnectCode", typeof(string)); ;
this.PickUpURL = (string)info.GetValue("PickUpURL", typeof(string)); ;
this.PersonId = (string)info.GetValue("PersonId", typeof(string)); ;
this.RecordId = (string)info.GetValue("RecordId", typeof(string)); ;
this.ApplicationRecordId = (string)info.GetValue("ApplicationRecordId", typeof(string));
this.Status = (string)info.GetValue("Status", typeof(string));
PatientId = (string)info.GetValue("PatientId", typeof(string));
PatientName = (string)info.GetValue("PatientName", typeof(string)); ;
PatientEmail = (string)info.GetValue("PatientEmail", typeof(string)); ;
SecretQuestion = (string)info.GetValue("SecretQuestion", typeof(string)); ;
SecretAnswer = (string)info.GetValue("SecretAnswer", typeof(string)); ;
ConnectCode = (string)info.GetValue("ConnectCode", typeof(string)); ;
PickUpURL = (string)info.GetValue("PickUpURL", typeof(string)); ;
PersonId = (string)info.GetValue("PersonId", typeof(string)); ;
RecordId = (string)info.GetValue("RecordId", typeof(string)); ;
ApplicationRecordId = (string)info.GetValue("ApplicationRecordId", typeof(string));
Status = (string)info.GetValue("Status", typeof(string));
}
public void GetObjectData(SerializationInfo info, StreamingContext ctxt)
{
info.AddValue("PatientId", this.PatientId);
info.AddValue("PatientName", this.PatientName);
info.AddValue("PatientEmail", this.PatientEmail);
info.AddValue("SecretQuestion", this.SecretQuestion);
info.AddValue("SecretAnswer", this.SecretAnswer);
info.AddValue("ConnectCode", this.ConnectCode);
info.AddValue("PickUpURL", this.PickUpURL);
info.AddValue("PersonId", this.PersonId);
info.AddValue("RecordId", this.RecordId);
info.AddValue("ApplicationRecordId", this.ApplicationRecordId);
info.AddValue("Status", this.Status);
info.AddValue("PatientId", PatientId);
info.AddValue("PatientName", PatientName);
info.AddValue("PatientEmail", PatientEmail);
info.AddValue("SecretQuestion", SecretQuestion);
info.AddValue("SecretAnswer", SecretAnswer);
info.AddValue("ConnectCode", ConnectCode);
info.AddValue("PickUpURL", PickUpURL);
info.AddValue("PersonId", PersonId);
info.AddValue("RecordId", RecordId);
info.AddValue("ApplicationRecordId", ApplicationRecordId);
info.AddValue("Status", Status);
}
}
[Serializable()]
@ -125,18 +119,18 @@ namespace HealthVaultProxyTest
public List<PatientRecord> PatientRecords
{
get { return this.myLocalPatientRecords; }
set { this.myLocalPatientRecords = value; }
get { return myLocalPatientRecords; }
set { myLocalPatientRecords = value; }
}
public LocalPatientRecords(SerializationInfo info, StreamingContext ctxt)
{
this.myLocalPatientRecords = (List<PatientRecord>)info.GetValue("Patients", typeof(List<PatientRecord>));
myLocalPatientRecords = (List<PatientRecord>)info.GetValue("Patients", typeof(List<PatientRecord>));
}
public void GetObjectData(SerializationInfo info, StreamingContext ctxt)
{
info.AddValue("Patients", this.myLocalPatientRecords);
info.AddValue("Patients", myLocalPatientRecords);
}
public bool ValidateRecord(HVConnect.ValidatedConnection vpc)
@ -158,16 +152,15 @@ namespace HealthVaultProxyTest
}
}
public class PatientRecordsSerializer
{
private XmlSerializer s = null;
private Type type = null;
private XmlSerializer _s = null;
private Type _type = null;
public PatientRecordsSerializer()
{
this.type = typeof(LocalPatientRecords);
this.s = new XmlSerializer(this.type);
_type = typeof(LocalPatientRecords);
_s = new XmlSerializer(_type);
}
public LocalPatientRecords Deserialize(string xml)
@ -184,7 +177,7 @@ namespace HealthVaultProxyTest
public LocalPatientRecords Deserialize(TextReader reader)
{
LocalPatientRecords lpr = (LocalPatientRecords)s.Deserialize(reader);
LocalPatientRecords lpr = (LocalPatientRecords)_s.Deserialize(reader);
reader.Close();
return lpr;
}
@ -209,8 +202,8 @@ namespace HealthVaultProxyTest
private TextWriter WriterSerialize(LocalPatientRecords lpr)
{
TextWriter w = new StringWriter();
this.s = new XmlSerializer(this.type);
s.Serialize(w, lpr);
_s = new XmlSerializer(_type);
_s.Serialize(w, lpr);
w.Flush();
return w;
}
@ -251,5 +244,4 @@ namespace HealthVaultProxyTest
return ok;
}
}
}

Просмотреть файл

@ -1,8 +1,7 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("HealthVaultProxyTest")]
@ -10,12 +9,12 @@ using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("HealthVaultProxyTest")]
[assembly: AssemblyCopyright("Copyright © 2013")]
[assembly: AssemblyCopyright("Copyright \u00A9 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
@ -25,11 +24,11 @@ using System.Runtime.InteropServices;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]

Просмотреть файл

@ -40,22 +40,22 @@ namespace HealthVaultProxyTest.HVConnect {
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
return extensionDataField;
}
set {
this.extensionDataField = value;
extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string LocalPersonName {
get {
return this.LocalPersonNameField;
return LocalPersonNameField;
}
set {
if ((object.ReferenceEquals(this.LocalPersonNameField, value) != true)) {
this.LocalPersonNameField = value;
this.RaisePropertyChanged("LocalPersonName");
if ((object.ReferenceEquals(LocalPersonNameField, value) != true)) {
LocalPersonNameField = value;
RaisePropertyChanged("LocalPersonName");
}
}
}
@ -63,12 +63,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public string LocalRecordId {
get {
return this.LocalRecordIdField;
return LocalRecordIdField;
}
set {
if ((object.ReferenceEquals(this.LocalRecordIdField, value) != true)) {
this.LocalRecordIdField = value;
this.RaisePropertyChanged("LocalRecordId");
if ((object.ReferenceEquals(LocalRecordIdField, value) != true)) {
LocalRecordIdField = value;
RaisePropertyChanged("LocalRecordId");
}
}
}
@ -76,12 +76,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public string SecretAnswer {
get {
return this.SecretAnswerField;
return SecretAnswerField;
}
set {
if ((object.ReferenceEquals(this.SecretAnswerField, value) != true)) {
this.SecretAnswerField = value;
this.RaisePropertyChanged("SecretAnswer");
if ((object.ReferenceEquals(SecretAnswerField, value) != true)) {
SecretAnswerField = value;
RaisePropertyChanged("SecretAnswer");
}
}
}
@ -89,12 +89,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public string SecretQuestion {
get {
return this.SecretQuestionField;
return SecretQuestionField;
}
set {
if ((object.ReferenceEquals(this.SecretQuestionField, value) != true)) {
this.SecretQuestionField = value;
this.RaisePropertyChanged("SecretQuestion");
if ((object.ReferenceEquals(SecretQuestionField, value) != true)) {
SecretQuestionField = value;
RaisePropertyChanged("SecretQuestion");
}
}
}
@ -102,12 +102,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public string Token {
get {
return this.TokenField;
return TokenField;
}
set {
if ((object.ReferenceEquals(this.TokenField, value) != true)) {
this.TokenField = value;
this.RaisePropertyChanged("Token");
if ((object.ReferenceEquals(TokenField, value) != true)) {
TokenField = value;
RaisePropertyChanged("Token");
}
}
}
@ -115,7 +115,7 @@ namespace HealthVaultProxyTest.HVConnect {
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
System.ComponentModel.PropertyChangedEventHandler propertyChanged = PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
@ -147,22 +147,22 @@ namespace HealthVaultProxyTest.HVConnect {
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
return extensionDataField;
}
set {
this.extensionDataField = value;
extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Message {
get {
return this.MessageField;
return MessageField;
}
set {
if ((object.ReferenceEquals(this.MessageField, value) != true)) {
this.MessageField = value;
this.RaisePropertyChanged("Message");
if ((object.ReferenceEquals(MessageField, value) != true)) {
MessageField = value;
RaisePropertyChanged("Message");
}
}
}
@ -170,12 +170,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public string Stack {
get {
return this.StackField;
return StackField;
}
set {
if ((object.ReferenceEquals(this.StackField, value) != true)) {
this.StackField = value;
this.RaisePropertyChanged("Stack");
if ((object.ReferenceEquals(StackField, value) != true)) {
StackField = value;
RaisePropertyChanged("Stack");
}
}
}
@ -183,12 +183,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public bool Success {
get {
return this.SuccessField;
return SuccessField;
}
set {
if ((this.SuccessField.Equals(value) != true)) {
this.SuccessField = value;
this.RaisePropertyChanged("Success");
if ((SuccessField.Equals(value) != true)) {
SuccessField = value;
RaisePropertyChanged("Success");
}
}
}
@ -196,7 +196,7 @@ namespace HealthVaultProxyTest.HVConnect {
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
System.ComponentModel.PropertyChangedEventHandler propertyChanged = PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
@ -215,12 +215,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public HealthVaultProxyTest.HVConnect.ValidatedConnection[] Connections {
get {
return this.ConnectionsField;
return ConnectionsField;
}
set {
if ((object.ReferenceEquals(this.ConnectionsField, value) != true)) {
this.ConnectionsField = value;
this.RaisePropertyChanged("Connections");
if ((object.ReferenceEquals(ConnectionsField, value) != true)) {
ConnectionsField = value;
RaisePropertyChanged("Connections");
}
}
}
@ -255,12 +255,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public string ConnectionCode {
get {
return this.ConnectionCodeField;
return ConnectionCodeField;
}
set {
if ((object.ReferenceEquals(this.ConnectionCodeField, value) != true)) {
this.ConnectionCodeField = value;
this.RaisePropertyChanged("ConnectionCode");
if ((object.ReferenceEquals(ConnectionCodeField, value) != true)) {
ConnectionCodeField = value;
RaisePropertyChanged("ConnectionCode");
}
}
}
@ -268,12 +268,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public string PickupUrl {
get {
return this.PickupUrlField;
return PickupUrlField;
}
set {
if ((object.ReferenceEquals(this.PickupUrlField, value) != true)) {
this.PickupUrlField = value;
this.RaisePropertyChanged("PickupUrl");
if ((object.ReferenceEquals(PickupUrlField, value) != true)) {
PickupUrlField = value;
RaisePropertyChanged("PickupUrl");
}
}
}
@ -306,22 +306,22 @@ namespace HealthVaultProxyTest.HVConnect {
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
return extensionDataField;
}
set {
this.extensionDataField = value;
extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid ApplicationId {
get {
return this.ApplicationIdField;
return ApplicationIdField;
}
set {
if ((this.ApplicationIdField.Equals(value) != true)) {
this.ApplicationIdField = value;
this.RaisePropertyChanged("ApplicationId");
if ((ApplicationIdField.Equals(value) != true)) {
ApplicationIdField = value;
RaisePropertyChanged("ApplicationId");
}
}
}
@ -329,12 +329,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public string ApplicationPatientId {
get {
return this.ApplicationPatientIdField;
return ApplicationPatientIdField;
}
set {
if ((object.ReferenceEquals(this.ApplicationPatientIdField, value) != true)) {
this.ApplicationPatientIdField = value;
this.RaisePropertyChanged("ApplicationPatientId");
if ((object.ReferenceEquals(ApplicationPatientIdField, value) != true)) {
ApplicationPatientIdField = value;
RaisePropertyChanged("ApplicationPatientId");
}
}
}
@ -342,12 +342,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public string ApplicationSpecificRecordId {
get {
return this.ApplicationSpecificRecordIdField;
return ApplicationSpecificRecordIdField;
}
set {
if ((object.ReferenceEquals(this.ApplicationSpecificRecordIdField, value) != true)) {
this.ApplicationSpecificRecordIdField = value;
this.RaisePropertyChanged("ApplicationSpecificRecordId");
if ((object.ReferenceEquals(ApplicationSpecificRecordIdField, value) != true)) {
ApplicationSpecificRecordIdField = value;
RaisePropertyChanged("ApplicationSpecificRecordId");
}
}
}
@ -355,12 +355,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid PersonId {
get {
return this.PersonIdField;
return PersonIdField;
}
set {
if ((this.PersonIdField.Equals(value) != true)) {
this.PersonIdField = value;
this.RaisePropertyChanged("PersonId");
if ((PersonIdField.Equals(value) != true)) {
PersonIdField = value;
RaisePropertyChanged("PersonId");
}
}
}
@ -368,12 +368,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid RecordId {
get {
return this.RecordIdField;
return RecordIdField;
}
set {
if ((this.RecordIdField.Equals(value) != true)) {
this.RecordIdField = value;
this.RaisePropertyChanged("RecordId");
if ((RecordIdField.Equals(value) != true)) {
RecordIdField = value;
RaisePropertyChanged("RecordId");
}
}
}
@ -381,7 +381,7 @@ namespace HealthVaultProxyTest.HVConnect {
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
System.ComponentModel.PropertyChangedEventHandler propertyChanged = PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
@ -406,22 +406,22 @@ namespace HealthVaultProxyTest.HVConnect {
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
return extensionDataField;
}
set {
this.extensionDataField = value;
extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.DateTime SinceDate {
get {
return this.SinceDateField;
return SinceDateField;
}
set {
if ((this.SinceDateField.Equals(value) != true)) {
this.SinceDateField = value;
this.RaisePropertyChanged("SinceDate");
if ((SinceDateField.Equals(value) != true)) {
SinceDateField = value;
RaisePropertyChanged("SinceDate");
}
}
}
@ -429,12 +429,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public string Token {
get {
return this.TokenField;
return TokenField;
}
set {
if ((object.ReferenceEquals(this.TokenField, value) != true)) {
this.TokenField = value;
this.RaisePropertyChanged("Token");
if ((object.ReferenceEquals(TokenField, value) != true)) {
TokenField = value;
RaisePropertyChanged("Token");
}
}
}
@ -442,7 +442,7 @@ namespace HealthVaultProxyTest.HVConnect {
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
System.ComponentModel.PropertyChangedEventHandler propertyChanged = PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
@ -467,22 +467,22 @@ namespace HealthVaultProxyTest.HVConnect {
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
return extensionDataField;
}
set {
this.extensionDataField = value;
extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string LocalRecordId {
get {
return this.LocalRecordIdField;
return LocalRecordIdField;
}
set {
if ((object.ReferenceEquals(this.LocalRecordIdField, value) != true)) {
this.LocalRecordIdField = value;
this.RaisePropertyChanged("LocalRecordId");
if ((object.ReferenceEquals(LocalRecordIdField, value) != true)) {
LocalRecordIdField = value;
RaisePropertyChanged("LocalRecordId");
}
}
}
@ -490,12 +490,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public string Token {
get {
return this.TokenField;
return TokenField;
}
set {
if ((object.ReferenceEquals(this.TokenField, value) != true)) {
this.TokenField = value;
this.RaisePropertyChanged("Token");
if ((object.ReferenceEquals(TokenField, value) != true)) {
TokenField = value;
RaisePropertyChanged("Token");
}
}
}
@ -503,7 +503,7 @@ namespace HealthVaultProxyTest.HVConnect {
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
System.ComponentModel.PropertyChangedEventHandler propertyChanged = PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
@ -531,22 +531,22 @@ namespace HealthVaultProxyTest.HVConnect {
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
return extensionDataField;
}
set {
this.extensionDataField = value;
extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid PersonId {
get {
return this.PersonIdField;
return PersonIdField;
}
set {
if ((this.PersonIdField.Equals(value) != true)) {
this.PersonIdField = value;
this.RaisePropertyChanged("PersonId");
if ((PersonIdField.Equals(value) != true)) {
PersonIdField = value;
RaisePropertyChanged("PersonId");
}
}
}
@ -554,12 +554,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid RecordId {
get {
return this.RecordIdField;
return RecordIdField;
}
set {
if ((this.RecordIdField.Equals(value) != true)) {
this.RecordIdField = value;
this.RaisePropertyChanged("RecordId");
if ((RecordIdField.Equals(value) != true)) {
RecordIdField = value;
RaisePropertyChanged("RecordId");
}
}
}
@ -567,12 +567,12 @@ namespace HealthVaultProxyTest.HVConnect {
[System.Runtime.Serialization.DataMemberAttribute()]
public string Token {
get {
return this.TokenField;
return TokenField;
}
set {
if ((object.ReferenceEquals(this.TokenField, value) != true)) {
this.TokenField = value;
this.RaisePropertyChanged("Token");
if ((object.ReferenceEquals(TokenField, value) != true)) {
TokenField = value;
RaisePropertyChanged("Token");
}
}
}
@ -580,7 +580,7 @@ namespace HealthVaultProxyTest.HVConnect {
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
System.ComponentModel.PropertyChangedEventHandler propertyChanged = PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}

Просмотреть файл

@ -31,22 +31,22 @@ namespace HealthVaultProxyTest.HVDataAccess {
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
return extensionDataField;
}
set {
this.extensionDataField = value;
extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.DateTime SinceDate {
get {
return this.SinceDateField;
return SinceDateField;
}
set {
if ((this.SinceDateField.Equals(value) != true)) {
this.SinceDateField = value;
this.RaisePropertyChanged("SinceDate");
if ((SinceDateField.Equals(value) != true)) {
SinceDateField = value;
RaisePropertyChanged("SinceDate");
}
}
}
@ -54,12 +54,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public string Token {
get {
return this.TokenField;
return TokenField;
}
set {
if ((object.ReferenceEquals(this.TokenField, value) != true)) {
this.TokenField = value;
this.RaisePropertyChanged("Token");
if ((object.ReferenceEquals(TokenField, value) != true)) {
TokenField = value;
RaisePropertyChanged("Token");
}
}
}
@ -67,7 +67,7 @@ namespace HealthVaultProxyTest.HVDataAccess {
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
System.ComponentModel.PropertyChangedEventHandler propertyChanged = PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
@ -99,22 +99,22 @@ namespace HealthVaultProxyTest.HVDataAccess {
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
return extensionDataField;
}
set {
this.extensionDataField = value;
extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Message {
get {
return this.MessageField;
return MessageField;
}
set {
if ((object.ReferenceEquals(this.MessageField, value) != true)) {
this.MessageField = value;
this.RaisePropertyChanged("Message");
if ((object.ReferenceEquals(MessageField, value) != true)) {
MessageField = value;
RaisePropertyChanged("Message");
}
}
}
@ -122,12 +122,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public string Stack {
get {
return this.StackField;
return StackField;
}
set {
if ((object.ReferenceEquals(this.StackField, value) != true)) {
this.StackField = value;
this.RaisePropertyChanged("Stack");
if ((object.ReferenceEquals(StackField, value) != true)) {
StackField = value;
RaisePropertyChanged("Stack");
}
}
}
@ -135,12 +135,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public bool Success {
get {
return this.SuccessField;
return SuccessField;
}
set {
if ((this.SuccessField.Equals(value) != true)) {
this.SuccessField = value;
this.RaisePropertyChanged("Success");
if ((SuccessField.Equals(value) != true)) {
SuccessField = value;
RaisePropertyChanged("Success");
}
}
}
@ -148,7 +148,7 @@ namespace HealthVaultProxyTest.HVDataAccess {
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
System.ComponentModel.PropertyChangedEventHandler propertyChanged = PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
@ -167,12 +167,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public string[] Things {
get {
return this.ThingsField;
return ThingsField;
}
set {
if ((object.ReferenceEquals(this.ThingsField, value) != true)) {
this.ThingsField = value;
this.RaisePropertyChanged("Things");
if ((object.ReferenceEquals(ThingsField, value) != true)) {
ThingsField = value;
RaisePropertyChanged("Things");
}
}
}
@ -203,12 +203,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public int CountReceived {
get {
return this.CountReceivedField;
return CountReceivedField;
}
set {
if ((this.CountReceivedField.Equals(value) != true)) {
this.CountReceivedField = value;
this.RaisePropertyChanged("CountReceived");
if ((CountReceivedField.Equals(value) != true)) {
CountReceivedField = value;
RaisePropertyChanged("CountReceived");
}
}
}
@ -216,12 +216,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public int CountSucceeded {
get {
return this.CountSucceededField;
return CountSucceededField;
}
set {
if ((this.CountSucceededField.Equals(value) != true)) {
this.CountSucceededField = value;
this.RaisePropertyChanged("CountSucceeded");
if ((CountSucceededField.Equals(value) != true)) {
CountSucceededField = value;
RaisePropertyChanged("CountSucceeded");
}
}
}
@ -229,12 +229,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public int IndexOnError {
get {
return this.IndexOnErrorField;
return IndexOnErrorField;
}
set {
if ((this.IndexOnErrorField.Equals(value) != true)) {
this.IndexOnErrorField = value;
this.RaisePropertyChanged("IndexOnError");
if ((IndexOnErrorField.Equals(value) != true)) {
IndexOnErrorField = value;
RaisePropertyChanged("IndexOnError");
}
}
}
@ -252,12 +252,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public HealthVaultProxyTest.HVDataAccess.RecordUpdateInfo[] UpdatedRecords {
get {
return this.UpdatedRecordsField;
return UpdatedRecordsField;
}
set {
if ((object.ReferenceEquals(this.UpdatedRecordsField, value) != true)) {
this.UpdatedRecordsField = value;
this.RaisePropertyChanged("UpdatedRecords");
if ((object.ReferenceEquals(UpdatedRecordsField, value) != true)) {
UpdatedRecordsField = value;
RaisePropertyChanged("UpdatedRecords");
}
}
}
@ -284,22 +284,22 @@ namespace HealthVaultProxyTest.HVDataAccess {
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
return extensionDataField;
}
set {
this.extensionDataField = value;
extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.DateTime LastUpdateDate {
get {
return this.LastUpdateDateField;
return LastUpdateDateField;
}
set {
if ((this.LastUpdateDateField.Equals(value) != true)) {
this.LastUpdateDateField = value;
this.RaisePropertyChanged("LastUpdateDate");
if ((LastUpdateDateField.Equals(value) != true)) {
LastUpdateDateField = value;
RaisePropertyChanged("LastUpdateDate");
}
}
}
@ -307,12 +307,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid PersonId {
get {
return this.PersonIdField;
return PersonIdField;
}
set {
if ((this.PersonIdField.Equals(value) != true)) {
this.PersonIdField = value;
this.RaisePropertyChanged("PersonId");
if ((PersonIdField.Equals(value) != true)) {
PersonIdField = value;
RaisePropertyChanged("PersonId");
}
}
}
@ -320,12 +320,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid RecordId {
get {
return this.RecordIdField;
return RecordIdField;
}
set {
if ((this.RecordIdField.Equals(value) != true)) {
this.RecordIdField = value;
this.RaisePropertyChanged("RecordId");
if ((RecordIdField.Equals(value) != true)) {
RecordIdField = value;
RaisePropertyChanged("RecordId");
}
}
}
@ -333,7 +333,7 @@ namespace HealthVaultProxyTest.HVDataAccess {
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
System.ComponentModel.PropertyChangedEventHandler propertyChanged = PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
@ -367,22 +367,22 @@ namespace HealthVaultProxyTest.HVDataAccess {
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
return extensionDataField;
}
set {
this.extensionDataField = value;
extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid PersonId {
get {
return this.PersonIdField;
return PersonIdField;
}
set {
if ((this.PersonIdField.Equals(value) != true)) {
this.PersonIdField = value;
this.RaisePropertyChanged("PersonId");
if ((PersonIdField.Equals(value) != true)) {
PersonIdField = value;
RaisePropertyChanged("PersonId");
}
}
}
@ -390,12 +390,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid RecordId {
get {
return this.RecordIdField;
return RecordIdField;
}
set {
if ((this.RecordIdField.Equals(value) != true)) {
this.RecordIdField = value;
this.RaisePropertyChanged("RecordId");
if ((RecordIdField.Equals(value) != true)) {
RecordIdField = value;
RaisePropertyChanged("RecordId");
}
}
}
@ -403,12 +403,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public System.DateTime SinceDate {
get {
return this.SinceDateField;
return SinceDateField;
}
set {
if ((this.SinceDateField.Equals(value) != true)) {
this.SinceDateField = value;
this.RaisePropertyChanged("SinceDate");
if ((SinceDateField.Equals(value) != true)) {
SinceDateField = value;
RaisePropertyChanged("SinceDate");
}
}
}
@ -416,12 +416,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public string Token {
get {
return this.TokenField;
return TokenField;
}
set {
if ((object.ReferenceEquals(this.TokenField, value) != true)) {
this.TokenField = value;
this.RaisePropertyChanged("Token");
if ((object.ReferenceEquals(TokenField, value) != true)) {
TokenField = value;
RaisePropertyChanged("Token");
}
}
}
@ -429,12 +429,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid[] TypeIds {
get {
return this.TypeIdsField;
return TypeIdsField;
}
set {
if ((object.ReferenceEquals(this.TypeIdsField, value) != true)) {
this.TypeIdsField = value;
this.RaisePropertyChanged("TypeIds");
if ((object.ReferenceEquals(TypeIdsField, value) != true)) {
TypeIdsField = value;
RaisePropertyChanged("TypeIds");
}
}
}
@ -442,7 +442,7 @@ namespace HealthVaultProxyTest.HVDataAccess {
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
System.ComponentModel.PropertyChangedEventHandler propertyChanged = PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
@ -479,22 +479,22 @@ namespace HealthVaultProxyTest.HVDataAccess {
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
return extensionDataField;
}
set {
this.extensionDataField = value;
extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid PersonId {
get {
return this.PersonIdField;
return PersonIdField;
}
set {
if ((this.PersonIdField.Equals(value) != true)) {
this.PersonIdField = value;
this.RaisePropertyChanged("PersonId");
if ((PersonIdField.Equals(value) != true)) {
PersonIdField = value;
RaisePropertyChanged("PersonId");
}
}
}
@ -502,12 +502,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid RecordId {
get {
return this.RecordIdField;
return RecordIdField;
}
set {
if ((this.RecordIdField.Equals(value) != true)) {
this.RecordIdField = value;
this.RaisePropertyChanged("RecordId");
if ((RecordIdField.Equals(value) != true)) {
RecordIdField = value;
RaisePropertyChanged("RecordId");
}
}
}
@ -515,12 +515,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public string Token {
get {
return this.TokenField;
return TokenField;
}
set {
if ((object.ReferenceEquals(this.TokenField, value) != true)) {
this.TokenField = value;
this.RaisePropertyChanged("Token");
if ((object.ReferenceEquals(TokenField, value) != true)) {
TokenField = value;
RaisePropertyChanged("Token");
}
}
}
@ -528,12 +528,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid TypeId {
get {
return this.TypeIdField;
return TypeIdField;
}
set {
if ((this.TypeIdField.Equals(value) != true)) {
this.TypeIdField = value;
this.RaisePropertyChanged("TypeId");
if ((TypeIdField.Equals(value) != true)) {
TypeIdField = value;
RaisePropertyChanged("TypeId");
}
}
}
@ -541,12 +541,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public string TypeName {
get {
return this.TypeNameField;
return TypeNameField;
}
set {
if ((object.ReferenceEquals(this.TypeNameField, value) != true)) {
this.TypeNameField = value;
this.RaisePropertyChanged("TypeName");
if ((object.ReferenceEquals(TypeNameField, value) != true)) {
TypeNameField = value;
RaisePropertyChanged("TypeName");
}
}
}
@ -554,12 +554,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public string XmlItem {
get {
return this.XmlItemField;
return XmlItemField;
}
set {
if ((object.ReferenceEquals(this.XmlItemField, value) != true)) {
this.XmlItemField = value;
this.RaisePropertyChanged("XmlItem");
if ((object.ReferenceEquals(XmlItemField, value) != true)) {
XmlItemField = value;
RaisePropertyChanged("XmlItem");
}
}
}
@ -567,7 +567,7 @@ namespace HealthVaultProxyTest.HVDataAccess {
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
System.ComponentModel.PropertyChangedEventHandler propertyChanged = PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
@ -598,22 +598,22 @@ namespace HealthVaultProxyTest.HVDataAccess {
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
return extensionDataField;
}
set {
this.extensionDataField = value;
extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid PersonId {
get {
return this.PersonIdField;
return PersonIdField;
}
set {
if ((this.PersonIdField.Equals(value) != true)) {
this.PersonIdField = value;
this.RaisePropertyChanged("PersonId");
if ((PersonIdField.Equals(value) != true)) {
PersonIdField = value;
RaisePropertyChanged("PersonId");
}
}
}
@ -621,12 +621,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid RecordId {
get {
return this.RecordIdField;
return RecordIdField;
}
set {
if ((this.RecordIdField.Equals(value) != true)) {
this.RecordIdField = value;
this.RaisePropertyChanged("RecordId");
if ((RecordIdField.Equals(value) != true)) {
RecordIdField = value;
RaisePropertyChanged("RecordId");
}
}
}
@ -634,12 +634,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public string Token {
get {
return this.TokenField;
return TokenField;
}
set {
if ((object.ReferenceEquals(this.TokenField, value) != true)) {
this.TokenField = value;
this.RaisePropertyChanged("Token");
if ((object.ReferenceEquals(TokenField, value) != true)) {
TokenField = value;
RaisePropertyChanged("Token");
}
}
}
@ -647,12 +647,12 @@ namespace HealthVaultProxyTest.HVDataAccess {
[System.Runtime.Serialization.DataMemberAttribute()]
public string[] XmlInputs {
get {
return this.XmlInputsField;
return XmlInputsField;
}
set {
if ((object.ReferenceEquals(this.XmlInputsField, value) != true)) {
this.XmlInputsField = value;
this.RaisePropertyChanged("XmlInputs");
if ((object.ReferenceEquals(XmlInputsField, value) != true)) {
XmlInputsField = value;
RaisePropertyChanged("XmlInputs");
}
}
}
@ -660,7 +660,7 @@ namespace HealthVaultProxyTest.HVDataAccess {
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
System.ComponentModel.PropertyChangedEventHandler propertyChanged = PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}

Просмотреть файл

@ -36,22 +36,22 @@ namespace HealthVaultProxyTest.HVDropOff {
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
return extensionDataField;
}
set {
this.extensionDataField = value;
extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string Message {
get {
return this.MessageField;
return MessageField;
}
set {
if ((object.ReferenceEquals(this.MessageField, value) != true)) {
this.MessageField = value;
this.RaisePropertyChanged("Message");
if ((object.ReferenceEquals(MessageField, value) != true)) {
MessageField = value;
RaisePropertyChanged("Message");
}
}
}
@ -59,12 +59,12 @@ namespace HealthVaultProxyTest.HVDropOff {
[System.Runtime.Serialization.DataMemberAttribute()]
public string Stack {
get {
return this.StackField;
return StackField;
}
set {
if ((object.ReferenceEquals(this.StackField, value) != true)) {
this.StackField = value;
this.RaisePropertyChanged("Stack");
if ((object.ReferenceEquals(StackField, value) != true)) {
StackField = value;
RaisePropertyChanged("Stack");
}
}
}
@ -72,12 +72,12 @@ namespace HealthVaultProxyTest.HVDropOff {
[System.Runtime.Serialization.DataMemberAttribute()]
public bool Success {
get {
return this.SuccessField;
return SuccessField;
}
set {
if ((this.SuccessField.Equals(value) != true)) {
this.SuccessField = value;
this.RaisePropertyChanged("Success");
if ((SuccessField.Equals(value) != true)) {
SuccessField = value;
RaisePropertyChanged("Success");
}
}
}
@ -85,7 +85,7 @@ namespace HealthVaultProxyTest.HVDropOff {
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
System.ComponentModel.PropertyChangedEventHandler propertyChanged = PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
@ -107,12 +107,12 @@ namespace HealthVaultProxyTest.HVDropOff {
[System.Runtime.Serialization.DataMemberAttribute()]
public string PickupUrl {
get {
return this.PickupUrlField;
return PickupUrlField;
}
set {
if ((object.ReferenceEquals(this.PickupUrlField, value) != true)) {
this.PickupUrlField = value;
this.RaisePropertyChanged("PickupUrl");
if ((object.ReferenceEquals(PickupUrlField, value) != true)) {
PickupUrlField = value;
RaisePropertyChanged("PickupUrl");
}
}
}
@ -120,12 +120,12 @@ namespace HealthVaultProxyTest.HVDropOff {
[System.Runtime.Serialization.DataMemberAttribute()]
public string SecretCode {
get {
return this.SecretCodeField;
return SecretCodeField;
}
set {
if ((object.ReferenceEquals(this.SecretCodeField, value) != true)) {
this.SecretCodeField = value;
this.RaisePropertyChanged("SecretCode");
if ((object.ReferenceEquals(SecretCodeField, value) != true)) {
SecretCodeField = value;
RaisePropertyChanged("SecretCode");
}
}
}
@ -143,12 +143,12 @@ namespace HealthVaultProxyTest.HVDropOff {
[System.Runtime.Serialization.DataMemberAttribute()]
public string DopuPackageId {
get {
return this.DopuPackageIdField;
return DopuPackageIdField;
}
set {
if ((object.ReferenceEquals(this.DopuPackageIdField, value) != true)) {
this.DopuPackageIdField = value;
this.RaisePropertyChanged("DopuPackageId");
if ((object.ReferenceEquals(DopuPackageIdField, value) != true)) {
DopuPackageIdField = value;
RaisePropertyChanged("DopuPackageId");
}
}
}
@ -196,22 +196,22 @@ namespace HealthVaultProxyTest.HVDropOff {
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
return extensionDataField;
}
set {
this.extensionDataField = value;
extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string DopuPackageId {
get {
return this.DopuPackageIdField;
return DopuPackageIdField;
}
set {
if ((object.ReferenceEquals(this.DopuPackageIdField, value) != true)) {
this.DopuPackageIdField = value;
this.RaisePropertyChanged("DopuPackageId");
if ((object.ReferenceEquals(DopuPackageIdField, value) != true)) {
DopuPackageIdField = value;
RaisePropertyChanged("DopuPackageId");
}
}
}
@ -219,12 +219,12 @@ namespace HealthVaultProxyTest.HVDropOff {
[System.Runtime.Serialization.DataMemberAttribute()]
public string EmailFrom {
get {
return this.EmailFromField;
return EmailFromField;
}
set {
if ((object.ReferenceEquals(this.EmailFromField, value) != true)) {
this.EmailFromField = value;
this.RaisePropertyChanged("EmailFrom");
if ((object.ReferenceEquals(EmailFromField, value) != true)) {
EmailFromField = value;
RaisePropertyChanged("EmailFrom");
}
}
}
@ -232,12 +232,12 @@ namespace HealthVaultProxyTest.HVDropOff {
[System.Runtime.Serialization.DataMemberAttribute()]
public string EmailSubject {
get {
return this.EmailSubjectField;
return EmailSubjectField;
}
set {
if ((object.ReferenceEquals(this.EmailSubjectField, value) != true)) {
this.EmailSubjectField = value;
this.RaisePropertyChanged("EmailSubject");
if ((object.ReferenceEquals(EmailSubjectField, value) != true)) {
EmailSubjectField = value;
RaisePropertyChanged("EmailSubject");
}
}
}
@ -245,12 +245,12 @@ namespace HealthVaultProxyTest.HVDropOff {
[System.Runtime.Serialization.DataMemberAttribute()]
public string[] EmailTo {
get {
return this.EmailToField;
return EmailToField;
}
set {
if ((object.ReferenceEquals(this.EmailToField, value) != true)) {
this.EmailToField = value;
this.RaisePropertyChanged("EmailTo");
if ((object.ReferenceEquals(EmailToField, value) != true)) {
EmailToField = value;
RaisePropertyChanged("EmailTo");
}
}
}
@ -258,12 +258,12 @@ namespace HealthVaultProxyTest.HVDropOff {
[System.Runtime.Serialization.DataMemberAttribute()]
public string FromName {
get {
return this.FromNameField;
return FromNameField;
}
set {
if ((object.ReferenceEquals(this.FromNameField, value) != true)) {
this.FromNameField = value;
this.RaisePropertyChanged("FromName");
if ((object.ReferenceEquals(FromNameField, value) != true)) {
FromNameField = value;
RaisePropertyChanged("FromName");
}
}
}
@ -271,12 +271,12 @@ namespace HealthVaultProxyTest.HVDropOff {
[System.Runtime.Serialization.DataMemberAttribute()]
public string LocalPatientId {
get {
return this.LocalPatientIdField;
return LocalPatientIdField;
}
set {
if ((object.ReferenceEquals(this.LocalPatientIdField, value) != true)) {
this.LocalPatientIdField = value;
this.RaisePropertyChanged("LocalPatientId");
if ((object.ReferenceEquals(LocalPatientIdField, value) != true)) {
LocalPatientIdField = value;
RaisePropertyChanged("LocalPatientId");
}
}
}
@ -284,12 +284,12 @@ namespace HealthVaultProxyTest.HVDropOff {
[System.Runtime.Serialization.DataMemberAttribute()]
public string SecretAnswer {
get {
return this.SecretAnswerField;
return SecretAnswerField;
}
set {
if ((object.ReferenceEquals(this.SecretAnswerField, value) != true)) {
this.SecretAnswerField = value;
this.RaisePropertyChanged("SecretAnswer");
if ((object.ReferenceEquals(SecretAnswerField, value) != true)) {
SecretAnswerField = value;
RaisePropertyChanged("SecretAnswer");
}
}
}
@ -297,12 +297,12 @@ namespace HealthVaultProxyTest.HVDropOff {
[System.Runtime.Serialization.DataMemberAttribute()]
public string SecretQuestion {
get {
return this.SecretQuestionField;
return SecretQuestionField;
}
set {
if ((object.ReferenceEquals(this.SecretQuestionField, value) != true)) {
this.SecretQuestionField = value;
this.RaisePropertyChanged("SecretQuestion");
if ((object.ReferenceEquals(SecretQuestionField, value) != true)) {
SecretQuestionField = value;
RaisePropertyChanged("SecretQuestion");
}
}
}
@ -310,12 +310,12 @@ namespace HealthVaultProxyTest.HVDropOff {
[System.Runtime.Serialization.DataMemberAttribute()]
public string[] Things {
get {
return this.ThingsField;
return ThingsField;
}
set {
if ((object.ReferenceEquals(this.ThingsField, value) != true)) {
this.ThingsField = value;
this.RaisePropertyChanged("Things");
if ((object.ReferenceEquals(ThingsField, value) != true)) {
ThingsField = value;
RaisePropertyChanged("Things");
}
}
}
@ -323,12 +323,12 @@ namespace HealthVaultProxyTest.HVDropOff {
[System.Runtime.Serialization.DataMemberAttribute()]
public string Token {
get {
return this.TokenField;
return TokenField;
}
set {
if ((object.ReferenceEquals(this.TokenField, value) != true)) {
this.TokenField = value;
this.RaisePropertyChanged("Token");
if ((object.ReferenceEquals(TokenField, value) != true)) {
TokenField = value;
RaisePropertyChanged("Token");
}
}
}
@ -336,7 +336,7 @@ namespace HealthVaultProxyTest.HVDropOff {
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
System.ComponentModel.PropertyChangedEventHandler propertyChanged = PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}

Просмотреть файл

@ -1,19 +1,14 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using System.Diagnostics;
using System.Xml.Linq;
// **** Format of a GetThingsResponse element. Use the SimpleThing derived classes to parse thing elements.
//
@ -61,343 +56,341 @@ using System.Diagnostics;
// </data-xml>
//</thing>
namespace HealthVaultProxyTest
{
public class SimpleThing
public class SimpleThing
{
public Guid ThingId { get; set; }
public Guid TypeId { get; set; }
public Guid VersionId { get; set; }
public DateTime EffectiveDate { get; set; }
public DateTime LastUpdatedUtc { get; set; }
public string LastUpdatedAppName { get; set; }
public Guid LastUpdatedAppId { get; set; }
public bool IsOriginalData { get; set; }
public string Note { get; set; }
public SimpleThing()
{
public Guid ThingId { get; set; }
public Guid TypeId { get; set; }
public Guid VersionId { get; set; }
public DateTime EffectiveDate { get; set; }
public DateTime LastUpdatedUtc { get; set; }
public string LastUpdatedAppName { get; set; }
public Guid LastUpdatedAppId { get; set; }
public bool IsOriginalData { get; set; }
public string Note { get; set; }
public SimpleThing()
{
}
public SimpleThing(SimpleThing copy)
{
this.ThingId = copy.ThingId;
this.TypeId = copy.TypeId;
this.VersionId = copy.VersionId;
this.EffectiveDate = copy.EffectiveDate;
this.LastUpdatedUtc = copy.LastUpdatedUtc;
this.LastUpdatedAppId = copy.LastUpdatedAppId;
this.LastUpdatedAppName = copy.LastUpdatedAppName;
this.IsOriginalData = copy.IsOriginalData;
this.Note = copy.Note;
}
public virtual void Initialize(string xmlThing)
{
XElement thing = XElement.Parse(xmlThing);
this.Initialize(ref thing);
}
public virtual void Initialize(ref XElement thing)
{
this.ThingId = new Guid(thing.Element("thing-id").Value);
this.TypeId = new Guid(thing.Element("type-id").Value);
this.VersionId = new Guid(thing.Element("thing-id").Attribute("version-stamp").Value);
this.EffectiveDate = (DateTime)thing.Element("eff-date");
this.LastUpdatedUtc = (DateTime)thing.Element("updated").Element("timestamp");
this.LastUpdatedAppId = (Guid)thing.Element("updated").Element("app-id");
this.LastUpdatedAppName = thing.Element("updated").Element("app-id").Attribute("name").Value;
DateTime created = (DateTime)thing.Element("created").Element("timestamp");
this.IsOriginalData = (created == this.LastUpdatedUtc);
this.Note = thing.Element("data-xml").Element("common").Value;
}
}
public class SimpleWeight : SimpleThing
public SimpleThing(SimpleThing copy)
{
public DateTime When { get; set; }
public double Value { get; set; }
public string Display { get; set; }
public SimpleWeight()
: base()
{
Value = 0.0;
When = DateTime.Today;
Display = string.Empty;
}
SimpleWeight(SimpleWeight copy)
: base(copy)
{
this.Value = copy.Value;
this.When = copy.When;
this.Display = copy.Display;
}
public override void Initialize(ref XElement thing)
{
base.Initialize(ref thing);
Debug.Assert(this.TypeId.Equals(new Guid("3d34d87e-7fc1-4153-800f-f56592cb0d17"))); // must be weight type
int year = (int)thing.Element("data-xml").Element("weight").Element("when").Element("date").Element("y");
int month = (int)thing.Element("data-xml").Element("weight").Element("when").Element("date").Element("m");
int day = (int)thing.Element("data-xml").Element("weight").Element("when").Element("date").Element("d");
int hour = (int)thing.Element("data-xml").Element("weight").Element("when").Element("time").Element("h");
int minute = (int)thing.Element("data-xml").Element("weight").Element("when").Element("time").Element("m");
int second = (int)thing.Element("data-xml").Element("weight").Element("when").Element("time").Element("m");
this.When = new DateTime(year, month, day, hour, minute, second);
this.Value = (double)thing.Element("data-xml").Element("weight").Element("value").Element("kg");
this.Display = thing.Element("data-xml").Element("weight").Element("value").Element("display").Value;
this.Display += thing.Element("data-xml").Element("weight").Element("value").Element("display").Attribute("units").Value;
}
ThingId = copy.ThingId;
TypeId = copy.TypeId;
VersionId = copy.VersionId;
EffectiveDate = copy.EffectiveDate;
LastUpdatedUtc = copy.LastUpdatedUtc;
LastUpdatedAppId = copy.LastUpdatedAppId;
LastUpdatedAppName = copy.LastUpdatedAppName;
IsOriginalData = copy.IsOriginalData;
Note = copy.Note;
}
public class SimpleBloodPressure : SimpleThing
public virtual void Initialize(string xmlThing)
{
public int Systolic { get; set; }
public int Diastolic { get; set; }
public int? Pulse { get; set; }
public SimpleBloodPressure()
: base()
{
this.Systolic = 0;
this.Diastolic = 0;
this.Pulse = 0;
}
public SimpleBloodPressure(SimpleBloodPressure copy)
: base(copy)
{
this.Systolic = copy.Systolic;
this.Diastolic = copy.Diastolic;
this.Pulse = copy.Pulse;
}
public override void Initialize(ref XElement thing)
{
base.Initialize(ref thing);
Debug.Assert(this.TypeId.Equals(new Guid("ca3c57f4-f4c1-4e15-be67-0a3caf5414ed")), "Expecting blood pressure thing type.");
Debug.Assert(true, "SimpleBloodPressure : InitializeFromThingType : Need to complete this method.");
}
XElement thing = XElement.Parse(xmlThing);
Initialize(ref thing);
}
public class SimpleBloodGlucose : SimpleThing
public virtual void Initialize(ref XElement thing)
{
public double MMOLL { get; set; }
public double MGDL { get; set; }
public string DisplayValue { get; set; }
public string Context { get; set; }
ThingId = new Guid(thing.Element("thing-id").Value);
TypeId = new Guid(thing.Element("type-id").Value);
VersionId = new Guid(thing.Element("thing-id").Attribute("version-stamp").Value);
EffectiveDate = (DateTime)thing.Element("eff-date");
LastUpdatedUtc = (DateTime)thing.Element("updated").Element("timestamp");
LastUpdatedAppId = (Guid)thing.Element("updated").Element("app-id");
LastUpdatedAppName = thing.Element("updated").Element("app-id").Attribute("name").Value;
DateTime created = (DateTime)thing.Element("created").Element("timestamp");
IsOriginalData = (created == LastUpdatedUtc);
Note = thing.Element("data-xml").Element("common").Value;
}
}
public SimpleBloodGlucose()
: base()
{
this.MMOLL = 0.0;
this.MGDL = 0.0;
this.DisplayValue = string.Empty;
this.Context = string.Empty;
}
public class SimpleWeight : SimpleThing
{
public DateTime When { get; set; }
public double Value { get; set; }
public string Display { get; set; }
public SimpleBloodGlucose(SimpleBloodGlucose copy)
: base(copy)
{
this.MMOLL = copy.MMOLL;
this.MGDL = copy.MGDL;
this.DisplayValue = copy.DisplayValue;
this.Context = copy.Context;
}
public override void Initialize(ref XElement thing)
{
base.Initialize(ref thing);
Debug.Assert(this.TypeId.Equals(new Guid("879e7c04-4e8a-4707-9ad3-b054df467ce4")), "Expecting blood glucose thing type.");
Debug.Assert(true, "SimpleBloodGlucose : InitializeFromThingType : Need to complete this method.");
//this.MMOLL = bg.Value.Value;
//this.MGDL = this.MMOLL * 18.0;
}
public SimpleWeight()
: base()
{
Value = 0.0;
When = DateTime.Today;
Display = string.Empty;
}
public class SimpleHeight : SimpleThing
private SimpleWeight(SimpleWeight copy)
: base(copy)
{
public double Value { get; set; }
public SimpleHeight()
: base()
{
Value = 0.0;
}
public SimpleHeight(SimpleHeight copy)
: base(copy)
{
this.Value = copy.Value;
}
public override void Initialize(ref XElement thing)
{
base.Initialize(ref thing);
Debug.Assert(this.TypeId.Equals(new Guid("40750a6a-89b2-455c-bd8d-b420a4cb500b")), "Expecting height thing type.");
Debug.Assert(true, "SimpleHeight : InitializeFromThingType : Need to complete this method.");
}
Value = copy.Value;
When = copy.When;
Display = copy.Display;
}
public class SimpleCholesterol : SimpleThing
public override void Initialize(ref XElement thing)
{
public int? HDL { set; get; }
public int? LDL { set; get; }
public int? TotalCholesterol { set; get; }
public int? Triglyceride { set; get; }
public DateTime When { set; get; }
base.Initialize(ref thing);
public SimpleCholesterol()
: base()
{
this.HDL = 0;
this.LDL = 0;
this.TotalCholesterol = 0;
this.Triglyceride = 0;
this.When = DateTime.UtcNow;
}
Debug.Assert(TypeId.Equals(new Guid("3d34d87e-7fc1-4153-800f-f56592cb0d17"))); // must be weight type
public SimpleCholesterol(SimpleCholesterol copy)
: base(copy)
{
this.HDL = copy.HDL;
this.LDL = copy.LDL;
this.TotalCholesterol = copy.TotalCholesterol;
this.Triglyceride = copy.Triglyceride;
this.When = copy.When;
}
int year = (int)thing.Element("data-xml").Element("weight").Element("when").Element("date").Element("y");
int month = (int)thing.Element("data-xml").Element("weight").Element("when").Element("date").Element("m");
int day = (int)thing.Element("data-xml").Element("weight").Element("when").Element("date").Element("d");
int hour = (int)thing.Element("data-xml").Element("weight").Element("when").Element("time").Element("h");
int minute = (int)thing.Element("data-xml").Element("weight").Element("when").Element("time").Element("m");
int second = (int)thing.Element("data-xml").Element("weight").Element("when").Element("time").Element("m");
public override void Initialize(ref XElement thing)
{
base.Initialize(ref thing);
Debug.Assert(this.TypeId.Equals(new Guid("796c186f-b874-471c-8468-3eeff73bf66e")), "Expecting cholesterol thing type.");
Debug.Assert(true, "SimpleCholesterol : InitializeFromThingType : Need to complete this method.");
}
When = new DateTime(year, month, day, hour, minute, second);
Value = (double)thing.Element("data-xml").Element("weight").Element("value").Element("kg");
Display = thing.Element("data-xml").Element("weight").Element("value").Element("display").Value;
Display += thing.Element("data-xml").Element("weight").Element("value").Element("display").Attribute("units").Value;
}
}
public class SimpleBloodPressure : SimpleThing
{
public int Systolic { get; set; }
public int Diastolic { get; set; }
public int? Pulse { get; set; }
public SimpleBloodPressure()
: base()
{
Systolic = 0;
Diastolic = 0;
Pulse = 0;
}
public class SimpleCondition : SimpleThing
public SimpleBloodPressure(SimpleBloodPressure copy)
: base(copy)
{
public string Name { get; set; }
public string Onset { get; set; }
public string Status { get; set; }
public string Stop { get; set; }
public string StopReason { get; set; }
public SimpleCondition()
: base()
{
this.Name = string.Empty;
this.Onset = string.Empty;
this.Status = string.Empty;
this.Stop = string.Empty;
this.StopReason = string.Empty;
}
public SimpleCondition(SimpleCondition copy)
: base(copy)
{
this.Name = copy.Name;
this.Onset = copy.Onset;
this.Status = copy.Status;
this.Stop = copy.Stop;
this.StopReason = copy.StopReason;
}
public override void Initialize(ref XElement thing)
{
base.Initialize(ref thing);
Debug.Assert(this.TypeId.Equals(new Guid("7ea7a1f9-880b-4bd4-b593-f5660f20eda8")), "Expecting condition thing type.");
Debug.Assert(true, "SimpleCondition : InitializeFromThingType : Need to complete this method.");
}
Systolic = copy.Systolic;
Diastolic = copy.Diastolic;
Pulse = copy.Pulse;
}
public class SimpleExercise : SimpleThing
public override void Initialize(ref XElement thing)
{
public string Activity { get; set; }
public string Details { get; set; }
public string Distance { get; set; }
public string Duration { get; set; }
public string Segments { get; set; }
public string Title { get; set; }
public string When { set; get; }
base.Initialize(ref thing);
public SimpleExercise()
: base()
{
this.Activity = string.Empty;
this.Details = string.Empty;
this.Distance = string.Empty;
this.Duration = string.Empty;
this.Segments = string.Empty;
this.Title = string.Empty;
this.When = string.Empty;
}
Debug.Assert(TypeId.Equals(new Guid("ca3c57f4-f4c1-4e15-be67-0a3caf5414ed")), "Expecting blood pressure thing type.");
Debug.Assert(true, "SimpleBloodPressure : InitializeFromThingType : Need to complete this method.");
}
}
public SimpleExercise(SimpleExercise copy)
: base(copy)
{
this.Activity = copy.Activity;
this.Details = copy.Details;
this.Distance = copy.Distance;
this.Duration = copy.Duration;
this.Segments = copy.Segments;
this.Title = copy.Title;
this.When = copy.When;
}
public class SimpleBloodGlucose : SimpleThing
{
public double MMOLL { get; set; }
public double MGDL { get; set; }
public string DisplayValue { get; set; }
public string Context { get; set; }
public override void Initialize(ref XElement thing)
{
base.Initialize(ref thing);
Debug.Assert(this.TypeId.Equals(new Guid("85a21ddb-db20-4c65-8d30-33c899ccf612")), "Expecting exercise thing type.");
Debug.Assert(true, "SimpleExercise : InitializeFromThingType : Need to complete this method.");
}
public SimpleBloodGlucose()
: base()
{
MMOLL = 0.0;
MGDL = 0.0;
DisplayValue = string.Empty;
Context = string.Empty;
}
public class SimpleHbA1C : SimpleThing
public SimpleBloodGlucose(SimpleBloodGlucose copy)
: base(copy)
{
public string AssayMethod { get; set; }
public string DeviceId { get; set; }
public double Value { get; set; }
public DateTime When { set; get; }
public SimpleHbA1C()
: base()
{
this.AssayMethod = string.Empty;
this.DeviceId = string.Empty;
this.Value = 0.0;
this.When = DateTime.UtcNow;
}
public SimpleHbA1C(SimpleHbA1C copy)
: base(copy)
{
this.AssayMethod = copy.AssayMethod;
this.DeviceId = copy.DeviceId;
this.Value = copy.Value;
this.When = copy.When;
}
public override void Initialize(ref XElement thing)
{
base.Initialize(ref thing);
Debug.Assert(this.TypeId.Equals(new Guid("227f55fb-1001-4d4e-9f6a-8d893e07b451")), "Expecting SimpleHbA1C thing type.");
Debug.Assert(true, "SimpleHbA1C : InitializeFromThingType : Need to complete this method.");
}
MMOLL = copy.MMOLL;
MGDL = copy.MGDL;
DisplayValue = copy.DisplayValue;
Context = copy.Context;
}
public override void Initialize(ref XElement thing)
{
base.Initialize(ref thing);
Debug.Assert(TypeId.Equals(new Guid("879e7c04-4e8a-4707-9ad3-b054df467ce4")), "Expecting blood glucose thing type.");
Debug.Assert(true, "SimpleBloodGlucose : InitializeFromThingType : Need to complete this method.");
//MMOLL = bg.Value.Value;
//MGDL = MMOLL * 18.0;
}
}
public class SimpleHeight : SimpleThing
{
public double Value { get; set; }
public SimpleHeight()
: base()
{
Value = 0.0;
}
public SimpleHeight(SimpleHeight copy)
: base(copy)
{
Value = copy.Value;
}
public override void Initialize(ref XElement thing)
{
base.Initialize(ref thing);
Debug.Assert(TypeId.Equals(new Guid("40750a6a-89b2-455c-bd8d-b420a4cb500b")), "Expecting height thing type.");
Debug.Assert(true, "SimpleHeight : InitializeFromThingType : Need to complete this method.");
}
}
public class SimpleCholesterol : SimpleThing
{
public int? HDL { set; get; }
public int? LDL { set; get; }
public int? TotalCholesterol { set; get; }
public int? Triglyceride { set; get; }
public DateTime When { set; get; }
public SimpleCholesterol()
: base()
{
HDL = 0;
LDL = 0;
TotalCholesterol = 0;
Triglyceride = 0;
When = DateTime.UtcNow;
}
public SimpleCholesterol(SimpleCholesterol copy)
: base(copy)
{
HDL = copy.HDL;
LDL = copy.LDL;
TotalCholesterol = copy.TotalCholesterol;
Triglyceride = copy.Triglyceride;
When = copy.When;
}
public override void Initialize(ref XElement thing)
{
base.Initialize(ref thing);
Debug.Assert(TypeId.Equals(new Guid("796c186f-b874-471c-8468-3eeff73bf66e")), "Expecting cholesterol thing type.");
Debug.Assert(true, "SimpleCholesterol : InitializeFromThingType : Need to complete this method.");
}
}
public class SimpleCondition : SimpleThing
{
public string Name { get; set; }
public string Onset { get; set; }
public string Status { get; set; }
public string Stop { get; set; }
public string StopReason { get; set; }
public SimpleCondition()
: base()
{
Name = string.Empty;
Onset = string.Empty;
Status = string.Empty;
Stop = string.Empty;
StopReason = string.Empty;
}
public SimpleCondition(SimpleCondition copy)
: base(copy)
{
Name = copy.Name;
Onset = copy.Onset;
Status = copy.Status;
Stop = copy.Stop;
StopReason = copy.StopReason;
}
public override void Initialize(ref XElement thing)
{
base.Initialize(ref thing);
Debug.Assert(TypeId.Equals(new Guid("7ea7a1f9-880b-4bd4-b593-f5660f20eda8")), "Expecting condition thing type.");
Debug.Assert(true, "SimpleCondition : InitializeFromThingType : Need to complete this method.");
}
}
public class SimpleExercise : SimpleThing
{
public string Activity { get; set; }
public string Details { get; set; }
public string Distance { get; set; }
public string Duration { get; set; }
public string Segments { get; set; }
public string Title { get; set; }
public string When { set; get; }
public SimpleExercise()
: base()
{
Activity = string.Empty;
Details = string.Empty;
Distance = string.Empty;
Duration = string.Empty;
Segments = string.Empty;
Title = string.Empty;
When = string.Empty;
}
public SimpleExercise(SimpleExercise copy)
: base(copy)
{
Activity = copy.Activity;
Details = copy.Details;
Distance = copy.Distance;
Duration = copy.Duration;
Segments = copy.Segments;
Title = copy.Title;
When = copy.When;
}
public override void Initialize(ref XElement thing)
{
base.Initialize(ref thing);
Debug.Assert(TypeId.Equals(new Guid("85a21ddb-db20-4c65-8d30-33c899ccf612")), "Expecting exercise thing type.");
Debug.Assert(true, "SimpleExercise : InitializeFromThingType : Need to complete this method.");
}
}
public class SimpleHbA1C : SimpleThing
{
public string AssayMethod { get; set; }
public string DeviceId { get; set; }
public double Value { get; set; }
public DateTime When { set; get; }
public SimpleHbA1C()
: base()
{
AssayMethod = string.Empty;
DeviceId = string.Empty;
Value = 0.0;
When = DateTime.UtcNow;
}
public SimpleHbA1C(SimpleHbA1C copy)
: base(copy)
{
AssayMethod = copy.AssayMethod;
DeviceId = copy.DeviceId;
Value = copy.Value;
When = copy.When;
}
public override void Initialize(ref XElement thing)
{
base.Initialize(ref thing);
Debug.Assert(TypeId.Equals(new Guid("227f55fb-1001-4d4e-9f6a-8d893e07b451")), "Expecting SimpleHbA1C thing type.");
Debug.Assert(true, "SimpleHbA1C : InitializeFromThingType : Need to complete this method.");
}
}
} // namespace HealthVaultProxyTest

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -10,75 +10,95 @@ using System;
using System.Collections.Specialized;
using System.Text.RegularExpressions;
namespace CommandLine.Utility{
/// <summary>
/// Arguments class
/// </summary>
public class Arguments{
// Variables
private StringDictionary Parameters;
namespace CommandLine.Utility
{
/// <summary>
/// Arguments class
/// </summary>
public class Arguments
{
// Variables
private StringDictionary _parameters;
// Constructor
public Arguments(string[] Args){
Parameters=new StringDictionary();
Regex Spliter=new Regex(@"^-{1,2}|^/|=|:",RegexOptions.IgnoreCase|RegexOptions.Compiled);
Regex Remover= new Regex(@"^['""]?(.*?)['""]?$",RegexOptions.IgnoreCase|RegexOptions.Compiled);
string Parameter=null;
string[] Parts;
// Constructor
public Arguments(string[] Args)
{
_parameters = new StringDictionary();
Regex Spliter = new Regex(@"^-{1,2}|^/|=|:", RegexOptions.IgnoreCase | RegexOptions.Compiled);
Regex Remover = new Regex(@"^['""]?(.*?)['""]?$", RegexOptions.IgnoreCase | RegexOptions.Compiled);
string Parameter = null;
string[] Parts;
// Valid parameters forms:
// {-,/,--}param{ ,=,:}((",')value(",'))
// Examples: -param1 value1 --param2 /param3:"Test-:-work" /param4=happy -param5 '--=nice=--'
foreach(string Txt in Args){
// Look for new parameters (-,/ or --) and a possible enclosed value (=,:)
Parts=Spliter.Split(Txt,3);
switch(Parts.Length){
// Found a value (for the last parameter found (space separator))
case 1:
if(Parameter!=null){
if(!Parameters.ContainsKey(Parameter)){
Parts[0]=Remover.Replace(Parts[0],"$1");
Parameters.Add(Parameter,Parts[0]);
}
Parameter=null;
}
// else Error: no parameter waiting for a value (skipped)
break;
// Found just a parameter
case 2:
// The last parameter is still waiting. With no value, set it to true.
if(Parameter!=null){
if(!Parameters.ContainsKey(Parameter)) Parameters.Add(Parameter,"true");
}
Parameter=Parts[1];
break;
// Parameter with enclosed value
case 3:
// The last parameter is still waiting. With no value, set it to true.
if(Parameter!=null){
if(!Parameters.ContainsKey(Parameter)) Parameters.Add(Parameter,"true");
}
Parameter=Parts[1];
// Remove possible enclosing characters (",')
if(!Parameters.ContainsKey(Parameter)){
Parts[2]=Remover.Replace(Parts[2],"$1");
Parameters.Add(Parameter,Parts[2]);
}
Parameter=null;
break;
}
}
// In case a parameter is still waiting
if(Parameter!=null){
if(!Parameters.ContainsKey(Parameter)) Parameters.Add(Parameter,"true");
}
}
// Valid parameters forms:
// {-,/,--}param{ ,=,:}((",')value(",'))
// Examples: -param1 value1 --param2 /param3:"Test-:-work" /param4=happy -param5 '--=nice=--'
foreach (string Txt in Args)
{
// Look for new parameters (-,/ or --) and a possible enclosed value (=,:)
Parts = Spliter.Split(Txt, 3);
switch (Parts.Length)
{
// Found a value (for the last parameter found (space separator))
case 1:
if (Parameter != null)
{
if (!_parameters.ContainsKey(Parameter))
{
Parts[0] = Remover.Replace(Parts[0], "$1");
_parameters.Add(Parameter, Parts[0]);
}
Parameter = null;
}
// Retrieve a parameter value if it exists
public string this [string Param]{
get{
return(Parameters[Param]);
}
}
}
}
// else Error: no parameter waiting for a value (skipped)
break;
// Found just a parameter
case 2:
// The last parameter is still waiting. With no value, set it to true.
if (Parameter != null)
{
if (!_parameters.ContainsKey(Parameter)) _parameters.Add(Parameter, "true");
}
Parameter = Parts[1];
break;
// Parameter with enclosed value
case 3:
// The last parameter is still waiting. With no value, set it to true.
if (Parameter != null)
{
if (!_parameters.ContainsKey(Parameter)) _parameters.Add(Parameter, "true");
}
Parameter = Parts[1];
// Remove possible enclosing characters (",')
if (!_parameters.ContainsKey(Parameter))
{
Parts[2] = Remover.Replace(Parts[2], "$1");
_parameters.Add(Parameter, Parts[2]);
}
Parameter = null;
break;
}
}
// In case a parameter is still waiting
if (Parameter != null)
{
if (!_parameters.ContainsKey(Parameter)) _parameters.Add(Parameter, "true");
}
}
// Retrieve a parameter value if it exists
public string this[string Param]
{
get
{
return (_parameters[Param]);
}
}
}
}

Просмотреть файл

@ -8,7 +8,6 @@
//
// 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.
using System;
using System.Collections.Generic;
using System.Linq;

Просмотреть файл

@ -8,7 +8,6 @@
//
// 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.
using System;
using System.Collections.Generic;
using System.Web;

Просмотреть файл

@ -18,7 +18,6 @@ textarea {
max-width: 280px;
}
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
.jumbotron {

Просмотреть файл

@ -15,12 +15,12 @@
<div class="jumbotron">
<h1>Meaningful Use Reporting</h1>
<p class="lead">HealthVault has EHR modular certification for the following Meaningful Use Stage 2 objectives:</p>
<ul>
<li>View, download, and transmit to a 3rd party (inpatient settings)</li>
<li>View, download, and transmit to a 3rd party (ambulatory settings)</li>
<li>Automated numerator recording (inpatient settings)</li>
<li>Automated numerator recording (ambulatory settings).</li>
</ul>
<ul>
<li>View, download, and transmit to a 3rd party (inpatient settings)</li>
<li>View, download, and transmit to a 3rd party (ambulatory settings)</li>
<li>Automated numerator recording (inpatient settings)</li>
<li>Automated numerator recording (ambulatory settings).</li>
</ul>
<p><a href="https://www.healthvault.com/en-us/healthvault-meaningful-use/" class="btn btn-primary btn-lg">Learn more &raquo;</a></p>
</div>
@ -28,7 +28,7 @@
<div class="col-md-4">
<h2>Send CCDAs to HealthVault</h2>
<p>
Submit Consolidated Clinical Document Architecture encoded documents to HealthVault.
Submit Consolidated Clinical Document Architecture encoded documents to HealthVault.
</p>
<p>
<a class="btn btn-default" runat="server" href="~/SendCCDAs.aspx">Learn more &raquo;</a>
@ -43,7 +43,5 @@
<a class="btn btn-default" runat="server" href="~/Reporting.aspx">Learn more &raquo;</a>
</p>
</div>
</div>
</asp:Content>

Просмотреть файл

@ -21,7 +21,6 @@ namespace MeaningfulUseReporting
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}

Просмотреть файл

@ -21,7 +21,7 @@ namespace MeaningfulUseReporting
{
public class Global : HttpApplication
{
void Application_Start(object sender, EventArgs e)
private void Application_Start(object sender, EventArgs e)
{
// Code that runs on application startup
RouteConfig.RegisterRoutes(RouteTable.Routes);

Просмотреть файл

@ -2,7 +2,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MeaningfulUseReporting")]
@ -10,12 +10,12 @@ using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MeaningfulUseReporting")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyCopyright("Copyright \u00A9 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
@ -25,11 +25,11 @@ using System.Runtime.InteropServices;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

Просмотреть файл

@ -9,10 +9,10 @@
--%>
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Redirect.aspx.cs" Inherits="MeaningfulUseReporting.Redirect" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<form id="form1" runat="server">
<div>
</div>
<form id="form1" runat="server">
<div>
</div>
</form>
</asp:Content>

Просмотреть файл

@ -4,7 +4,7 @@
//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.
//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.
using System;
using System.Collections.Generic;
@ -15,21 +15,20 @@ using System.Web.UI.WebControls;
namespace MeaningfulUseReporting
{
/// <summary>
/// We have set the following in the Web.Config:
/// <add key="NonProductionActionUrlRedirectOverride" value="Redirect.aspx"/>
/// This means that any time we go to the shell, it will redirect back to this
/// This means that any time we go to the shell, it will redirect back to this
/// page once it handles our request. The shell will attach a target parameter
/// in the URL that we can use to determine which page in our application we
/// want to redirect to. Microsoft.Health.Web.HealthServiceActionPage (which
/// this page extends) automatically handles processing the target param
/// in the URL. It uses keys (WCPage_ActionXXX) set in the Web.Config file
/// in the URL. It uses keys (WCPage_ActionXXX) set in the Web.Config file
/// to look up where to redirect based on the target param.
/// </summary>
public partial class Redirect : Microsoft.Health.Web.HealthServiceActionPage
{
//We don't want this page to require log on because when we sign out,
//We don't want this page to require log on because when we sign out,
//we still want this page to read the WCPage_ActionSignOut key in the
//Web.Config and redirect us to the proper page on sign out
protected override bool LogOnRequired

Просмотреть файл

@ -26,7 +26,6 @@ namespace MeaningfulUseReporting
{
protected void Page_Load(object sender, EventArgs e)
{
}
// report start calendar handlers
@ -108,6 +107,5 @@ namespace MeaningfulUseReporting
output.Visible = true;
output.Text = text + "<br/>";
}
}
}

Просмотреть файл

@ -77,7 +77,6 @@
<asp:Button ID="btnContributeDOPU" runat="server" Text="Send CCDA to HealthVault" OnClick="btnContributeDOPU_Click" />
<br />
<br />
</div>
</div>
<div class="row">
@ -86,5 +85,4 @@
</div>
<asp:Label ID="lblErrorOutput" runat="server" Text="" Style="color: red" />
</div>
</asp:Content>

Просмотреть файл

@ -40,15 +40,12 @@ namespace MeaningfulUseReporting
{
tbEventDate.Text = cldEventDate.SelectedDate.ToShortDateString();
cldEventDate.Style.Add("display", "none");
}
protected void Cal_VisibleMonthChanged(object sender, MonthChangedEventArgs e)
{
cldEventDate.Style.Add("display", "inline-block");
}
protected void btnContributeDOPU_Click(object sender, EventArgs e)
{
if (!TryParseSendCCDAInput(CcdaContributionMethod.DOPU))
@ -94,12 +91,12 @@ namespace MeaningfulUseReporting
ContributeCCDAViaRecordAuthorization();
}
private void ContributeCCDAViaRecordAuthorization()
private void ContributeCCDAViaRecordAuthorization()
{
// Note: Applications can store the HealthVault personID and recordID and use this to make offline requests to store new information
// Note: Applications can store the HealthVault personID and recordID and use this to make offline requests to store new information
// in the patient's record whenever new data is available. In this sample, since we don't maintain offline storage (i.e. a DB) to associate
// the data source organization's patient identifier with the HealthVault person and record ID, we instead sign-in the user to determine the
// person and record ID everytime a request to send a new CCDA to HealthVault happens (i.e. clicking the "Send CCDA to HealthVault" button);
// the data source organization's patient identifier with the HealthVault person and record ID, we instead sign-in the user to determine the
// person and record ID everytime a request to send a new CCDA to HealthVault happens (i.e. clicking the "Send CCDA to HealthVault" button);
PersonInfo pi = WebApplicationUtilities.LoadPersonInfoFromCookie(HttpContext.Current);
if (pi == null)
@ -108,7 +105,7 @@ namespace MeaningfulUseReporting
return;
}
// Make the offline call to stor the CCDA in the patient's HealthVault record.
// Make the offline call to stor the CCDA in the patient's HealthVault record.
OfflineWebApplicationConnection connection = new OfflineWebApplicationConnection(pi.PersonId);
HealthRecordAccessor receordAccessor = new HealthRecordAccessor(connection, pi.SelectedRecord.Id);
receordAccessor.NewItem(_newCcdaItem);
@ -201,7 +198,6 @@ namespace MeaningfulUseReporting
return WebApplicationUtilities.LoadPersonInfoFromCookie(HttpContext.Current);
}
private void SetLoggedInState()
{
if (GetLoggedInPerson() == null)
@ -242,7 +238,6 @@ namespace MeaningfulUseReporting
output.Visible = true;
output.Text = text + "<br/>";
}
}
public enum CcdaContributionMethod

Просмотреть файл

@ -25,7 +25,7 @@
<webopt:bundlereference runat="server" path="~/Content/css" />
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<script type="text/javascript">
<script type="text/javascript">
function ToggleVisible(id) {
var elem = document.getElementById(id);
if (elem.style.display == "none") {
@ -35,7 +35,6 @@
}
}
</script>
</head>
<body>
<form runat="server">
@ -87,7 +86,6 @@
<p>&copy; <%: DateTime.Now.Year %> - Microsoft Corporation - HealthVault Meaningful Use Reporting Sample</p>
</footer>
</div>
</form>
</body>
</html>

Просмотреть файл

@ -21,7 +21,6 @@ namespace MeaningfulUseReporting
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}

Просмотреть файл

@ -4,26 +4,26 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an attribute "name" that has a value of "MyDB".
<connectionStrings>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
</connectionStrings>
-->
<system.web>
<!--
In the example below, the "Replace" transform will replace the entire
In the example below, the "Replace" transform will replace the entire
<customErrors> section of your web.config file.
Note that because there is only one customErrors section under the
Note that because there is only one customErrors section under the
<system.web> node, there is no need to use the "xdt:Locator" attribute.
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="InternalError.htm"/>
<error statusCode="500" redirect="InternalError.htm" />
</customErrors>
-->
</system.web>

Просмотреть файл

@ -4,27 +4,27 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an attribute "name" that has a value of "MyDB".
<connectionStrings>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
</connectionStrings>
-->
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
In the example below, the "Replace" transform will replace the entire
In the example below, the "Replace" transform will replace the entire
<customErrors> section of your web.config file.
Note that because there is only one customErrors section under the
Note that because there is only one customErrors section under the
<system.web> node, there is no need to use the "xdt:Locator" attribute.
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="InternalError.htm"/>
<error statusCode="500" redirect="InternalError.htm" />
</customErrors>
-->
</system.web>

Просмотреть файл

@ -9,8 +9,8 @@
padding-right: 15px;
}
/* Override the default bootstrap behavior where horizontal description lists
will truncate terms that are too long to fit in the left column
/* Override the default bootstrap behavior where horizontal description lists
will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
white-space: normal;

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -15,7 +15,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
/// Controller for signing in and out of HealthVault.
/// This is primarily for patient portal scenarios where a user would sign into HealthVault and manage their own data
/// through an "online" HealthVault connection.
///
///
/// For provider interactions (inviting patients to your program, managing action plans, viewing patients' data) you
/// will usually be using an "offline" connection, where the user doesn't need to be actively signed into HealthVault.
/// </summary>

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -35,10 +35,11 @@ namespace HealthVaultProviderManagementPortal.Controllers
[RequireSignIn]
public class ActionPlanController : Controller
{
private string basePlanRestUrl = "v3/actionplans/";
private string baseTaskRestUrl = "v3/actionplantasks/";
private string _basePlanRestUrl = "v3/actionplans/";
private string _baseTaskRestUrl = "v3/actionplantasks/";
#region Controller Actions
public ActionResult Index()
{
return View();
@ -455,7 +456,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
recordId,
User.PersonInfo(),
HttpMethod.Post.ToString(),
basePlanRestUrl,
_basePlanRestUrl,
null,
JsonConvert.SerializeObject(plan));
}
@ -473,7 +474,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
recordId,
User.PersonInfo(),
"PATCH",
basePlanRestUrl,
_basePlanRestUrl,
null,
JsonConvert.SerializeObject(plan));
}
@ -491,7 +492,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
recordId,
User.PersonInfo(),
HttpMethod.Get.ToString(),
basePlanRestUrl);
_basePlanRestUrl);
}
/// <summary>
@ -507,7 +508,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
recordId,
User.PersonInfo(),
HttpMethod.Get.ToString(),
basePlanRestUrl + id);
_basePlanRestUrl + id);
}
/// <summary>
@ -523,7 +524,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
recordId,
User.PersonInfo(),
HttpMethod.Delete.ToString(),
basePlanRestUrl + id);
_basePlanRestUrl + id);
}
/// <summary>
@ -539,7 +540,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
recordId,
User.PersonInfo(),
HttpMethod.Delete.ToString(),
basePlanRestUrl + planId + "/objectives/" + id);
_basePlanRestUrl + planId + "/objectives/" + id);
}
/// <summary>
@ -555,7 +556,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
recordId,
User.PersonInfo(),
HttpMethod.Post.ToString(),
baseTaskRestUrl,
_baseTaskRestUrl,
null,
JsonConvert.SerializeObject(task));
}
@ -573,7 +574,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
recordId,
User.PersonInfo(),
HttpMethod.Get.ToString(),
baseTaskRestUrl + id);
_baseTaskRestUrl + id);
}
/// <summary>
@ -589,7 +590,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
recordId,
User.PersonInfo(),
"PATCH",
baseTaskRestUrl,
_baseTaskRestUrl,
null,
JsonConvert.SerializeObject(task));
}
@ -607,7 +608,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
recordId,
User.PersonInfo(),
HttpMethod.Delete.ToString(),
baseTaskRestUrl + id);
_baseTaskRestUrl + id);
}
/// <summary>
@ -621,7 +622,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
null,
User.PersonInfo(),
HttpMethod.Post.ToString(),
baseTaskRestUrl + "ValidateTracking",
_baseTaskRestUrl + "ValidateTracking",
null,
JsonConvert.SerializeObject(trackingValidation));
}
@ -666,11 +667,10 @@ namespace HealthVaultProviderManagementPortal.Controllers
recordId,
User.PersonInfo(),
HttpMethod.Get.ToString(),
basePlanRestUrl + id + "/Adherence",
_basePlanRestUrl + id + "/Adherence",
queryParameters);
}
#endregion
}
}

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -27,7 +27,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
[RequireSignIn]
public class GoalsController : Controller
{
private string baseRestUrl = "v3/goals/";
private string _baseRestUrl = "v3/goals/";
/// <summary>
/// Gets a list of goals
@ -165,7 +165,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
return HealthServiceRestHelper.CallHeathServiceRestOnline(
User.PersonInfo(),
HttpMethod.Get.ToString(),
baseRestUrl);
_baseRestUrl);
}
/// <summary>
@ -177,7 +177,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
return HealthServiceRestHelper.CallHeathServiceRestOnline(
User.PersonInfo(),
HttpMethod.Get.ToString(),
baseRestUrl + id);
_baseRestUrl + id);
}
/// <summary>
@ -189,7 +189,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
return HealthServiceRestHelper.CallHeathServiceRestOnline(
User.PersonInfo(),
HttpMethod.Post.ToString(),
baseRestUrl,
_baseRestUrl,
requestBody: JsonConvert.SerializeObject(goals));
}
@ -202,7 +202,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
return HealthServiceRestHelper.CallHeathServiceRestOnline(
User.PersonInfo(),
"PATCH",
baseRestUrl,
_baseRestUrl,
requestBody: JsonConvert.SerializeObject(goals));
}
@ -215,7 +215,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
return HealthServiceRestHelper.CallHeathServiceRestOnline(
User.PersonInfo(),
HttpMethod.Delete.ToString(),
baseRestUrl + id);
_baseRestUrl + id);
}
}
}

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -39,7 +39,7 @@ namespace HealthVaultProviderManagementPortal.Controllers
public ActionResult Index(double weight)
{
var item = new Weight(
new HealthServiceDateTime(DateTime.Now),
new HealthServiceDateTime(DateTime.Now),
new WeightValue(weight)
);

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -19,7 +19,7 @@ namespace HealthVaultProviderManagementPortal.Helpers
public static class HealthServiceRestHelper
{
/// <summary>
/// Calls the Health REST service.
/// Calls the Health REST service.
/// Abstracts away whether it's an online or offline call, depending on whether person and record IDs are passed in.
/// </summary>
public static HealthServiceRestResponseData CallHeathServiceRest(Guid? personId, Guid? recordId, PersonInfo loggedInPersonInfo, string httpVerb, string path, NameValueCollection queryStringParameters = null, string requestBody = null, NameValueCollection optionalHeaders = null)

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -96,7 +96,7 @@ namespace HealthVaultProviderManagementPortal.Models.Onboarding
public int Height { get; set; }
/// <summary>
/// Gets or sets the list of action plan template ids to which the user
/// Gets or sets the list of action plan template ids to which the user
/// will be assigned upon account creation
/// </summary>
public Collection<string> ActionPlanTemplateIds { get; set; }

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -101,9 +101,9 @@
<div class="col-md-12 text-center">
<div class="btn-group" role="group" aria-label="Basic example">
@Html.ActionLink("Add Blank Task", "Task", new { planId = Model.Id, objectiveId = Model.Objectives[i].Id, personId = Request.Params["personId"], recordId = Request.Params["recordId"] }, new { @class = "btn btn-primary" })
<input type="submit" value="Add Scheduled Task" formaction="@Url.Action("CreateScheduledTask", new {planId = Model.Id, objectiveId = Model.Objectives[i].Id, personId = Request.Params["personId"], recordId = Request.Params["recordId"]})" class="btn btn-primary"/>
<input type="submit" value="Add Frequency Task" formaction="@Url.Action("CreateFrequencyTask", new {planId = Model.Id, objectiveId = Model.Objectives[i].Id, personId = Request.Params["personId"], recordId = Request.Params["recordId"]})" class="btn btn-primary"/>
<input type="submit" value="Delete" formaction="@Url.Action("RemoveObjective", new {planId = Model.Id, id = Model.Objectives[i].Id, personId = Request.Params["personId"], recordId = Request.Params["recordId"]})" class="btn btn-danger"/>
<input type="submit" value="Add Scheduled Task" formaction="@Url.Action("CreateScheduledTask", new {planId = Model.Id, objectiveId = Model.Objectives[i].Id, personId = Request.Params["personId"], recordId = Request.Params["recordId"]})" class="btn btn-primary" />
<input type="submit" value="Add Frequency Task" formaction="@Url.Action("CreateFrequencyTask", new {planId = Model.Id, objectiveId = Model.Objectives[i].Id, personId = Request.Params["personId"], recordId = Request.Params["recordId"]})" class="btn btn-primary" />
<input type="submit" value="Delete" formaction="@Url.Action("RemoveObjective", new {planId = Model.Id, id = Model.Objectives[i].Id, personId = Request.Params["personId"], recordId = Request.Params["recordId"]})" class="btn btn-danger" />
</div>
</div>
}

Просмотреть файл

@ -19,7 +19,7 @@
<th>Records</th>
</tr>
</thead>
<tbody>
@foreach (var person in Model)
{
@ -28,11 +28,10 @@
<td>
@foreach (var record in person.AuthorizedRecords)
{
<a href="@Url.Action("Plans", new {personId = person.PersonId, recordId = record.Value.Id})">@record.Value.Name</a><br/>
<a href="@Url.Action("Plans", new {personId = person.PersonId, recordId = record.Value.Id})">@record.Value.Name</a><br />
}
</td>
</tr>
}
</tbody>
</table>

Просмотреть файл

@ -66,14 +66,14 @@
@Html.EditorFor(model => model.Range, new { htmlAttributes = new { @class = "form-control" } })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.RecurrenceMetrics.OccurrenceCount, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.RecurrenceMetrics.OccurrenceCount, new { htmlAttributes = new { @class = "form-control" } })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.RecurrenceMetrics.WindowType, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@ -89,4 +89,3 @@
</div>
</div>
}

Просмотреть файл

@ -16,10 +16,10 @@
<h2>Create and send an invitation</h2>
<p>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. </p>
@using (Html.BeginForm("CreateInvite", "Onboarding"))
@using (Html.BeginForm("CreateInvite", "Onboarding"))
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<div class="form-group">
@Html.LabelFor(model => model.FirstName, htmlAttributes: new { @class = "control-label col-md-2" })

Просмотреть файл

@ -15,4 +15,3 @@
<h1 class="text-danger">Error.</h1>
<h2 class="text-danger">An error occurred while processing your request.</h2>

Просмотреть файл

@ -15,7 +15,7 @@
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Optimization"/>
<add namespace="System.Web.Optimization" />
<add namespace="System.Web.Routing" />
<add namespace="HealthVaultProviderManagementPortal" />
</namespaces>
@ -28,7 +28,7 @@
<system.webServer>
<handlers>
<remove name="BlockViewHandler"/>
<remove name="BlockViewHandler" />
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
</handlers>
</system.webServer>

Просмотреть файл

@ -11,7 +11,7 @@
<connectionStrings>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
</connectionStrings>
-->
<system.web>
@ -23,7 +23,7 @@
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="InternalError.htm"/>
<error statusCode="500" redirect="InternalError.htm" />
</customErrors>
-->
</system.web>

Просмотреть файл

@ -11,7 +11,7 @@
<connectionStrings>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
</connectionStrings>
-->
<system.web>
@ -24,7 +24,7 @@
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="InternalError.htm"/>
<error statusCode="500" redirect="InternalError.htm" />
</customErrors>
-->
</system.web>

Просмотреть файл

@ -45,9 +45,9 @@
</system.web>
<system.net>
<!-- Uncomment this section to see outgoing calls in Fiddler
<!-- Uncomment this section to see outgoing calls in Fiddler
<defaultProxy>
<proxy usesystemdefault="False" bypassonlocal="True" proxyaddress="http://127.0.0.1:8888" />
<proxy usesystemdefault="False" bypassonlocal="True" proxyaddress="http://127.0.0.1:8888" />
</defaultProxy>
-->
</system.net>

Просмотреть файл

@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8" ?>

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -27,7 +27,7 @@ namespace Microsoft.Health.Platform.Entities.V3.ActionPlans
public Collection<string> ElementValues { get; set; }
/// <summary>
/// Flag to indicate if the condition mentioned above is negated. e.g. Item shouldn't be a run or a walk.
/// Flag to indicate if the condition mentioned above is negated. e.g. Item shouldn't be a run or a walk.
/// </summary>
public bool IsNegated { get; set; }
}

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -27,7 +27,7 @@ namespace Microsoft.Health.Platform.Entities.V3.ActionPlans
public TrackingType TrackingType { get; set; }
/// <summary>
/// Gets or sets the timezone offset of the task tracking,
/// Gets or sets the timezone offset of the task tracking,
/// if a task is local time based, it should be set as null
/// </summary>
public int? TimeZoneOffset { get; set; }

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -9,7 +9,6 @@
namespace Microsoft.Health.Platform.Entities.V3.ActionPlans
{
using System.Collections.ObjectModel;
using Microsoft.Health.Platform.Entities.V3.Enums;
/// <summary>
/// The tracking policy to apply to the Action Plan Task

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -17,7 +17,7 @@ namespace Microsoft.Health.Platform.Entities.V3.ActionPlans
/// Gets or sets the action plan task.
/// </summary>
public ActionPlanTask ActionPlanTask { get; set; }
/// <summary>
/// Gets or sets the XML thing document.
/// </summary>

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.
@ -39,7 +39,7 @@ namespace Microsoft.Health.Platform.Entities.V3.Enums
Completed = 4,
/// <summary>
/// This is a template task
/// This is a template task
/// </summary>
Template = 5
}

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// 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.

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше