Shedule View Construction

Tim, any chance shedule view supports if,then else integration?

i.e.

if(length(openvpms:get(.,'act.description')>0){,'\n',substring(openvpms:get(.,'act.description'),0,50)}

the goal was to list a description if is available on a new line, but not create that newline if there is no description.

interestingly

you can add the CSH, Tim G that objects can also be referenced like

openvpms:get(., 'clinician.objectReference')/description,

I think this is semantically equal to

openvpms:get(openvpms:get(., 'clinician.objectReference'),'description')

both seem to work

 

Ben

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Shedule View Construction

Ben - I have updated http://www.openvpms.org/documentation/csh/1.7/reference/jxpath with the / shorthand [it works because it is a valid xpath syntax].

Tim A - you had better check what I have said [I modified the openvpms:get description].

Regards, Tim G

Syndicate content