[OpenVPMS Developers] [JIRA] Updated: (ARCH-19) GetHomeTelephone and GetWorkTelephone party functions not using mobile phone con
Tim Anderson updated ARCH-19: -----------------------------
Original Estimate: 4 hours (was: 1 hour) Remaining Estimate: 4 hours (was: 1 hour) Description: The current party:getHomeTelephone(.) function currently only searches contact.phoneNumber archetypes for matches, ignoring any contact.mobileNumber After discussions, it has been decided that the most appropriate solution is to * remove the contact.mobileNumber archetype * add a new boolean node, 'sms' to contact.phoneNumber, default value false * migrate existing contact.mobileNumber contacts to contact.phoneNumber, setting *sms* true
was: The current party:getHomeTelephone(.) function currently only searches contact.phoneNumber archetypes for matches. It needs to be modified to search for contact.mobileNumber contacts as well.
The contact returned should be base don the following precedence. 1. contact.phoneNumber with Home purpose 2. contact.mobileNumber with Home purpose 3. contact.telephoneNumber with preferred set 4. contact.mobileNumber with preferred set 5. contact.phoneNumber 6. contact.mobileNumber
> GetHomeTelephone and GetWorkTelephone party functions not using mobile phone contacts > ------------------------------------------------------------------------------------- > > Key: ARCH-19 > URL: https://openvpms.atlassian.net/browse/ARCH-19 > Project: Archetypes > Issue Type: Bug > Affects Versions: 1.3 > Reporter: Tony De Keizer > Assignee: Tim Anderson > Priority: Minor > Fix For: 1.4 > > Original Estimate: 4 hours > Remaining Estimate: 4 hours > > The current party:getHomeTelephone(.) function currently only searches contact.phoneNumber archetypes for matches, ignoring any contact.mobileNumber > After discussions, it has been decided that the most appropriate solution is to > * remove the contact.mobileNumber archetype > * add a new boolean node, 'sms' to contact.phoneNumber, default value false > * migrate existing contact.mobileNumber contacts to contact.phoneNumber, setting *sms* true-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://openvpms.atlassian.net/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/developers Posts from this mailing list can be viewed online and replied to in the OpenVPMS Developer's forum- http://tinyurl.com/openvdf