microsoft / healthvault-fhir-library

The HealthVault FHIR Library is a community project started by Microsoft and Get Real Health seeking to produce an open source library for apps that utilize the HL7's FHIR Standard so they can interoperate with the data types used by HealthVault and Get Real Health’s CHBase.
MIT License
25 stars 14 forks source link

Test failing in VitalSignsToFhirTests.cs #33

Open vsmahesh opened 7 years ago

vsmahesh commented 7 years ago

Assertion fails for 'When' and 'Value'

  1. Assert.AreEqual(vitalSigns.When.ToLocalDateTime().ToDateTimeUnspecified(), observation.Effective); (Line:36)
  2. Assert.AreEqual(vitalSignsResult.Value, resultValue.Value); (Line:44)
  3. Assert.AreEqual(vitalSignsResult.ReferenceMinimum, observationResult.ReferenceRange[0].Low);
  4. Assert.AreEqual(vitalSignsResult.ReferenceMaximum, observationResult.ReferenceRange[0].High);

In all the cases assertion is done against two different types.