← Back to team overview

dhis2-devs team mailing list archive

question on dxf2 schema

 

Hi devs,

Please kindly assist with a basic question on dxf schema here;

1. I'll like to confirm that something like this will work

<dataValue dataElement="2" period="4" source="5" value="9" />

According to the schema, it should but it seems not to work until I add categorycombo (a default one)?

And the sample_dxf2 there says;

    <dataValues>
        <!--        Note @comment, @storedBy and @timestamp are optional attributes-->
        <dataValue dataElement="1" period="1" source="1" value="23" categoryOptionCombo="3"/>
        <dataValue dataElement="1" period="1" source="1" value="23" categoryOptionCombo="2"/>
    </dataValues>

Is the schema up to date?

2. an import of Bob's sample_dxf2 doesn't seem to work.

Also, is there a place to find previous dhis-live versions?

Thanks.

Ime




Follow ups