oship-dev team mailing list archive
-
oship-dev team
-
Mailing list archive
-
Message #01393
[Bug 622961] [NEW] issues in class Party from the demographic package
Public bug reported:
The initializer lacks the argument parent and so does the superclass
initializer.
Wouldn't be interesting to define a representation function for this
class?
The invariants should be enforced:
Identities_valid: identities /= Void and then not identities.is_empty
Contacts_valid: contacts /= Void implies not contacts.is_empty
Reverse_relationships_validity: reverse_relationships /= Void implies (not
reverse_relationships.empty and then reverse_relationships.for_all(item | repository(“demographics”).all_party_relationships.has_object(item) and then repository(“demographics”).all_party_relationships.object(item).target = Current))
This invariant requires a demographic service.
Is_archetype_root: is_archetype_root
** Affects: oship
Importance: High
Status: New
** Changed in: oship
Importance: Undecided => High
--
issues in class Party from the demographic package
https://bugs.launchpad.net/bugs/622961
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 argument parent and so does the superclass initializer.
Wouldn't be interesting to define a representation function for this class?
The invariants should be enforced:
Identities_valid: identities /= Void and then not identities.is_empty
Contacts_valid: contacts /= Void implies not contacts.is_empty
Reverse_relationships_validity: reverse_relationships /= Void implies (not
reverse_relationships.empty and then reverse_relationships.for_all(item | repository(“demographics”).all_party_relationships.has_object(item) and then repository(“demographics”).all_party_relationships.object(item).target = Current))
This invariant requires a demographic service.
Is_archetype_root: is_archetype_root
Follow ups
References