#473 Uploaded CDA does not show

tolven-1.2.0.rc1
open
nobody
Web UI (151)
5
2013-11-24
2011-03-26
wim niemans
No

in eCHR > Admin > Document > New > CDA :

1. the entered comment does not show in the portal
2. Looking at the patient > Documents the CDA does show but without description and a link.

Solution to #2: in app > echr-patient.application.xml of the plugin prototype.application:

<extends path="echr:patient">
    <placeholder name="patDoc" title="Document" page="/wizard/wizard.xhtml" heading="/five/documentLink.xhtml">
        <field name="effectiveTime" internal="date01" >
            <from>\#\{trim.act.effectiveTime.TS.date\}</from>
        </field>
        <field name="title" internal="string01">
            <from>\#\{trim.description\}</from>
        </field>
        <field name="source" internal="string05" >
        </field>
    </placeholder>    
</extends>

remove the from-tags with following result:

<extends path="echr:patient">
    <placeholder name="patDoc" title="Document" page="/wizard/wizard.xhtml" heading="/five/documentLink.xhtml">
        <field name="effectiveTime" internal="date01" >
        </field>
        <field name="title" internal="string01">
        </field>
        <field name="source" internal="string05" >
        </field>
    </placeholder>    
</extends>

same change is needed in ephr.application.xml

Discussion