/
Program Validation Methods
Published Dec 3, 2018

ЕСОЗ - публічна документація

Program Validation Methods

Method 1: Same MRR in treatment period

Fetch Medication Request by $innm_dosge, $program_id, $person_id and max(end_date) in status (ACTIVE, COMPLETED). In case there is  Medication Request with ended_at>=current_date then next one  can be done in

  • if (ended_at - started_at) => mrr_standart_duration then
    NEW created_at >= ended at - max_mrr_renew_days>=current_day
  • if (ended_at - started_at) < mrr_standart_duration then
    NEW created_at >= ended_at - min_mrr_renew_days>=current_day

Related content

БП Заявка на погашення ЕР
БП Заявка на погашення ЕР
Read with this
Dates & periods in Medication request
Dates & periods in Medication request
More like this
ePrescription (Електронний рецепт)
ePrescription (Електронний рецепт)
Read with this
RC_Qualify Medication request (CSI-2140)
RC_Qualify Medication request (CSI-2140)
More like this

ЕСОЗ - публічна документація