Bit of help with letters
Submitted by Matt C on Sat, 25/04/2009 - 08:41
Hi everyone,
I am needing some help with letters (specifically patient letters) that use input fields.
I have created a test letter in open office, inserted "input fields". When adding a new document using this template to a patient OpenVPMS asks for the input fields, but what I type into the fields does not appear in the document.
Is there a step I am missing?
Cheers,
Matt C
And just another question whilst on documents
Sorry to spam everyone this morning,
but does anyone know how to grab an owners title within a patient form?
eg. Currently we use [party:getPartyFullName(party:getPatientOwner(.))] to get owner name. My staff have asked for the title to be included (Mr/Mrs etc).
Any ideas?
Matt C
Re: And just another question whilst on documents
[party:getCustomerNode(.,'title')]
GetCustomerNode can take an act or a party. It will check to see if the Act has a customer node if not it will check for a patient node and get the owner for the connected patient.
You can use this function for any customer field you need.
Cheers Tony
On 25/04/09 7:48 AM, "Mpcosta@Boroniavet. Au" :
> Sorry to spam everyone this morning, but does anyone know how to grab an > owners title within a patient form?Any ideas?
Matt > C_______________________________________________
OpenVPMS User Mailing > Listusers@lists.openvpms.org
To unsubscribe or change your subscription > visit:http://lists.openvpms.org/listinfo/users
Posts from this mailing list > can be viewed online and replied to in the OpenVPMS User's forum- > http://tinyurl.com/openvfu_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu
Re: And just another question whilst on documents
On Sat, 25 Apr 2009 09:32:21 +1000, Tony De Keizer
wrote: > Hi Matt, > > [party:getCustomerNode(.,'title')] > > GetCustomerNode can take an act or a party. It will check to see if the > Act > has a customer node if not it will check for a patient node and get the > owner for the connected patient. > > You can use this function for any customer field you need. > > Cheers > Tony > > > On 25/04/09 7:48 AM, "Mpcosta@Boroniavet. Au" : > >> Sorry to spam everyone this morning, > but does anyone know how to grab an >> owners title within a patient form? > > eg. Currently we use >> [party:getPartyFullName(party:getPatientOwner(.))] to get owner name. My >> staff >> have asked for the title to be included (Mr/Mrs etc). > > Any ideas? > Matt >> C > _______________________________________________ > OpenVPMS User Mailing >> List > users@lists.openvpms.org > To unsubscribe or change your subscription >> visit: > http://lists.openvpms.org/listinfo/users > Posts from this mailing list >> can be viewed online and replied to in the OpenVPMS User's forum- >> http://tinyurl.com/openvfu >_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu
Re: And just another question whilst on documents
Hi Tony,
I've been playing with [party:getCustomerNode(.,'title')]and only managing to get "Invalid property name:[party:getCustomerNode(.,'title')]".
do i have my cases or apostrophes wrong?
Matt C
Re: And just another question whilst on documents
Looks OK to me. What document type are you using? I've tried both jasper reports and OpenOffice documents.
Also make sure that there are no spaces before the "[" and after the "]". If there is, it won't be treated as an expression.
Followup question re using user fields in letters
Is there a letter sample that gets bundled with OpenVPMS that uses input fields that I can copy from? I have checked the templates that travel with the 1.3 update and can't find an example.
Matt C
Re: Followup question re using user fields in letters
The only input field example is a test document from the reports project. I have tested it and it works as expected so hopefully it will give you some clues as to why yours doesn't.
Cheers Tony
On 25/04/09 3:22 PM, "Mpcosta@Boroniavet. Au" :
> Is there a letter sample that gets bundled with OpenVPMS that uses input > fields that I can copy from? I have checked the templates that travel with the > 1.3 update and can't find an example._______________________________________________
OpenVPMS User Mailing > Listusers@lists.openvpms.org
To unsubscribe or change your subscription > visit:http://lists.openvpms.org/listinfo/users
Posts from this mailing list > can be viewed online and replied to in the OpenVPMS User's forum- > http://tinyurl.com/openvfuRe: Followup question re using user fields in letters
I have posted some Patient letters that I have created today in the Shared resources section of the site.
Thank you again Matt C
On Sun, 26 Apr 2009 09:14:22 +1000, Tony De Keizer
wrote: > Hi matt, > > The only input field example is a test document from the reports project. > I > have tested it and it works as expected so hopefully it will give you some > clues as to why yours doesn't. > > Cheers > Tony > > > > On 25/04/09 3:22 PM, "Mpcosta@Boroniavet. Au" : > >> Is there a letter sample that gets bundled with OpenVPMS that uses input >> fields that I can copy from? I have checked the templates that travel >> with the >> 1.3 update and can't find an example. > > Matt >> C > > _______________________________________________ > OpenVPMS User Mailing >> List > users@lists.openvpms.org > To unsubscribe or change your subscription >> visit: > http://lists.openvpms.org/listinfo/users > Posts from this mailing list >> can be viewed online and replied to in the OpenVPMS User's forum- >> http://tinyurl.com/openvfu >_______________________________________________ OpenVPMS User Mailing List users@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/users Posts from this mailing list can be viewed online and replied to in the OpenVPMS User's forum- http://tinyurl.com/openvfu