Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web...

62
Software Requirements Specification November 12, 2018 1

Transcript of Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web...

Page 1: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

1

Page 2: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements SpecificationVersion 2.2

App Team

Tyler Bartnick

Duong Doan

Andrew Reichard

Ryen Shearn

Peter Shively

Phillip Yoder

CSC 354

Dr. Tan

Page 3: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Table of ContentsTable of Contents......................................................................................................................................... i

REVISION HISTORY...................................................................................................................................... iii

1.0 INTRODUCTION.....................................................................................................................................1

1.1 Purpose of Document........................................................................................................................1

1.3 Explanatory Material: Acronyms & References.................................................................................2

2.0 PROJECT CONSIDERATIONS...................................................................................................................4

2.1 Identified Costs..................................................................................................................................4

2.2 Possible Tools....................................................................................................................................4

2.3 Open Issues and Questions................................................................................................................5

2.4 Long-Term Plans for Future Releases and Features...........................................................................5

2.5 Standards and Regulatory Considerations.........................................................................................6

3.0 PROJECT SCOPE.....................................................................................................................................7

3.2 CNO Perspective................................................................................................................................7

3.3 CNA Perspective................................................................................................................................8

3.4 Family Perspective.............................................................................................................................9

3.5 Common User Perspective................................................................................................................9

4.0 SYSTEM ARCHITECTURE DIAGRAM......................................................................................................10

5.0 FUNCTIONAL REQUIREMENTS.............................................................................................................12

5.1 Family Mobile Functional Requirements.........................................................................................12

5.2 CNA Mobile Functional Requirements.............................................................................................13

5.3 Tablet Functional Requirements......................................................................................................15

5.4 Database/Hardware Functional Requirements................................................................................16

5.5 Browser Functional Requirements...................................................................................................20

6.0 NONFUNCTIONAL REQUIREMENTS.....................................................................................................30

6.1 APP Version Mobile.........................................................................................................................30

6.2 APP Version Tablet..........................................................................................................................30

7.0 USE CASE DIAGRAM.............................................................................................................................32

i

Page 4: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

7.1 Mobile Use Case Diagram................................................................................................................33

7.2 Tablet Use Case Diagram.................................................................................................................35

8.0 USE CASE DESCRIPTIONS.....................................................................................................................36

ii

Page 5: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

REVISION HISTORYTable 1 is the up-to-date revision history chart. As changes to this document are made, the chart will be edited to include it.

Version Date Description Editor

1.0 10/26/2018 Added:

3.0 Project Scope

3.1 Director Perspective

3.2 CNO Perspective

3.3 CNA Perspective

3.4 Family Perspective

3.5 Common User Perspective

Tyler Bartnick

1.1 10/28/2018 Added: Section

1.1 Purpose of Document

1.2 High Level Product Overview

1.3 Explanatory Material: Acronyms and References

2.1 Identified Costs

2.2 Possible Tools

2.3 Open Issues and Questions

2.4 Long-Term Plans for Future Release and Features

2.5 Standards and Regulatory Considerations

Phillip Yoder

10/28/2018 Added:

4.0 Functional Requirements

Peter Shively

iii

Page 6: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

1.2 10/29/2018 Updated:

1.2 High Level Product Overview

2.1 Identified Costs

Ryen Shearn

1.3 10/30/2018 Added:

3.6 System Architecture Diagram

Tyler Bartnick

1.4 10/31/2018 Modified:

4.0 Functional Requirements

Added:

7.0 Use Case Descriptions

Peter Shively

Added:

5.0 Nonfunctional Requirements

Duong Doan

Added:

7.0 Use Case Diagram

7.1 Mobile Use Case Diagram

7.2 Tablet Use Case Diagram

Andrew Reichard

2.0 11/5/2018 Modified:

2.1 Identified Costs Table

2.3 Open Issues and Questions

2.4 Long-Term Plan for Future Releases and Features

2.5 Standards and Regulatory Considerations

3.1 Director Perspective

Ryen Shearn

2.1 11/11/2018 Modified:

6.0 Nonfunctional Requirements

Duong Doan

iv

Page 7: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

6.1 App Version (Mobile)

6.2 App Version (Tablet)

8.0 Use Case Description

11/11/2018 Modified:

1.1 Purpose of Document

1.3 Explanatory Material: Acronyms and References

2.0 Project Considerations

2.2 Possible Tools

2.5 Standards and Regulation Considerations

3.2 CNO Perspective

3.3 CAN Perspective

3.4 Family Perspective

Added:

3.0 Project Scope (description)

Modified:

Section numbering >5.x

5.0 Functional Requirements

5.1 Family Mobile Functional Requirements

5.2 CNA Mobile Functional Requirements

5.3 Tablet Functional Requirements

8.0 Use Case Descriptions

Peter Shively

11/11/2018 Modified: Andrew Reichard

v

Page 8: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

7.0 Use Case Diagram

7.1 Mobile Use Case Diagram

7.2 Tablet Use Case Diagram

2.2 11/12/2018 Updated:

Footers of all Figures and Tables

Ryen Shearn

Table 1: Revision History

vi

Page 9: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

1.0 INTRODUCTION1.1 Purpose of DocumentThe purpose of this Software Requirements Specification (SRS) is to give detailed information on how the Long-Term Care – Task Management System (LTC-TMS) functions by providing descriptions of the many aspects involved with making the project work.

Section 2.0, Project Considerations, gives details about the resources needed for the LTC-TMS, like prices and how many are needed. It also has a section about issues or any currently identified issues that the project might run into.

Section 3.0, Project Scope, goes into detail about what the end users can do depending on who they are. The directors, CNOs, CNAs, and family members all have different actions they can take once they are signed in. At the end of this section is a list of similar actions that end users can do, regardless of position.

Section 4.0, System Architecture Diagram, provides a diagram to visually show the relations ship between the browser, app, and hardware to the Firebase database.

Section 5.0, Functional Requirements, describes the requirements for the different versions of the project to be functional and a priority number to make sure its importance is made clear.

Section 6.0, Non-Functional Requirements, describes what requirements that are used to improve the system and make it easier for someone to use.

Section 7.0, Use Case Diagrams, visually demonstrate each action that can be completed depending on the user's perspective.

Section 8.0, Use Case Description, provides details to the use case diagrams shown in sections 7.0.

