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 = <
|
| address string ∗ |
| birth_date datetime ∗ |
| name string ∗ |
| pager_number string |
| phone_number string |
>];
m_Bed [label = <
|
| bed_number string |
| room_number string |
>];
m_CareCentre [label = <
|
| location string |
| name string |
| nurse_id integer (8) ∗ |
>];
m_Consumption [label = <
|
| consumed_at datetime ∗ |
| quantity integer ∗ |
| total_cost decimal ∗ |
>];
m_Item [label = <
|
| description text |
| sku string ∗ |
| unit_cost decimal ∗ |
>];
m_Laboratory [label = <
|
| location string |
| name string |
>];
m_Nurse [color = "grey60", fontcolor = "grey60", label = <
>];
m_Patient [label = <
|
| contacted_at datetime ∗ |
| referring_physician_id integer (8) ∗ |
>];
m_Physician [color = "grey60", fontcolor = "grey60", label = <
>];
m_Shift [label = <
|
| ended_at datetime |
| staff_type string ∗ |
| started_at datetime ∗ |
>];
m_Staff [label = <
|
| hired_at datetime |
| qualifications text |
>];
m_Technician [color = "grey60", fontcolor = "grey60", label = <
>];
m_Treatment [label = <
|
| name string ∗ |
| number string ∗ |
| occurred_at datetime ∗ |
| results text |
>];
m_Visit [label = <
|
| comments text |
| scheduled_at datetime ∗ |
>];
m_Volunteer [color = "grey60", fontcolor = "grey60", label = <
>];
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"];
}