Identification of major implementation flaws

Assignment Help PL-SQL Programming
Reference no: EM131277312

Background

Australia Zoo Wildlife Hospital (AZWH) is a charity organization that exists to treat and or care for sick, injured or orphaned wildlife. They are brought animals from across South East Queensland, and beyond, and are re-knowned for their specialization in both Koalas and Sea Turtles.

As a charity that operates separately from the main Australia Zoo company, the Zoo runs with very little funds. As part of an ongoing agreement between University of the Sunshine Coast and Australia Zoo Wildlife Hospital (AZWH), we are re-developing their database systems.

Stage one is the Accession (admissions) system which stores information on who brought in the wildlife, where it was found, suspected injuries, initial triage and/or vet notes and what wildlife career if any the animal is assigned to for re-habilitation or care. Animals are brought for a large variety of reasons and sometimes multiple reasons, and the database is to record these and be able to query them.

The Wildlife hospital can see up to 6000-8000 admissions per year, and there is a large database of information (over 65000 entries) that is maintained both for their own record keeping and for regulatory requirements set down by the State and Federal Governments. One such regulatory requirement is that all Koalas treated in Queensland are given a unique QPWS (Queensland Parks and Wildlife Service) identifier that must be maintained. A monthly report is generated to give to QPWS on these koalas and their treatment. Other wildlife such as birds can be either transferred in or out of AZWL, and as such may have more than one ID that the database needs to be able to store, recall and query.

In appendices of this document you will find an example of a monthly report that currently takes up to 1 business day to prepare, a blank Australia Zoo Wildlife Hospital Accession form and a partially completed form. These will form the basis of your universe of discourse.

AZWH have a system in place, however it suffers from a very large number of issues and is far from efficient for them to use. The more time it takes them to enter their data, the less time and resources they can devote to saving wildlife.

Your task is to look at the supplied database schema and propose, justify and implement improvements to this system to make it more efficient.

You will need to identify and write the SQL DDL to add foreign key and uniqueness constraints, identify columns needing indexes and create those indexes, propose, with justification, re-design of tables to remove repeated data or for de-normalization for optimisation (implementation is not required), implement stored procedures for the identified common queries and implement part of the monthly report as python files that export to .csv format.

System Requirements

These requirements and sample reports are provided to assist in you in gaining an understanding of the existing system and the hospital's needs. You do not need to implement these requirements nor all the reports.

User Requirements

- Every patient admitted has a unique patient id. If the patient is a koala, it will have also have a koala tag. It may have a microchip. Animals including, but not limited to, wallabies, kangaroos, and possums may have ear tags in one or both ears that uniquely identify them (The tags should have the same number but should be able to tell if one is missing). Turtles may also have a tag. Not all tag number formats will be the same

- In addition to formal tags, some animals will have one or more alternate identifiers, being either a Queensland Parks and Wildlife identifier, or transfer from or to another facility such as Currumbin Wildlife Hospital, RSPCA, or Australia Zoo, these must all be maintained and searchable.

- In addition to type, animals are sorted into ‘breeds', of which there are nearly 1000 in the current system. Each breed must be associated with exactly one ‘type'.

- All animal wildlife may be admitted more than once, if they are re-admitted their previous patient number should be re-used, along with the date they were re- admitted

- all historical admissions should be maintained (and not over written).

- The database needs to record who brought in the animal, where it was found, including the regional or local council area it was found it - reports are generated for particular councils upon request. There should be a link between the postcode that the animal was found in and the local council it belongs to.

- The system should be loss-less, no data should be over written.

- Aetiology is the term used to describe the diagnosis categories for the wildlife. Animals can and will present with more than one aetiology. In addition, animals may be diagnosed with multiple diagnoses within a category - e.g. an animal may have multiple broken bones/anatomical issues.

- During treatment, the vets will put notes on the forms, this information should be maintained where possible using searchable text fields

- A wildlife patient can be assigned a treatment, this could be multiple medicines, or particular surgery or other actions. For medicine, the system should allow the start and stop date of each medicine/treatment. A treatment will be uniquely identified for patient, accession, and date it was prescribed.

- AZWH maintains a contact list - they have other hospitals, other zoos/wildlife parks, government departments, other organizations, wildlife carers, vets, researchers, volunteers and general public that have brought in a patient. For all contacts, AZWH maintains, their first name, last name, title/salutation, email, phone number(s), street address, suburb, state, country, postcode, and what sort of contact they are.

User Reports

1. List the patient id, accession id, animal name, and breed for all animals, sorted by animal type, that are currently being treated (where they have not been released, or sent to a carer or other facility).

