Sistem Informasi Rumah Sakit
-
Upload
moeslim-hadi -
Category
Documents
-
view
233 -
download
6
Transcript of Sistem Informasi Rumah Sakit
![Page 1: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/1.jpg)
PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – UNIVERSITY OF INDONESIA
PERANCANGAN SISTEM INFORMASI
Session 5 Data Modeling
Based on System Analysis & Design 2nd EditionAuthors : Alan Dennis & Barbara Haley Wixom
Publisher : John Wiley & Sons
Session 5 Data ModelingSession 5 Data Modeling
Based on System Analysis & Design 2nd EditionAuthors : Alan Dennis & Barbara Haley Wixom
Publisher : John Wiley & Sons
![Page 2: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/2.jpg)
2PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
ObjectivesObjectives
Understand the rules and style guidelines for creating entity relationship diagrams.Be able to create an entity relationship diagram.Become familiar with the data dictionary and metadata.Become familiar with the process of normalization.Understand how to balance between entity relationship diagrams.
![Page 3: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/3.jpg)
3PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Key DefinitionsKey Definitions
Data modelA formal way of representing the data that are used and created by a business systemShows the people, places and things about which data is captured and the relationships among them.
Logical data modelshows the organization of data without indicating how it is stored, created, or manipulated
![Page 4: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/4.jpg)
4PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Key DefinitionKey Definition
Physical data modelshows how the data will actually be stored in databases or files.
Normalization is the process analysts use to validate data models.Data models should balance with process models
![Page 5: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/5.jpg)
5PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
THE ENTITY-RELATIONSHIP DIAGRAM (ERD)
![Page 6: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/6.jpg)
6PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
What Is an ERD?What Is an ERD?
A picture showing the information created, stored, and used by a business system. Entities generally represent similar kinds of informationLines drawn between entities show relationships among the dataHigh level business rules are also shown
![Page 7: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/7.jpg)
7PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Using the ERD to Show Business RulesUsing the ERD to Show Business Rules
Business rules are constraints that are followed when the system is in operation.ERD symbols can show when one instance of an entity must exist for an instance of another to exist
A doctor must exist before appointments the doctor can be made
![Page 8: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/8.jpg)
8PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
An ERD ExampleAn ERD Example
![Page 9: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/9.jpg)
9PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
ERD ElementsERD Elements
![Page 10: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/10.jpg)
10PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
EntityEntity
A person, place, event, or thing about which data is collectedMust be multiple occurrences to be an entity
Example: If a firm has only one warehouse, the warehouse is not an entity. However, if the firm has several warehouses, the warehouse could be an entity if the firm wants to store data about each warehouse instance.
![Page 11: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/11.jpg)
11PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Entities and InstancesEntities and Instances
![Page 12: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/12.jpg)
12PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Case Repository Entry for Patient EntityCase Repository Entry for Patient Entity
![Page 13: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/13.jpg)
13PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
AttributesAttributes
Information captured about an entityOnly those used by the organization should be included in the modelAttribute names are nounsSometimes entity name is added at the beginning of the attribute name for clarity
![Page 14: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/14.jpg)
14PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
IdentifiersIdentifiers
One or more attributes can serve as the entity identifier, uniquely identifying each entity instanceConcatenated identifier consists of several attributesAn identifier may be ‘artificial,’ such as creating an ID numberIdentifiers may not be developed until the Design Phase
![Page 15: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/15.jpg)
15PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Identifier TypesIdentifier Types
![Page 16: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/16.jpg)
16PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Case Repository Entry for Patient_SSNAttributeCase Repository Entry for Patient_SSNAttribute
![Page 17: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/17.jpg)
17PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
RelationshipsRelationships
Associations between entitiesThe first entity in the relationship is the parententity; the second entity in the relationship is the child entityRelationships should have active verb namesRelationships go in both directions
![Page 18: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/18.jpg)
18PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
CardinalityCardinality
Cardinalityrefers to the number of times instances in one entity can be related to instances in another entity• One instance in an entity refers to one and only
one instance in the related entity (1:1)• One instance in an entity refers to one or more
instances in the related entity (1:N)• One or more instances in an entity refer to one or
more instances in the related entity (M:N)
![Page 19: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/19.jpg)
19PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
ModalityModality
ModalityRefers to whether or not an instance of a child entity can exist without a related instance in the parent entity• Not Null means that an instance in the related
entity must exist for an instance in another entity to be valid
• Null means that no instance in the related entity is necessary for an instance in another entity to be valid
![Page 20: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/20.jpg)
20PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Case Repository Entry for a RelationshipCase Repository Entry for a Relationship
![Page 21: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/21.jpg)
21PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
The Data Dictionary and MetadataThe Data Dictionary and Metadata
Metadata is information stored about components of the data modelMetadata is stored in the data dictionary so it can be shared by developers and users throughout the SDLCA complete, shareable data dictionary helps improve the quality of the system under development
![Page 22: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/22.jpg)
22PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
CREATING AN ENTITY-RELATIONSHIP DIAGRAM
![Page 23: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/23.jpg)
23PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
ERD BasicsERD Basics
Drawing the ERD is an iterative process of trial and revisionERDs can become quite complex
![Page 24: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/24.jpg)
24PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Steps in Building ERDsSteps in Building ERDs
Identify the entitiesAdd appropriate attributes for each entityDraw the relationships that connect associated entities
![Page 25: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/25.jpg)
25PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Identify the EntitiesIdentify the Entities
Identify major categories of informationIf available, check the process models for data stores, external entities, and data flowsCheck the major inputs and outputs from the use cases
Verify that there is more than one instance of the entity that occurs in the system
![Page 26: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/26.jpg)
26PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Add Appropriate AttributesAdd Appropriate Attributes
Identify attributes of the entity that are relevant to the system under development
Check the process model repository entries for details on data flows and data storesCheck the data requirements of the requirements definitionInterview knowledgeable usersPerform document analysis on existing forms and reports
Select the entity’s identifier
![Page 27: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/27.jpg)
27PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Draw the RelationshipsDraw the Relationships
Start with an entity and identify all entities with which it shares relationshipsDescribe the relationship with the appropriate verb phraseDetermine the cardinality and modality by discussing the business rules with knowledgeable users
![Page 28: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/28.jpg)
28PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
ERD Building TipsERD Building Tips
Data stores of the DFD should correspond to entitiesOnly include entities with more than one instance of informationDon’t include entities associated with implementation of the system (they will be added later)
![Page 29: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/29.jpg)
29PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Advanced SyntaxAdvanced Syntax
Independent EntitiesCan exist without the help of another entityIdentifiers created from the entity’s own attributesAttributes from other entities are not needed to uniquely identify instances of these entities
Non-identifying relationshipsRelationships with an independent child entity
![Page 30: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/30.jpg)
30PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Advanced SyntaxAdvanced Syntax
Dependent EntitiesA child entity uses attributes from the parent entity as part or all of its identifiersAlso called associative entity
Identifying relationshipRelationships having a dependent child entity
![Page 31: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/31.jpg)
31PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Advanced SyntaxAdvanced Syntax
![Page 32: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/32.jpg)
32PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Advanced SyntaxAdvanced Syntax
Intersection EntitiesA new entity created to store information about two entities sharing an M:N relationship• Remove the M:N relationship between two entities
and insert new entity between them• Create two 1:N relationships: original entities are
parents to the new child intersection entity• Name the intersection entity
![Page 33: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/33.jpg)
33PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Advanced SyntaxAdvanced Syntax
![Page 34: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/34.jpg)
34PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
VALIDATING AN ERD
![Page 35: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/35.jpg)
35PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Design GuidelinesDesign Guidelines
Best practices rather than rulesEntities should have many occurrencesAvoid unnecessary attributesClearly label all components Apply correct cardinality and modalityBreak attributes into lowest level neededLabels should reflect common business termsAssumptions should be clearly stated
![Page 36: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/36.jpg)
36PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
NormalizationNormalization
Technique used to validate data modelsSeries of rules applied to logical data model to improve its organizationThree normalization rules are common
![Page 37: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/37.jpg)
37PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Normalization StepsNormalization Steps
![Page 38: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/38.jpg)
38PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Unnormalized EntityUnnormalized Entity
Begin with an entity fromthe logical data model
![Page 39: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/39.jpg)
39PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
First Normal Form (1NF)First Normal Form (1NF)
Look for repeating groups of attributes and remove them into separate entities
![Page 40: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/40.jpg)
40PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Second Normal Form (2NF)Second Normal Form (2NF)If an entity has a concatenated identifier, look for attributes that depend only on part of the identifier. If found, remove to new entity.
![Page 41: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/41.jpg)
41PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Third Normal Form (3NF)Third Normal Form (3NF)Look for attributes that depend only on another nonidentifying attribute. If found, remove to new entity. Also remove any calculated attributes.
![Page 42: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/42.jpg)
42PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
Balancing ERDs with DFDsBalancing ERDs with DFDs
All analysis activities are interrelatedProcess models contain two data components
Data flows and data stores
The DFD data components need to balance the ERD’sdata stores (entities) and data elements (attributes)Many CASE tools provide features to check for imbalanceCheck that all data stores and elements correspond between models
Data that is not used is unnecessaryData that has been omitted results in an incomplete system
Do not follow thoughtlessly -- check that the models make sense!
![Page 43: Sistem Informasi Rumah Sakit](https://reader035.fdocuments.net/reader035/viewer/2022062418/55372e2c4a79594b1b8b4c47/html5/thumbnails/43.jpg)
43PowerPoint Course Material for SCELE Graduate Program Information TechnologyFaculty of Computer Science – University of Indonesia
SummarySummary
The ERD is the most common technique for drawing data models. The building blocks of the ERD are:
Entities describe people, places, or thingsAttributes capture information about the entityRelationships associate data across entities
Intersection, dependent, and independent entities must be recognized.The ERD must be balanced with the DFD.