1.2 High Level Product Overview

The high-level product overview summarizes the functionality of the LTC-TMS for each version of the app and the hardware components that interact with it:

Browser Overview:

Browser version is only accessible to the Director and CNO of LTC Can create and modify task instructions, announcements, memos, and events Retrieve daily status record, vital status record and AI status record from database Director creates and modifies patient and staff portfolios CNO can create and modify task instructions Director can create patients’ medical data

vii

Page 10: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

App (Mobile) Overview:

CNA and family members can view the task instructions for the patients’ needs. Family members can view the portfolio, daily status, vital status, and AI status records of the

patient. CNA can view their own portfolio Family members and CNAs can submit feedback via the app. All pertinent information is retrieved from the database. CNA and family can view announcements CNA and family can view center schedule

App (Tablet) Overview:

CNA can enter the daily and vital status of the patients. CNAs view the patients’ AI status.

Hardware Overview:

A micro bit bracelet that is modified to be for the patients to wear so that it can retrieve data in real time and transmit through radio frequency

A different micro bit is attached to a Raspberry Pi, through its USB port, transformed into a radio frequency reader and installed at every section of the LTC center

The Raspberry Pi will send the data to the database through WI-FI once it receives the data

1.3 Explanatory Material: Acronyms & References

Below is a list of acronyms and terms used within this document:

CNA – Certified Nursing Assistant is one of the staff members who will have direct contact with the patients. CNO – The Chief Nursing Officer is a staff member in more of an administrative role at the health facility. LTC – Long Term Care specifies the type of facility where the product will be deployed. TMS – Task Management System is the component of the product that will assist patients in performing daily tasks. MCU – Ming Chuan University is the partner school developing the product alongside the students at Kutztown University. KU – Kutztown University is the partner school developing the product alongside the students at Ming Chuan University. SRS – Software Requirements Specifications is this document that describes how the LTC –TMS functions with detailed information on how it functions. TOS – Terms of Service is a document written by the development team to ensure that the system is not used incorrectly misused and keeps the developers out of legal trouble.

viii

Page 11: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

SSN – Social Security Number is a number assigned to residents of the United States for identification purposes.

ix

Page 12: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

2.0 PROJECT CONSIDERATIONSWhat follows are the resources, tools, issues, and future updates of the LTC-TMS. The project will stay in this scope unless the project teams decide to expand or reduce it. Any new additions are to be agreed upon by all parties involved, that includes the client, the app, and browser teams.

2.1 Identified CostsBelow is a list of resources that the teams will be using during the development of the project.

Item Quantity Total Cost ($)Microbit: 83-17634 4 164.42T-GPIO Expansion Board and 40-pin Rainbow Cable

2 Included with Raspberry Pi

Temperature and Humidity sensor: DHT11

2 10.59

Air Quality Sensor: SHARP GP2Y1014AU0F

2 13.54

Heart Rate Sensor: 101020082 2 59.88Battery for Microbit 2 Included with MicrobitGrove Shield for Micro-Bit 2 26.29Microchip MCP3008 8-Channel 10-Bit A/D Converters

4 19.24

Silicone Case for the Microbit (pack of 2)

1 13.61

Rechargeable Batteries AAA (pack of 4)

1 22.58

Battery Charger 1 11.65Table 2: App Hardware Costs

The Kutztown University Computer Science Department will provide two Raspberry Pi models for the teams to use.

2.2 Possible ToolsBelow is a list of tools that are used to construct the LTC-TMS project and different mediums in which the each team uses to communicate details to each other:

Database:o Firebase Real-Time Databaseo Firebase cloud server

Text Editors:

x

Page 13: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

o Google Editey is a group text editor based in the Google drive and works similarly to Google documents and Google sheets.

o App Inventor 2 is the application used for Android app development.o Swift (XCode), is the application used for iOS app development.o JSON editor is a web-based text editor that lets the user view, edit or validate JSON

code. Communication:

o Slack is used to communicate between the different KU teams and for the team members to communicate within the app team.

o Line is used to message between the MCU and KU app teams.o Google Hangouts is used to have video conferences with between the MCU and KU app

teams. Code Sharing:

o GitHub is a website that allows one to host and store the different versions of their code.

File Sharing:o Google Drive is a service owned by Google that allows file storage and sharing over the

internet.o Microsoft OneDrive is a service owned by Microsoft that allows file storage and sharing

over the internet.

2.3 Open Issues and QuestionsA potential issue that may arise is the negative impact on staff employees by transitioning from physical forms of information recording to digital forms. There is a new learning curve that may prove to be challenging for staff. This can lead to increased time for logging information, instead of shorter.

There’s also the issue that the system will not be able to perform all the tasks that the center needs it to do, possibly missing certain functions or types of information inputs that were not thought of by the teams. Determining how to design the system to be HIPPA compliant also is an open issue.

2.4 Long-Term Plans for Future Releases and FeaturesThe system is designed to support the LTC center staff in their daily workflow. Once the system is successfully created, the developers must implement the following:

The future expansion of the LTC-TMS with new and improved functionality The application is accessible and simple to use for all users Speech-to-text and text-to speech functionality Available in several languages

xi

Page 14: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

2.5 Standards and Regulatory ConsiderationsAttention to detail is important when using a database. All possible steps will be taken to ensure that users’ and clients’ sensitive information, like SSN or credit card numbers, is safe. The TOS will be created to demonstrate how to use the system correctly and state that if the system is used maliciously, the responsible user(s) will be prosecuted. All personal information entered into the system will not be shared to any third-parties, unless permission is granted by the user. Non-personal information, like app reviews, may be collected by developers to enhance the system.

xii

Page 15: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

3.0 PROJECT SCOPEThis section is here to explain the different perspectives of the LTC-TMS. The actions made available to the user differ depending on who is using it. Directors and CNOs are restricted to the browser version while CNAs and family members are restricted to the app versions.

3.1 Director Perspective

The Director of the LTC facility is granted full access to the LTC-TMS through the browser version. Their main responsibility is to create user accounts and portfolios for staff and patients and post announcements.

They can also create and assign tasks to LTC facility staff. The full list of authorized actions for a director are listed below:

View daily status record on a per-patient basis

View vital status record on a per-patient basis

View system status record

