Effective Date High and Low

Nov 12, 2013 at 11:54 AM

The library has been a godsend, but I'm having issues with one little detail. When I try to setup High and Lows for EffectiveTimes for lets say an Allergy Intolerance Observation (EntryRelationship.AsObservation.EffectiveTime), it wouldn't let me because it is set to Null by default, and it is a read-only property.

Am I missing something?
Nov 12, 2013 at 12:05 PM
Never mind, found the EffectiveTime.Init() method. It allows me to set High and Low with IVXB_TS instances.

Keep-up the good work! This is a great library.
Nov 12, 2013 at 3:19 PM
Yes, the Init() method should work for your case. Initialization of an interval with constructor looks better, but the library is COM-compatible, and COM does not support constructors with parameters, so such two-step initialization is a way to provide COM/.NET interoperability.
Marked as answer by incubusknighth on 11/12/2013 at 1:53 PM