← Back to team overview

oship-dev team mailing list archive

[Bug 625623] Re: issues in Attestation and IAttestation

 

** 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/625623

Title:
  issues in Attestation and IAttestation

Status in Open Source Health Information Platform - Python:
  New

Bug description:

  The initializer lacks the arguments inherited from AuditDetails and
  the superclass initializer is not called.

  itemsValid, reasonValid are not methods but invariants that should be
  enforced:

  Items_valid: items /= Void implies not items.is_empty
  Reason_valid: reason /= Void and then (reason.generating_type.is_equal(“DV_CODED_TEXT”) implies terminology(Terminology_id_openehr).has_code_for_group_id(Group_id_attestation_reason, reason.defining_code))

  reasonValid should be tested by means of the terminological service.

  
  Maybe it would be interesting to define a representation method for this class.





References