View user-submitted feedback

Create and edit user portfolios

Create and edit announcements

Create and edit events

Create and edit tasks

Create and edit personal memos

Assign task(s) to specific user or group of users

Generate reports of the patients

Analyze reports of the patients

Create and delete work schedule for LTC facility staff

Create and delete LTC facility schedule

3.2 CNO PerspectiveThe CNO of the LTC facility is given limited access to the LTC-TMS through the browser version when compared to the Director, but more when compared to the CNAs and family. Their main responsibility is to give the CNAs their tasks and the hours.

xiii

Page 16: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

The full list of authorized actions for the CNO are listed below:

View user portfolios

View daily status record on a per-patient basis

View vital status record on a per-patient basis

View system status record

View user-submitted feedback

Create and edit announcements

Create and edit events

Create and edit tasks

Create and edit personal memos

Assign task(s) to specific user or group of users

Generate reports of the patients

Analyze reports of the patients

Create and delete work schedule for LTC facility staff

Create and delete LTC facility schedule

3.3 CNA PerspectiveThe CNA has a unique role regarding the system in question. The CNA’s perspective will vary based on which version of the app they are using. CNAs are required to use the tablet version of the app to do their day-to-day work. However, CNAs may also use the app designed for families to view a given patient’s data without editing existing data or inputting additional data as they would in the tablet version.

Based on the version of the app in use, the full list of authorized actions for the CNA are listed below

Mobile App

o View daily status record

o View vital status record

o View system status record

o View completed tasks for patient

o View patient portfolioxiv

Page 17: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

o View LTC facility schedule

o Input and submit feedback

Tablet App

o View system status

o Input and submit daily status record on a per-patient basis

o Input and submit vital status record on a per-patient basis

3.4 Family PerspectiveA family member of a patient that has been granted access to a patient’s data should be able to view stored data pertaining to that patient.

Based on the version of the app in use, the full list of authorized actions for the family members are listed below

View daily status record

View vital status record

View system status record

View announcements for LTC facility

View completed tasks for patient

View patient portfolio

View LTC facility schedule

Input and submit feedback

3.5 Common User PerspectiveRegardless of interface (mobile/tablet app or website) used, all users should be able to do the following:

Login

Access resources and data for which user is authorized

Logout

xv

Page 18: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

4.0 SYSTEM ARCHITECTURE DIAGRAMFigure 1 (following page) is the System Architecture Diagram for the LTC-TMS. The diagram shows the relationship and dependency that the devices have with the Firebase service. All data for the system will be sent to and received from Firebase. This is true for the website and all applications. The hardware component for the system will include a micro:bit for each patient that reads vital sign data and wirelessly sends that data to a slave raspberry pi, which in turn, relays that data to a master raspberry pi for storage in Firebase.

xvi

Figure 1: System Architecture Diagram

Page 19: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

5.0 FUNCTIONAL REQUIREMENTSTables 5-1 (family mobile), 5-2 (CNA mobile), 5-3 (tablet), 5-4 (database/hardware), and 5-5 (browser) are the current functional requirements for the LTC-TMS project. Category represents a larger scope than one individual requirement, Requirement ID is an identification number assigned to each requirement. The Requirement column is a listing of the requirements themselves, with the description being how the teams intends to facilitate the requirement. The priority number given to each requirement indicates the necessity for it to be in the project, with 1 being a base requirement, 2 as something that would be very beneficial to have in the application, and 3 as a requirement that would be nice to have, but not a necessity.

5.1 Family Mobile Functional RequirementsTable 5-1 is the table of functional requirements for the mobile version of LTC-TMS with a family member as the intended user.

Category Requirement ID Requirement Description Priority

User Login 1 Family must be able to login to the system.

Family will be provided with default login info which can be changed to enable secure login.

1

Tasks Instruction Viewing

2 Family must be able to select the instruction type.

All task instructions are created from the browser page and this enables Family to select the instruction type.

1

3Family must be able to view the page of tasks instruction list.

System will list task instructions on the page. 1

4 Family must be able to view task instructions.

A task instruction is composed with text, video and a PDF file. 1

Daily Status Record Viewing

5 Family must be able to view Daily Status Record page

Users are able to select “Daily Status Record” at hamburger menu page. 1

6 Family must be able to access a Status Record page by date.

In the page, users need to select a date in order to let the app to show the status record data for the selected date.

1

7Family must be able to view status record with a selected date.

After selecting a date, the status record data will be shown to family. 1

Announcement Board Viewing 8

Family must be able to enter home page and view the announcement board.

App will retrieve announcement board information from the LTC-TMS database, that is generated in the browser version.

1

xvii

Page 20: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID Requirement Description Priority

Portfolio Viewing 9 Family must be able to enter and view portfolio page.

App will retrieve portfolio information from the database that is created using the LTC-TMS browser. Family can only view the portfolio for their family member.

1

Feedback Sending

10 Family must be able to send feedback.

Family is able to submit the feedback to the database which is also forwarded to CNO/Director.

1

11Family ID must be captured along with the feedback sent back.

Each feedback is entitled to a user, for CNO/Director to locate and reply the user.

1

Voice Output 12Family is able to listen to the information when they click on the sound icon as voice.

Family are able to listen to a voice version of the information when click on the sound icon.

2

Voice Input 13 Family is able to input information using their voice.

Family are able to speak into the device to input data in fields when tapping the microphone icon.

1

Table 5-1: Family Mobile Functional Requirements

5.2 CNA Mobile Functional RequirementsTable 5-2 is the table of functional requirements for the mobile version of LTC-TMS with a CNA as the intended user.

Category Requirement ID Requirement Description Priority

User Login 1 A CNA must be able to login to the system.

CNA will be provided with default login info which can be changed to enable secure login.

1

Tasks Instruction Viewing

2 A CNA must be able to select the instruction type.

All task instructions are created from the browser page and this enables a CNA to select the instruction type.

1

3 A CNA must be able to view the page of tasks instruction list.

System will list task instructions on the page. 1

4 A CNA must be able to view task instructions.

A task instruction is composed with text, video and a PDF file. 1

Daily Status Record Viewing

5 A CNA must be able to view Daily Status Record page

Users are able to select “Daily Status Record” at hamburger menu page. 1

6 A CNA must be able to access a In the page, users need to select a 1

