Versions Compared

Key

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

...

Invoke Media Content Storage to check documents exist

Media Content Storage

Check doctor's limit

Get employee.id from declaration request, get party for employee_id

Find all employees in status= 'APPROVED' for the party. Find all specialities for those employees. 

Set doctor's limit = min limit for employee's speciality. 

Speciality limits are in ehealth.charts.il

Count declarations for $.employee.id, check if Counted declarations < doctor's limit

  • in case error return 422, "This doctor has X declarations and could not sign more"

Generate printout form

Invoke MAN to render print form.

...