Effective Date High and Low

Nov 12, 2013 at 12:54 PM
Greetings!

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 1: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.
Coordinator
Nov 12, 2013 at 4: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