2. List all animals with a microchip, Qld Parks and Wildlife Id or ear tag within a given time period (ie. A month or year)

3. Monthly report (this is multiple queries):
a. list the total for all in-coming accessions in the previous calendar month grouped by
i. Diagnosis/Aetiology
ii. Taxon group
iii. Local government area
iv. Cause of affliction
b. List the total number of accessions for this month in the previous years.
c. List the total number of accessions for each month in the previous 12 months.

4. List all Koalas in 2009 that were treated for Chlamydial Conjunctivitis

Specific Instructions

You are not to contact the hospital directly as this takes valuable resources away from treating the wildlife. All client communication is to be directed through Course Coordinator Dr Erica Mealy.

All SQL Code for your assignment should be submitted under an open- source royalty free license, this allows you to use the database in your portfolio when you are seeking work as well as allowing for further development of the database for AZWH. The license we have selected is CC-BY 4.0. Please include the comment text in Appendix E at the start of your .sql & .py files. Please note that all data is copyright and owned by Australia Zoo Wildlife Hospital and is used with their permission for the purposes of this assignment. Further distribution of this data is not permitted.

Submission Format and Requirements

For Part A you are to include an analysis of the current system's design in a word document or PDF. You should include:
- Identification of major implementation flaws in the existing system, and/or areas for improvement, including
o Removing repeated data,
o De-normalization for optimization
o changing some areas to NoSQL (if so include what type of NoSQL database).
o Rational for the creation of constraints (Foreign Key and Unique) and indexes
- Identification of the current Normal Form of the system.

