Ist all carer groups with an expired permit.

Assignment Help Database Management System
Reference no: EM131079727

Database Design-

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, 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 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 fill find an example of a blank Australia Zoo Wildlife Hospital Accession form, a list of conditions that the animals may suffer, a partially completed form. These will form the basis of your universe of discourse. Sample data will be made available in or before in week 11 of semester (this is to have you consider your design before implementation).

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 (more info to come in the sample data).

• 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.

• Wildlife are grouped into types which represent both their ‘taxon' and a macro-level grouping within that type, these are different per type.

• 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 readmitted - all historical admissions should be maintained (and not over written).

• All animals may have a name, and a picture associated. (Erica's hint: look at ‘MEDUIMBLOB' type for the image! - also user TEXT for the notes on the accession form)

• DNA samples may be taken from the animals and results recorded in the database. This should be stored with the date/time the sample was taken, the date/time it was entered into the system, and the results of the sample analysis (for the results use the TEXT datatype).

• 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.

• A set of wildlife carers are maintained by the system. These are persons who have animals released into their care after acute treatment, but before they are able to be released back into the wild.

• 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 (Use the TEXT datatype).

• 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.

• Once the patient is improving it may be sent to a wildlife carer. Wildlife carers are part of carer groups. These groups must have a current permit, which has a permit number and an expiry date. The groups have particular specialisations. Within the groups, are a number of individual people that can be contacted.

• AZWH maintains a contact list - they have other hospitals, other zoos/wildlife parks, government departments, other organisations, 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

For the purposes of your assignment you are to create queries for the following user reports. The queries should be in the main .sql file but separated by a comment showing which query it is. Eg. # Query 2.a.i

You should include the query used on your database design to get that data, and the result of the query on the supplied data set.

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. Monthly report (this is multiple queries):
a. list the total for all in-coming accessions in the previous calendar month grouped by
i. Local government area
ii. Cause of affliction

b. List the total number of accessions for this month in the previous years.

3. List all Carer Groups with an expired permit.

Needs to be done in MySQL, rest need everything as per the attachment, please do not miss anything.

Attachment:- Assignment.rar

Reference no: EM131079727

Questions Cloud

Show that the displacements x1(t) and x2(t) of the two mass : Consider the mass-spring-damper system of Figure 5.18, which may be subject to two input forces u1(t) and u2(t). Show that the displacements x1(t) and x2(t) of the two masses are given by
Obtain the equation representing the displacement of mass : Obtain the equation representing the displacement of the mass at time t > 0 when M = 50 kg, B = 180 N s m-1 and
Different from ordinary gain-sharing or profit-sharing plan : How is an earnings-at-risk plan different from an ordinary gain-sharing or profit-sharing plan? How might earinings-at-risk plans affect attraction and retention of employees?
What is the total amount my customers owe me : How much did it cost to produce products? What is the total amount the stockholders have invested in the company? What is the total amount my customers owe me? What is the amount of executive salaries?
Ist all carer groups with an expired permit. : ICT211 Database Design. 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). List all Carer Gro..
Find the after-tax cost of new capital : 1. Company A wants to raise new capital by selling $8 preferred stock at $75 a share, redeemable at par after 5 years. Company A has a tax rate of 35%. Find the after-tax cost of new capital. Show all work. Show all equations used.
Band of desired frequencies : What type of filter is used to eliminate a specific frequency from band of desired frequencies?
Determine the euro-pound exchange rate : A German firm is attempting to determine the euro/pound exchange rate and has the following exchange rate information: USD/pound = $1.5509/£ and the USD/euro rate = $1.2194/€. Therefore, the euro/pound rate must be: Choose one answer.
Set of business requirements for the problem : Define the current problem and the set of business requirements for the problem you need to solve from a local and global perspective.

Reviews

Write a Review

Database Management System Questions & Answers

  What are functional dependencies

Multi-level index is guaranteed to have the search cost proportional to the number of levels inmulti-level index.

  Analyze the sql injection steps that susan used

Analyze the SQL injection steps that Susan used that enabled her to access the E-shopping4u.com database.  Describe at least two (2) tools that Susan could have used to assist her in the attack described within the case example, and suggest the key b..

  Problem 1 produce a scatterplot of rent vs size square

problem 1. produce a scatterplot of rent vs. size square meters of the apartment for the rental data in

  Various kinds of keys to form or define relationships

Relational database is based on fact that data in one table can be tied, or related to data in another table. To do this, database utilizes various types of keys to form or define these relationships.

  Draw a complete eerd by using entities and attributes

Draw a complete EERD by using entities and attributes that have been identified above. Make sure you clearly identify the relationships between the entities and their cardinality.

  What are the assumptions and limitations of the software

The current practice of a particular part of water resources engineering is supported by a variety of commercial software

  What are the candidate keys of r

Compute the closure sets of R - find all non-trivial dependencies and what are the candidate keys of R?

  Create an e-r diagram

You have probably seen that already when you tried to create an E-R diagram. Visio uses notation and graphical shapes that are not the same as those in your text. If you look at some of the links to schemas, you will see a similar sort of thing.

  Justify a question on database management

When a student has not chosen a major at a university, the university often enters a value of "Undecided" for the major field. Is "Undecided" a way to represent the null value? Should it be used as a default value? Justify your answer carefully.

  Create a use case diagram for osceolas operations

Use MS Visio to create a use case diagram for question 1, a selected class diagram for question 2, and a sequence diagram for question 3.

  Complete information-level design for set of requirements

A database at a college is required to support the following requirements. Complete the information-level design for this set of requirements. Determine any constraints you need that are not stated in the problem.

  Prepare a program so that it connects to a mysql database -

task 1you must setup your program so that it connects to a mysql database named gradingdb running on localhost. the

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