mandatory table required by FluID loader, not present in GHO database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Global Health Observatory |
Confirmed
|
Undecided
|
Olivier Chapiteau |
Bug Description
the FORM_SECTION_
- is this a missing table in GHO database ?
- is a modification needed on the loader to make this table optional ?
For now, we commented some related code in the OH loader to work :
FormSectionDime
// LinkedList fsdm = fsdmDao.
// + fs.getId() + " and EFFECTIVE_
// + "(END_DATE is null or curdate()<END_DATE) "
// + "order by DISPLAY_SEQUENCE");
+ fs.getId() + " AND MEASURE_
+ "(SELECT ID " + "FROM MEASURE_
+ "WHERE MEASURE_
+ "FROM MEASURE_
+ "WHERE TYPE_CODE = 'AGEGROUP')"
+ " AND EFFECTIVE_DATE <= NOW() "
+ " AND IFNULL(
+ "(SELECT FORM_SECTION_
+ " FROM FORM_SECTION_
+ " WHERE PROJECT_SITE_ID = " + projectSiteIdNum
+ " AND EFFECTIVE_DATE <= NOW() "
+ " AND IFNULL(
+ " AND EFFECTIVE_DATE <= NOW() "
+ " AND IFNULL(
+ " ORDER BY DISPLAY_SEQUENCE ");
HashMap<
Changed in gho: | |
assignee: | nobody → Jiri Dvorak (jiri-dvorak) |
Changed in gho: | |
milestone: | none → data-loader-1.0 |
As per earlier e-mail conversation, we have decided that we'll keep the database schemas identicat between FluID and GHO, to allow for common OH services. Based on that decision, the table FORM_SECTION_ SITE_MEMBERS and its foreign keys need to be added to the GHO schema (and any other differences between FLUID and GHO schemas need to be reconciled).
The FLUID schema WHO_GIM_ FLUID_20090924. sql is attached to this item, but to be on the safe side, it is best to create an SQL schema report (e.g. via the Navicat tool) from both schemas and run "diff" on them,