brianpos / FhirPathTester

Simple WPF HL7 Fluentpath Tester tool
Other
19 stars 4 forks source link

Errors with = and ~ for date and datetime #10

Open RichardTON opened 2 years ago

RichardTON commented 2 years ago

The following expressions return results different to what I expect from the docco at http://hl7.org/fhirpath/#operations

@T10:30:31=@T10:30      //False, should be { }
@T10:30:31~@T10:30      //True, should be { }

{ } = ‘a’                           // True, should be { }
@2012-01 = @2012                    // False, should be { }
@2012-01 ~ @2012                    // True, should be False
@2012-01-01T10:30 = @2012-01-01T10:30       //syntax error, should be True
@2012-01-01T10:30 = @2012-01-01T10:31       //syntax error, should be False
@2012-01-01T10:30:31 = @2012-01-01T10:30        //syntax error, should be { }
brianpos commented 2 years ago

These will be in the next release.