xviii

Page 21: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID Requirement Description Priority

Status Record page by date.date in order to let the app to show the status record data for the selected date.

7A CNA must be able to view status record with a selected date.

After selecting a date, the status record data will be shown to family. 1

Announcement Board Viewing 8

A CNA must be able to enter home page and view the announcement board.

App will retrieve announcement board information from the LTC-TMS database, that is generated in the browser version.

1

Portfolio Viewing 9 A CNA must be able to enter and view portfolio page.

App will retrieve portfolio information from the database that is created using the LTC-TMS browser.

1

Center Schedule Viewing

10A CNA must be able to view all the center schedules for the month.

Home page will show a sample table that include events for 5 days (past 2 days/today/next 2 days)

1

11A CNA must be able to view all the center schedules for the month.

If a CNA clicks on the Center schedule on home page, the app opens the calendar for the current month. Users can switch to different months for the center schedule.

1

Working Schedule Viewing 12

A CNA must be able to view working schedule for the month.

CNA can select the work schedule in menu page, which opens the working schedule page. The CNA is able to switch months and view data.

1

Working hour data Viewing 13

A CNA must be able to view the number of hours they work for the month.

CNA can select work schedule in menu page, the app will direct to working hour page, and also allow CNA to switch months and view data.

1

Feedback Sending

14 A CNA must be able to send feedback.

CNA is able to submit the feedback to the database which is also forwarded to CNO/Director.

1

15A CNA’s ID must be captured along with the feedback sent back.

Each feedback is entitled to a user, for CNO/Director to locate and reply the user.

1

Voice Output 16A CNA is able to listen to the information when they click on the sound icon as voice.

CNA is able to listen to a voice version of the information when click on the sound icon.

2

Voice Input 17 A CNA is able to input information using their voice.

CNA are able to speak into the device to input data in fields when tapping

1

xix

Page 22: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID Requirement Description Priority

the microphone icon.Table 5-2: CNA Mobile Requirements

5.3 Tablet Functional RequirementsTable 5-3 is the table of functional requirements for the tablet version of LTC-TMS. The CNA is the expected user.

Category Requirement ID Requirement Description Priority

Patient from a room selection 1 A CNA must be able to select a

patient from the room.

When the CNA initiate the tablet version, he/she needs to select a patient from a room in order to update the selected patient’s status.

1

Daily Status Updating

2 A CNA must be able to input data.

The CNA needs to be able to fill in data to the fields, and select appropriate checkboxes provided on the tablet version.

1

3A CNA must be able to identify themselves before submitting the data to the database.

Each batch of data submitted to the database is identified with the CNA in charge.

1

4A CNA must be able to receive the confirmation of the data entered.

Before the data is stored in the database, the CNA receives a pop-up dialog box to ensure the accuracy of the data.

1

Vital Status Updating

5A CNA must be able to update vital status hence the privilege to input data.

The CNA needs to be able to fill in data to the fields provided on the tablet version.

1

6A CNA must be able to identify themselves before submitting the data to the database.

Each batch of data submitted to the database is identified with the CNA in charge.

1

7A CNA must be able to receive the confirmation of the data entered.

Before the data is stored in the database, the CNA receives a pop-up dialog box to ensure the accuracy of the data.

1

xx

Page 23: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID Requirement Description Priority

AI Status Viewing 8A CNA is able to view the patient’s automated recorded status.

There are sensors placed in the center as well as on the patient’s wearables, the CNA are able to view the collected data of the patient which is organized and displayed on the tablet version.

1

Voice Input 9 A CNA is able to input information using their voice.

A CNA is able to speak into the device to input data in fields when tapping the microphone icon.

1

Table 5-3: Tablet Functional Requirements

5.4 Database/Hardware Functional RequirementsTable 5-4 is the table of functional requirements for the Database and Hardware components of LTC-TMS.

Category Requirement ID

Requirement Description Priority

Database 1 Create a new instance of Firebase.

Although KU and MCU are both using Firebase for the project, KU will have their own instance of Firebase to have their own independent data for testing and processing.

1

Database 2 Implement the database’s structure in JSON format, which consists of key and value pairs.

The same JSON structure will be utilized as MCU for transparency of the LTC-TMS project.

1

Database 3 Bridge communication with the LTC-TMS system.

The database administrators will permit communication to the LTC-TMS system so that data is accessible to the browser website

1

xxi

Page 24: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID

Requirement Description Priority

and mobile applications.

Database 4 Add a data field to the database.

The database consists of JSON documents that are turned into JSON objects by Firebase. These objects take in and properly store incoming data from an application. These JSON documents organize the data into key and value pairs (data fields). If a new type of data is needed to be stored in the system then a new data field will be added into the database via the proper JSON document.

2

Database 5 Remove a data field from the database.

The database consists of JSON documents that are turned into JSON objects by Firebase. These objects take in and properly store incoming data from an application. These JSON documents organize the data into key and value pairs (data fields). If part of an application is discontinued and the data it was sending to the database is no longer needed then the data field will be deleted via JSON document.

2

Reporting 6 Generate report from LTC-TMS system.

Generate a daily, weekly, and/or monthly report. The report may include text or bar charts. The report will be in PDF format.

2

Reporting 7 Send report via email in Send the report via email from the 2

xxii

Page 25: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID

Requirement Description Priority

PDF format. LTC-TMS system.

Reporting 8 Store reports in the database.

Store report history inside of database.

2

Hardware 9 Build the wearable device for patient to record their vitals.

Constructing the wearable technology for the patient will be fulfilled using the hardware components purchased.

1

Hardware 10 Assemble the raspberry pi with a case for each room.

Each room will have a raspberry pi that will receive the data from the wearable device the patient has and send it to the database.

1

Hardware 11 Maintain the hardware. This will involve ensuring the battery is charged and wearable is functioning for the CNA to use with the patient.

1

Hardware 12 Log data from the sensors. When sensors are being used, the DB/HW team will be responsible for ensuring the proper data is being captured (e.g. heart rate sensor recording heart rate, not another vital).

1

Hardware 13 Send data to the DB over Wi-Fi.

The hardware device will be capable of sending patient vitals (data) over Wi-Fi connection to the database.

1

xxiii

Page 26: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID

Requirement Description Priority

