digraph Rvh { rankdir = "LR"; ranksep = "0.5"; nodesep = "0.4"; pad = "0.4,0.4"; margin = "0,0"; concentrate = "true"; labelloc = "t"; fontsize = "13"; fontname = "Arial Bold"; splines = "spline"; node[ shape = "Mrecord" , fontsize = "10" , fontname = "Arial" , margin = "0.07,0.05" , penwidth = "1.0"]; edge[ fontname = "Arial" , fontsize = "7" , dir = "both" , arrowsize = "0.9" , penwidth = "1.0" , labelangle = "32" , labeldistance = "1.8"]; rankdir = "LR"; label = "RVH EER\n\n"; m_Account [label = <
Account
|
address string ∗
birth_date datetime ∗
name string ∗
pager_number string
phone_number string
>]; m_Bed [label = <
Bed
|
bed_number string
room_number string
>]; m_CareCentre [label = <
CareCentre
|
location string
name string
nurse_id integer (8) ∗
>]; m_Consumption [label = <
Consumption
|
consumed_at datetime ∗
quantity integer ∗
total_cost decimal ∗
>]; m_Item [label = <
Item
|
description text
sku string ∗
unit_cost decimal ∗
>]; m_Laboratory [label = <
Laboratory
|
location string
name string
>]; m_Nurse [color = "grey60", fontcolor = "grey60", label = <
Nurse
>]; m_Patient [label = <
Patient
|
contacted_at datetime ∗
referring_physician_id integer (8) ∗
>]; m_Physician [color = "grey60", fontcolor = "grey60", label = <
Physician
>]; m_Shift [label = <
Shift
|
ended_at datetime
staff_type string ∗
started_at datetime ∗
>]; m_Staff [label = <
Staff
|
hired_at datetime
qualifications text
>]; m_Technician [color = "grey60", fontcolor = "grey60", label = <
Technician
>]; m_Treatment [label = <
Treatment
|
name string ∗
number string ∗
occurred_at datetime ∗
results text
>]; m_Visit [label = <
Visit
|
comments text
scheduled_at datetime ∗
>]; m_Volunteer [color = "grey60", fontcolor = "grey60", label = <
Volunteer
>]; m_Staff -> m_Nurse [color = "grey60", arrowtail = "onormal", arrowhead = "none", arrowsize = "1.2"]; m_Staff -> m_Physician [color = "grey60", arrowtail = "onormal", arrowhead = "none", arrowsize = "1.2"]; m_Staff -> m_Technician [color = "grey60", arrowtail = "onormal", arrowhead = "none", arrowsize = "1.2"]; m_Staff -> m_Volunteer [color = "grey60", arrowtail = "onormal", arrowhead = "none", arrowsize = "1.2"]; m_Account -> m_Staff [arrowsize = "0.6", arrowhead = "dotnormal", arrowtail = "odot", weight = "5"]; m_Laboratory -> m_Staff [arrowsize = "0.6", arrowhead = "odotnormal", arrowtail = "odot", weight = "5"]; m_Staff -> m_Treatment [arrowsize = "0.6", arrowhead = "odotnormal", arrowtail = "odot", weight = "4"]; m_Physician -> m_Patient [arrowsize = "0.6", arrowhead = "dotnormal", arrowtail = "odot", weight = "3"]; m_Physician -> m_Treatment [style = "dotted", arrowsize = "0.6", arrowhead = "odotnormal", arrowtail = "odot", weight = "2", constraint = "false"]; m_CareCentre -> m_Shift [arrowsize = "0.6", arrowhead = "dotnormal", arrowtail = "odot", weight = "1"]; m_Staff -> m_Shift [arrowsize = "0.6", arrowhead = "dotnormal", arrowtail = "odot", weight = "1"]; m_Patient -> m_Consumption [arrowsize = "0.6", arrowhead = "dotnormal", arrowtail = "odot", weight = "1"]; m_Item -> m_Consumption [arrowsize = "0.6", arrowhead = "dotnormal", arrowtail = "odot", weight = "2"]; m_Physician -> m_Consumption [arrowsize = "0.6", arrowhead = "dotnormal", arrowtail = "odot", weight = "1"]; m_Patient -> m_Treatment [arrowsize = "0.6", arrowhead = "dotnormal", arrowtail = "odot", weight = "2"]; m_CareCentre -> m_Bed [arrowsize = "0.6", arrowhead = "dotnormal", arrowtail = "odot", weight = "2"]; m_Patient -> m_Bed [arrowsize = "0.6", arrowhead = "odot", arrowtail = "odot", weight = "2"]; m_Patient -> m_Visit [arrowsize = "0.6", arrowhead = "dotnormal", arrowtail = "odot", weight = "1"]; m_Account -> m_Patient [arrowsize = "0.6", arrowhead = "dotnormal", arrowtail = "odot", weight = "1"]; m_Nurse -> m_CareCentre [arrowsize = "0.6", arrowhead = "dotnormal", arrowtail = "odot", weight = "1"]; }