
Detta omfattande UML klassdiagram modellerar kärnaktörer, entiteter och relationer för ett modernt sjukhusförvaltningsystem (HMS), med stöd för kliniska, administrativa och finansiella arbetsflöden.
+----------------+
| Actor: Patient |
+----------------+
* Attributes:
- PatientID: String
- Name: String
- DateOfBirth: Date
- Gender: Enum
- Address: Address
- Phone: String
- Email: String
- Insurance: InsurancePolicy
- EmergencyContact: ContactInfo
* Operations:
+ Register()
+ UpdateProfile()
+ RequestAppointment()
+ ViewMedicalRecords()
+ ViewBillingHistory()
+ PayBill()
+ ProvideConsent()
+-------------------+
| Actor: Doctor |
+-------------------+
* Attributes:
- DoctorID: String
- Name: String
- Specialty: SpecialtyEnum
- Department: Department
- LicenseNumber: String
- YearsExperience: Integer
- Schedule: Schedule
* Operations:
+ DiagnosePatient()
+ PrescribeTreatment()
+ PerformProcedure()
+ ViewPatientRecords()
+ ManageAppointments()
+ SignDocumentation()
+ OrderTests()
+----------------------+
| Class: Appointment |
+----------------------+
* Attributes:
- AppointmentID: String
- PatientID: String
- ProviderID: String
- DateTime: DateTime
- Duration: Integer
- Type: AppointmentType
- Status: AppointmentStatus
- Location: Location
- Reason: String
* Operations:
+ Schedule()
+ Reschedule()
+ Cancel()
+ CheckIn()
+ Complete()
+ GetDetails()
+--------------------------+
| Class: MedicalRecord |
+--------------------------+
* Attributes:
- RecordID: String
- PatientID: String
- Encounters: List<Encounter>
- Diagnoses: List<Diagnosis> (ICD-10)
- Allergies: List<Allergy>
- Medications: List<Medication>
- Immunizations: List<Immunization>
- ProblemList: List<Problem>
* Operations:
+ AddEncounter()
+ AddDiagnosis()
+ UpdateProblemList()
+ GenerateSummary()
+ ExportCCD()
+------------------+
| Class: Treatment |
+------------------+
* Attributes:
- TreatmentID: String
- PatientID: String
- ProviderID: String
- Diagnosis: Diagnosis
- Plan: CarePlan
- Medications: List<Prescription>
- Orders: List<Order>
- Status: TreatmentStatus
* Operations:
+ CreatePlan()
+ UpdatePlan()
+ AddPrescription()
+ AddOrder()
+ GetHistory()
+----------------+
| Class: Bill |
+----------------+
* Attributes:
- BillID: String
- PatientID: String
- EncounterID: String
- LineItems: List<BillLineItem>
- TotalCharges: Decimal
- InsurancePayments: Decimal
- PatientResponsibility: Decimal
- Status: BillingStatus
* Operations:
+ Generate()
+ SubmitClaim()
+ PostPayment()
+ Adjust()
+ GenerateStatement()
+---------------------------+
| Class: Hospital |
+---------------------------+
* Attributes:
- HospitalID: String
- Name: String
- Address: Address
- Phone: String
- LicenseNumber: String
- BedCount: Integer
- Departments: List<Department>
- Providers: List<Provider>
* Operations:
+ ManageResources()
+ GenerateReports()
+ ConfigureWorkflows()
+ AuditCompliance()
Implementeringsnot: Denna modell överensstämmer med HL7 FHIR-resurser (Patient, Practitioner, Encounter, CarePlan, MedicationRequest, Claim) för interoperabilitet.
Hälsa och Sjukdom © https://www.sjukdom.online