Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <test id="testAddDiagnosistoOfficeVisit">
- <role>HCP</role>
- <dateAdded>2/5/2011</dateAdded>
- <usecase>UC11</usecase>
- <description>
- <precondition>HCP 9000000012 is a registered iTrust user.</precondition>
- <precondition>Patient Random Person exists in the database</precondition>
- <step>HCP 9000000012 logs in.</step>
- <step>HCP 9000000012 clicks "Document Office Visit" link.</step>
- <step>HCP 9000000012 types in "Random" next to first name and "Person" next to last name</step>
- <step>HCP 9000000012 clicks on "User Search" button</step>
- <step>HCP 9000000012 clicks the button labeled "1" under MID column</step>
- <step>HCP 9000000012 clicks on "Yes, Document Office Visit" button</step>
- <step>HCP 9000000012 adds the current date to the Date: text box in the Office Visit table</step>
- <step>HCP 9000000012 clicks on drop-down box in the Office Visit table and clicks on "Central Hospital"</step>
- <step>HCP 9000000012 types in "Showing signs of dehydration" in the Notes: text area</step>
- <step>HCP 9000000012 clicks on "Update" button</step>
- <step>HCP 9000000012 clicks on drop-down box in Diagnosis table and clicks on Echovirus diagnosis</step>
- <step>HCP 9000000012 clicks on "Add Diagnosis" button</step>
- </description>
- <expectedResults>
- <eResult>A message saying "Information Successfully Updated" is displayed after clicking "Update".</eResult>
- <eResult>A message saying "Information Successfully Updated" is displayed after clicking "Add Diagnosis".</eResult>
- </expectedResults>
- </test>
- <test id="testCancelMedicationInteractionAlert">
- <role>HCP</role>
- <dateAdded>2/5/2011</dateAdded>
- <usecase>UC37</usecase>
- <description>
- <precondition>HCP 9000000000 is a registered iTrust user.</precondition>
- <precondition>Patient Andy Programmer exists in the database</precondition>
- <precondition>Andy Programmer has an aspirin allergy</precondition>
- <step>HCP 9000000000 logs in.</step>
- <step>HCP 9000000000 clicks "Document Office Visit" link.</step>
- <step>HCP 9000000000 types in "Andy" next to first name and "Programmer" next to last name</step>
- <step>HCP 9000000000 clicks on "User Search" button</step>
- <step>HCP 9000000000 clicks the button labeled "2" under MID column</step>
- <step>HCP 9000000000 clicks on "02/01/2011"</step>
- <step>HCP 9000000000 clicks on drop-down box in the Office Visit table and clicks on "Northern Hospital"</step>
- <step>HCP 9000000000 types in "Complains of acute fatigue" in the Notes: text area</step>
- <step>HCP 9000000000 prescribes 200mg of Aspirin from February 1, 2011, until February 15, 2011 in the Prescriptions table</step>
- <step>HCP 9000000000 includes the instruction "Take one every 6 hours with food" and clicks on the "Add Prescription" button</step>
- <step>When a warning appears HCP 9000000000 chooses to cancel the prescription</step>
- </description>
- <expectedResults>
- <eResult>A warning appears on the screen alerting Kelly about the Aspiring allergy.</eResult>
- <eResult>After canceling the prescription, the system remains on the edit office visit page</eResult>
- </expectedResults>
- </test>
- <test id="testPrescribeMedicationWithNoInteraction">
- <role>HCP</role>
- <dateAdded>2/5/2011</dateAdded>
- <usecase>UC37</usecase>
- <description>
- <precondition>HCP 9000000003 is a registered iTrust user.</precondition>
- <precondition>Patient Baby Programer exists in the database</precondition>
- <step>HCP 9000000003 logs in.</step>
- <step>HCP 9000000003 clicks "Document Office Visit" link.</step>
- <step>HCP 9000000003 types in "Baby" next to first name and "Programmer" next to last name</step>
- <step>HCP 9000000003 clicks on "User Search" button</step>
- <step>HCP 9000000003 clicks the button labeled "5" under MID column</step>
- <step>HCP 9000000003 clicks on the date of the previous day</step>
- <step>HCP 9000000003 prescribes 150mg of Penicillin from the current date, until 21 days later in the Prescriptions table</step>
- <step>HCP 9000000003 includes the instruction "Take once daily with water" and clicks on the "Add Prescription" button</step>
- </description>
- <expectedResults>
- <eResult>The Edit Office page shows that the visit occurred at Northern Hospital and has the previously entered note, "Hates getting shots"</eResult>
- <eResult>The page also shows a lab procedure for specimen volume and immunizations for measles/mumps/rubella, Hepatitis B, and Poliovirus</eResult>
- <eResult>Upon adding the prescription, the system displays a message that the medication was prescribed successfully</eResult>
- </expectedResults>
- </test>
- <test id="testPrescribeMedicationWithInteraction">
- <role>HCP</role>
- <dateAdded>2/5/2011</dateAdded>
- <usecase>UC37</usecase>
- <description>
- <precondition>HCP 9000000012 is a registered iTrust user.</precondition>
- <precondition>Patient Andy Programmer exists in the database</precondition>
- <precondition>Andy Programmer has had an office visit on 02/2/2011 at Central Hospital</precondition>
- <precondition>Andy Programmer has been prescribed 200mg of Aspirin from from 02/2/2011, through 02/2/2011, with instructions, "Take once daily with a meal"</precondition>
- <step>HCP 9000000012 logs in.</step>
- <step>HCP 9000000012 clicks "Document Office Visit" link.</step>
- <step>HCP 9000000012 types in "Andy" next to first name and "Programmer" next to last name</step>
- <step>HCP 9000000012 clicks on "User Search" button</step>
- <step>HCP 9000000012 clicks the button labeled "2" under MID column</step>
- <step>HCP 9000000012 clicks on "02/02/2011"</step>
- <step>HCP 9000000012 prescribes 400mg of Ibuprofen from the 02/2/2011, until 02/16/2011 in the Prescriptions table</step>
- <step>HCP 9000000012 includes the instruction "Take once daily" and clicks on the "Add Prescription" button</step>
- <step>If a warning message is displayed, HCP 9000000012 chooses to proceed with the prescription, selecting the "Limited Course of Treatment" override reason</step>
- </description>
- <expectedResults>
- <eResult>The Edit Office page shows that the visit occurred at Central Hospital and has the previously entered note, "Second medical visit in two days"</eResult>
- <eResult>The page also shows a prescription for 200mg of Aspirin from 02/2/2011, through 02/2/2011, with instructions, "Take once daily with a meal"</eResult>
- <eResult>Upon adding the prescription, the system displays a warning message</eResult>
- <eResult>Upon overriding, an email is sent to Andy Programmer alerting him to the potentially harmful drug interaction </eResult>
- </expectedResults>
- </test>
- <test id="testEditingExistingPrescription">
- <role>HCP</role>
- <dateAdded>2/5/2011</dateAdded>
- <usecase>UC11</usecase>
- <description>
- <precondition>HCP 9000000012 is a registered iTrust user.</precondition>
- <precondition>Patient Random Person exists in the database</precondition>
- <precondition>Random Person has had an office visit on 01/26/2011 at Eastern Hospital</precondition>
- <precondition>Random Person has had a diagnosis for Tuberculosis of the Lung, an injection procedure, and a lab procedure for Bacteria identification test</precondition>
- <precondition>Random Person has been prescribed 200mg of Ibuprofen from 01/26/2011 to 02/5/2011 with instructions "Take once daily"</precondition>
- <step>HCP 9000000012 logs in.</step>
- <step>HCP 9000000012 clicks "Document Office Visit" link.</step>
- <step>HCP 9000000012 types in "Random" next to first name and "Person" next to last name</step>
- <step>HCP 9000000012 clicks on "User Search" button</step>
- <step>HCP 9000000012 clicks the button labeled "1" under MID column</step>
- <step>HCP 9000000012 clicks on "01/26/2011"</step>
- <step>HCP 9000000012 clicks on the Ibuprofen prescription in the Prescriptions table</step>
- <step>HCP 9000000012 updates the dosage to 1000mg</step>
- <step>HCP 9000000012 includes the instructions "Take as many as you want"</step>
- <step>HCP 9000000012 clicks on the "Change" button</step>
- </description>
- <expectedResults>
- <eRestult>The office visit page refreshes, displays a success message, and shows the updated prescription information in the medication list</eRestult>
- </expectedResults>
- </test>
- <test id="testAddPrescriptionNoInstructions">
- <role>HCP</role>
- <dateAdded>2/5/2011</dateAdded>
- <usecase>UC11</usecase>
- <description>
- <precondition>HCP 9000000003 is a registered iTrust user.</precondition>
- <precondition>Patient Baby Programmer exists in the database</precondition>
- <step>HCP 9000000003 logs in.</step>
- <step>HCP 9000000003 clicks "Document Office Visit" link.</step>
- <step>HCP 9000000003 types in "Baby" next to first name and "Programmer" next to last name</step>
- <step>HCP 9000000003 clicks on "User Search" button</step>
- <step>HCP 9000000003 clicks the button labeled "5" under MID column</step>
- <step>HCP 9000000003 clicks on "Yes, Document Office Visit" button</step>
- <step>HCP 9000000003 adds the 02/05/2011 to the Date: text box in the Office Visit table</step>
- <step>HCP 9000000003 clicks on drop-down box in the Office Visit table and clicks on "Central Hospital"</step>
- <step>HCP 9000000003 types in "Everything seems fine" in the Notes: text area</step>
- <step>HCP 9000000003 clicks on "Update" button</step>
- <step>HCP 9000000003 clicks on drop-down box in Prescriptions table and selects Ibuprofen prescription</step>
- <step>HCP 9000000003 types "20" in the "Dosage" text box</step>
- <step>HCP 9000000003 clicks "Add Prescription" button</step>
- </description>
- <expectedResults>
- <eResult>A message notifying the HCP that the prescription cannot be added is displayed</eResult>
- </expectedResults>
- </test>
- <test id="testRemoveLabProcedure">
- <role>HCP</role>
- <dateAdded>2/5/2011</dateAdded>
- <usecase>UC11</usecase>
- <description>
- <precondition>HCP 9000000003 is a registered iTrust user.</precondition>
- <precondition>Patient Random Person exists in the database</precondition>
- <precondition>Random Person has had an office visit on 02/05/2011 and has been prescribed 20mg tetracycline</precondition>
- <step>HCP 9000000003 logs in.</step>
- <step>HCP 9000000003 clicks "Document Office Visit" link.</step>
- <step>HCP 9000000003 types in "Random" next to first name and "Person" next to last name</step>
- <step>HCP 9000000003 clicks on "User Search" button</step>
- <step>HCP 9000000003 clicks the button labeled "1" under MID column</step>
- <step>HCP 9000000003 clicks on "02/05/2011"</step>
- <step>HCP 9000000003 clicks on "Remove" button in the Action column in the Prescriptions table</step>
- </description>
- <expectedResults>
- <eResult>A message saying "Information Successfully Updated" is displayed</eResult>
- <eResult>There is no lab procedure listed in the Immunization table</eResult>
- </expectedResults>
- </test>
- <test id="testLoggedEdittedOfficeVisit">
- <role>HCP</role>
- <dateAdded>2/5/2011</dateAdded>
- <usecase>UC11</usecase>
- <description>
- <precondition>HCP 9000000003 is a registered iTrust user.</precondition>
- <precondition>Patient Andy Programmer exists in the database</precondition>
- <precondition>Random Person has had an office visit on 02/02/2011 and has been prescribed 20mg tetracycline</precondition>
- <step>HCP 9000000003 logs in.</step>
- <step>HCP 9000000003 clicks "Document Office Visit" link.</step>
- <step>HCP 9000000003 types in "Andy" next to first name and "Programmer" next to last name</step>
- <step>HCP 9000000003 clicks on "User Search" button</step>
- <step>HCP 9000000003 clicks the button labeled "2" under MID column</step>
- <step>HCP 9000000003 clicks on "02/02/2011"</step>
- <step>HCP 9000000003 clicks on the tetracyline prescription in the Prescriptions table</step>
- <step>HCP 9000000003 upgrades the dosage to 20mg and clicks on the "Submit" button</step>
- <step>HCP 9000000003 clicks on "Logout" in the top-right corner of the screen</step>
- <step>Patient Andy Programmer logs into iTrust (MID: 5 password: pw)</step>
- </description>
- <expectedResults>
- <eResult>A message saying "Gandalf Stormcrow edited your prescription today" is displayed</eResult>
- </expectedResults>
- </test>
- <test id="testModifyOverrideReason">
- <role>Admin</role>
- <dateAdded>02/05/2011</dateAdded>
- <usecase>UC37</usecase>
- <description>
- <precondition>Admin 9000000001 is a registered user of the iTrust system.</precondition>
- <precondition>Admin 9000000001 has authenticated successfully.</precondition>
- <step>Admin 9000000001 clicks the “Edit Override Reason Codes” link under the “Edit” menu subheading.</step>
- <step>Admin 9000000001 clicks on the reason, "Benefit of drug outweighs disadvantages"</step>
- <step>Admin 9000000001 modifies the title to "The benefit of the drug outweighs the disadvantages" and clicks on the "Update Code" button</step>
- </description>
- <expectedResults>
- <eResult>The modified override reason apears as "The benefit of the drug outweighs the disadvantages" in the "Current Override Reason Codes" table.</eResult>
- </expectedResults>
- <actualResults>
- </actualResults>
- </test>
- <test id="testRemoveImmunization">
- <role>HCP</role>
- <dateAdded>2/5/2011</dateAdded>
- <usecase>UC11</usecase>
- <description>
- <precondition>HCP 9000000003 is a registered iTrust user.</precondition>
- <precondition>Patient Baby Programmer exists in the database</precondition>
- <precondition>Baby Programmer has had an office visit on 11/10/2004 and has had a Human Papillomavirus immunization</precondition>
- <step>HCP 9000000003 logs in.</step>
- <step>HCP 9000000003 clicks "Document Office Visit" link.</step>
- <step>HCP 9000000003 types in "Baby" next to first name and "Programmer" next to last name</step>
- <step>HCP 9000000003 clicks on "User Search" button</step>
- <step>HCP 9000000003 clicks the button labeled "1" under MID column</step>
- <step>HCP 9000000003 clicks on "11/10/2004"</step>
- <step>HCP 9000000003 clicks on "Remove" button in the Action column in the Immunizations table</step>
- </description>
- <expectedResults>
- <eResult>A message saying "Information Successfully Updated" is displayed</eResult>
- <eResult>There is no immunization listed in the Immunization table</eResult>
- </expectedResults>
- </test>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement