FR1:LOGIN... 3 FR2: ... 4 FR3:InvalidLogin... 5 FR4: ... 5 FR5: ... 6 FR6:Online Appointment : ... 6 FR6.1: ... 7 FR6.2: ... 7 FR7: ... 8 FR8:Sign up ... 8 FR8.1: ... 9 FR8.2: ... 9 FR8.3: ... 9 FR9: ... 10
FR10:The user will request a registration form... 11
FR11:The system shall generate a registration form upon user's request... 11
FR14:The system shall validate the advice... 12
2
FR23:The doctor will request for a prescription form... 14
FR24:The system shall save the prescription form... 14
FR25:The system shall validate the medication against prescription. ... 14
FR26:system shall save the the medication according to the current date and time ... 14
FR27:The system shall assign each patient admitted a separate account. ... 15
FR28:The charges for the services provided to the... 15
FR29:The system shall calculate the charges for... 15
FR30:The invoice will be issued to the admitted patients ... 15
4
FR1:LOGIN
FR2:
FR3:InvalidLogin
FR4:
6
FR5:
FR6.1:
FR6.2:
8
FR7:
FR8.1:
FR8.2:
10
FR9:
3 4 5 6 7 8 9 10 11 12 13 14 Days:1..31 15 Month:1..12 16 17 |
18 Days Days Month
19
20 ( leap _) == { y: 4*y } \ ( { y: 100*y } \ { y: 400*y } )
21
22 date_of_Birth:Date
23 date_of_Registration:Date
24 |
25 Date_of_birth dom Date
26 Date_of_Registration dom Date
27
28 FR10:The user will request a registration form
29 FR11:The system shall generate a registration form upon user's request.
30
31 date_of_Birth:Date
32 |
33 Date_of_Registration dom Date
34 35 36
37 Patient == ID × Name × Age × Gender × Date_of_registration × Date_of_birth
12 56 Registration 57 Pinfo?:PINFO 58 59 Message 60 | 61 Ptid Registration 62 63
64 FR13:The patient shall be admitted in the hospital for any kind of treatment
65 66 67 68 69 70 71 72 73 WardName == Name 74 75 76 DrName == Name 77 78
79 Patient_admission == ID × WardID × BedID × wardName × DrName
80 81 82 Admissions 83 | 84 Admissions = 85 86 87 Pateint_Adm:Patient_admission 88 |
89 Pateint_Adm = dom Admissions
90
91 FR14:The system shall validate the advice
92 FR15:The system will check the availability of bed
93 FR16:The system will store the information about the patient withen database.
94 FR17:The system will report any discrepency about the admission
95 96 Admissions 97 Registration 98 Pinfo?:Pinfo 99 100 | 101 ID = dom Registration 102 AdmID Admissions
109 Dischrgelist:List
110 |
111 Dischrgelist = dom Discharged
112 113 114 Accounts 115 Admissions 116 AdmID?:ID 117 | 118 119 120
121 FR19:The Doctor shall request for patient history.
122 FR20:The system shall display the history.
123 FR21:The system shall provide options to add new treatment.
124 FR22:The system shall update history when a new treatment is added
125 126 TreatmentName == Name 127 128 129 Start_Date == Date 130 131 132 End_date == Date 133 134 135 DrName == Name 136 137
138 Treatment == AdmID × TreatmentName × Start_date × End_date × DrName
139 140 141 142 Treatment:Treatment 143 | 144 Treatment = 145 146 History:History
14 162 163 | 164 PTreatment Treatment 165 166 167 Admissions 168 History 169 AdmID?:Admissions 170 NewTreatments?:Treatments 171 | 172 AdmID? Admissions 173 174
175 FR23:The doctor will request for a prescription form.
176 FR24:The system shall save the prescription form
177 FR25:The system shall validate the medication against prescription.
178 FR26:system shall save the the medication according to the current date and time
179 180 Med_Time == Time 181 182 183 Med_Name == Name 184 185 186 187 188 189 Comments == [ Char ] 190
191 Medication = AdmID × Med_Name × Dosage × Time × Comments
192 193 194 PMedication:Medication 195 | 196 Pmedication Medication 197 198 199 Medication 200 | 201 Medication = 202 203 204 Admissions 205 Medication 206 Prescription?:Pprescription 207 208 |
215 patient will be maintained in individual accounts
216 FR29:The system shall calculate the charges for
217 the services availed by the patient
218 219 220 221 222 223 224 225 226 227 228 229 230
231 Account = AdmID × Account_Number × Balance
232 Invoice = Account_number × Invoice_number × Amount × Date
233 234 PAccount:Account 235 | 236 Paccount Accounts 237 238 239 Accounts 240 | 241 Accounts = 242
243 FR30:The invoice will be issued to the admitted patients
244 according to the services availed
245 246 Admissions 247 Accounts 248 AdmID?:ID 249 Charges?:Pcharges 250 |
251 AdmID Dom Admissions
16 268 269 270 271 272 Success 273 Failure 274 | 275 PREDS 276 277 278 Result!:Report 279 | 280 Result! = Ok 281 282 283 Result!:Report 284 | 285 Result!=Failed 286