Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. by programUuid - mapping present in entity_mapping table with entity_mapping_type as 'program_encountertype' (OR)
  2. by location uuid - mapping present in entity_mapping table with entity_mapping_type as 'location_encountertype'  (OR)
        - Location encounter type mapping can be inserted using the following query:
          

    Code Block
    languagesql
    titlelocation_encountertype
    insert into entity_mapping(uuid, entity_mapping_type_id, entity1_uuid, entity2_uuid, date_created) 
    values (uuid(), <mapping_id_of_location_encountertype>, <uuid_of_location>, <uuid_of_encounter_type>, now())
  3. by default encounter type provided in global property ( bahmni.encounterType.default).

...