I am trying to update patient search to have more fields like “primaryContact” …I have updated “.json” file to have givenNameLocal, primaryContact and gender but every time I get an error …Even if I just update label value in following code, it gives me the same error…Any suggestions:
However, now facing a different issue. Added “Mobile Number” as a search field and it indeed searches on Mobile Number (mobileNumber in openMRS) attribute, but look at the column header below encircled in red:
Another Question: How do I add more search fields? For example, Mobile Number, Caste, Gender, etc. It seems as if I could add only one customAttribute.