Skip to content

TEST - clinical review plug-in #213

@jackschofield23

Description

@jackschofield23

Tests are to cover

  • TM TaskDispatchEvent consumption with type "aide-clinical-review"
  • TM ClinicalReviewRequestEvent publishing
  • TM TaskCallback consumption and publish a TaskUpdateEvent
  1. Publish TaskDispatchEvent with type "aide-clinical-review" and full PatientDetails inc other mandatory (workflow_name, queue_name). ClinicalReviewRequestEvent with the correct including correct patient details, file location etc.

  2. Publish TaskDispatchEvent with type "aide-clinical-review" and partial PatientDetails inc other mandatory. ClinicalReviewRequestEvent with the correct including correct patient details, file location etc.

  3. Publish TaskDispatchEvent with type "aide-clinical-review" and no PatientDetails inc other mandatory. ClinicalReviewRequestEvent with the correct including correct patient details, file location etc.

  4. Publish TaskCallbackEvent for "aide-clinical-review" with metadata (schema TBD). TaskUpdateEvent published with correct information.

  5. Publish TaskDispatchEvent with type "aide-clinical-review" and missing mandatory (workflow_name, queue_name). TaskUpdateEvent published with error status.

  6. Publish TaskDispatchEvent with type "aide-clinical-review" including mandatory (workflow_name, queue_name). TaskUpdateEvent published with accepted status.

  7. Publish TaskCallbackEvent for "aide-clinical-review" with incorrect executionId. (TBD - with persistance)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions