Entity Location Location

DescriptionAn association between one location and another.

For example:
The nearest lab or nearest pharmacy to a reference location.

Attributes
Location Relationship OrganizationLocation Relationship Organization
Relationship TypeRelationship Type

Relationship
Location Location _Location Number_FKLocation Location _Location Number_FK
leftleft
Location Relationship _Location Hierarchy_FKLocation Relationship _Location Hierarchy_FK

Dependencies
 NONE

Reverse Dependencies
 

Attribute Details

 Location Relationship Organization
DescriptionIdentifies the Organization or Organization Unit (Work Unit or Department).
Data TypeStandards - Data Domains.ddm/Data Domains/Enumeration [VARCHAR(20)]
Is Part Of PrimaryKeyfalse
Is Requiredfalse
Is Derivedfalse
Is Surrogate Keyfalse



 Relationship Type
DescriptionIndicates the type of the relationship between locations.
Data TypeStandards - Data Domains.ddm/Data Domains/Enumeration [VARCHAR(20)]
Is Part Of PrimaryKeyfalse
Is Requiredtrue
Is Derivedfalse
Is Surrogate Keyfalse

Relationship Details

 Location Location _Location Number_FK
Is Identifying Relationshiptrue
Child TableLocation Location
Child Role Nameobject / child
Child MultiplicityZERO_TO_MANY
Child Referential Integrity: On DeleteNONE
Child Referential Integrity: On InsertNONE
Child Referential Integrity: On UpdateNONE
Parent TableLocation
Parent MultiplicityONE
Parent Referential Integrity: On DeleteNONE
Parent Referential Integrity: On InsertNONE
Parent Referential Integrity: On UpdateNONE



 left
Is Identifying Relationshiptrue
Child TableLocation Location
Child Role Namesubject / parent
Child MultiplicityZERO_TO_MANY
Child Referential Integrity: On DeleteNONE
Child Referential Integrity: On InsertNONE
Child Referential Integrity: On UpdateNONE
Parent TableLocation
Parent MultiplicityONE
Parent Referential Integrity: On DeleteNONE
Parent Referential Integrity: On InsertNONE
Parent Referential Integrity: On UpdateNONE



 Location Relationship _Location Hierarchy_FK
Is Identifying Relationshipfalse
Child TableLocation Location
Child Role Nameis a level in
Child MultiplicityZERO_TO_MANY
Child Referential Integrity: On DeleteNONE
Child Referential Integrity: On InsertNONE
Child Referential Integrity: On UpdateNONE
Parent TableLocation Hierarchy
Parent MultiplicityZERO_TO_ONE
Parent Referential Integrity: On DeleteNONE
Parent Referential Integrity: On InsertNONE
Parent Referential Integrity: On UpdateNONE