Type alias ExportJobStatus

ExportJobStatus: "awaiting-input" | "requested" | "retrieved" | "approved" | "rejected"

Can be:

  • awaiting-input The user needs to fill in the form.

  • requested After the export is approved by the admin and while the data is being exported.

  • retrieved All the data transmitted to its destination. At this pont the jobs is waiting for the admin to approve it

  • approved Admin approved this export and it is now visible to the patient

  • rejected Admin rejected this export and it is scheduled to be deleted

Note that jobs have certain lifetime. Once they expire they will be deleted within the next config.jobCleanupMinutes minutes:

  • awaiting-input - Does not expire
  • requested - Expire after config.jobMaxLifetimeMinutes
  • retrieved - Expire after config.jobMaxLifetimeMinutes
  • approved - Expire after config.completedJobLifetimeMinutes
  • rejected - Expire immediately

Generated using TypeDoc