dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #08438
[Bug 673405] Re: DHIS 1.4 file imports ignore routine data values of type !=EntryNumbe
** Changed in: dhis2
Milestone: None => 2.0.6
** Changed in: dhis2
Assignee: (unassigned) => Lars Helge Øverland (larshelge)
** Changed in: dhis2
Status: New => Confirmed
--
DHIS 1.4 file imports ignore routine data values of type !=EntryNumbe
https://bugs.launchpad.net/bugs/673405
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
Status in DHIS 2 - District Health Information Software: Confirmed
Bug description:
DHIS 1.4 separates different types of values (boolean, number, text)
into three separate columns in the RoutineData table, namely
EnitryText, EntryNumber, EntryYesNo. DHIS 2 stores all of these values
in the routinedata object/table as character varying(255).
Taking a look at the source file
dhis-services/dhis-service-importexport/src/main/resources/sqlmap/routineDataValue.sqlmap.xml
I see this line of code..
<select id="getRoutineDataValues" resultMap="routineDataValueResultMap">
SELECT DataElementID, DataPeriodID, OrgUnitID, EntryNumber,
LastUserID FROM RoutineData
</select>
It would appear that values stored in the DHIS 1.4 columns of EntryText and EntryYesNo are thus ignored.
References