← Back to Case Studies
Project 04
Data Engineering & Database Analytics

Relational Database Design & Data Modeling

Designing structured relational data models across IT operations and healthcare workflows.

This case study demonstrates relational database design across two different operational environments: IT asset management and healthcare medication management. The objective was to translate real-world business rules into structured relational schemas that support data integrity, traceability, and efficient querying.

FocusRelational Database Design
MethodsER Modeling, Schema Design, Normalization
DomainsIT Operations & Healthcare
ConceptsPK/FK Relationships, Associative Entities, Referential Integrity

Project Overview

The project demonstrates how operational requirements can be translated into related entities, keys, and relationship structures. Across both examples, the model uses entity-relationship modeling, primary and foreign key design, many-to-many relationship resolution, associative entities, referential integrity, business-rule translation, relational schema design, and normalization concepts.

IT Asset & Software Management

The first model represents an enterprise environment for tracking employees, computers, software packages, software installations, employee software certifications, and employee skills.

The schema includes entities such as EMPLOYEE, COMPUTER, SOFTWARE PACKAGE, INSTALLEDAT, CERTIFIEDTOUSE, and EMPLOYEESKILL.

Employees can be assigned computers and can also be responsible for maintaining computers. Software packages can be installed across multiple computers, while each computer can contain multiple software packages. The INSTALLEDAT associative entity resolves this many-to-many relationship and also records the installation date.

Employees can be certified to use multiple software packages, and each software package can have multiple certified employees. CERTIFIEDTOUSE resolves this many-to-many relationship. Employee skills are stored separately through EMPLOYEESKILL, allowing multiple skills to be associated with an employee.

This model demonstrates how operational IT information can be decomposed into related entities while minimizing redundancy.

Entity relationship diagram for IT asset and software management, including employees, computers, software packages, installations, certifications, and skills
IT asset and software management relational model.

Healthcare Medication Management

The second model applies the same relational modeling principles to a healthcare medication administration environment.

The schema includes PATIENT, DRUG, INGREDIENT, NURSE, DRUGINTAKEEVENT, INCLUDES, CONTAINS, and NOTTOTAKEWITH.

DRUGINTAKEEVENT records medication administration events for patients and connects those events with the nurse responsible for administration. INCLUDES connects individual drug intake events with the drugs administered and records quantity.

CONTAINS models the many-to-many relationship between drugs and ingredients while also storing dosage information. NOTTOTAKEWITH represents drug-to-drug restrictions or interactions using a self-referencing relationship on the DRUG entity.

This design illustrates how relational databases can represent healthcare workflows involving patients, medications, ingredients, administration events, and medication restrictions while maintaining traceability between entities.

Entity relationship diagram for healthcare medication management, including patients, drugs, ingredients, nurses, intake events, and medication restrictions
Healthcare medication management relational model.

Design Approach

  1. Identify the major business entities.
  2. Define unique identifiers and primary keys.
  3. Translate business relationships into foreign-key relationships.
  4. Resolve many-to-many relationships through associative entities.
  5. Store relationship-specific attributes in those associative entities.
  6. Separate repeating or multi-valued information into dedicated tables.
  7. Structure the schema to reduce redundancy and improve data integrity.

Why This Matters

Database design determines how reliably an organization can store, connect, query, and analyze its operational data. A well-designed relational model provides a strong foundation for SQL analysis, reporting, dashboards, analytics pipelines, and downstream business intelligence.

Need a Stronger Foundation for Your Analytics?

I design structured data models that support reliable storage, reporting, analytics pipelines, and downstream business intelligence.