medic / cht-conf

A command-line interface for configuring Community Health Toolkit applications
https://communityhealthtoolkit.org
GNU Affero General Public License v3.0
22 stars 25 forks source link

Allow profile cards to apply to persons #96

Open derickl opened 6 years ago

derickl commented 6 years ago

It seems profile card elements can only applytoType: report. Is there any particular reason my? Specifying anything else make it break with the following error.

screenshot 2018-10-17 at 16 09 08

Is this a potential bug?

From my end, it would have made sense to tie it to the contact-type under which it would apply. E.g for a pregnancy card, it would have made more sense for the fields to apply to person.

alxndrsn commented 6 years ago

More likely a previously-unrequested feature :smile:

abbyad commented 6 years ago

We have contact cards for people in Standard, so if this doesn't work anymore it sounds like a regression.