Hardware 14 Sensor will send data to micro:bit via radio frequency.

Patient vital data will be sent over radio frequency from the sensors to the micro:bit

1

Hardware 15 Ensure that micro:bit and sensor use the same radio frequency.

Each sensor will be channeled to the same radio frequency as the micro:bit.

1

Hardware 16 Ensure the patient does not inadvertently break the device.

The wearable sensors will be worn in a location that would not be in the way of the patients day to day life

3

Hardware 17 Ensure the security of the hardware device.

The CNA and CNO will monitor the device throughout the day, ensuring it does not leave the room.

2

Notifications 18 Family and CNA must be able to receive notifications via the mobile app.

If CNO/Director makes any changes or post then the system will generate a notification in the browser version. Then the app will retrieve notification and sent to Family and CNA

3

Notifications 19 Alerts and Notifications displays on mobile notifications bar must be seen viewable by the Family/CNA.

While the alert/ notification is displayed on the notification bar the system generates a notification within the system.

3

Table 5-4: Database/Hardware Functional Requirements

xxiv

Page 27: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

5.5 Browser Functional RequirementsTable 5-5 is the table of functional requirements for the browser version of LTC-TMS.

Category Requirement ID Requirement Description Priority

Create and Edit Portfolio

1 Director must be able to create a portfolio.

When a new staff/patient joins the Facility, Director should be able to create Portfolio.

1

2 Director must be able to edit existing portfolio.

When a patient/staff changes their information, Director should be able to edit the Portfolio.

1

3 Director must be able to view an existing portfolio.

Director should be able to review the staff/patient Portfolio.

2

4 Director must be able to embed picture(s) into the portfolio.

Given that a new staff/patient joins the care center, Director must upload the person’s picture.

1

5 CNO must be able to view an existing portfolio.

CNO should be able to review existing staff/patient Portfolio.

2

6 Director must be able to remove an existing portfolio.

When a staff/patient quits the facility, Director should be able to remove an existing portfolio.

1

Create and EditAnnouncement

7 Director must be able to create an Announcement.

When Director wants to deliver news, they must be able to create a new Announcement

1

8 CNO must be able to create an Announcement.

When CNO wants to deliver news, they must be able to create a new Announcement

1

9 Director must be able to edit existing Announcement.

Given there is an error in the published announcement,Director must be able to edit an Announcement.

1

10 CNO must be able to edit existing Announcement.

Given there is an error in the published announcement,CNO must be able to edit an

1

xxv

Page 28: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID Requirement Description Priority

Announcement.11 Director must be able to delete

existing Announcement.Given there is an unwantedAnnouncement, Director must be able to delete an Announcement.

1

12 CNO must be able to delete existing Announcement.

Given there is an unwantedAnnouncement, CNO must be able to delete an Announcement.

1

Create and Edit Memo

13 Director must be able to create a Memo

If Director needs a personal reminder, they must be able to create a memo.

1

14 CNO must be able to create a Memo

If CNO needs a personal reminder, they must be able to create a memo.

1

15 Director must be able to edit a Memo.

Given that a memo must be changed, Director must be able to edit memos.

1

16 CNO must be able to edit a Memo.

Given that a memo must be changed, CNO must be able to edit memos.

1

17 Director must be able to delete a Memo.

Deleting Memo allows Director to delete unwanted Memo.

1

18 CNO must be able to delete a Memo.

Deleting Memo allows CNO to delete unwanted Memo.

1

View Status Record 19 Director must be able to view the daily status record.

After CNA submitted a patient’s daily status record of the day, Director must be able to view it.

1

20 CNO must be able to view the daily status record.

After CNA submitted a patient’s daily status record of the day, CNO must be able to view it.

1

21 Director must be able to view vital status record.

After CNA submitted a patient’s vital status record of the day, Director must be able to view it.

1

22 CNO must be able to view vital status record.

After CNA submitted a patient’s vital status record of the day, CNO must be able to view it.

1

23 Director must be able to view AI status record.

After CNA have submitted patients AI status record of the day, Director must be able to view it.

1

24 CNO must be able to view AI status record.

After CNA have submitted patients AI status record of the day, CNO

1

xxvi

Page 29: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID Requirement Description Priority

must be able to view it.25 Director must be able to select a

group of patients filtered by room numbers

When Director has to input status records, Director must be able to find every patient's name listed according to the room number.

2

26 CNO must be able to select a group of patients filtered by room numbers

When CNO has to input status records, CNO must be able to find every patient's name listed according to the room number.

2

Create and Edit Event

27 Director must be able to create an event.

When there is a new event for the facility, Director must be able to create a new event.

1

28 CNO must be able to create an event.

When there is a new event for the facility, CNO must be able to create a new event.

1

29 CNO must be able to edit an event.

When an event is inaccurate, Director must be able to edit an event

1

30 CNO must be able to edit an event.

When an event is inaccurate, CNO must be able to edit an event

1

31 Director must be able to key in event's date

After an event is created, Director must be able to set event's date

1

32 CNO must be able to key in event’s date

After an event is created, CNO must be able to set event's date

1

33 Director must be able to edit an event's date

When there is an error in the date of an event, Director must be able to edit the event's date.

1

34 CNO must be able to edit an event’s date.

When there is an error in the date of an event, CNO must be able to edit the event's date.

1

35 Director must be able to delete event.

When an event is expired or invalid, Director must be able to delete an existing event.

1

36 CNO must be able to delete event.

When an event is expired or invalid, CNO must be able to delete an existing event.

1

Upload Work Schedule and Working Hour

37 Director must be able to upload file(s).

Given that a work schedule file is to be uploaded, Director must be able to upload the file.

1

38 CNO must be able to upload Given that a work schedule file is to 1

xxvii

Page 30: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID Requirement Description Priority

file(s). be uploaded, CNO must be able to upload the file.

39 Director must be able to delete uploaded file(s).

After file expired/out of date, Directors are allowed to remove the file from the website.

1

40 CNO must be able to delete uploaded file(s).

After file expired/out of date, CNO are allowed to remove the file from the website.

1

Create and Edit Task

41 CNO must be able to create a new task.

When a lesson or command needed to be delivered, Director must be able to create new task instruction.

1

42 CNO must be able to create a new task.

