HI520 Unit 2 Entity Relationship Diagram Example

Reviewed by Chester Goodwin, MBA Database Design and SQL Purdue University Global Free custom sample in 24 to 48h

This HI520 Unit 2 entity relationship diagram models a composite four-site pediatric asthma program in eight entities and nine relationships. Purdue Global HI 520 asks MS in Health Informatics students to read every relationship in both directions, and the sample writes a minimum and maximum at both ends of each line in crow's foot notation. Attributes are listed with primary and foreign keys marked. An encounter diagnosis entity resolves the many-to-many link between visits and codes and carries a sequence number. Each optional minimum gets a one-line reason from the scenario, such as a child registered before any visit or a result from an outside laboratory. Five unsettled assumptions are listed for review, and a final section shows how the diagram solves the Unit 1 problem of a result arriving days later.

CourseHI520 Database Design and SQL
UnitUnit 2
Paper typeEntity relationship diagram
LengthAbout 890 words, 6 pages double-spaced
FormatAPA 7 student paper
SchoolPurdue University Global
ProgramMS in Health Informatics
UpdatedOctober 2026

Free sample paper for HI520 Unit 2

1

Eight Entities, Nine Relationships, a Minimum and Maximum at Both Ends: A Unit 2 Entity Relationship Diagram for a Four-Site Pediatric Asthma Program

[Student Name]

Purdue University Global

HI520: Database Design and SQL

Unit 2 Entity Relationship Diagram

[Instructor Name]

[Date]

Calder Bay Pediatrics and its scenario are composite; the modeling sources cited are real.

What this part is doingReading every relationship in both directions, with its minimum as well as its maximum, is where health scenarios hide their rules, and graders check for it.
2

Notation

The diagram uses Information Engineering notation, the crow's foot style, where the two symbols drawn at every line end give the fewest and the most instances allowed: zero or one for the first, one or many for the second. Entities are written in capitals with their attributes beneath. PK marks a primary key and FK a foreign key borrowed from another entity. Entity relationship modeling was proposed to describe real-world things and their associations independently of how they will be stored (Chen, 1976), and the diagram below follows that intent: it describes Calder Bay's asthma program, not a particular database product. Converting it into tables comes later, under the relational model, which stores each entity once and connects tables through shared key values (Codd, 1970).

Entities and Attributes

1. PATIENT: patient_id (PK), medical record number, first name, last name, birth date, sex, primary language, guardian name, guardian phone.

2. SITE: site_id (PK), site name, street address, city, phone.

3. PROVIDER: provider_id (PK), national provider identifier, name, credential, home site_id (FK).

4. ENCOUNTER: encounter_id (PK), patient_id (FK), site_id (FK), provider_id (FK), start time, end time, visit type, asthma control score where one was recorded.

5. DIAGNOSIS CODE: code (PK), description, code system.

6. ENCOUNTER DIAGNOSIS: encounter_id (PK, FK), code (PK, FK), sequence number.

7. TEST ORDER: order_id (PK), encounter_id (FK), ordering provider_id (FK), test type, order time, status.

8. TEST RESULT: result_id (PK), order_id (FK), performing site_id (FK), result time, result value, units, interpretation.

ENCOUNTER DIAGNOSIS exists to resolve the many-to-many link between encounters and codes. It carries a sequence number so the first-listed diagnosis can be told from the others, which matters for reporting asthma visits.

Relationships, Read Both Ways

1. PATIENT to ENCOUNTER. A patient has zero or many encounters; each encounter belongs to exactly one patient. Zero is allowed because a child can be registered before the first visit.

2. SITE to ENCOUNTER. A site hosts zero or many encounters; each encounter takes place at exactly one site. A new site may have no encounters on its first day.

3. PROVIDER to ENCOUNTER. A provider conducts zero or many encounters; each encounter has exactly one rendering provider.

4. ENCOUNTER to ENCOUNTER DIAGNOSIS. An encounter records one or many diagnoses; each encounter diagnosis belongs to exactly one encounter. The minimum of one reflects the practice's rule that every visit is coded, including the school form visit.

5. DIAGNOSIS CODE to ENCOUNTER DIAGNOSIS. A code appears on zero or many encounter diagnoses; each encounter diagnosis uses exactly one code.

6. ENCOUNTER to TEST ORDER. An encounter produces zero or many orders; each order comes from exactly one encounter.

7. PROVIDER to TEST ORDER. A provider places zero or many orders; each order has exactly one ordering provider, who may differ from the encounter's rendering provider when a physician co-signs a nurse practitioner's plan.

8. TEST ORDER to TEST RESULT. An order produces zero or many results; each result answers exactly one order. Zero covers orders not yet performed; many covers a spirometry test reported before and after a bronchodilator.

9. SITE to TEST RESULT. A site performs zero or many tests; each result was performed at zero or one site, zero because some results come from outside laboratories that are not Calder Bay sites.

The result points to its order, not to an encounter or a date, which is the single design choice that solves the problem of results arriving days after a visit.

What this part is doingGiving each optional minimum a one-line reason from the scenario turns a notation exercise into a record of the practice's real rules.
3

Assumptions the Scenario Left Unsettled

1. A patient has one medical record number across all four sites. If the practice later merged with another group carrying its own numbers, PATIENT would need a separate identifier table.

2. Each encounter has one rendering provider. Team visits with two providers would require an encounter provider table.

3. Asthma control is recorded as a single score on the encounter. If the practice used two instruments by age, a separate assessment entity would be cleaner.

