Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

As is:

Visit is selected by the visitUuid sent in the EncounterTransaction. Within the visit, the encounter is filtered based on the following logic, in that order

Regular Consultation

  1. by encounterType
  2. by sessionTime
  3. by user and provider
  4. by location

Retrospective

  1. by encounterType
  2. by user and provider
  3. by date

Visit Document

  1. by encounterType
  2. by provider

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

 

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

  1. by encounterType
  2. by sessionTime (for retrospective entry, the client should send the date as 12:00)
  3. by provider if provider or on behalf of provider
  4. 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

  • No labels