oship-dev team mailing list archive
-
oship-dev team
-
Mailing list archive
-
Message #01753
[Bug 625621] Re: issues in Participation and IParticipation
** 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/625621
Title:
issues in Participation and IParticipation
Status in Open Source Health Information Platform - Python:
New
Bug description:
performerValid, functionValid and modeValid are not methods but
invariants that should be enforced using the terminological service:
Function_valid: function /= Void and then function.generating_type.is_equal(“DV_CODED_TEXT”) implies terminology(Terminology_id_openehr).has_code_for_group_id(Group_id_participation_function, function.defining_code)
Mode_valid: mode /= Void and terminology(Terminology_id_openehr).has_code_for_group_id(Group_id_participation_mode, mode.defining_code)
Maybe it would be interesting to define a representation method for
this class.
References