# How to create a hierarchy of contact from parent to child?

**URL:** <https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844>\
**Category:** Development\
**Tags:** tasks\
**Created:** [June 19, 2023, 10:21am UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844 "2023-06-19T10:21:18Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![durga.tukilogic](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/durga.tukilogic/32/2632_2.png) [@durga.tukilogic](https://forum.communityhealthtoolkit.org/u/durga.tukilogic)\
**Post date:** [June 19, 2023, 10:21am UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/1 "2023-06-19T10:21:18Z")

</div>

how to create a heirarchy of mohp, district, community and household ?

---

<div class="post-metadata">

**Author:** ![niraj](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/niraj/32/1330_2.png) [@niraj](https://forum.communityhealthtoolkit.org/u/niraj)\
**Post date:** [June 19, 2023, 3:27pm UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/2 "2023-06-19T15:27:52Z")

</div>

Hi @durga.tukilogic ,

Could you please try specifying the hierarchy in `base_settings.json` file which you can find in `app_settings` folder of your project? You can list your hierarchy in `place_hierarchy_types`. May be you can try adding something like below in the `base_settings.json`:

```auto
"place_hierarchy_types": [
    "mohp",
    "district",
    "community",
    "household"
  ],

```

---

<div class="post-metadata">

**Author:** ![durga.tukilogic](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/durga.tukilogic/32/2632_2.png) [@durga.tukilogic](https://forum.communityhealthtoolkit.org/u/durga.tukilogic)\
**Post date:** [June 20, 2023, 6:18am UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/3 "2023-06-20T06:18:02Z")

</div>

How to create role for this heirarchy and i have added this heirarchy on base\_settings.json still not working.

 ![Screenshot 2023-06-20 at 12.01.03](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/7/707f0b021c4543a7df83045ab54ba8ddb724464c.png)

Still the heirarchy i am not getting in my role part

 ![Screenshot 2023-06-20 at 12.02.40](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/c/c8ffb01f87be8a9b21ade8826a1a86aa598aa10d.png)

---

<div class="post-metadata">

**Author:** ![binod](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/binod/32/60_2.png) [@binod](https://forum.communityhealthtoolkit.org/u/binod)\
**Post date:** [June 20, 2023, 8:41am UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/4 "2023-06-20T08:41:40Z")

</div>

In `base_settings.json`, you need to specify the hierarchy under `contact_types`. Please see the hierarchy reference here:

> **[.contact\_types](https://docs.communityhealthtoolkit.org/apps/reference/app-settings/hierarchy/)**
>
> \*\*Hierarchy\*\*: Setting the types of places and people in the hierarchy

If you want to look at examples of how it is done, you can find some below:

> <https://github.com/medic/cht-core/blob/7b04937aaf6bcae4055a7cfbce35cb894fd8f1a0/config/default/app_settings.json#L299>

> <https://github.com/medic/cht-pih-malawi-app/blob/53565ff2f54ac01670ddc725c168b32593f2f3c1/app_settings/base_settings.json#L329>

Although the file name is `app_settings.json` in the first example, you can use the same code for `contact_types` in `base_settings.json` as well. The settings will eventually get compiled into the `app_settings.json` file with the `compile-app-settings` action of the `cht-conf` tool.

---

<div class="post-metadata">

**Author:** ![binod](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/binod/32/60_2.png) [@binod](https://forum.communityhealthtoolkit.org/u/binod)\
**Post date:** [June 20, 2023, 10:29am UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/5 "2023-06-20T10:29:00Z")

</div>

> [@durga.tukilogic](#):
>
> How to create role for this heirarchy and i have added this heirarchy on base\_settings.json still not working.

Roles can be defined independently of the hierarchy. To create a new role, you need to add it to a section called `.roles` in the app settings file (preferably base\_settings.json). Here is the reference document:

> **[.roles](https://docs.communityhealthtoolkit.org/apps/reference/app-settings/user-roles/)**
>
> \*\*User Roles\*\*: Defining the roles that can be assigned to users.

You can also add roles and give them permissions from the [App Management page](https://docs.communityhealthtoolkit.org/apps/features/admin/). However, these roles can be overwritten when you upload new settings. So please make sure that you add them to the settings file too. One way to do this could be:

1. Create/edit roles and permissions from App Management page and click on `Submit`.
2. Go to the `Backup app code` tab on the app management page
3. Click on `Download current settings`
4. Copy the `roles` and `permissions` from the downloaded copy of your settings file to your settings file.

---

<div class="post-metadata">

**Author:** ![Ben\_Kiarie](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/ben_kiarie/32/2529_2.png) [@Ben\_Kiarie](https://forum.communityhealthtoolkit.org/u/Ben_Kiarie)\
**Post date:** [September 22, 2023, 12:55pm UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/6 "2023-09-22T12:55:43Z")

</div>

I have a follow up to this question. I have followed the guide to [Set Hierarchy](https://docs.communityhealthtoolkit.org/apps/tutorials/application-settings/#3-set-hierarchy) and updated my app\_setting.json successfully

```auto
{
      "id": "district_hospital",
      "name_key": "contact.type.district_hospital",
      "group_key": "contact.type.district_hospital.plural",
      "create_key": "contact.type.district_hospital.new",
      "edit_key": "contact.type.place.edit",
      "icon": "medic-district-hospital",
      "create_form": "form:contact:district_hospital:create",
      "edit_form": "form:contact:district_hospital:edit"
    }

```

```auto
INFO compile-app-settings complete. 
INFO Starting action: backup-app-settings… 
INFO backup-app-settings complete. 
INFO Starting action: upload-app-settings… 
INFO Settings updated successfully 
INFO upload-app-settings complete. 
INFO All actions completed. 

```

My understanding of adding this contact\_type is I would have district\_hospital as an “entity” I can create

My expectation was if I click the Blue + sign in addition to the two options below, I would also have the option to create a new district hospital.

![contact](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/b/be9f4176721310bdbf0b0f56aa3fe63c59f678a0.png)

Is my understanding correct ?

---

<div class="post-metadata">

**Author:** ![diana](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/diana/32/2049_2.png) [@diana](https://forum.communityhealthtoolkit.org/u/diana)\
**Post date:** [September 23, 2023, 1:04pm UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/7 "2023-09-23T13:04:08Z")

</div>

Hi @Ben_Kiarie

Great question! Which blue icon are you clicking?  
I believe the blue icon, right now, will only allow to create contact types that have the currently viewed contact as a parent, and you can create the contact type that does not have a parent from the main contacts list - there should be a separate button in the lower part of the contacts list on the LeftHandSide

---

<div class="post-metadata">

**Author:** ![Ben\_Kiarie](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/ben_kiarie/32/2529_2.png) [@Ben\_Kiarie](https://forum.communityhealthtoolkit.org/u/Ben_Kiarie)\
**Post date:** [September 25, 2023, 6:03am UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/8 "2023-09-25T06:03:26Z")

</div>

1. My bad 🙂 I should have been clear which blue icon I am talking about. The blue Icon I am referring to is the circular one on the right.  

2. You mention there should be a separate button on the lower left side. Are you referring to the “New health facility” button ?

For context, this is the structure I am trying to replicate

 ![struct](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/b/bea9cd380a19e683e241045164c85b1c4e3cfb9b.png)

My thinking.

1. By default I have the “New health facility” button, I click that and create MOH.  

2. Next step, I want to create a district “area” under MOH. First I click MOH tab on the left side, then click the blue circular icon, and I have the option to create a new area.  

3. I create the District “Area” and now this is what I have  

4. Next I want to create a health facility inside the District Area. But when I click the district area, inside it I only have the option to create a **person** or a **household**.  

I thought that by having these settings, somewhere on the app I would have the option to create a **health facility**

```auto
 "contact_types": [
    {
      "id": "district_hospital",
      "name_key": "contact.type.district_hospital",
      "group_key": "contact.type.district_hospital.plural",
      "create_key": "contact.type.district_hospital.new",
      "edit_key": "contact.type.place.edit",
      "icon": "medic-district-hospital",
      "create_form": "form:contact:district_hospital:create",
      "edit_form": "form:contact:district_hospital:edit"
    },
    {
      "id": "health_center",
      "name_key": "contact.type.health_center",
      "group_key": "contact.type.health_center.plural",
      "create_key": "contact.type.health_center.new",
      "edit_key": "contact.type.place.edit",
      "parents": ["district_hospital"],
      "icon": "medic-health-center",
      "create_form": "form:contact:health_center:create",
      "edit_form": "form:contact:health_center:edit"
    }]

```

Thoughts ?

---

<div class="post-metadata">

**Author:** ![diana](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/diana/32/2049_2.png) [@diana](https://forum.communityhealthtoolkit.org/u/diana)\
**Post date:** [September 25, 2023, 8:33am UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/9 "2023-09-25T08:33:10Z")

</div>

@Ben_Kiarie I believe the behavior that you are seeing is expected.  
Tagging @michael and @Nicole_Orlowski for design questions.

---

<div class="post-metadata">

**Author:** ![michael](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/michael/32/319_2.png) [@michael](https://forum.communityhealthtoolkit.org/u/michael)\
**Post date:** [September 25, 2023, 12:27pm UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/10 "2023-09-25T12:27:20Z")

</div>

@Ben_Kiarie I think your issue is with your configuration… you need to first configure your `contact_types` to align with the hierarchy you are trying to replicate.

**Here’s what you currently have:**

`District Hospital -> Health Center`

 ![Screenshot 2023-09-25 at 8.13.03 AM](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/b/b7be6d32f1f4f77b8f6a23b3b79089ad495b6dc0.png)

**But what you want is:**

`MoH -> District -> Health Facility -> Community -> Household`

…so you first have to set up this hierarchy in your `contact_type` configuration.

---

<div class="post-metadata">

**Author:** ![Ben\_Kiarie](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/ben_kiarie/32/2529_2.png) [@Ben\_Kiarie](https://forum.communityhealthtoolkit.org/u/Ben_Kiarie)\
**Post date:** [September 26, 2023, 12:24pm UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/11 "2023-09-26T12:24:34Z")

</div>

Hi @michael , thanks for your response.

**Background context: I have been able to create district\_hospitals via csv-to-docs as described in the [docs](https://docs.communityhealthtoolkit.org/apps/tutorials/contact-and-users-2/#1-create-health-facilities-using-cht-confs-csv-to-docs-and-upload-docs-features) and when I reload I see the Health Facility on the Left-side Pane**

But I have an issue seeing the top most `moh` place on the left pane. Maybe my understanding is missing something

This is where I am at now.

1. I added moh as a contact\_type in base\_settings.json

```auto
{
      "id": "moh",
      "name_key": "contact.type.moh",
      "group_key": "contact.type.moh.plural",
      "create_key": "contact.type.moh.new",
      "edit_key": "contact.type.place.edit",
      "icon": "medic-facility",
      "create_form": "form:contact:moh:create",
      "edit_form": "form:contact:moh:edit"
    }

```

1. I compiled and uploaded the app settings with `compile-app-settings upload-app-settings`

I have checked `app_settings.json` and I see `moh` has been added as a `contact_type`.

1. I created a `place.moh.csv` file, ran the cht csv-to-docs command. Which runs correctly and creates this json

```auto
{
  "type": "moh",
  "name": "Uganda MOH",
  "_id": "57d9f33c-6690-5d10-944b-9e70ab3f5307"
}

```

1. when I run the `compile-app-settings upload-app-settings` command, I get back the confirmation `INFO upload-docs complete.` and when I check the log, this is what I get

```auto
{
  "ok": [
    "57d9f33c-6690-5d10-944b-9e70ab3f5307"
  ],
  "failed": {}
}

```

However, when I reload the Contacts tab, I don’t see the created `MOH Uganda` on the left pane I just see the `district_hospitals`. What step am I missing ? cc @diana if you happen to see this

---

<div class="post-metadata">

**Author:** ![michael](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/michael/32/319_2.png) [@michael](https://forum.communityhealthtoolkit.org/u/michael)\
**Post date:** [September 26, 2023, 4:50pm UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/12 "2023-09-26T16:50:05Z")

</div>

> [@Ben\_Kiarie](#):
>
> contact\_type in base\_settings.json

@Ben_Kiarie can you copy your complete `contact_types` property here?

---

<div class="post-metadata">

**Author:** ![Ben\_Kiarie](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/ben_kiarie/32/2529_2.png) [@Ben\_Kiarie](https://forum.communityhealthtoolkit.org/u/Ben_Kiarie)\
**Post date:** [September 27, 2023, 3:57am UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/13 "2023-09-27T03:57:34Z")

</div>

Sure, here it is from `app_services.json`

```auto
"contact_types": [
    {
      "id": "district_hospital",
      "name_key": "contact.type.district_hospital",
      "group_key": "contact.type.district_hospital.plural",
      "create_key": "contact.type.district_hospital.new",
      "edit_key": "contact.type.place.edit",
      "icon": "medic-district-hospital",
      "create_form": "form:contact:district_hospital:create",
      "edit_form": "form:contact:district_hospital:edit"
    },
    {
      "id": "health_center",
      "name_key": "contact.type.health_center",
      "group_key": "contact.type.health_center.plural",
      "create_key": "contact.type.health_center.new",
      "edit_key": "contact.type.place.edit",
      "parents": [
        "district_hospital"
      ],
      "icon": "medic-health-center",
      "create_form": "form:contact:health_center:create",
      "edit_form": "form:contact:health_center:edit"
    },
    {
      "id": "clinic",
      "name_key": "contact.type.clinic",
      "group_key": "contact.type.clinic.plural",
      "create_key": "contact.type.clinic.new",
      "edit_key": "contact.type.place.edit",
      "parents": [
        "health_center"
      ],
      "icon": "medic-clinic",
      "create_form": "form:contact:clinic:create",
      "edit_form": "form:contact:clinic:edit",
      "count_visits": true
    },
    {
      "id": "person",
      "name_key": "contact.type.person",
      "group_key": "contact.type.person.plural",
      "create_key": "contact.type.person.new",
      "edit_key": "contact.type.person.edit",
      "primary_contact_key": "clinic.field.contact",
      "parents": [
        "district_hospital",
        "health_center",
        "clinic"
      ],
      "icon": "medic-person",
      "create_form": "form:contact:person:create",
      "edit_form": "form:contact:person:edit",
      "person": true
    },
    {
      "id": "moh",
      "name_key": "contact.type.moh",
      "group_key": "contact.type.moh.plural",
      "create_key": "contact.type.moh.new",
      "edit_key": "contact.type.place.edit",
      "icon": "medic-facility",
      "create_form": "form:contact:moh:create",
      "edit_form": "form:contact:moh:edit"
    }
  ]

```

---

<div class="post-metadata">

**Author:** ![michael](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/michael/32/319_2.png) [@michael](https://forum.communityhealthtoolkit.org/u/michael)\
**Post date:** [September 29, 2023, 1:08am UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/14 "2023-09-29T01:08:58Z")

</div>

Thanks @Ben_Kiarie … so your `moh` contact type doesn’t have a parent specified and itself is not a parent to any other contact types so I think it’s kind of in a parallel universe 🪐 _(see diagram below)_.

Even if you were to just update `district_hospital` to have `moh` as a `parent`, existing data documents [would need to be updated](https://docs.communityhealthtoolkit.org/apps/reference/app-settings/hierarchy/#migration) because all contacts and reports have the ID’s of ancestors in their hierarchy.

Here’s what your hierarchy currently represents but I’m not really sure if the [CHT supports multiple distinct hierarchies](https://forum.communityhealthtoolkit.org/t/does-the-cht-support-multiple-hierarchies-on-same-instance/3082). _(I imagine this is why you aren’t seeing the “Uganda MOH” record you created)_

 ![Untitled drawing](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/9/918270c2471da773ab19f2ae4929a23317757634.png)

---

<div class="post-metadata">

**Author:** ![Ben\_Kiarie](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/ben_kiarie/32/2529_2.png) [@Ben\_Kiarie](https://forum.communityhealthtoolkit.org/u/Ben_Kiarie)\
**Post date:** [October 3, 2023, 8:43am UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/15 "2023-10-03T08:43:52Z")

</div>

Thanks @michael that explanation makes sense. Here is what I did to give it another try.

1. I changed the database location for couchdb to avoid the dealing with moving contacts. I preferred to start with a new hierarchy.

2. After changing the database location and logging in as the default `medic` user I did not have any users in my application.

3. I updated my contact types to the following and ran the command  
`cht --url=https://medic:password@localhost:8444 --accept-self-signed-certs compile-app-settings upload-app-settings`

```auto
"contact_types": [
    {
      "id": "moh",
      "name_key": "contact.type.moh",
      "group_key": "contact.type.moh.plural",
      "create_key": "contact.type.moh.new",
      "edit_key": "contact.type.place.edit",
      "icon": "medic-facility",
      "create_form": "form:contact:moh:create",
      "edit_form": "form:contact:moh:edit"
    },
    {
      "id": "district_hospital",
      "name_key": "contact.type.district_hospital",
      "group_key": "contact.type.district_hospital.plural",
      "create_key": "contact.type.district_hospital.new",
      "edit_key": "contact.type.place.edit",
      "parents": [
        "moh"
      ],
      "icon": "medic-district-hospital",
      "create_form": "form:contact:district_hospital:create",
      "edit_form": "form:contact:district_hospital:edit"
    },
    {
      "id": "health_center",
      "name_key": "contact.type.health_center",
      "group_key": "contact.type.health_center.plural",
      "create_key": "contact.type.health_center.new",
      "edit_key": "contact.type.place.edit",
      "parents": [
        "district_hospital"
      ],
      "icon": "medic-health-center",
      "create_form": "form:contact:health_center:create",
      "edit_form": "form:contact:health_center:edit"
    },
    {
      "id": "clinic",
      "name_key": "contact.type.clinic",
      "group_key": "contact.type.clinic.plural",
      "create_key": "contact.type.clinic.new",
      "edit_key": "contact.type.place.edit",
      "parents": [
        "health_center"
      ],
      "icon": "medic-clinic",
      "create_form": "form:contact:clinic:create",
      "edit_form": "form:contact:clinic:edit",
      "count_visits": true
    },
    {
      "id": "person",
      "name_key": "contact.type.person",
      "group_key": "contact.type.person.plural",
      "create_key": "contact.type.person.new",
      "edit_key": "contact.type.person.edit",
      "primary_contact_key": "clinic.field.contact",
      "parents": [
        "district_hospital",
        "health_center",
        "clinic"
      ],
      "icon": "medic-person",
      "create_form": "form:contact:person:create",
      "edit_form": "form:contact:person:edit",
      "person": true
    }
  ]

```

1. After that I created a csv file named `place.moh` with a name key and value  
 ![Screenshot 2023-10-03 at 11.39.07](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/b/bf8c36e4ab0c2ff78fdd9d502e193ed6d9da7a4f.png)

2. I ran the command `cht csv-to-docs` which generated the correct json

```auto
{
  "type": "moh",
  "name": "Uganda MOH",
  "_id": "57d9f33c-6690-5d10-944b-9e70ab3f5307"
}

```

1. Next, I ran the command  
`cht --url=https://medic:password@localhost:8444 --accept-self-signed-certs upload-docs`  
And got back the following json

```auto
{
  "ok": [
    "57d9f33c-6690-5d10-944b-9e70ab3f5307"
  ],
  "failed": {}
}

```

At this point, should I be seeing moh in the contacts tab ? Currently, its blank.

 ![Screenshot 2023-10-03 at 11.43.04](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/6/6a0775a72a1b568a78bccb4eaa905f74db0a0be9.png)

---

<div class="post-metadata">

**Author:** ![Ben\_Kiarie](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/ben_kiarie/32/2529_2.png) [@Ben\_Kiarie](https://forum.communityhealthtoolkit.org/u/Ben_Kiarie)\
**Post date:** [October 30, 2023, 6:51am UTC](https://forum.communityhealthtoolkit.org/t/how-to-create-a-hierarchy-of-contact-from-parent-to-child/2844/16 "2023-10-30T06:51:33Z")

</div>

An update on this, I followed the instructions to create **[Contact Forms : Used for creating and editing people and places](https://docs.communityhealthtoolkit.org/apps/reference/forms/contact/)** hoping that would allow me to create the above hierarchy including

- Ministry of health
- A District Hospital

Here is are the contact forms I have in my project so far

 ![Screenshot 2023-10-30 at 09.45.31](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/9/98fce4205f3dc1488ffc9af65c6ffd407dab3567.png)

With those contact forms, I ran repeated the steps to create MOH again

- `cht --url=https://medic:password@localhost:8444 --accept-self-signed-certs compile-app-settings upload-app-settings`

- `cht csv-to-docs` which correctly generated the json for creating `Uganda MOH` of type `moh`

- `cht --url=https://medic:password@localhost:8444 --accept-self-signed-certs upload-docs` I got back an `ok` status of the upload

Despite these efforts, I still don’t have `Uganda MOH` as a contact in my application.
