...
"autoCompleteFields":["familyName", "caste"]
Using appointment module:
If you are using appointment module in your implementation, then you should add a database migration to add two person attributes that are required by the appointment module to function correctly. They are 'Telephone Number' and 'Unknown patient'.
- Add a migration in the bahmni_config/openmrs/migrations folder.
- This migration can be added directly to the liquibase.xml file or other based on your migration folder structure.
- The migration should contain the following two changesets.
<changeSet id="IMPL-PERSON-ATTRIBUTE-TELEPHONE-NUMBER" author="Swathi, Jaswanth" context="rel0.76">
<preConditions onFail="MARK_RAN">
<sqlCheck expectedResult="0">
SELECT COUNT(*) FROM person_attribute_type where name = 'Telephone Number';
</sqlCheck>
</preConditions>
<comment>Adding Telephone Number person attribute type</comment>
<sql>
INSERT INTO person_attribute_type (name, description, format, searchable, creator, date_created, retired, sort_weight, uuid) VALUES ('Telephone Number', 'Telephone Number', 'java.lang.String', '0', 1, now(), 0, 3, uuid());
</sql>
</changeSet>
<changeSet id="IMPL-PERSON-ATTRIBUTE-UNKNOWN-PATIENT" author="Swathi, Jaswanth" context="rel0.76">
<preConditions onFail="MARK_RAN">
<sqlCheck expectedResult="0">
SELECT COUNT(*) FROM person_attribute_type where name = 'Unknown patient';
</sqlCheck>
</preConditions>
<comment>Adding Unknown patient person attribute type</comment>
<sql>
INSERT INTO person_attribute_type (name, description, format, searchable, creator, date_created, retired, sort_weight, uuid) VALUES ('Unknown patient', 'Unknown Patient', 'java.lang.String', '0', 1, now(), 0, 3, uuid());
</sql>
</changeSet>
Additional Patient Information
...