...
Encounter Type Matching
Regular Consultation Encounter & Retrospective Consultation Encounter
Encounter type to be used for finding an encounter or creating a new encounter is based on either of the following logic in the given order,
- by programUuid - mapping present in entity_mapping table with entity_mapping_type as 'program_encountertype'
- by location uuid - mapping present in entity_mapping table with entity_mapping_type as 'location_encountertype'
- by default encounter type provided in global property ( bahmni.encounterType.default).
For other encounters, following encounter types are picked irrespective of location:
- Registration Encounter - 'REG'
- Radiology Upload Encounter - 'RADIOLOGY'
- Patient Document Encounter - 'Patient Document'
- Admission Encounter - 'ADMISSION'
- Discharge Encounter - 'DISCHARGE'
- Transfer Encounter - 'TRANSFER'