issues in Attestation and IAttestation

Bug #625623 reported by Sergio Miranda Freire
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OSHIPpy
New
High
Unassigned

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.

Related branches

Changed in oship:
importance: Undecided → High
Changed in oship:
milestone: none → 1.5
affects: oship → oshippy
Changed in oshippy:
milestone: 1.5 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.