xml
2021-12-18 21:44:36 7 举报
123666
作者其他创作
大纲/内容
User
-name:String-password:String-photo:String-id:int
+User()+getName():String+setName(String):void+getPassword():String+setPassword():String+getPhoto():String+setPhoto(String):void+getId():int+setId(int):void
dispense
:item
update
2:checkLogin()
Request prescription
Log in
11: sendMessage()
Prescription
1
Authorize online prescription
UserServicedo:setPrescriptionService
1..*
:User
Pay
Dispense
Patient
Create prescribe
Reimbursement agency
Submit electronic reimbursement endorsement message
Print token
Send schedule
LoginService
Send dispense notification
updateStatus
3:setPrescriptionService()
-id:int-date:Date-signature:String-items:List<Item>-status:String
+Prescription()+getId():id+setId(int):void+getDate():Date+getSignature():String+setSignature(String):void+getStatus():String+setStatus(String):void+addItem(Item):void+remove(Item):void
Prescriber
8:createPrescription():9:retrievePrescription()10:authorizePrescription()
4:updateStatus()5:savePrescription()6:printToken()7:getToken()
PayServicedo:pay
PayService
+pay()+setAgency(ReimbursementAgency):void
Dispenser
ReimbursementAgency
Add prescribing endorsement
Dispense prescription
create Prescription
sendMessage
items
PrescriptionServicedo:createPrescriptiondispense
OPMS
UpdateStatus
:Prescription
Item
-name:String-description:String-kg:double-id:int
+Item()+getId():id+setId(int):void+getName():String+setName(String):void+getKg():double+setKg(double):void+setDescription(String):void+getDescription():String
1: login()
create prescription
Choose medication
Retrieve prescription
-roleType:String
+Dispenser()+setRoleType(String):void+getRoleType():String
-agencyName:String-address:String
+ReimbursementAgency()+getAddress():String+setAddress(String):String+setAgencyName(String):void+getAgencyName():String
13:addItem()14:removeItem()
:LoginService
Update prescription status
PrescriptionService
+createPrescription():void+retrievePrescription():List<Prescription>+authorizePrescription():void+savePrescription():void+updateStatus(Prescription):void+sendMessage(Prescription):void+getSchedule():Date+sendDispense():void+dispense(Prescription):void+printToken():void+getToken():String+setPrescriber(Prescriber):void+setDispenser(Dispenser):void
:PrescriptionService
12: sendSchedule()
Reimbursement Agency
+Prescriber()+setRoleType(String):void+getRoleType():String
0 条评论
下一页