← Back to team overview

oship-dev team mailing list archive

[Bug 610507] [NEW] some issues in ReferenceRange

 

Public bug reported:

Class ReferenceRange does not inherit from DvOrdered.
It seems that is not necessary to test for the types of the arguments in its initializer. Since it does not inherit from DvOrdered, it should not call the superclass initializer.

This invariant is not implemented:
Range_is_simple: (range.lower_unbounded or else range.lower.is_simple) and 
(range.upper_unbounded or else range.upper.is_simple)

Wouldn't it be interesting to implement a representation method for this
class?

** Affects: oship
     Importance: High
         Status: New

** Changed in: oship
   Importance: Undecided => High

** Changed in: oship
    Milestone: None => 1.5

-- 
some issues in ReferenceRange
https://bugs.launchpad.net/bugs/610507
You received this bug notification because you are a member of OSHIP
Development Team, which is subscribed to Open Source Health Information
Platform.

Status in Open Source Health Information Platform (OSHIP): New

Bug description:
Class ReferenceRange does not inherit from DvOrdered.
It seems that is not necessary to test for the types of the arguments in its initializer. Since it does not inherit from DvOrdered, it should not call the superclass initializer.

This invariant is not implemented:
Range_is_simple: (range.lower_unbounded or else range.lower.is_simple) and 
(range.upper_unbounded or else range.upper.is_simple)

Wouldn't it be interesting to implement a representation method for this class?





Follow ups

References