When a lesson or command needed to be delivered, CNO must be able to create new task instruction.

1

43 Director must be able to add main steps to a task.

After a task has been created, Director must be able to add the main step to a certain task when needed.

1

44 CNO must be able to add main steps to a task.

After a task has been created, CNO must be able to add the main step to a certain task when needed.

1

45 Director must be able to add detail steps to a task.

After the main step has been created, Director must be able to add a detail step to each main step correspondingly.

1

46 CNO must be able to add detail steps to a task.

After the main step has been created, CNO must be able to add a detail step to each main step correspondingly.

1

47 Director must be able to remove task.

Given that a task is no longer needed, Directors should be able to remove task instruction

1

48 CNO must be able to remove task.Given that a task is no longer needed, CNO should be able to remove task instruction

1

49 Director must be able to remove the main steps from a task.

When a main step is not needed, Director should be able to delete that main step.

1

xxviii

Page 31: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID Requirement Description Priority

50 CNO must be able to remove the main steps from a task.

When a main step is not needed, CNO should be able to delete that main step.

1

51 Director must be able to remove detailed steps from a task.

When a detailed step should be removed, Director must be able to delete a detail step.

1

52 CNO must be able to remove detailed steps from a task.

When a detailed step should be removed, CNO must be able to delete a detail step.

53 Director must be able to embed image(s) into a task.

If an image can help explain a step, Director must be able to upload an image.

2

54 CNO must be able to embed image(s) into a task.

If an image can help explain a step, CNO must be able to upload an image.

Create and Edit Task

55 Director must be able to embed video(s) into a task.

Given that the steps for a given task require a demonstration, Director should be able to upload a video.

2

56 CNO must be able to embed video(s) into a task.

Given that the steps for a given task require a demonstration, CNO should be able to upload a video.

2

57 Director must be able to access a task from the database.

When Director wishes to edit a task, Director must be able to retrieve the task data from the database.

1

58 CNO must be able to access task from the database.

When CNO wishes to edit a task, CNO must be able to retrieve the task data from the database.

1

59 Director must be able to edit a task.

When a task’s information needs to be changed, Director should be able to change a task information.

1

60 CNO must be able to edit a task. When a task’s information needs to be changed, CNO should be able to change a task information.

1

61 Director must be able to save unfinished tasks as draft.

Saving tasks before completion would give flexibility to Director to work on a task at different times

2

xxix

Page 32: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID Requirement Description Priority

62 CNO must be able to save unfinished tasks as draft.

Saving tasks before completion would give flexibility to CNO to work on a task at different times

2

63 Director must be able to save completed tasks to the Task Library

Once a task is completed, it must be saved to the Task Library.

1

64 CNO must be able to save completed tasks to the Task Library

Once a task is completed, it must be saved to the Task Library.

65 Director must be able to create a new keyword for a task

Keywords allow tasks to be found without knowing their full name

2

66 CNO must be able to create a new keyword for a task

Keywords allow tasks to be found without knowing their full name

2

67 Director must be able to choose an existing keyword for a task

Preset keywords allow tasks to be found without knowing their full name using common keywords.

2

68 CNO must be able to choose an existing keyword for a task

Preset keywords allow tasks to be found without knowing their full name using common keywords.

2

69 Director/CNO must be able to edit the main steps of a task.

Given that the main steps of a task need to be changed, Director must be able modify the main steps.

1

70 Director/CNO must be able to edit the main steps of a task.

Given that the main steps of a task need to be changed, CNO must be able modify the main steps.

1

Create and Edit Task

71 Director should be able to reorder the main steps when creating a task

The Director can switch step positions instead of deleting and rewriting the step.

2

72 CNO should be able to reorder the main steps when creating a task.

CNO can switch step positions instead of deleting and rewriting the step.

2

73 Director should be able to reorder the main steps when editing a task

The Director can switch step positions instead of deleting and rewriting the step.

2

74 CNO should be able to reorder the main steps when editing a task.

CNO can switch step positions instead of deleting and rewriting the step.

2

75 Director must be able to edit detailed steps.

When the detailed steps must be changed, Director must be able to edit the detailed step.

2

xxx

Page 33: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID Requirement Description Priority

76 CNO must be able to edit detailed steps.

When the detailed steps must be changed, CNO must be able to edit the detailed step.

2

77 Director should be able to reorder detailed steps when creating a task.

The Director can switch step positions instead of deleting and rewriting the step.

2

78 CNO should be able to reorder detailed steps when creating a task.

The CNO can switch step positions instead of deleting and rewriting the step.

2

79 Director should be able to reorder detailed steps when editing a task.

The Director can switch step positions instead of deleting and rewriting the step.

2

80 CNO should be able to reorder detailed steps when editing a task.

The CNO can switch step positions instead of deleting and rewriting the step.

2

Assign Tasks 81 Director must be able to distribute a task to specific groups or individuals.

Director wishes to send a task to a specific group of users/individuals.

1

82 CNO must be able to distribute a task to specific groups or individuals.

CNO wishes to send a task to a specific group of users/individuals.

1

83 Director must be able to cancel assigned tasks

In the event a task is no longer applicable to its assignee(s), the Director should be able to un-assign the task.

2

84 CNO must be able to cancel assigned tasks

In the event a task is no longer applicable to its assignee(s), the CNO should be able to un-assign the task.

2

View Task Library 85 Director must be able to view Task Library.

After a task is created, Director should be able to view it in the task library.

1

86 CNO must be able to view Task Library.

After a task is created, CNO should be able to view it in the task library.

1

Login 87 Director must be able to log in with the provided account.

Director with an account must be able to login to the browser version of LTC-TMS.

1

xxxi

Page 34: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID Requirement Description Priority

88 CNO must be able to log in with the provided account.

CNO with an account must be able to login to the browser version of LTC-TMS.

1

Logout 89 Director must be able to logout of their session.

Director must be able to logout from the browser version of LTC-TMS.

1

90 CNO must be able to logout of their session.

CNO must be able to logout from the browser version of LTC-TMS.

1

Query Function 91 Director is able to search for information using keywords.

Director is able to search for information by inserting keyword on the query function

3

92 CNO is able to search for information using keywords.

CNO is able to search for information by inserting keyword on the query function

3

Voice Input 93 Director is able to dictate information to be translated to text.

