1.7 Alpha - Medication display on Med Recs has newline
Submitted by Guest on Thu, 25/07/2013 - 13:02
If you look at a 1.6 system (say the current demo system) a medication entry on the Patients|Medical Records|Summary pages displays as:
However, on the 1.7 systems it displays as
The description node in the act.patientMedication archetype looks good, it is
concat(openvpms:get(.,'product.entity.name'), ' - ','Qty : ',/details/quantity,' Expiry : ', date:formatDate(/activityEndTime))
No sign of an inserted newline there so something must be going wrong with the formatting of /details/quantity
Regaards, Tim G
Re: 1.7 Alpha - Medication display on Med Recs has newline
Fixed in revision 5343.
The formatting is actually coming from the IMObjectTableModelFactory.xml configuration file, not the archetype.
Thanks,
-Tim