# How to import registration data with stages into DHIS2?

**URL:** <https://community.dhis2.org/t/how-to-import-registration-data-with-stages-into-dhis2/50859>\
**Category:** Support - Assistance technique\
**Tags:** import, dhis2\
**Created:** [2 December 2022 01:53 UTC](https://community.dhis2.org/t/how-to-import-registration-data-with-stages-into-dhis2/50859 "2022-12-02T01:53:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sudarshan](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/s/e495f1/32.png) [@Sudarshan](https://community.dhis2.org/u/Sudarshan)\
**Post date:** [2 December 2022 01:53 UTC](https://community.dhis2.org/t/how-to-import-registration-data-with-stages-into-dhis2/50859/1 "2022-12-02T01:53:54Z")

</div>

I have data in CSV file, there is data of patient registration and their stages. Also some data fields are Boolean type. How can I import this data? Please help.

---

<div class="post-metadata">

**Author:** ![Gassim](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/gassim/32/35347_2.png) [@Gassim](https://community.dhis2.org/u/Gassim)\
**Post date:** [19 December 2022 22:42 UTC](https://community.dhis2.org/t/how-to-import-registration-data-with-stages-into-dhis2/50859/2 "2022-12-19T22:42:32Z")

</div>

Dear @Sudarshan

Thank you for your post, and welcome to the community! Apologies for the late response.

As far as I know, the CSV file needs to be converted to a JSON file in a format similar to the one in the docs [here](https://docs.dhis2.org/en/develop/using-the-api/dhis-core-version-master/tracker.html#:~:text=Complete%20example%20of%20payload%20including%3A%20tracked%20entity%20instance%2C%20enrollment%20and%20event), and then using the Import/Export app you can choose TEI Import.

I hope this is helpful.

Thank you!