Director’s speech will be translated to text.

3

94 CNO is able to dictate information to be translated to text.

CNO’s speech will be translated to text.

3

Voice Output 95 Director is able to listen to the information when the sound icon is clicked.

Director is able to listen to a voice version of the information the sound icon is clicked.

2

96 CNO is able to listen to the information when the sound icon is clicked.

CNO is able to listen to a voice version of the information the sound icon is clicked.

Show QR Code 97 User is able to scan QR code from the home page.

User is able to scan QR code from the home page to go to the app version of LTC-TMS in both English and Chinese version.

2

View Help and Support

98 Director is able to view the help and support page.

Director is able to view the help and support page when they want to view comments and suggestions from users.

2

99 CNO is able to view the help and support page.

CNO is able to view the help and support page when they want to view comments and suggestions from users.

2

100 Director is able to submit feedback on the system.

Director is able to add comments and suggestions for the system.

3

101 CNO is able to submit feedback on CNO is able to add comments and 3

xxxii

Page 35: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Category Requirement ID Requirement Description Priority

the system. suggestions for the system.Language 102 Director should be able to choose

the language in which they want to view the system.

Director would be able to select the language they prefer which would increase usability

3

103 CNO should be able to choose the language in which they want to view the system.

CNO would be able to select the language they prefer which would increase usability

3

Browser Support 104 Director must be able to use the system on Chrome browser.

Director should be able to use the system on the browser of their choice including Chrome

1

105 CNO must be able to use the system on Chrome browser.

CNO should be able to use the system on the browser of their choice including Chrome

1

106 Director must be able to use the system on Firefox browser.

Director should be able to use the system on the browser of their choice including Firefox.

1

107 CNO must be able to use the system on Firefox browser.

CNO should be able to use the system on the browser of their choice including Firefox.

1

108 Director must be able to use the system on Safari browser

Director should be able to use the system on the browser of their choice including Safari.

1

109 CNO must be able to use the system on Safari browser

CNO should be able to use the system on the browser of their choice including Safari.

1

110 Director must be able to use the system on Internet Explorer browser

Director should be able to use the system on the browser of their choice including Internet Explorer.

1

111 CNO must be able to use the system on Internet Explorer browser

CNO should be able to use the system on the browser of their choice including Internet Explorer.

1

112 Director must be able to use the system on Edge browser

Director should be able to use the system on the browser of their choice including Edge.

1

113 CNO must be able to use the system on Edge browser

CNO should be able to use the system on the browser of their choice including Edge.

1

Table 5-5: Browser Function Requirements

xxxiii

Page 36: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

xxxiv

Page 37: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

6.0 NONFUNCTIONAL REQUIREMENTSNonfunctional requirements that specify how the application must behave. Nonfunctional requirements contribute to the quality of the application.

6.1 APP Version MobileThree nonfunctional requirements are reliability, privacy, and usability. These nonfunctional requirements are important for users’ experience of the application.

Requirement Purpose How the Requirement Will be Measured

Reliability

The app version (Mobile) is design to perform all the available functions and features within the app consistently and with smallest possible time-out error.

Reliability is measured by the downtime from second to minutes. The system should not be down for more than 15 minutes out of 24 hours. Users might use the LTC-TMS app version feedback feature to notify about possible bugs or errors.

Privacy

The app version (Mobile) lets Family and Patients view the patients’ health records. It also let the CNA view their tasks and their schedule.

Only family members with consent from patients can use the application. The users must login with their username and password to use the app to access sensitive information.

Usability

The app version (Mobile) is designed with simple layout and easy to navigate through the app for users.

Usability will be measured by the effectiveness, Effectiveness = (number of tasks completed successfully)/(total number of tasks undertaken) x 100%

Table 6-1: Non-functional requirement (Mobile)

6.2 APP Version TabletPerformance, security, and reliability are three non-functional requirements for App Version (Tablet). The application relies on these nonfunctional requirements to assure users a safe, reliable, and quality application.

Requirement Purpose How the Requirement Will be Measured

Performance

The App Version (Tablet) is designed for CNA to enter patients’ daily heath record. Performance is necessary to save time.

Performance will be measured from millisecond to second to complete a specific task.

Security The App Version (Tablet) is designed for CNA to enter patients’ daily health record.

CNA must sign in with their ID and password. Lockouts after 5 repeated failed attempts. Tablets can only be used inside care center

xxxv

Page 38: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Requirement Purpose How the Requirement Will be Measuredpremises.

Reliability

All the functions in the App Version (Tablet) works as intended with minimum to no error.

Reliability is measured by the downtime from second to minutes. The system should not be down for more than 15 minutes out of 24 hours.

Table 6-2: Non-functional Requirements (Tablet)

xxxvi

Page 39: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

7.0 USE CASE DIAGRAMRevision: The Use Case Diagram is used to help readers understand the system functions and what they can do. The notation used in use case diagrams are a stick figure (actor), an association line, a system boundary, and the Use Case. The actor is a displayed as a person using the system. The system boundary is to show that each Use Case can be executed while in that system. The Use Case shows a specific requirement or action the system can do. An association is a line that connects the actor and Use Case, showing that that user can do that action.

Figure 7-1: Standard Use Case Diagram

xxxvii

Page 40: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

7.1 Mobile Use Case DiagramMobile Version

The Mobile version of LTC-TMS will be used by CNAs and the patient’s families on iOS and Android devices. Within the Mobile version, families and CNAs are able to select task instruction types and view task instructions on the task instruction page. Families and CNAs are able to view the Daily Status Record page and select status records to view. In addition, families and CNAs are able to view and enter portfolio information and view the announcement board on the home page. The CNA is able to view the center’s schedule, working schedule, and number of hours worked for the month. The families and CNAs are able to send feedback. Finally, families and CNAs are able to listen to information by clicking on the sound icon and use speech-to-text. Figure 7-2, below, is the Use Case Diagram for the Mobile Version.

xxxviii

Page 41: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Figure 7-2 Mobile Version Use Case Diagram

xxxix

Page 42: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

7.2 Tablet Use Case DiagramTablet Version

