Process model of involuntary detention
next of kin 最近的亲属
4.4
A.1 A.2 A.3
Interaction models
4.4.1 Concept
Modeling system-to-system interaction highlights the communication problems that may arise.
Modeling component interaction helps us understand if a proposed system structure is likely to deliver the required system performance and dependability.
Use case diagrams and sequence diagrams may be used for interaction modeling Both of
these models are required for a description of the system’s behaviour
4.4.2 Use case modeling A.1 Transfer-data use case
A.2 Tabular description of the ‘Transfer data’ use-case
MHC-PMS: Transfer data Actors Medical receptionist, patient records system (PRS) Page 33 of 91
Description A receptionist may transfer data from the MHC-PMS to a general patient record database that is maintained by a health authority. The information transferred may either be updated personal information (address, phone number, etc.) or a summary of the patient’s diagnosis and treatment. Patient’s personal information, treatment summary User command issued by medical receptionist Confirmation that PRS has been updated The receptionist must have appropriate security permissions to access the patient information and the PRS.
Data Stimulus Response Comments A.3 Use cases in the MHC-PMS involving the role ‘Medical Receptionist’
4.4.3 Sequence diagrams
Sequence diagram for View patient information
Page 34 of 91
4.5 Structural models
? Structural models of software display the organization of a system in terms of the
components that make up that system and their relationships.
? Structural models may be static models, which show the structure of the system design, or
dynamic models, which show the organization of the system when it is executing.
? You create structural models of a system when you are discussing and designing the system
architecture.
4.5.1 Class diagrams
? Class diagrams are used when developing an object-oriented system model to show the
classes in a system and the associations between these classes.
? An object class can be thought of as a general definition of one kind of system object.
? An association is a link between classes that indicates that there is some relationship between
these classes.
A.1 UML classes and association
B.1 Classes and associations in the MHC-PMS
Page 35 of 91
B.2
The Consultation class
A.2 Generalization
In object-oriented languages, such as Java, generalization is implemented using the class inheritance mechanisms built into the language.
B.1
A generalization hierarchy
Page 36 of 91