Versions Compared

Key

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

...

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

To be: if we mandate that all bahmni users are providers

  1. by encounterType
  2. by sessionTime (for retrospective entry, the client should send the date as 12:00)
  3. by provider

To be: if we want to support non providers as bahmni users 

Objectives: 

  • Single consistent way to match encounters for regular encounters, retrospective encounter, on behalf of encounters and encounter edits. 
  • To support non providers to be able to use bahmni and create encounters.
  1. by encounterUuid if sent by the client.
  2. by encounterType
  3. by sessionTime (for retrospective entry, the client should send the date as 12:00)
  4. by provider if provider or on behalf of provider
  5. by user if not a provider

Note: Visit Document matching can be modelled as onBehalfOf and the time fixed to one specific time of a day as in retrospective