← Back to team overview

oship-dev team mailing list archive

[Bug 625620] Re: issues in PartyIdentified and IPartyIdentified

 

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

-- 
issues in PartyIdentified and IPartyIdentified
https://bugs.launchpad.net/bugs/625620
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:
basicValid, nameValid, identifiersValid are not methods, but invariants that should be enforced:
Basic_valid name /= Void or identifiers /= Void or external_ref /= Void
Name_valid: name /= Void implies not name.is_empty
Identifiers_valid: identifiers /= Void implies not identifiers.is_empty

There is no method asString in the class, but maybe it would be interesting to define a representation method for the class.





References