4. Guardian details are attributes of PATIENT. A child with two guardians at different addresses would push guardians into their own entity, which the practice may need for custody situations.

5. Outside results enter through the order that requested them. Results that arrive with no Calder Bay order, such as a hospital's discharge spirometry, are out of scope for this version.

What this part is doingListing the unsettled assumptions separately lets a reviewer challenge a rule directly instead of discovering it later in the schema.
4

How the Diagram Answers the Unit 1 Problem

In the flat spreadsheet, a date stood in for an event. Here, Mia's two Tuesday visits are two ENCOUNTER rows at different sites with different providers, each with its own diagnoses. Her spirometry is a TEST ORDER from the first encounter, and Friday's result is a TEST RESULT pointing to that order. Nothing is pasted into notes, and a report counting asthma encounters by site or listing results by ordering provider can be answered from the structure itself. Data quality frameworks describe this kind of conformance, data stored where its definition says it belongs, as a precondition for any later reuse (Weiskopf & Weng, 2013).

5

References

Chen, P. P.-S. (1976). The entity-relationship model: Toward a unified view of data. ACM Transactions on Database Systems, 1(1), 9-36. https://doi.org/10.1145/320434.320440

Codd, E. F. (1970). A relational model of data for large shared data banks. Communications of the ACM, 13(6), 377-387. https://doi.org/10.1145/362384.362685

Weiskopf, N. G., & Weng, C. (2013). Methods and dimensions of electronic health record data quality assessment: Enabling reuse for clinical research. Journal of the American Medical Informatics Association, 20(1), 144-151. https://doi.org/10.1136/amiajnl-2011-000681

HI520 Unit 2 instructions, in plain terms

Unit 2 generally asks you to draw an entity relationship diagram for a supplied clinical scenario and explain it in prose. Expect to identify entities and attributes, mark primary and foreign keys, resolve many-to-many relationships with an associative entity and record cardinality at both ends of every relationship. Many instructors require you to read each relationship aloud in both directions, stating the minimum as well as the maximum, because optional relationships are where health scenarios hide their rules. You should also list assumptions the scenario leaves open. Cite a source on entity modeling and, where relevant, on data quality or the relational model. A single diagram page with two or three pages of narrative is typical; if you cannot embed a drawing, numbered entity and relationship lists can carry the same content.

How the HI 520 Unit 2 example is put together

A notation section explains crow's foot symbols and cites the original entity model and the relational model. Eight entities follow as numbered items with attributes and keys, including the associative entity for encounter diagnoses. Nine relationships are each read in both directions with minimum and maximum, and each optional minimum has a reason from the scenario. The highlighted sentence explains that pointing results to orders, not visits or dates, is the decision that handles late results. A margin note explains why reasons for minimums matter. Five assumptions follow, from one record number across sites to guardians stored as attributes. The closing section replays Mia's Tuesday through the diagram, showing two encounters, one order and a Friday result in their own places, and cites data quality work on conformance.

Where the points sit in the HI520 Unit 2 rubric

Entity relationship diagrams are usually graded on correct entities and attributes, keys, cardinality, resolution of many-to-many relationships, narrative and assumptions. Cardinality carries a large share: graders check both ends of every line and expect minimums that match the scenario. Students lose many points by drawing many-to-many relationships without an associative entity or by omitting minimums entirely. Key points reward primary and foreign keys marked consistently. The narrative earns credit when each relationship is read both ways in plain language. A list of assumptions often earns points beyond the minimum, because it shows judgment about what the scenario left open. Clean notation, a legible diagram or equivalent lists and APA citations to modeling sources complete the rubric.

HI520 Unit 2 help from the desk

The most frequent error in Unit 2 is leaving a many-to-many relationship unresolved, such as encounters linked directly to diagnosis codes. Another is recording only maximums, which hides rules like whether a patient can exist without a visit. Some students confuse attributes with entities, creating a box for something that is really a column. Foreign keys are often missing from the child side of relationships. Narratives that describe the diagram in one paragraph rather than relationship by relationship lose credit. Assumptions are frequently left unstated, so the grader cannot tell a deliberate choice from an oversight. If you have a scenario to model, send its text and any required notation, and the diagram can be worked out entity by entity with each minimum justified.

Get an HI520 Unit 2 example written to your instructions

Scenarios for this diagram vary widely by HI520 section, from a hospital pharmacy to a public health registry. Share the scenario text exactly as given, the Unit 2 rubric and any notation or drawing tool the instructions name. A sample diagram and narrative are built on that case in 24-48h, and the first custom sample is free. The paper above is an original model document written by our desk, not a submitted student paper and not an official Purdue University Global document.

More HI520 papers and MS in Health Informatics samples

HI520 Unit 2 questions, answered

Where can I find a free HI520 Unit 2 sample paper?

Read the whole Unit 2 diagram here; it models a pediatric asthma program in eight entities and nine relationships.

Why record minimums as well as maximums?

Minimums carry the scenario's rules, such as a child registered before any visit or a result from an outside lab with no site.

What is an associative entity?

An entity that resolves a many-to-many relationship; the sample's encounter diagnosis links visits and codes and adds a sequence number.

Why does the result point to the order?

Results can arrive days after a visit, so linking them to the order that requested them keeps them attached correctly.

What assumptions should an ERD narrative list?

Rules the scenario leaves open, such as one record number across sites or one provider per encounter.