oshippy-dev team mailing list archive
-
oshippy-dev team
-
Mailing list archive
-
Message #00073
[Bug 632611] Re: Invariants not enforced in IsmTransition.
** Project changed: oship => oshippy
--
You received this bug notification because you are a member of OSHIPpy
Developers, which is subscribed to OSHIPpy.
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)