[HAPI-devel] DateTime fields are more strict than the TS specification

2020-11-02 Thread Mike Mills
I have been working a lot with DT and TS fields in Hapi. If you create a default ADT_A01 message and attempt to set a new MSH-7 value it will throw a DataTypeException if that field is not fully populated with fields of Year through to Seconds. In the API documentation it states that the fiel

Re: [HAPI-devel] DateTime fields are more strict than the TS specification

2020-11-02 Thread Mike Mills
So it looks like this was an error in my test cases and this is not an issue at all. A colleague of mine pointed out that I had test cases that had an hour field but did not populate the minutes field. That is quite clearly against the spec format, I had better read the spec more thoroughly