← Back to team overview

oship-dev team mailing list archive

[Bug 632602] Re: invariants not enforced in class Entry.

 

** Project changed: oship => oshippy

-- 
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/632602

Title:
  invariants not enforced in class Entry.

Status in Open Source Health Information Platform - Python:
  New

Bug description:

  The invariants below should be enforced. Language_valid and
  encoding_valid should use the terminological service:

  Language_valid: language /= Void and then
  code_set(Code_set_id_languages).has_code(language)

  Encoding_valid: encoding /= Void and then
  code_set(Code_set_id_charactersets).has_code(encoding)

  Other_participations_valid: other_participations /= Void implies not
  other_participations.is_empty

  Archetype_root_point: is_archetype_root





References