dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20247
HRIS data import via SDMX-HD
Hi All,
I am in Zimbabwe and we are working on setting up a linkage from their
HRIS, zHRIS, to DHIS2 via SDMX-HD as a cross-sectional data set. I am
following the same pattern as we have done for Kenya, Zanzibar, and Sierra
Leone. However, I have always worked on the HRIS side of things and this
time around I need some direction/helpful hints on the DHIS side.
As a first step, we are trying to import in DHIS2 the data (# health
workers, facility, post)
So far, we have generated the necessary DSD.xml and KF_POST_FACILITY.xsd
files and I believe the actual import process will should follow this
outline:
http://dhis2.org/doc/snapshot/en/user/html/ch24s04.html
How can one associate the DSD and KF_POST_FACILITY.xsd to this process so
it can be validated.
Next, I want to know how to properly get the posts properly loaded into
DHIS. These are not (at least for now) going to be further disaggregated
by things like gender. Looking at some previous examples I think that I
should be generating a dxf file for this. Something along the lines of the
snippet below. Is this headed in the right direction?
Assuming so, I want the categoryCombo to be "default", but it seems that
the id is different on each system. I assume that I would I need to look
it up on the target DHIS system first, or is there some other way?
The id's for the post dataElements are coming from the zHRIS, e.g. 123456
As I can't guarantee that there won't be collision with ids for existing
dataElement ids, can I put a prefix on the id, e.g. HRIS123456? Is there
some other way I can avoid collision?
I have omitted the <uid/>s in the snippet below. Is this OK?
Cheers,
-carl
P.S. sorry if this message is a repeat
<dxf>
<dataElements>
<dataElement>
<name>Nurse</name>
<shortName>Nurse</shortName>
<code>HRIS_123456</code> <!-- this code is coming from zHRIS -->
<description></description>
<active>true</active>
<type>int</type>
<domainType>aggregate</domainType>
<aggregationOperator>average</aggregationOperator>
<categoryCombo>5</categoryCombo> <!-- I want this to be the default
categoryCombo. Suppose that it is 5 on the target DHIS system -->
<lastUpdated>2010-02-05</lastUpdated>
</dataElement>
<!-- etc -->
</dataElements>
<!-- assume that I have already created a dataElementGroup "Post" with id
987654 -->
<dataElementGroupMembers>
<dataElementGroupMember>
<dataElementGroup>987654</dataElementGroup>
<dataElement>123456</dataElement>
</dataElementGroupMember>
<!-- etc -->
</dataElementGroupMembers>
</dxf>
Follow ups