Title: An Analysis Pattern for Patient Treatment
1An Analysis Pattern for Patient Treatment
- 1. Introduction
- A Patient Treatment Pattern describes the
treatment or stay history of a patient in a
hospital. - The hospital may be a member of a medical
consortium. -
- Each patient has a medical history which
contains insurance information and a record of
all treatments within the medical consortium. - Each patient has a primary physician, an
employee of the hospital. - Upon admission the patient is created as new
or information is updated from previous visit(s).
- A treatment history is created for each
patient admitted and updated throughout the
patients stay. - Inpatients are assigned a room, nurse team and
consulting doctors. - The Patient Treatment Pattern is a composite
pattern that includes three simpler patterns. - Patient Record
- Consortium Assets
2- 2. Patient Record
- 2.1 Intent
- This pattern describes the process of creating
patient records for a stay or treatment in a
hospital and managing the history of these
records. - 2.2 Context
- A hospital or medical consortium that keeps
records of patient treatments. - 2.3 Problem
- Maintaining accurate patient records is crucial
for patient treatment. - 2.4 Forces
- Patients may receive treatment in separate
hospitals of the medical consortium and we need
to keep track of all treatments in all hospitals. - Patients receive treatment for various
ailments in different areas of a hospital and we
need to keep track of all treatments in all
departments of a hospital. - Patients may receive treatment from various
doctors and nurses of the hospital and we need to
keep track of all treatments by all medical
employees. - 2.5 Solution
- Create a unique stay or treatment history for
every patient upon admission to the hospital. - The treatment histories are added to the
patient medical histories.
32. Patient Record
Figure 1 Class Diagram for Patient Record
42. Patient Record
ltltactorgtgt anAdmissionsClerk
ltltactorgtgt aPatient
Patient
provide information
ltltcreategtgt
MedicalHistory
ltltcreategtgt
TreatmentHistory
ltltcreategtgt
Figure 2 Sequence diagram for admit a new patient
ltltactorgtgt anAdmissionsClerk
ltltactorgtgt aPatient
Patient
MedicalHistory
provide information
open
open
TreatmentHistory
ltltcreategtgt
Figure 3 Sequence diagram for admit a patient
(not new)
55. Patient Record
Figure 10 State Chart Diagram Medical History
6 5. Patient Record
Figure 11 State chart Diagram Treatment(Stay)
History
7- 2. Patient Record
- 2.6 Consequences
- Advantages
- Each treatment or stay history is summarized
into one record. - Each stay history is added to a patient
medical history. - Each medical history provides information
about the patient for future treatments within
the medical consortium. - Role based access control can be used to
protect the privacy of a patient. - Disadvantages
- Policies about the size of a treatment history
need to be established, if a patient receives
treatment in too many departments by multiple
doctors and nurses during one stay, it may need
to be broken down into separate treatments. - The accuracy of patient records will depend
upon the employees of the medical group. - 2.7 Known Uses
- Every hospital or clinic maintains records
about their patients. - For example if a patient visits West Boca
Medical Center for the third time there will be a
record of previous visits. - 2.8 Related Patterns
- Collection Pattern
8- 3. Consortium Assets
- 3.1 Intent
- To manage the hospitals, buildings and employees
and equipment of a medical consortium. - 3.2 Context
- A medical consortium that has multiple hospitals
with buildings and rooms, medical equipment and
employees. - 3.3 Problem
- Management of assets is crucial for efficient and
professional service. - 3.4 Forces
- In a medical consortium if employees or
employee information changes this information
needs to be recorded. - All hospitals of a medical consortium consist
of buildings with rooms and the information about
availability and use of these assets must be
recorded and kept up to date. - We need to keep track of the use, stock,
transfer and information about all medical
equipment used by any hospital within the medical
consortium. - 3.5 Solution
- Maintain employee records with basic
information and separate employees by their
profession to add specific information,
specialties and rights. - Each hospital is a separate asset of the
consortium. Each building is an asset of the
hospital. Each room is an asset of the building.
This way all the information can be easily kept
up to date.
93. Consortium Assets
Figure 4 Class Diagram for Consortium Assets
104. Asset Assignment 4.1 Intent To assign
doctors, nurses and rooms to a patient for
treatment 4.2 Context A hospital or medical
consortium that assigns doctors, nurses and rooms
to patients. 4.3 Problem How does the hospital
keep track of which doctors, nurses and rooms are
assigned to the patients.
Figure 5 Class Diagram for Asset Assignment
114. Asset Assignment
ltltactorgtgt anAdmissionsClerk
ltltactorgtgt aPatient
ltltactorgtgt aDoctor
provide information
Patient
ltltcreategtgt
MedicalHistory
ltltcreategtgt
TreatmentHistory
ltltcreategtgt
assign
Figure 6 Sequence diagram for admit a new
patient and assign doctor
ltltactorgtgt anAdmissions clerk
Building
Doctor
Room
Nurse
ltltactorgtgt aDoctor
assign
check availability
assign
assign
assign
Figure 7 Sequence diagram for admit an inpatient
12- 5. Patient Treatment
- 5.1 Intent
- This pattern describes the process of admitting
and treating a patient in a hospital. - 5.2 Context
- A medical facility that offers patient treatment.
- 5.3 Problem
- To provide patients with necessary services the
combination of patient records, medical
consortium assets and assignment of patients to
these assets needs to be organized, maintained
and and managed efficiently. - 5.4 Forces
- In addition to the forces of component patterns
we also have - A patient may be moved or reassigned during a
stay and we need to document the new assignment
and location. - After the patient is discharged all
assignments need to be released and the records
updated. - Patients may discontinue treatment for various
reasons and all information needs to be recorded. - 5.5 Solution
135. Patient Treatment
Figure 8 Class Diagram for Patient Treatment
14- 5. patient treatment
- 5.6 Consequences
- Advantages
- All information about a patients stay is
recorded and documented even if there are
reassignments during that stay. - When a patient is discharged the treatment
history is added to the medical history and all
treatments within the medical consortium will be
kept for future reference. - If a patient discontinues treatment for any
reason this information will be on record. - Role based access control can be used to
protect the privacy of a patient. - Disadvantages
- The accuracy of patient treatment, assignment
and record updates are dependent upon the
employees maintaining and recording information. - Employees need to follow procedure.
- 5.8 Related Patterns
- Repair Pattern A patient enters a hospital for
repair, assignment is made for the repair and a
record is kept. - Future Work
- Defining the Role Rights and adding
authorization to the Patient Treatment Pattern. - Generalizing the pattern for other
applications such as student, prison, or repair.
15Class Diagram for Patient Treatment with
Authorization
Consortium
name patient number
Patient
name main location
create update
Hospital
name address
Inpatient
Outpatient
specialty
name ss number address
Employee
MedicalHistory
insurance treatment history
1
TreatmentHistory medications procedures
update
Nurse
specialty
16Patient TreatmentAdmit a Patient with
Authorization
Observer
Model
AdmitPatientView
AdmitPatientController
- name - address - patient number
Patient
- newPatient - openPatient - patientNumber -
patientInformation - treatmentHistory -
medicalHistory - inpatient - outpatient
handleEvent( )
create(patient info) update(patient info)
close( )
update( ) admit_patient()
Inpatient
Outpatient
- specialty
Admit a Patient
New Patient
Patient Number
- insurance - treatmentHistory
MedicalHistory
Open Patient
Patient Information
TreatmentHistory
Create Treatment History
1
- medications - procedures
open ( ) create( ) update ( ) close ( )
Medical History
create ( ) update ( ) close ( )
Outpatient
Inpatient
17Patient TreatmentAdmit an Inpatient with
Authorization
Model
Observer
- name - address - patient number
Patient
AdmitInpatientView
AdmitInpatientController
create(patient info) update(patient info)
close( )
Inpatient
- patientNumber - patientInfo - room -
nurseTeam -consultingDoctor
handleEvent ( )
assigned to
assigned to consulting
12
assigned to
- insurance - treatmentHistory
MedicalHistory
update ( ) admit_inpatient
0
1
Room
Doctor
open ( ) create( ) update ( ) close ( )
- number - size
- specialty
Nurse
assign ( ) remove ( )
assign ( ) remove ( )
- specialty
Admit an Inpatient
assign ( ) remove ( )
TreatmentHistory
Room
Patient Number
Hospital
Building
- medications - procedures
- name - address
Patient Information
- name - location
Nurse Team
create ( ) update ( ) close ( )
addDepartment addBuilding ( )
activateRoom ( ) deleteRoom ( )
Consulting Doctor
18Patient TreatmentDischarge a Patient with
Authorization
Model
Observer
- name - address - patient number
Patient
Inpatient
create(patient info) update(patient info)
close( )
DischargePatientView
DischargePatientController
- patientNumber - patientInfo - room -
nurseTeam -consultingDoctor
12
assigned to
assigned to
assigned to consulting
handleEvent ( )
- insurance - treatmentHistory
MedicalHistory
1
0
Room
update ( )
Doctor
- number - size
open ( ) create( ) update ( ) close ( )
- specialty
Nurse
assign ( ) remove ( )
assign ( ) remove ( )
- specialty
Discharge a Patient
assign ( ) remove ( )
Patient Number
Room
TreatmentHistory
Patient Information
Nurse Team
- medications - procedures
Consulting Doctor
create ( ) update ( ) close ( )
Treatment History
Medical History
19References E.B. Fernandez, X. Yuan, An
Analysis pattern for Course Management Fer2000
E.B. Fernandez, Stock Manager An Analysis
Pattern for Inventories,Procs, of PLoP
2000. E.B. Fernandez and X. Yuan, Semantic
Analysis Patterns, Procs. of the 19th Int, Conf
on Conceptual Modeling (ER2000),183-195. E.B
Fernandez, X. Yuan, and S. Brey, An Analysis
Pattern for Order and Shipment of a Product,
Procs. of PLoP 2000. E.B. Fernandez, Layers and
non-functional patterns E.B. Fernandez and R.
Pan, A Pattern Language for security models,
Procs, of PLoP 2001. E.B. Fernandez and J.C.
Hawkins, Determining Role Rights from Use
Cases E.B. Fernandez, M. Larrondo-Petrie, N.
Seliya, N. Delessy and A.Herzberg, A Pattern
Language for Firewalls