Test Case 5 : Inbox - HL7 - Unit tests

Edited by:

DRAFT

Description:

Using the 'HL7 Lab Upload' function in the OSCAR Inbox (HL7, MDS, CML, GDML and CLS).  This test case covers the scenario when the HL7 uploaded lab is claimed (picked up by a care provider) and unmatched (not associated to a demographic record)

  • Test Case - Upload lab for existing demographic record and provider (Use Case: Default lab display)

  • Test Case - Upload lab for non-existent demographic record and existing provider
  • Test Case - Upload lab for non-existent demographic record and provider
  • Test Case - Upload doc for provider
  • Test Case - Upload unmatched docs

Actors/Related actors:

  1. Business Clerks, Records Team, Nurse Practitioners and Physicians

Pre-action requirements/state:

  1. OSCAR is configured and working as expected
  2. OSCAR user is configured with rights to the inbox
  3. You are logged into OSCAR as this user

 

Post-action state:

  1. OSCAR Inbox is working as expected.  The HL7 must be displayed in the inbox as expected and detailed below.

Steps to perform the test case:

---+++ Test Case - TC-LABS-01 - Upload lab for existing demographic record and provider +++---

Use Case: Default lab display

Pre-action requirements/state:

Demo record must exist

Provider record must exist

HL7 file being uploaded must contain the appropriate information (provider/demo)

Flow:

1. Upload the HL7 file containing the information

2. Check that it shows in the provider inbox

Post-conditions:

The HL7 must be displayed in the inbox

 

 

---+++ Test Case - TC-LABS-02 - Upload lab for non-existent demographic record and existing provider +++---

Use Case: Default lab display

Use Case: Search

Pre-conditions:

Demo record must not exist

Provider record must exist

HL7 file being uploaded must contain the appropriate information (provider/demo)

Flow:

1. Upload the HL7 file containing the information

2. Check that it shows in the provider inbox

Post-conditions:

The HL7 must be displayed in the inbox

 

 

---+++ Test Case - TC-LABS-03 - Upload lab for non-existent demographic record and provider +++---

Pre-conditions:

Demo record must not exist

Provider record must not exist

HL7 file being uploaded must contain the appropriate information (provider/demo)

Flow:

1. Upload the HL7 file containing the information

2. Check that it doesn't in the provider inbox

3. Search lab by demographic info

4. Make sure that it shows up in the search results

Post-conditions:

The HL7 must not be displayed in the inbox

HL7 must be displayed in the search results

 

 

---+++ Test Case - TC-LABS-04 - Upload doc for provider +++---

Pre-conditions:

Provider record must not exist

Flow:

1. Upload the document for the provider

2. Check that it displays in the provider inbox

Post-conditions:

The default view should contain the document

 

 

---+++ Test Case - TC-LABS-05 - Upload unmatched docs +++---

Pre-conditions:

N/A

Flow:

1. Upload the document without selecting a provider

2. Check that it doesn't display in the provider inbox

3. Run unmatched docs search

4. Make sure that it displays in the search results

Post-conditions:

The document should be shown in the results

Â