Making it happen
Microsoft HealthVault
This SDK post looks like a story written in C#-speak:
delivery1.Location = new Organization(“General Hospital”);
delivery1.TimeOfDelivery = new ApproximateDateTime(new ApproximateDate(2008, 11, 1), new ApproximateTime(00, 15, 35));
delivery1.LaborDuration = 123;….
delivery1.Baby = new Baby();
delivery1.Baby.Name = new Name(“Thomas John Andersen”);
delivery1.Baby.Gender = new CodableValue(“Male”, new CodedValue(“male”, “gender-types”, “wc”, “1″));
delivery1.Baby.Weight = new WeightValue(2.5, new DisplayValue(5.5, “pounds”));
delivery1.Baby.Length = new Length(0.46, new DisplayValue(18, “inches”));
delivery1.Baby.HeadCircumference = new Length(0.31, new DisplayValue(12.4, “inches”));
pregnancy.Delivery.Add(delivery1);
A strong-typed class library for all your life ! Brilliant !
| Print article | This entry was posted by andrei on December 2, 2008 at 6:40 pm, and is filed under Uncategorized. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
