Book 28 — Information System Design

by The Editor

7. A Simple Module


Contents List:

Doctor and Patient
Table Definition Sheets
DOCTOR & PATIENT — INDEX
DOCTOR & PATIENT — GLOSSARY

Return to:

Title Page
Ardue Library
Ardue Site Plan

See also:


Doctor and Patient

Chapter 6 introduced rôles with an example of a doctor treating another doctor. We may use the same scenario to model an imaginary medical practice.

Consider the following SALADIN chart, whose functions are both to model rôle-playing relationships and to provide specimen Table Definitions.

Table Definition Sheets

DOCTOR & PATIENT — INDEX

Table
Reference
Table NameTable
Type
Code
Dependency
Type
Code
R 5LEGAL ENTITYSS N
R 10ROLESS N
R 15ROLE AUTHORITYSN
R 20ENTITY HAS CERTIFIED ROLESS
R 25ENTITY HAS ASSUMED ROLESS
R 30TRANSACTION TYPESN
R 35ENTITY HAS ROLEDC
R 40TRANSACTION TYPE REQUIRES ROLESSS
R 45TRANSACTIONSS

DOCTOR & PATIENT — GLOSSARY

1. Elementary Fields

Field NameField DescriptionField Size & Data Type
ACT ENTThe ID NR which identifies the party which plays the active rôle in a transactionAs for ID NR
ACTIVE ROLEThe ROLE CODE which identifies the active rôle in a transactionAs for ROLE CODE
AUTHORITY CODEAn ID NR which identifies a legal entity which is an authorityA 5-figure integer
DEF TRANS TYPEA precise definition of a transaction typeText: maximum length to be determined.
ID NRA number which uniquely identifies a legal entity.A 5-figure integer
NAMEThe name of a legal entityA string of up to 50 alphanumeric characters
PASS ENTThe ID NR which identifies the party which plays the passive rôle in a transactionAs for ID NR
PASSIVE ROLEThe ROLE CODE which identifies the passive rôle in a transactionAs for ROLE CODE
ROLE CODEA convenient code for specifying a rôle which a legal entity may playUp to 4 alphabetic characters in upper case
ROLE DEFINITIONA precise definition of a rôle in plain languageText. Maximum length to be determined.
TRANS IDA number which uniquely identifies a transactionA 5-figure integer; may require to be increased to 6 figures at some time in the future.
TRANS TYPE CODEA convenient code for identifying a transaction typeUp to 6 alphabetic characters in upper case

2. Group Fields
GROUP FIELD
NAME
COMPONENT
ELEMENTARY
FIELDS
TRANSACTORACTIVE ROLE
ACT ENT
TRANSACTEEPASSIVE ROLE
PASS ENT

Version Number: 1
Date & Time: 15/08/92 06:27
Author: DM