← Back to team overview

oship-dev team mailing list archive

[Bug 609150] Re: Invariant not implemented in class TermMapping

 

** Changed in: oship
       Status: New => Fix Committed

-- 
Invariant not implemented in class TermMapping
https://bugs.launchpad.net/bugs/609150
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): Fix Committed

Bug description:
The invariant 
Purpose_valid: purpose /= Void implies terminology(Terminology_id_openehr).
has_code_for_group_id(Group_id_term_mapping_purpose, purpose.defining_code)

is not implemented and it must use the openehr terminology.

We must be establish a policy on how to implement invariants, for instance: declare the invariant in the interface and implement it in the class that implements that interface.





References