The Tablet version of LTC-TMS will be used only by the CNAs. Within the Tablet version, the CNA is able to select an individual patient and input data associated with the patient. The CNA is also able to update the patient’s vital status and view patient records. Before the update and information can be submitted, the CNA must also confirm their identity. Once submitting the information, the CNA will then receive a confirmation that the data was entered correctly. Figure 7-3, below, is the Use Case Diagram for the Tablet Version.

Figure 7-3 Tablet Version Use Case Diagram

xl

Page 43: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

xli

Page 44: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

8.0 USE CASE DESCRIPTIONS Table 8-1 is a fully developed use case description of a CNA viewing a task instruction document in the mobile app. The table follows the use case starting with the scenario and ends with the post-conditions.

Use Case Name View Task in Mobile App

Scenario View a task in the mobile app.

Triggering Event CNA needs to display patient task instructions.

Brief Description

Task Instructions are made available to assist patients in performing tasks. After opening the application, logging into the application, and selecting the appropriate option from the hamburger menu, the CNA is able to show the patient the instructions.

Actors CNA, Family

Stakeholders CNA, Family

Pre-Conditions

1. CNA must have valid login credentials.2. Task instructions have to be in the database.3. CNA has logged in.

Post-Conditions1. System has to output the task instructions requested by the user.

xlii

Page 45: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Use Case Name View Task in Mobile App

Flow of Activities

Actor System

1. CNA selects hamburger icon.

1.1 System displays menu page.1.2 System lists menu buttons.

2. CNA selects “Task Instruction” menu button

2.1 System displays Task Instruction page

2.2 System displays list of Task instructions.

3. CNA selects desired task instruction

3.1 System displays detailed Task Instruction page.

3.2 System displays a “Proceed” button.

4. CNA selects the “Proceed” button

4.1 System opens an HTTP(S) link through the default web browser of the device.

4.2 Default web browser will download or display the file.

Exception Conditions

1. No Internet access prevents login and database retrieval.2. Login credentials are invalid.3. Desired Task Instruction has not been uploaded by CNO/Director.

Table 8-1: Use Case Description of View Task in Mobile App

xliii

Page 46: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Table 8-2 shows the fully developed use case description for the “update the patient’s vital status”. The CAN is able to update a patient’s vital status on tablet. The table follows the use case starting with the scenario and ends with the post-conditions.

Use Case Name Input Patient’s Vitals

Scenario CNA required to input patents vital status.

Triggering Event Recording is required after CNA checked on patient’s vital status.

Brief DescriptionCNA selects a patient and a room number. From the selection page, CNA selects the vital status page. CNA inputs the vital status records, signs his/her staff ID before submits the data. Then the system sends the data to the database.

Actors CNA

Stakeholders CNA

Pre-Conditions 1. CNA has to collect the raw data from the patient.

Post-Conditions 1. CNA must fill out his/her staff ID2. Vital status must be delivered and stored in the database.

xliv

Page 47: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Use Case Name Input Patient’s Vitals

Flow of Activities

Actor System

1.1 CNA selects a room number

1.2 CAN selects a patient

1.1 System displays patient(s) within the selected room number

1.2 System directs CNA to status selection page.

2.1 CNA select the vital status page from status selection page

2.1 System redirects user to vital status page.

3.1 CNA input the raw data into the fields of vital status page along with his/her staff ID and submit

3.2 CNA selects confirm on the alert box.

3.1 System alerts CAN with selection of confirmation on submission or edit data.

3.2 System sends the data to the database and directs CAN back to status selection page.

Exception Conditions 3.1 CNA did not fill in his/her staff ID or inputs an invalid staff IDTable 8-2: Use Case Description of Input Patient Vitals

xlv

Page 48: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Table 8-3 shows the fully developed use case description for the “view LTC Facility Announcements”. The director sends out a notification that can be viewed on the mobile app by the CNA and families. The table follows the use case starting with the scenario and ends with the post-conditions.

Use Case Name View LTC Facility AnnouncementsScenario Event or special occasion that is going to happen at the LTC facility.

Triggering Event The director writes and publishes the announcement from the browser version.

Brief Description There is some sort of event or special occasion the Director wants all the family members and CNAs to know about and sends out a notification describing it.

Actors CNA, FamilyStakeholders CNA, Family

Pre-Conditions1) There is an event or special occasion that is going to happen.2) The director has written and sent out the notifications.3) CNA or family member has logged in.

Post-Conditions 1) System must output the announcement.

xlvi

Page 49: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Use Case Name View LTC Facility Announcements

Flow of Activates

Actor System1. CNA or family

selects hamburger icon

1.1 System displays menu page.1.2 System lists menu buttons.

2. CNA or family selects

“Announcements” menu button

2.1 System displays Announcements page2.2 System displays list of past announcements.

3. CNA or family selects newest

or desired announcement.

3.1 System displays the selected announcement.3.2 System has a “go back” arrow.

4. CNA or family selects “go back”

button.4.1 System will go back to announcements page.

Exceptions Conditions 1. No internet access prevents login and database retrieval.2. Login credentials are invalid.

Table 8-3: Use Case Descriptions of View LTC Facility Announcements

xlvii

Page 50: Kutztown University of Pennsylvaniafaculty.kutztown.edu/tan/csc354/Datafiles/NEW/354/Ap… · Web viewVersion. Date. Description. Editor. 1.0. 10/26/2018. Added: 3.0 Project Scope.

Software Requirements Specification November 12, 2018

Table 8-4 is a fully developed use case description of Families sending patient feedback in the mobile app. The table follows the use case starting with the scenario and ends with the post-conditions.

Use Case Name Send feedbackScenario Family sends feedback of patient care on the mobile app.

Triggering Event Family needs to be on the feedback page.Brief Description The Family will send feedback on the patient’s care.

Actors FamilyStakeholders Family

Pre-Conditions 1. Family is on the feedback screen2. Family ID must be input to confirm identity

Post-Conditions 1. The system sends the feedback to the CNAs.

Use Case Name Send feedback

Flow of Activities

Actor System1. Family selects

feedback. 1.1 System displays the feedback page.

2. Family types feedback in textbox.

2.1 System acquires the feedback in the textbox.

3. Family clicks on “send feedback” button.

3.1 Feedback gets sent to the CNA.

Exceptions Conditions 1. No internet access prevents login and database actions.2. Login credentials invalid.

Table 8-4: Use Case Description of Families Sending Feedback

xlviii