แสดงกระทู้

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - siemens

หน้า: [1]
1
Report Exchange / ขอรายงานแบบฟอร์มครับผม ( report UE-Rrom-11)
« เมื่อ: กันยายน 30, 2016, 14:14:53 PM »
ขอรายงานในแผนกห้องผ่าตัดครับ ชื่อตัวนี้ครับ  ( report UE-Rrom-11)

2
ขอรายงานในแผนกห้องผ่าตัดครับ ชื่อตัวนี้ครับ ( report.Form.Appointement-Template )

3
Report Exchange / ขอรายงานแบบฟอร์มครับผม ( report.operation-set-1 )
« เมื่อ: กันยายน 30, 2016, 14:06:18 PM »
ขอรายงานในแผนกห้องผ่าตัดครับ ชื่อตัวนี้ครับ ( report.operation-set-1 )

4
อัพเวอร์ชั่น Hosxp ตั้งแต่ 3.56._._ ถึง 3.59._._  แล้วแก้ไขค่าใช้จ่ายใรระบบการเงินไม่ได้ครับ

5
สวัสดีครับ

รบกวนช่วยแนะนำการทำรายงานปิงปอง 7 สี  ***รบกวนหน่อยน่ะครับพอดีผมเข้ามาทำงานใหม่น่ะครับ***

6
อธิบายเลยนะครับ  พอดีจะดึงข้อมูลให้ ห้อง LAB  แต่ปรากฏว่า ตัวเลขบวกผิดอ่ะครับ
(แต่บวกแต่ล่ะแถวถูกครับ แต่บวกเป็น คอลัม ลงมามันผิดครับ) คือจะเอาขอมูล OPD และ IPD ของเดือน 01/01/2554 - 31/01/2554 รบกวนท่านที่รู้บอกด้วยนะครับ (ได้เป็นโค้ดยิ่งดีครับขอบคุณครับ)

7
เป้น error report จากการทำ replicate จาก master to slave (192.168.10.100)


05/05/2553 07:28:07 192.168.10.100/hos  Lost connection to MySQL server during querySocket error on write. WSAGetLastError return 10054($2746)
05/05/2553 07:28:16 192.168.10.100/hos  Lost connection to MySQL server during querySocket error on write. WSAGetLastError return 10054($2746)
06/05/2553 07:28:11 192.168.10.100/hos  Lost connection to MySQL server during querySocket error on write. WSAGetLastError return 10054($2746)
06/05/2553 07:28:20 192.168.10.100/hos  Lost connection to MySQL server during querySocket error on write. WSAGetLastError return 10054($2746)

ที่น่าแปลกใจคือ มัน lost connect ในเวลาเดียวกัน และห่างกัน 9 วินาที

สาเหตุเกิดจากอะไรได้บ้างครับ.................

8
MySQL / MySQLDump To a Remote Server
« เมื่อ: เมษายน 18, 2010, 19:20:44 PM »
MySQLDump To a Remote Server
Posted Thu, 2009-04-16 13:15 by Are Casilla
I was running out of disk space on a server today. The server had a large database table that was no longer used, so I wanted to archive it and then drop the table. But the server didn’t have enough disk space to dump it out to disk before copying it off to a remote server for archiving.

The first thought was to run mysqldump dump on the destination machine, and to access the database over the network. That however, doesn’t compress or encrypt the data. Plus I would have had to create a mysql user with permission to access the database remotely.

The solution I came up with worked out well: mysqldump directly to the remote host with this command:

mysqldump [mysqldump options] | gzip -c | ssh user@remotehost "cat > /path/to/some-file.sql.gz"

That pipes the mysqldump command through gzip, then to through and SSH connection. SSH on the remote side runs the ‘cat’ command to read the stdin, then redirects that to the actual file where I want it saved.

By Brandon Checketts
http://www.brandonchecketts.com/archives/mysqldump-to-a-remote-server

// อ่านคร่าวๆ เข้าใจว่าเป็นการแก้ปัญหา disk space ของ server ไม่พอ ด้วยการ dump ข้อมูลไปยัง host ตัวอื่น
   รบกวนอาจารย์ช่วยทานข้อมูลว่าใช่และน่าจะใช้ได้หรือไม่ครับ

