Selecting multiple targets within app.json

My group is trying to implement having contact information for 2 additional people at the time of registration, is there a good way that we could implement this? I have configurations set up in the app.json, is there a way that we can choose a different target for the patient attributes?

We created a org.openmrs.Person attribute for our patient, so I was wondering if maybe we can make that the new target, or if we are going to have to create another “patient” that we can use to have those fields in the registration page.

My other idea was going into the HTML and changing the ng-model to a new value, and then create only one field and call that function 3 times within the HTML

I would prefer/use this option to get the contact information for additional people for the following reasons, -

  • this has already been implemented in Bahmni
  • this has no restriction on number of additional contacts
  • it also uses “Till Date”

What do you mean by already implemented? We haven’t been able to find a way to select a different target with the app.json. The HTML says target-model=“patient” which I believe limits it to only one target

I am referring to Patient Relationship to save additional contact information.