clinic's People
clinic's Issues
Add
#10
Can Save with out validation
search
เขียน test สำหรับการสร้าง patient id
ซึ่งใช้ format P + เลข 6 หลัก ตัวอย่างเช่น
id =2 จะเป็น P000002
หลักการเป็นการสร้าง interface ขึ้นมาชื่อว่า Counter
มี 1 method คือ count
type Counter interface {
count() (int, error)
}
ทำให้เราสามารถจำลองการดึง id จาก mongodb หรือ mock ได้ง่าย ๆ
Certificate
Remove folder node_modules
Remove folder node_modules
home
Edit
#9
Can Update Data Patient With out Validation
PatientForm Validation
validate field before save to DB
เพิ่มตัวอย่างการทดสอบของ React ด้วย Storybook
ลบ conf ออกจาก project
เปลี่ยนไปใช้ environment variable แทน
draw ui in round 2
GOLANG - Display error in log when not connect to mongo
Add button back to home in position left header
Table is not actinf responsive
Edit patient - add layout search by id in case from home page
add search by ID case Click Edit Patient from Home
เพิ่ม Silk สำหรับ api testing
เข้ามาใน api-go ทำการทดสอบ create user api และ login api
Schedule ask po
Home - Remove logout box
Medical Expense Report
Advance Search In Fee Page
ค้นหาข้อมูลเพิ่มเติมเมื่อกดปุ่มค้นหาในหน้าบันทึกค่ารักษา
รายละเอียด
แสดง fields ที่สามารถกรอกข้อมูลในการค้นหา ดังนี้
- ชื่อ
- นามสกุล
- รหัสผู้ป่วย
เมื่อค้นหาข้อมูลสำเร็จ จะแสดงข้อมูลในตารางซึ่งมีข้อมูลดังนี้ - รหัสผู้ป่วย
- ชื่อ - นามสกุล
เมื่อแสดงข้อมูลในตาราง ผู้ใช้งานสามารถเลือกได้เพียงข้อมูลเดียว เมื่อเลือกแล้วข้อมูลจะไปแสดงยังหน้าบันทึกค่ารักษา ข้อมูลจะมีดังนี้ - รหัสผู้ป่วย จะแสดงในช่องค้นหา
- ชื่อ - นามสกุล
api search fee
URL Edit is wrong From Search Patient
note /?namePatient=&lastnamePatient=&idPatient=P000002#/editPatient?id=P000002&_k=lbqo6e
Save fee, Show message when data is successful or unsuccessful in modal
เมื่อเรียก api save fee จะแสดง modal
เมื่อ call success แสดงข้อความ
- Save successfully.
เมื่อ call fail แสดงข้อความ
- Failed to save data. Please try again. Or contact the system administrator.
SaveFee
จะสามารถบันทึกค่ารักษาได้ก็ต่อเมื่อมีการค้นหาข้อมูลสำเร็จ
แสดงหน้าจอบันทึกค่ารักษา เมื่อกรอกข้อมูล ดังนี้
- กรอกค่าใช้จ่าย
- กรอกราคาแต่ละรายการ
ตั้ง project structure ของ React ให้
Add button logout in position rigth header
Api search patient
Api search patient
url : /patient/search/P2017062623181310
method: get
example response :
{
"id": "595133c5d967dc5d07162c85",
"idPatient": "P2017062623181310",
"firstname": "Phatcharaphan",
"lastname": "ananpreechakun",
"nickname": "kae",
"gender": "w",
"birthday": "21/02/1988",
"idCard": "",
"career": "",
"tel": "0923123123123",
"workAddress": "ddd",
"homeAddress": "dddddddd",
"requiredDocument": "",
"congenitalDisease": "",
"beAllergic": "",
"emergencyContact": {
"name": "aaaa",
"relationship": "father",
"tel": "09213213"
},
"createDateTime": "2017-06-26T23:18:13.635+07:00",
"updateDatetime": "0001-01-01T00:00:00Z"
}
Search In Fee Page
กรอกรหัสผู้ป่วย เพื่อค้นหาข้อมูล ซึ่งมีการทำงานดังนี้
- กรอกรหัสผู้ป่วยและ onblur
- ระบบจะดึงข้อมูล ชื่อ - นามสกุล มาแสดง
ถ้าดึงข้อมูลสำเร็จ ระบบจะ enable
- รายการค่าใช้จ่าย
- ราคาค่าใช้จ่าย
- ปุ่ม +
- ปุ่ม บันทึก
ถ้าดึงข้อมูลไม่สำเร็จ ระบบจะ Disable
- รายการค่าใช้จ่าย
- ราคาค่าใช้จ่าย
- ปุ่ม +
- ปุ่ม บันทึก
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.