Patient History in a Investigation Form.
Submitted by Ben_Charlton on Wed, 31/10/2018 - 18:13
I am looking at a jasperreport template to use as an investigation request form.
I was hoping to access the patient history.
Is this likely to work?
list:join(openvpms:get($OpenVPMS.visit,'ítems')[[archetypeId/shortName='act.patientClinicalNote'],'note')
Re: Patient History in a Investigation Form.
Probably not. The visit is only guaranteed to be set during the Check-In and Consult workflows. For a report, the expression is going to be something like:
If you wanted to use it in an email template Expression or a macro:
Note that the notes won't be in any particular order.
Re: Patient History in a Investigation Form.
Typically a Investigation would be billed or charged during the consult work flow so i would expect it would have a parent vist.