← Back to team overview

oship-dev team mailing list archive

[Bug 625621] [NEW] issues in Participation and IParticipation

 

Public bug reported:

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.

** Affects: oship
     Importance: Undecided
         Status: New

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

Status in Open Source Health Information Platform (OSHIP): 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.





Follow ups

References