This page has been Archived, and is obsolete. It is available on the Bahmni wiki only for reference and historical purposes. Instead of deleting a page, we prefer to "archive" it, so that it is still available to people who have bookmarked the page. |
This section is shown when there is data in relationship_type in the database.
By default all the relationships are taken as "patient". If a relationship needs to be added as "provider", it can be done in through the global property configuration.
A global property configuration has to be added from OpenMRS admin UI like below:
Navigate through Administration -> Maintenance -> Advanced Settings and add the following
Name: 'bahmni.relationshipTypeMap'
Value: {"provider":["Doctor"],"patient":["Parent","Sibling"]}
https://bahmni.atlassian.net/wiki/display/BAH/Migrating+Patient+and+Encounter+Data
Provider: If a provider is selected, then from the "Related To" column, auto-complete feature is enabled for the provider.
Patient: If a patient is selected, then based on the identifier, the patient is searched and on moving out of the "Related To" it will show the patient details in the bottom as shown below. After adding the relationship, a hyper link to the patient dashboard is show for the relatedTo column.
Adding duplicate relationships will show an error.
We show patient relationships as part of the patient information display control.