← Back to team overview

oship-dev team mailing list archive

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

 

** Project changed: oship => oshippy

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

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

Title:
  Invariant not implemented in class TermMapping

Status in Open Source Health Information Platform - Python:
  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