For Part B you are to submit
- A single plain text file, named <studentNumber>_ict320_azwh.sql. In this file you are to include all the SQL for your database modification. This includes:
o The License agreement as seen in Appendix E with your name as author
o ALTER TABLE CREATE CONSTRAINT commands for
- the missing Foreign Keys
- UNIQUEness constraints.
o CREATE INDEXs for the appropriate indexes for optimizing the database for the queries listed in User Reports.
o CREATE PROCEDUREs for
- User report 3.a.i: Monthly report: list the total for all in- coming accessions in a given calendar month (and year) grouped by
- Taxon Group (aka Patient's type)
- User report 3.a.iii: Monthly report: list the total for all in- coming accessions a given calendar month (and year) grouped by
- Local government area
- User report 3.c.: List the total number of accessions for each month in the previous 12 months from a supplied calendar month & year.

- A single plain text file named <studentNumber>_ict320_azwh.py. In this file you are to include the Python for your programming implementation. This includes:
o The License agreement as seen in Appendix E.
o Code for the Monthly report - Taxon Group section
o Code for the Monthly report - Local Gov't Area section
o Code for the Monthly report - Monthly Comparisons section

PART A

- Justification for index and constraint selection

- Identification of major implementation flaws and/or areas for improvement, including

- Identification of & proposal to remove repeated data

- Potential areas of NoSQL (if so include what type of NoSQL database).

- Identification of current Normal Form and rationale for denormalization

PART B: IMPLEMENTATION

- SQL STATEMENTS:

o Constraints (Foreign Keys & Unique)
o Indexes
o Stored Procedures
- Python Code (30 marks)
o Monthly report - Diagnosis (Aetiology)
o Monthly report - Local Gov't Area
o Monthly report - Monthly Comparisons

No Of Pages/Words : 1500 Words, Multiple Code File

Attachment:- Appendix.pdf

Verified Expert

In this assignment Australia Zoo Wildlife Hospital (AZWH) information is provided. A documentation is then written that deeply describes the tables in the database and the normal forms they are in. Using the information about the table and create table definition the database is normalized and various foreign key constraints and indexes are added. Various select queries are written to fetch the data. Together with this various procedures are written. A python code is then written the useful data from the database is extracted and results are stored in the excel file.

Reference no: EM131277312

Questions Cloud

What is the variance involved in this activity : In 2003, a company employee received an option to purchase the company's stock at $45 per share. If the stock is trading at $40 a share in 2005, the employee will most likely. Suppose a project team has arrived at the following time estimates for an ..
Supply and demand for corn and the equilibrium price : Suppose suppliers of corn expect the price of corn to rise in the future. How would this affect the supply and demand for corn and the equilibrium price and quantity of corn?
Find the rates of radiation heat transfer : Determine the rates of radiation heat transfer between this person and the surrounding surfaces in both summer and winter if the exposed surface area, emissivity, and the average outer surface temperature of the person are 1.6 m2, 0.95, and 32°C, ..
Design a likert measurement scale : Harley-Davidson is the largest American motorcycle manufacturer, and it has been in business for several decades.- Design a Likert measurement scale that can be used in a nationwide telephone study to address these two issues.
Identification of major implementation flaws : ICT320 - Database Programming Identification of major implementation flaws and/or areas for improvement, including and identification of & proposal to remove repeated data.
Average variable cost : Suppose that in a fast food chain the marginal productivity (3 sandwiches per employee-hour) is below average productivity (5 sandwiches per employee-hour). What will happen to average variable cost as output rises (as more sandwiches are delivere..
Determine how they selected maui as a destination : Determine how they selected Maui as a destination.- Discover what places they visited in Maui and how much they liked each one.
Basic objectives of monetary policy : What are the basic objectives of monetary policy? Comment on the cause-effect chain through which monetary policy is made effective. What are the major strengths of monetary policy? 200 words
Identify the methods used to answer the question : Identify the methods used to answer the question using the powerpoint slides posted on e-learn and Chapter 2 of your text. For example, did the authors collect data using a survey or did they field research.

Reviews

inf1277312

11/18/2016 7:29:39 AM

Thank you heaps for the quick turnover time, I am very pleased with the result you have given me and have no issues with it. Again thank you, this is a high quality result and I appreciate that.

inf1277312

11/18/2016 7:26:21 AM

https://drive.google.com/file/d/0BwPLm8pJNOJ6TjZQNWwxU3FNUzA/view https://drive.google.com/file/d/0BwPLm8pJNOJ6cXk4ZWluM1R2ZWc/view?usp=drivesdk https://drive.google.com/file/d/0BwPLm8pJNOJ6dWRNdGtPZXREVG8/view These are Google Drive links to all the files needed Attached a file to this message 19410266_1tmp 8158-data 1412803-962624292.sql Attached a file to this message 19410229_1tmp 8158-tables-release 7051-1763451430.sql Attached a file to this message 19410297_1tmp 8158-ICT320 SampleMonthly 40920250165153.xlsx The three previous messages contain the same files as the ones linked to Google drive It is extremely important that I get everything back in 24 hours from now, with whatever work done given to me please. Thank you In regards to what segment is more important, I don't mind about Part A's completion much so give all priority to Part B to ensure it is done, I have no issue with an incomplete Part A.

len1277312

11/15/2016 1:49:38 AM

Part A does not need to be well written, a detailed list of all required contents for report is enough - You are not to contact the hospital directly as this takes valuable resources away from treating the wildlife. All client communication is to be directed through Course Coordinator Dr Erica M

Write a Review

PL-SQL Programming Questions & Answers

  Compare and contrast the three phases of database design

Write an SQL select statement to list all double or family rooms with a price less than $255 per night in ascending order of price.

  Perform the tasks below by using the correct sql statements

Create a view so that supplier 'ASP' can only see his information from the l_foods table.  Call this view_l_foods_ASP.  Show columns supplier_id, product_code, menu_item, description, and price in your view.

  Sql give syntax of how to create table in sql and also give

give syntax of how to create table in sql and also give small demo to how to create table in sql.

  Write an application for the events

Closing the application. Close your running application by clicking its close box.

  What selection criteria are used

Which fields are displayed in the query results

  Write a select statement that joins the customers table

Write a SELECT statement that joins the Customers table to the Addresses table and returns these columns: FirstName, LastName, Line1, City, State, ZipCode.

  Sql select statement against the comments table

Write an SQL select statement against the comments table in your database and display each row properly formatted on the main tree page. The most recent comment should be displayed first. All user comments should display under the tree like:

  Write a select statement that returns the productname

Write a SELECT statement that returns the ProductName and ListPrice columns from the Products table.

  Statement to display the sku, sku_description

write an sql statement to display the SKU, SKU_Description, WareHouse ID, and QuantityOnHand for all products having a QuantityOnOrder equal to 0. Sort the results in descending order by WareHouse ID and in ascending order by SKU

  Strengths and weaknesses of three dbms software

Research Report around 800 words strengths and weaknesses of three DBMS software packages for utilization as a company-wide customer information database. Please compare Microsoft Access, Microsoft SQL Server, and Oracle.

  Create a risk information sheet for five potential risks

Using the sample shown below, create a Risk Information Sheet for at least five potential risks that might be encountered during the conversion. At least three of the five risks you choose should be project management related.

  Design queries that set of sql statements

Design and develop the below queries using professional principles and standards. A set of SQL Statements that returns all rows and all data for each table in your database.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd