medic / cht-user-management

GNU Affero General Public License v3.0
3 stars 1 forks source link

Use type: health_center instead of contact_type: health_center #46

Closed kennsippell closed 5 months ago

kennsippell commented 5 months ago

I have a problem with "type": "contact", "contact_type": "health_center" currently we are doing type: health_center same thing with person. Is this change necessary? if so queries have to change. think i've heard of type:health_center breaking in v4.4 for configurable hierarchies but im not sure https://github.com/medic/cht-user-management/issues/39#issuecomment-1914065651

Looking in code, we always assume contact_type is used. So some aspects of search are likely broken for production Uganda data