← Back to team overview

oship-dev team mailing list archive

[Bug 625623] Re: issues in Attestation and IAttestation

 

** Changed in: oship
    Milestone: None => 1.5

-- 
issues in Attestation and IAttestation
https://bugs.launchpad.net/bugs/625623
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:
	

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