oship-dev team mailing list archive
-
oship-dev team
-
Mailing list archive
-
Message #01744
[Bug 632611] Re: Invariants not enforced in IsmTransition.
** 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/632611
Title:
Invariants not enforced in IsmTransition.
Status in Open Source Health Information Platform - Python:
New
Bug description:
The invariants below should be enforced by means of the terminological
service:
Current_state_valid: current_state /= Void and then
terminology(Terminology_id_openehr).has_code_for_group_id(Group_id_instruction_states,
current_state.defining_code)
Transition_valid: transition /= Void implies
terminology(Terminology_id_openehr).has_code_for_group_id(Group_id_instruction_transitions,
transition.defining_code)
References