Skip to content
Contact Via WhatsApp: +44-7425-498461

Database Programming Assignment Help

Database Programming Assignment Help

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 overwritten).
  • –  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):
    1. list the total for all in-coming accessions in the previous calendar month

      grouped by

      1. Diagnosis/Aetiology
      2. Taxon group
      3. Local government area
      4. Cause of affliction
    2. List the total number of accessions for this month in the previous years.
    3. 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 your lecturer/tutor in the first instance and for more clarification 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:

[Locker] The locker [id=8177] doesn't exist or the default lockers were deleted.
Back To Top
Search
WhatsApp: +44-7425-498461