9
MySQL / innodb command options
« เมื่อ: เมษายน 15, 2010, 09:39:16 AM »
ลอง serach หา innodb_support_xa ไปเจอ link อันนี้เข้า เลยเอามาแปะไว้ครับเพื่อมีประโยชน์บ้าง


http://ftp.ku.ac.th/pub/mirror/mysql/doc/refman/5.0/en/innodb-parameters.html

บาง parameter อจ. MN ได้อธิบายไว้แล้วครับ




10
Linux / Re: INIT: version 2.86 reloading
« เมื่อ: เมษายน 12, 2010, 09:55:33 AM »
ลง centos 5.3 ตั้งเป็น textmode ไว้ครับ เช้านี้เจอข้อความ
Re: INIT: version 2.86 reloading
-  (cursur กระพริบ)

แต่ login เข้าได้ปกติ  startx ได้

ไม่ทราบว่าเกิดอะไรกับ server ครับ......................

11
MySQL / replicate dumpfile?
« เมื่อ: เมษายน 10, 2010, 11:00:15 AM »
ผมจะทำ server ใหม่ ตอนที่จะ restore ข้อมูลเข้า server อยากใช้การ restore hos.sql เข้าฐานเลยนะครับ (เพราะ slave ช้ามาก ไม่อยาก init import) ผมสงสัยว่าหลังจาก restore ได้แล้ว ผมสามารถ run replicate จาก slave --->server ข้อมูลจะเชื่อมต่อกันไหมครับ.............. ???

// คุยกับ อ.นาจ แล้ว อ.นาจไม่แน่ใจว่าตอน dump ข้อมูลมา replicate id ตามมาด้วยหรือไม่

// อยากคำสั่ง restore ผ่าน command มาทดสอบครับ (ที่จริงขอ อ.นาจ แล้ว  แต่ผมใจร้อน อยากลองเล่นเลย..... :) )

12
รบกวนช่วยดู code ที่ผมแก้ไขจาก code อื่น(ที่ก้อบมาจากใน hosxp broad นี้เองครับ) exec แล้วข้อมูลไม่ยอม update

update person INNER JOIN person ON patient.fname = person.fname AND patient.lname = person.lname AND patient.sex = person.sex AND patient.birthday = person.birthdate
set person.cid=(select patient.cid from patient where patient.fname = person.fname AND patient.lname = person.lname ANDpatient.sex = person.sex AND patient.birthday = person.birthdate)
WHERE patient.cid IS NOT NULL AND person.cid IS NULL

ขอบคุณล่วงหน้าครับ................. ;D

13
message ตามรูปที่แนบมาครับ

// อยากได้เป็นคำสั่งแบบที่เพิ่มเฉพาะ field ที่มีปัญหานะครับ เพราะเพิ่ง upgrade structure ไปตอน 53.2.3

อย่างตัวอย่างข้างล่างนะครับ
alter table ipt_oper_code add active_status char(1)

14
อยากทราบตรรกะของการใส่(และไม่ใส่) ค่า finance_number ในตาราง opitemrece กรณีผู้รับบริการใช้สิทธิชำระเงินครับ เพราะโรงพยาบาลบ้านค่ายเจอปัญหาที่งานการเงิน หลังจากออกใบเสร้จ โปรแกรม Hosxp จะขึ้น massage แจ้งว่า "รายการยังไม่ถูก clear ระบบตรวจพบว่ามีค่าใช้จ่ายบางรายการยังไม่ถูกกำหนดสถานะว่า ชำระเงินแล้ว หรือตั้งเป็นลูกหนี้แล้ว" เป็นบาง case ครับ เมื่อลองเปิด opitemreceของ vn นี้ดูจะพบว่า field finance_number จะว่างครับ แต่ในตาราง rcpt_print_detail จะมีค่า  finance_number ครับ ผมลองเช็คเรื่องของเวลารับ-ส่งในหน้ายืนยันการบันทึกข้อมูล ตรงแท็บประวัติการส่งต่อมีทั้ง case ที่ er ส่งแล้ว การเงินถึงได้รับ แต่มีที่การเงินรับก่อน er ส่งก็มีครับ

หน้า: [1]