แสดงกระทู้

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.


Messages - border

หน้า: 1 2 [3] 4
101
เคยมีประสบการณ์เกี่ยวกับ AVG ครับ มัน block โปรแกรม hosxp ครับ ก็เลย remove ออก ไปใช้ตัวอื่นครับ

102
อยากทราบว่า ประวัติ Admit ต่อท้าย วันที่มาตรวจคืออะไรครับ มีทั้ง Ia กับ Id มันแตกต่างกันยังไงครับ

103
หน้าตาแบบรายงานที่ต้องส่ง

104
การเขียน SQL Script / รายงานการให้บริกรนวดไทย
« เมื่อ: ตุลาคม 15, 2008, 10:26:18 AM »
อยากได้รายงานการให้บริการนวดไทย แต่ยังขาดสิทธิ์ และรหัสโรค ICD10 (ทำไม่เป็นครับ)
ใช้เงื่อนไข icode ที่เป็น นวด อบ ประคบสมุนไพร เป็นเงื่อนไขครับ

select op.icode,d.name,op.hn,op.qty,op.sum_price,d.strength,
concat(p.pname,p.fname,'  ',p.lname) as tname,op.rxdate,p.cid
from opitemrece op
left outer join patient p on op.hn=p.hn
left outer join drugitems d on d.icode = op.icode
where rxdate between '2007-10-01' and '2008-06-26'
and op.icode in('3000530','3000479','3000480','3000481','3000564')
and op.hn = p.hn

หน้าตาผลลัพธ์

แบบรายงานที่ต้องส่งครับ

105
อาจารย์ครับ อยากได้ ให้โปรแกรม Fix รหัส Dxtype ของสาเหตุภายนอก หรือ อุบัติเหตุ ที่รหัสโรคขึ้นต้นด้วย V W X Y ให้โปรแกรม Fix รหัส Dxtype เป็น 5 เลยครับ เนื่องจากบ่อยครั้งที่ ward ลง Dxtype เป็น 2 แล้วเวลาส่งข้อมูลจะถูกตีกลับให้แก้ไขว่า ลงรหัส Dxtype ไม่ถูกต้อง

106
ทำไมคิวรับยาที่ห้องจ่ายยาผู้ป่วยนอก ถึงไม่เรียงลำดับคิวจากน้อยไปหามากครับ เลยไม่แน่ใจว่าการเรียงลำดับคิว ส่งมาจากห้องตรวจก่อนได้รับบริการก่อน หรือว่าส่งมาก่อน แต่ QN จากห้องบัตรเป็นเลขลำดับน้อยกว่า เลขน้อยกว่าจะถูกแทรกคิวคนที่ถูกส่งมาก่อน

107
ยินดีต้อนรับ / Re: Most value member
« เมื่อ: มิถุนายน 12, 2008, 19:47:09 PM »
อยากได้เหมือนกันครับ แต่ ขอซื้อเอาเลยแล้วกันครับ
น่าสนใจ อยากให้ทำนะครับ 1. เสื้อโปโล 2. เสื้อแจ๊คเก็ต 3. Handydrive HOSxP(ห้อยไว้ที่คอ คงเท่ห์ไม่เบา)
                             

108
ได้แล้วครับ ต้องเข้าไปลบ รายการ income ทุกตารางที่มีรหัส '8 ทุกตารางที่เกี่ยวข้อง ขอบคุณครับ

109
ส่ง call stack มาให้ดูด้วยครับ

EurekaLog 6.0.13

Application:
-------------------------------------------------------
  1.1 Start Date      : Wed, 28 May 2008 09:04:05 +0700
  1.2 Name/Description: HOSMy.exe
  1.3 Version Number  : 3.51.5.9
  1.4 Parameters      :
  1.5 Compilation Date: Fri, 9 May 2008 13:15:34 +0700
  1.6 Up Time         : 2 hours, 37 minutes, 9 seconds

Exception:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2.1 Date          : Wed, 28 May 2008 11:41:15 +0700
  2.2 Address       : 00FBDB61
  2.3 Module Name   : HOSMy.exe
  2.4 Module Version: 3.51.5.9
  2.5 Type          : EZSQLException
  2.6 Message       : SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '8','01','02','66')   group by i.income,i.name' at line 1.
  2.7 ID            : DC83
  2.8 Count         : 1
  2.9 Status        : New
  2.10 Note         :

User:
-------------------------------------------------------
  3.1 ID        : jirachat
  3.2 Name      : iLLuSioN
  3.3 Email     :
  3.4 Company   : Microsoft Corporation
  3.5 Privileges: SeChangeNotifyPrivilege         - ON
                  SeSecurityPrivilege             - OFF
                  SeBackupPrivilege               - OFF
                  SeRestorePrivilege              - OFF
                  SeSystemtimePrivilege           - OFF
                  SeShutdownPrivilege             - OFF
                  SeRemoteShutdownPrivilege       - OFF
                  SeTakeOwnershipPrivilege        - OFF
                  SeDebugPrivilege                - OFF
                  SeSystemEnvironmentPrivilege    - OFF
                  SeSystemProfilePrivilege        - OFF
                  SeProfileSingleProcessPrivilege - OFF
                  SeIncreaseBasePriorityPrivilege - OFF
                  SeLoadDriverPrivilege           - ON
                  SeCreatePagefilePrivilege       - OFF
                  SeIncreaseQuotaPrivilege        - OFF
                  SeUndockPrivilege               - ON
                  SeManageVolumePrivilege         - OFF
                  SeImpersonatePrivilege          - ON
                  SeCreateGlobalPrivilege         - ON

Active Controls:
-------------------------------------------------
  4.1 Form Class   : TMainForm
  4.2 Form Text    : :: HOSxP :: - [ห้องชำระเงิน]
  4.3 Control Class: TdxEdit
  4.4 Control Text : 510002240

Computer:
---------------------------------------------------------------------------------------
  5.1 Name          : CENTER
  5.2 Total Memory  : 1023 Mb
  5.3 Free Memory   : 700 Mb
  5.4 Total Disk    : 46.57 Gb
  5.5 Free Disk     : 30.07 Gb
  5.6 System Up Time: 4 hours, 5 minutes, 12 seconds
  5.7 Processor     : Intel(R) Pentium(R) 4 CPU 3.00GHz
  5.8 Display Mode  : 1024 x 768, 32 bit
  5.9 Display DPI   : 96
  5.10 Video Card   : NVIDIA GeForce 7300 SE/7200 GS (driver 6.14.11.6218 - RAM 512 MB)
  5.11 Printer      : Canon LBP2900 (driver 1.02)

Operating System:
------------------------------------
  6.1 Type    : Microsoft Windows XP
  6.2 Build # : 2600
  6.3 Update  : Service Pack 2
  6.4 Language: Thai
  6.5 Charset : 222

Network:
---------------------------------------------------
  7.1 IP Address: 192.168.000.141 - 005.201.106.103
  7.2 Submask   : 255.255.255.000 - 255.000.000.000
  7.3 Gateway   : 192.168.000.111 - 000.000.000.000
  7.4 DNS 1     : 192.168.000.111 - 000.000.000.000
  7.5 DNS 2     : 203.113.127.199 - 000.000.000.000
  7.6 DHCP      : OFF             - ON             

Custom Information:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  8.1 Hospital Code            : 10919 [รพช. กาบเชิง]
  8.2 Database Type            : MySQL
  8.3 Database Protocol        : mysql-4.1 [5.0.22
                                  Database hos2 @ 192.168.0.251]
  8.4                          :
  8.5 No 1                     : select i.income , i.name as incomename,sum(o1.rcptamt) as inc00,sum(o2.rcptamt) as inc01,  sum(o3.rcptamt) as inc02,sum(o4.rcptamt) as inc03 ,sum(o6.rcptamt) as inc04,  sum(o5.rcptamt) as rcptamt , sum(o5.rcptamt) as discount_money  from income i  left outer join incith o1 on o1.income=i.income and o1.paidst='00' and o1.an='510002240'  left outer join incith o2 on o2.income=i.income and o2.paidst='01' and o2.an='510002240'  left outer join incith o3 on o3.income=i.income and o3.paidst='02' and o3.an='510002240'   left outer join incith o4 on o4.income=i.income and o4.paidst='03' and o4.an='510002240'  left outer join incith o6 on o6.income=i.income and o6.paidst='04' and o6.an='510002240'  left outer join incith o5 on o5.income=i.income and o5.an='510002240'  where i.income in ('03','05','19',''8','01','02','66')   group by i.income,i.name
  8.6 No 2                     : select distinct income from opitemrece where an='510002240'
  8.7 No 3                     : select p.name,sum(o.sum_price) as sum_price  from opitemrece o  left outer join pttype p on p.pttype = o.pttype  where o.an = '510002240' and (o.finance_number is null or o.finance_number = '')  group by p.name
  8.8 DBMS Variables           :
  8.9                          :
  8.10 auto_increment_increment: 1
                                 auto_increment_offset = 1
                                 automatic_sp_privileges = ON
                                 back_log = 50
                                 basedir = /usr/
                                 bdb_cache_size = 8388600
                                 bdb_home = /var/lib/mysql/
                                 bdb_log_buffer_size = 131072
                                 bdb_logdir =
                                 bdb_max_lock = 10000
                                 bdb_shared_data = OFF
                                 bdb_tmpdir = /tmp/
                                 binlog_cache_size = 32768
                                 bulk_insert_buffer_size = 8388608
                                 character_set_client = tis620
                                 character_set_connection = tis620
                                 character_set_database = tis620
                                 character_set_filesystem = binary
                                 character_set_results = tis620
                                 character_set_server = tis620
                                 character_set_system = utf8
                                 character_sets_dir = /usr/share/mysql/charsets/
                                 collation_connection = tis620_thai_ci
                                 collation_database = tis620_thai_ci
                                 collation_server = tis620_thai_ci
                                 completion_type = 0
                                 concurrent_insert = 1
                                 connect_timeout = 5
                                 datadir = /var/lib/mysql/
                                 date_format = %Y-%m-%d
                                 datetime_format = %Y-%m-%d %H:%i:%s
                                 default_week_format = 0
                                 delay_key_write = ON
                                 delayed_insert_limit = 100
                                 delayed_insert_timeout = 300
                                 delayed_queue_size = 1000
                                 div_precision_increment = 4
                                 engine_condition_pushdown = OFF
                                 expire_logs_days = 0
                                 flush = OFF
                                 flush_time = 0
                                 ft_boolean_syntax = + -><()~*:""&|
                                 ft_max_word_len = 84
                                 ft_min_word_len = 4
                                 ft_query_expansion_limit = 20
                                 ft_stopword_file = (built-in)
                                 group_concat_max_len = 1024
                                 have_archive = NO
                                 have_bdb = YES
                                 have_blackhole_engine = NO
                                 have_compress = YES
                                 have_crypt = YES
                                 have_csv = NO
                                 have_example_engine = NO
                                 have_federated_engine = NO
                                 have_geometry = YES
                                 have_innodb = DISABLED
                                 have_isam = NO
                                 have_ndbcluster = NO
                                 have_openssl = DISABLED
                                 have_query_cache = YES
                                 have_raid = NO
                                 have_rtree_keys = YES
                                 have_symlink = YES
                                 init_connect = SET NAMES tis620
                                 init_file =
                                 init_slave =
                                 innodb_additional_mem_pool_size = 20971520
                                 innodb_autoextend_increment = 8
                                 innodb_buffer_pool_awe_mem_mb = 0
                                 innodb_buffer_pool_size = 268435456
                                 innodb_checksums = ON
                                 innodb_commit_concurrency = 0
                                 innodb_concurrency_tickets = 500
                                 innodb_data_file_path = ibdata1:10M:autoextend
                                 innodb_data_home_dir = /var/lib/mysql/
                                 innodb_doublewrite = ON
                                 innodb_fast_shutdown = 1
                                 innodb_file_io_threads = 4
                                 innodb_file_per_table = ON
                                 innodb_flush_log_at_trx_commit = 1
                                 innodb_flush_method =
                                 innodb_force_recovery = 0
                                 innodb_lock_wait_timeout = 50
                                 innodb_locks_unsafe_for_binlog = OFF
                                 innodb_log_arch_dir = /var/lib/mysql/
                                 innodb_log_archive = OFF
                                 innodb_log_buffer_size = 8388608
                                 innodb_log_file_size = 67108864
                                 innodb_log_files_in_group = 2
                                 innodb_log_group_home_dir = /var/lib/mysql/
                                 innodb_max_dirty_pages_pct = 90
                                 innodb_max_purge_lag = 0
                                 innodb_mirrored_log_groups = 1
                                 innodb_open_files = 300
                                 innodb_support_xa = ON
                                 innodb_sync_spin_loops = 20
                                 innodb_table_locks = ON
                                 innodb_thread_concurrency = 8
                                 innodb_thread_sleep_delay = 10000
                                 interactive_timeout = 28800
                                 join_buffer_size = 131072
                                 key_buffer_size = 268435456
                                 key_cache_age_threshold = 300
                                 key_cache_block_size = 1024
                                 key_cache_division_limit = 100
                                 language = /usr/share/mysql/english/
                                 large_files_support = ON
                                 large_page_size = 0
                                 large_pages = OFF
                                 license = GPL
                                 local_infile = ON
                                 locked_in_memory = OFF
                                 log = OFF
                                 log_bin = OFF
                                 log_bin_trust_function_creators = OFF
                                 log_error =
                                 log_slave_updates = OFF
                                 log_slow_queries = OFF
                                 log_warnings = 1
                                 long_query_time = 10
                                 low_priority_updates = OFF
                                 lower_case_file_system = OFF
                                 lower_case_table_names = 0
                                 max_allowed_packet = 16776192
                                 max_binlog_cache_size = 4294967295
                                 max_binlog_size = 1073741824
                                 max_connect_errors = 10
                                 max_connections = 100
                                 max_delayed_threads = 20
                                 max_error_count = 64
                                 max_heap_table_size = 16777216
                                 max_insert_delayed_threads = 20
                                 max_join_size = 4294967295
                                 max_length_for_sort_data = 1024
                                 max_prepared_stmt_count = 16382
                                 max_relay_log_size = 0
                                 max_seeks_for_key = 4294967295
                                 max_sort_length = 1024
                                 max_sp_recursion_depth = 0
                                 max_tmp_tables = 32
                                 max_user_connections = 0
                                 max_write_lock_count = 4294967295
                                 multi_range_count = 256
                                 myisam_data_pointer_size = 6
                                 myisam_max_sort_file_size = 2147483647
                                 myisam_recover_options = OFF
                                 myisam_repair_threads = 1
                                 myisam_sort_buffer_size = 67108864
                                 myisam_stats_method = nulls_unequal
                                 net_buffer_length = 16384
                                 net_read_timeout = 30
                                 net_retry_count = 10
                                 net_write_timeout = 60
                                 new = OFF
                                 old_passwords = OFF
                                 open_files_limit = 1024
                                 optimizer_prune_level = 1
                                 optimizer_search_depth = 62
                                 pid_file = /var/run/mysqld/mysqld.pid
                                 prepared_stmt_count = 0
                                 port = 3306
                                 preload_buffer_size = 32768
                                 protocol_version = 10
                                 query_alloc_block_size = 8192
                                 query_cache_limit = 1048576
                                 query_cache_min_res_unit = 4096
                                 query_cache_size = 16777216
                                 query_cache_type = ON
                                 query_cache_wlock_invalidate = OFF
                                 query_prealloc_size = 8192
                                 range_alloc_block_size = 2048
                                 read_buffer_size = 1044480
                                 read_only = OFF
                                 read_rnd_buffer_size = 4190208
                                 relay_log_purge = ON
                                 relay_log_space_limit = 0
                                 rpl_recovery_rank = 0
                                 secure_auth = OFF
                                 server_id = 1
                                 skip_external_locking = ON
                                 skip_networking = OFF
                                 skip_show_database = OFF
                                 slave_compressed_protocol = OFF
                                 slave_load_tmpdir = /tmp/
                                 slave_net_timeout = 3600
                                 slave_skip_errors = OFF
                                 slave_transaction_retries = 10
                                 slow_launch_time = 2
                                 socket = /var/lib/mysql/mysql.sock
                                 sort_buffer_size = 1048568
                                 sql_mode =
                                 sql_notes = ON
                                 sql_warnings = ON
                                 storage_engine = MyISAM
                                 sync_binlog = 0
                                 sync_frm = ON
                                 system_time_zone = ICT
                                 table_cache = 256
                                 table_lock_wait_timeout = 50
                                 table_type = MyISAM
                                 thread_cache_size = 8
                                 thread_stack = 196608
                                 time_format = %H:%i:%s
                                 time_zone = SYSTEM
                                 timed_mutexes = OFF
                                 tmp_table_size = 33554432
                                 tmpdir =
                                 transaction_alloc_block_size = 8192
                                 transaction_prealloc_size = 4096
                                 tx_isolation = REPEATABLE-READ
                                 updatable_views_with_limit = YES
                                 version = 5.0.22
                                 version_bdb = Sleepycat Software:_Berkeley DB 4.1.24:_(May 25, 2006)
                                 version_comment = Source distribution
                                 version_compile_machine = i686
                                 version_compile_os = redhat-linux-gnu


110
ห้องการเงิน ออกใบเสร็จรับเงินคนไข้ใน แล้วมันขึ้น error ไม่แสดงรายการและไม่พิมพ์ใบเสร็จให้ครับ

111
อ้างถึง
กดปุ่ม Detail แล้วส่งข้อมูลใน tab general / call stack เข้ามาด้วยครับ
EurekaLog 6.0.13

Application:
-------------------------------------------------------
  1.1 Start Date      : Sat, 24 May 2008 13:48:26 +0700
  1.2 Name/Description: HOSMy.exe
  1.3 Version Number  : 3.51.5.9
  1.4 Parameters      :
  1.5 Compilation Date: Fri, 9 May 2008 13:15:34 +0700
  1.6 Up Time         : 2 minutes, 31 seconds

Exception:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2.1 Date          : Sat, 24 May 2008 13:50:57 +0700
  2.2 Address       : 00FBDB61
  2.3 Module Name   : HOSMy.exe
  2.4 Module Version: 3.51.5.9
  2.5 Type          : EZSQLException
  2.6 Message       : SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '8'' at line 1.
  2.7 ID            : 5F65
  2.8 Count         : 1
  2.9 Status        : New
  2.10 Note         :

User:
-------------------------------------------------------
  3.1 ID        : jirachat
  3.2 Name      : iLLuSioN
  3.3 Email     :
  3.4 Company   : Microsoft Corporation
  3.5 Privileges: SeChangeNotifyPrivilege         - ON
                  SeSecurityPrivilege             - OFF
                  SeBackupPrivilege               - OFF
                  SeRestorePrivilege              - OFF
                  SeSystemtimePrivilege           - OFF
                  SeShutdownPrivilege             - OFF
                  SeRemoteShutdownPrivilege       - OFF
                  SeTakeOwnershipPrivilege        - OFF
                  SeDebugPrivilege                - OFF
                  SeSystemEnvironmentPrivilege    - OFF
                  SeSystemProfilePrivilege        - OFF
                  SeProfileSingleProcessPrivilege - OFF
                  SeIncreaseBasePriorityPrivilege - OFF
                  SeLoadDriverPrivilege           - ON
                  SeCreatePagefilePrivilege       - OFF
                  SeIncreaseQuotaPrivilege        - OFF
                  SeUndockPrivilege               - ON
                  SeManageVolumePrivilege         - OFF
                  SeImpersonatePrivilege          - ON
                  SeCreateGlobalPrivilege         - ON

Active Controls:
--------------------------------------------------------------------------
  4.1 Form Class   : TMainForm
  4.2 Form Text    : :: HOSxP :: - [ลงรายการ Discharge และ ค่ารักษาพยาบาล]
  4.3 Control Class: TcxButton
  4.4 Control Text : บันทึก

Computer:
---------------------------------------------------------------------------------------
  5.1 Name          : CENTER
  5.2 Total Memory  : 1023 Mb
  5.3 Free Memory   : 475 Mb
  5.4 Total Disk    : 46.57 Gb
  5.5 Free Disk     : 30.05 Gb
  5.6 System Up Time: 4 hours, 59 minutes, 0 second
  5.7 Processor     : Intel(R) Pentium(R) 4 CPU 3.00GHz
  5.8 Display Mode  : 1024 x 768, 32 bit
  5.9 Display DPI   : 96
  5.10 Video Card   : NVIDIA GeForce 7300 SE/7200 GS (driver 6.14.11.6218 - RAM 512 MB)
  5.11 Printer      : Canon LBP2900 (driver 1.02)

Operating System:
------------------------------------
  6.1 Type    : Microsoft Windows XP
  6.2 Build # : 2600
  6.3 Update  : Service Pack 2
  6.4 Language: Thai
  6.5 Charset : 222

Network:
---------------------------------------------------
  7.1 IP Address: 192.168.000.144 - 005.201.106.103
  7.2 Submask   : 255.255.255.000 - 255.000.000.000
  7.3 Gateway   : 192.168.000.111 - 000.000.000.000
  7.4 DNS 1     : 192.168.000.111 - 000.000.000.000
  7.5 DNS 2     : 203.113.127.199 - 000.000.000.000
  7.6 DHCP      : OFF             - ON             

Custom Information:
----------------------------------------------------------------------------------------------------------------------------------------------------------------
  8.1 Hospital Code            : 10919 [รพช. กาบเชิง]
  8.2 Database Type            : MySQL
  8.3 Database Protocol        : mysql-4.1 [5.0.22
                                  Database hos2 @ 192.168.0.251]
  8.4                          :
  8.5 No 1                     : select * from incith where an='510002210' and paidst = '01' and income=''8'
  8.6 No 2                     : select income,paidst,sum(sum_price) as sp from opitemrece where an='510002210' and paidst in ('01','03') group by income,paidst
  8.7 No 3                     : select count(*) as cc from rcpt_print where vn='510002210' and department='IPD' and bill_amount>0
  8.8 DBMS Variables           :
  8.9                          :
  8.10 auto_increment_increment: 1
                                 auto_increment_offset = 1
                                 automatic_sp_privileges = ON
                                 back_log = 50
                                 basedir = /usr/
                                 bdb_cache_size = 8388600
                                 bdb_home = /var/lib/mysql/
                                 bdb_log_buffer_size = 131072
                                 bdb_logdir =
                                 bdb_max_lock = 10000
                                 bdb_shared_data = OFF
                                 bdb_tmpdir = /tmp/
                                 binlog_cache_size = 32768
                                 bulk_insert_buffer_size = 8388608
                                 character_set_client = tis620
                                 character_set_connection = tis620
                                 character_set_database = tis620
                                 character_set_filesystem = binary
                                 character_set_results = tis620
                                 character_set_server = tis620
                                 character_set_system = utf8
                                 character_sets_dir = /usr/share/mysql/charsets/
                                 collation_connection = tis620_thai_ci
                                 collation_database = tis620_thai_ci
                                 collation_server = tis620_thai_ci
                                 completion_type = 0
                                 concurrent_insert = 1
                                 connect_timeout = 5
                                 datadir = /var/lib/mysql/
                                 date_format = %Y-%m-%d
                                 datetime_format = %Y-%m-%d %H:%i:%s
                                 default_week_format = 0
                                 delay_key_write = ON
                                 delayed_insert_limit = 100
                                 delayed_insert_timeout = 300
                                 delayed_queue_size = 1000
                                 div_precision_increment = 4
                                 engine_condition_pushdown = OFF
                                 expire_logs_days = 0
                                 flush = OFF
                                 flush_time = 0
                                 ft_boolean_syntax = + -><()~*:""&|
                                 ft_max_word_len = 84
                                 ft_min_word_len = 4
                                 ft_query_expansion_limit = 20
                                 ft_stopword_file = (built-in)
                                 group_concat_max_len = 1024
                                 have_archive = NO
                                 have_bdb = YES
                                 have_blackhole_engine = NO
                                 have_compress = YES
                                 have_crypt = YES
                                 have_csv = NO
                                 have_example_engine = NO
                                 have_federated_engine = NO
                                 have_geometry = YES
                                 have_innodb = DISABLED
                                 have_isam = NO
                                 have_ndbcluster = NO
                                 have_openssl = DISABLED
                                 have_query_cache = YES
                                 have_raid = NO
                                 have_rtree_keys = YES
                                 have_symlink = YES
                                 init_connect = SET NAMES tis620
                                 init_file =
                                 init_slave =
                                 innodb_additional_mem_pool_size = 20971520
                                 innodb_autoextend_increment = 8
                                 innodb_buffer_pool_awe_mem_mb = 0
                                 innodb_buffer_pool_size = 268435456
                                 innodb_checksums = ON
                                 innodb_commit_concurrency = 0
                                 innodb_concurrency_tickets = 500
                                 innodb_data_file_path = ibdata1:10M:autoextend
                                 innodb_data_home_dir = /var/lib/mysql/
                                 innodb_doublewrite = ON
                                 innodb_fast_shutdown = 1
                                 innodb_file_io_threads = 4
                                 innodb_file_per_table = ON
                                 innodb_flush_log_at_trx_commit = 1
                                 innodb_flush_method =
                                 innodb_force_recovery = 0
                                 innodb_lock_wait_timeout = 50
                                 innodb_locks_unsafe_for_binlog = OFF
                                 innodb_log_arch_dir = /var/lib/mysql/
                                 innodb_log_archive = OFF
                                 innodb_log_buffer_size = 8388608
                                 innodb_log_file_size = 67108864
                                 innodb_log_files_in_group = 2
                                 innodb_log_group_home_dir = /var/lib/mysql/
                                 innodb_max_dirty_pages_pct = 90
                                 innodb_max_purge_lag = 0
                                 innodb_mirrored_log_groups = 1
                                 innodb_open_files = 300
                                 innodb_support_xa = ON
                                 innodb_sync_spin_loops = 20
                                 innodb_table_locks = ON
                                 innodb_thread_concurrency = 8
                                 innodb_thread_sleep_delay = 10000
                                 interactive_timeout = 28800
                                 join_buffer_size = 131072
                                 key_buffer_size = 268435456
                                 key_cache_age_threshold = 300
                                 key_cache_block_size = 1024
                                 key_cache_division_limit = 100
                                 language = /usr/share/mysql/english/
                                 large_files_support = ON
                                 large_page_size = 0
                                 large_pages = OFF
                                 license = GPL
                                 local_infile = ON
                                 locked_in_memory = OFF
                                 log = OFF
                                 log_bin = OFF
                                 log_bin_trust_function_creators = OFF
                                 log_error =
                                 log_slave_updates = OFF
                                 log_slow_queries = OFF
                                 log_warnings = 1
                                 long_query_time = 10
                                 low_priority_updates = OFF
                                 lower_case_file_system = OFF
                                 lower_case_table_names = 0
                                 max_allowed_packet = 16776192
                                 max_binlog_cache_size = 4294967295
                                 max_binlog_size = 1073741824
                                 max_connect_errors = 10
                                 max_connections = 100
                                 max_delayed_threads = 20
                                 max_error_count = 64
                                 max_heap_table_size = 16777216
                                 max_insert_delayed_threads = 20
                                 max_join_size = 4294967295
                                 max_length_for_sort_data = 1024
                                 max_prepared_stmt_count = 16382
                                 max_relay_log_size = 0
                                 max_seeks_for_key = 4294967295
                                 max_sort_length = 1024
                                 max_sp_recursion_depth = 0
                                 max_tmp_tables = 32
                                 max_user_connections = 0
                                 max_write_lock_count = 4294967295
                                 multi_range_count = 256
                                 myisam_data_pointer_size = 6
                                 myisam_max_sort_file_size = 2147483647
                                 myisam_recover_options = OFF
                                 myisam_repair_threads = 1
                                 myisam_sort_buffer_size = 67108864
                                 myisam_stats_method = nulls_unequal
                                 net_buffer_length = 16384
                                 net_read_timeout = 30
                                 net_retry_count = 10
                                 net_write_timeout = 60
                                 new = OFF
                                 old_passwords = OFF
                                 open_files_limit = 1024
                                 optimizer_prune_level = 1
                                 optimizer_search_depth = 62
                                 pid_file = /var/run/mysqld/mysqld.pid
                                 prepared_stmt_count = 0
                                 port = 3306
                                 preload_buffer_size = 32768
                                 protocol_version = 10
                                 query_alloc_block_size = 8192
                                 query_cache_limit = 1048576
                                 query_cache_min_res_unit = 4096
                                 query_cache_size = 16777216
                                 query_cache_type = ON
                                 query_cache_wlock_invalidate = OFF
                                 query_prealloc_size = 8192
                                 range_alloc_block_size = 2048
                                 read_buffer_size = 1044480
                                 read_only = OFF
                                 read_rnd_buffer_size = 4190208
                                 relay_log_purge = ON
                                 relay_log_space_limit = 0
                                 rpl_recovery_rank = 0
                                 secure_auth = OFF
                                 server_id = 1
                                 skip_external_locking = ON
                                 skip_networking = OFF
                                 skip_show_database = OFF
                                 slave_compressed_protocol = OFF
                                 slave_load_tmpdir = /tmp/
                                 slave_net_timeout = 3600
                                 slave_skip_errors = OFF
                                 slave_transaction_retries = 10
                                 slow_launch_time = 2
                                 socket = /var/lib/mysql/mysql.sock
                                 sort_buffer_size = 1048568
                                 sql_mode =
                                 sql_notes = ON
                                 sql_warnings = ON
                                 storage_engine = MyISAM
                                 sync_binlog = 0
                                 sync_frm = ON
                                 system_time_zone = ICT
                                 table_cache = 256
                                 table_lock_wait_timeout = 50
                                 table_type = MyISAM
                                 thread_cache_size = 8
                                 thread_stack = 196608
                                 time_format = %H:%i:%s
                                 time_zone = SYSTEM
                                 timed_mutexes = OFF
                                 tmp_table_size = 33554432
                                 tmpdir =
                                 transaction_alloc_block_size = 8192
                                 transaction_prealloc_size = 4096
                                 tx_isolation = REPEATABLE-READ
                                 updatable_views_with_limit = YES
                                 version = 5.0.22
                                 version_bdb = Sleepycat Software:_Berkeley DB 4.1.24:_(May 25, 2006)
                                 version_comment = Source distribution
                                 version_compile_machine = i686
                                 version_compile_os = redhat-linux-gnu



112
ไม่เป็นทุก case มีปัญหาแบบนี้อยู่ 3 caseครับ

113
ลงจำหน่ายผู้ป่วยใน บันทึกข้อมูลแล้วขึ้น error ตามรูป ขั้นต้น ได้ check repair table แล้ว ก็ไม่มีผล

114
อยากทราบแนวทางในการลงข้อมูลยา เวชภัณฑ์และค่าบริการต่างๆ ของผู้ป่วยใน เพื่อให้ห้องการเงินสามารถเก็บค่าใช้จ่ายที่เกิดขึ้นได้อย่างถูกต้อง เนื่องจาก พบปัญหาว่า

 **** ผู้ป่วยประกันสังคม ค่าใช้จ่ายทั้งหมดถูกกำหนดสถานะรายการรหัส 02 (ลูกหนี้สิทธิ์) แต่ในความจริงกรณีคลอดต้องชำระเงินเองก่อนแล้วจึงนำหลักฐานไปเบิก ทำให้เมื่อส่งข้อมูลไปที่ห้องเก็บเงิน ค่าใช้จ่ายไม่ถูกเรียกชำระเงินเพราะเป็นรหัส 02 แทนที่จะเป็น 01 (ชำระเองเบิกได้)

ไม่ทราบว่าการกำหนดประเภทการชำระเงินนอกเหนือจากสิทธิ์ปกติของผู้ป่วยสามารถกำหนดได้อย่างไร เพราะปัจจุบันต้องแก้ไขโดยการสั่งบันทึก Mediction profile ผู้ป่วยในแล้วจึงทำการแก้ไข สถานะรายการจาก 02 เป็น 01 ทุกครั้ง ทุกรายการทำให้เกิดความยากลำบากในการแก้ไขข้อมูล



HOSxp ver. 3.51.4.17 ครับ

116
select * ,sec_to_time(time_to_sec(service12)-time_to_sec(service3)) as totaltime
from service_time
where vstdate  between'2008-05-15' and '2008-05-15'
order by vstdate,vn asc

คือถ้าสั่งทำรายงาน โดยช่วงเวลา เป็นวันปัจจุบัน จะสามารถประมวลผลรายงานออกมาได้ แต่ถ้าสั่งทำย้อนหลัง
เช่น where vstdate  between'2008-05-12' and '2008-05-12' จะขึ้น rage check error ครับ

117
 :D ได้แล้ว ขอบคุณ อ.อ๊อด ครับ ว่าแต่ว่ามันเกิดอะไรขึ้นละครับ

118
มีปัญหาว่า เครื่องคอมฯ ที่ห้องบัตร เครื่องหนึ่งไม่สามารถเรียกใช้โปรแกรมทำบัตรใหม่ได้ครับ ไม่ว่าจะใช้ user ไหน แม้แต่ admin วิธีแก้ไขเบื้องต้น ได้ลบโปรแกรม Hosxp ออกแล้ว install ลงไปใหม่ก็ไม่ได้ครับ มีแนวทางแก้ไขอย่างไรบ้างครับ นอกจาก format เครื่องใหม่

119
แปลกครับ post รูปไม่ขึ้น

120
ต้องให้ admin กำหนดสิทธิ์การใช้งาน ให้ user ที่จะลงรหัส icd10 และ icd9cm ตามรูปครับ

121
ที่ถูกต้องเป็น 2 ซี่ 2 ด้านครับ แต่คำนวณเป็น 2 ซี่ 3 ด้าน เจอทุก case ที่อุดฟันตั้งแต่ 2 ซี่ขึ้นไป เช่น อย่าง case #54OB,OL กับ #55OM,OL จำนวนซี่ 2 ซี่ จำนวนด้าน 8 ด้าน แต่คำนวณเป็น 2 ซี่ 9 ด้านครับ

122
version 3.51.4.17 ห้องทันตกรรม คำนวนซี่ -ด้าน(เกินมา 1 ด้าน) จะ error กรณีมีตั้งแต่ 2 รายการขึ้นไป ตามรูปครับ

123
ลงข้อมูล Medication profile ผู้ป่วยใน แล้วลงข้อมูล home med บันทึกแล้ว ขึ้นเตือน function disable ตามรูปครับ version 3.51.4.17 ครับ

124
ไม่ได้แสดง error อะไรครับ แต่ key ข้อมูลอะไรไม่ได้เลย ไม่รับ เหมือนถูก lock เอาไว้ครับ

125
ไม่ทราบมี รพ.ไหนเป็นบ้างครับ v.3.51.4.17 ลงหัตถการ ICD9cm ไม่ได้ (สิทธิ์ user อื่น แต่ สิทธิ์ admin สามารถลงได้) หาที่ set ตรงไหนก็ไม่เจอครับ แนบรูปมาด้วยครับ

126
เมนู ผู้ป่วยปกปิดรายชื่อใช้ยังไงครับ คือ แพทย์ถามว่าถ้าต้องการใส่ password คนไข้บางรายที่ปกปิดประวัติการตรวจชั้นความลับ สามารถทำได้หรือไม่ครับ เพราะเห็นเมนูนี้เกิดขึ้นมา

127
ยินดีต้อนรับ / Re: สอบถาม Hosxp Replication manager
« เมื่อ: เมษายน 04, 2008, 09:17:25 AM »
ถามต่อครับ อ.อ๊อด แล้วถ้าเปิดโปรแกรม Hosxp Replication manager พร้อมกัน 2 เครื่อง แต่สำรองข้อมูลไปไว้ที่เดียวกัน จะมีปัญหาอะไรหรือเปล่าครับ เช่น ข้อมูล ดับเบิ้ล อะไรทำนองนี้ ครับ (ถามล่วงหน้า เผื่อมีเหตุการณ์)

128
ยินดีต้อนรับ / สอบถาม Hosxp Replication manager
« เมื่อ: เมษายน 03, 2008, 09:11:43 AM »
อาจารย์ครับ ถ้าเปิดโปรแกรม Hosxp Replication manager ไว้ตลอด จะมีปัญหาอะไรหรือไม่ครับ คือจะเปิดไว้ที่ห้องบัตร นอกเวลาราชการ ไม่แน่ใจว่า ถ้าเปิดไว้ตลอด กับ ทำเป็นช่วงๆ ควรทำแบบไหนที่ปลอดภัยที่สุด

129
ขอด้วยคนครับ

130
ปัญหาการลง D/C ที่ ward ที่พบบ่อย คือ การลงจะดูจากหน้า summary แต่หน้า summary จะเป็นรูปแบบ discharge status ก่อนและ discharge type อยู่หลัง แต่ใน D/C ของ Hosxp discharge type อยู่ก่อน discharge status อยู่หลัง ก็เลยเป็นปัญหาถ้าพยาบาล ward บางคน ยึดตามหน้า summary ก็จะผิดตลอด เช่น หน้า chart 2/1 ก็จะกลายเป็น 1/2 refer 3/4 ก็เป็น 4/3 มีผลต่อการส่งข้อมูล UC มากครับเพราะผิดเล็กๆ น้อยๆ ที่เวลาส่งข้อมูล UC ก็จะถูกติด C กลับมา
อ.MN ช่วยพิจารณาแก้ไขด้วยครับ หรือ รพ.ไหนที่เป็นปัญหาเช่นกันช่วยผลักหน่อยครับ

131
คงยากครับ เพราะ ICD9CM ก็ยังไม่เคยเห็น สนย.พิมพ์ฉบับแปลไทย เลยครับ และก็เป็นศัพท์เฉพาะด้วย

132
เข้า menu ห้องจ่ายยาครับ และลบรายการหน้าจ่ายยาออกให้หมด จึงจะลบได้ ถ้าแบบนี้ถึงจะใช้ชื่อ admit ลบก็ลบไม่ออกครับ

133
น่าจะจากรายงาน 024 งานอุบัติเหตุฉุกเฉิน ที่มีตัวชี้วัดว่า คนไข้ที่ผ่านการตรวจจาก ER Admit จำนวนเท่าไร จากคนไข้ Admit ทั้งหมด และตัวชี้วัดอีกหลายตัวของงาน EMS ตอนนี้ก็เป็นปัญหาเหมือนกันว่า ไม่ทราบว่าจะแยกรายงาน Admit ได้อย่างไร คืออยากได้แยกตามแผนกที่ส่งจากเวชระเบียน เช่น จุดซักประวัติ ทันตกรรม  ER

134
แจ้งปัญหา / ขอความช่วยเหลือ / ปัญหาบัตรนัด
« เมื่อ: กุมภาพันธ์ 27, 2008, 14:00:39 PM »
ปกติบัตรนัดจะออกมาพร้อมกับ sticker ยาครับ แต่อยู่ๆ กลับไปออกท้ายใบสั่งยา ไม่ทราบว่าเกิดจาก set อะไรผิดพลาดครับ คิดไม่ออกครับ ใครทราบช่วยแก้ปัญหาให้ทีครับ ขอบคุณครับ
ใช้ version 3.51.2.16

135
อ. MN ครับ Server หลัก power supply ระเบิดครับ ก็เลยไปใช้ server สำรองประมาณ 9 วัน แต่ใน server หลัก (ระหว่างส่งซ่อม) มีข้อมูล ที่ไม่ยังไม่ได้ backupใน server สำรองมากกว่าประมาณ 9 วันเช่นกัน งงมั๊ยครับ

เอาแบบไม่งงครับ server หลัก ก่อน power supply ระเบิด มีข้อมูลถึงวันที่ 2 กพ.51 แต่ใน serverสำรอง มีข้อมูลถึงวันที่ 25 มค.51 ระหว่างส่งซ่อม ก็ใช้ server สำรองไปพลางๆ ก่อน จนถึงวันที่ 10 กพ.51 (ซึ่งผมคาดเดาว่า การใช้ server สำรอง ต้องมี HN. และ AN. ออกซ้ำกันบ้างแน่นอน
พอ server หลักซ่อมเสร็จ ต้องการนำข้อมูล 2 server มารวมกัน ก็เลยคิดว่าน่าจะเอาจากเครื่องสำรอง ไป เครื่องหลักดีกว่า ก็เลยทำ replicate แต่ได้ทดลองทำในเครื่อง pc แล้วครับ แรกๆ เห็นว่าปลอดภัยก็เลยลงมือจริงครับ

136
ไม่ได้ปิดตัว   run  agent

ครับ แล้วทำให้ข้อมูลมันเพียรไปครับ

แนนะนำ command mysql to   mysql

ทำยังไงครับ

137
หลังจาก replicate ข้อมูล จาก server สำรอง มา sever หลัก ก็เจอ errore duplicate อีกแล้วครับ
แบบนี้ใช้คำสั่งแก้ไข ยังไงครับ
SQL Error: Duplicate entry '510000728' for key 1
select * from iptdiag where an='510000349'

SQL Error: Duplicate entry '{67517831-D16B-456F-9C48-DCE64E5D0681}' for key 1
select * from opitemrece_summary where vn in ( '510000349' , '510125180714') and vn<>''

138
update serial set serial_no = (select max(an) from iptdiag) where name = 'ipt_diag_id' แบบนี้ใช่ป่าวคับ

139
คิดว่าจะได้ อันขึ้น error อีกแล้ว แก้ไขยังไงต่อครับ อ.อ๊อด

140
แก้ได้แล้วครับ ใช้คำสั่งนี้
update serial set serial_no=(select max(an) from iptdiag) where name = 'iptdiag'

141
ลงหน้าจอ diag ผู้ป่วยใน เกิดแจ้ง error แบบนี้ แก้ไขอย่างไรครับ
System Message
SQL Error: Duplicate entry '117341' for key 1
select * from iptdiag where an='510000473'

142
แจ้งปัญหา / ขอความช่วยเหลือ / Re: power supply ของ server พัง
« เมื่อ: กุมภาพันธ์ 11, 2008, 10:03:51 AM »
ผมว่าจะใช้ replicator นำเข้าข้อมูลจากเครื่อง server สำรอง (สำรองใช้หลังจากที่ server main กำลังซ่อมอยู่ )โดยจะให้ข้อมูลมันต่อยอดวันที่ที่ server main มีปัญหา ได้ทดลองในเครื่อง pc สำรองแล้ว ก็ใช้ได้ คือ replicator มันนำเข้าข้อมูลวันที่ที่ไม่มีการบันทึกใน เครื่องที่เราจะนำเข้า แต่ไม่ทราบว่าจะมีผลอะไรตามมาหรือเปล่าครับ ฝากผู้รู้ ช่วยชี้แนะด้วยครับ

143
ขอบคุณทุกท่านครับ ตอนนี้ใช้งานได้ปกติแล้วครับ วันหลัง ถ้ามีปัญหาจะรบกวนใหม่ครับ

144
อาการ error massege ที่ห้องบัตร ใช้ได้แล้วครับ ขอบคุณครับ ตอนนี้ยังมีปัญหาที่ห้อง x-ray ผมส่งผลลัพธ์จากคำสั่ง มาให้ดู

145
error ห้อง x-ray เวลาสั่งรายการ x-ray

146
ผลลัพธ์จากคำสั่ง
select max(seq_id) from ovst_seq

select  serial_no from serial where name = 'seq_id'

ปัญหาตอนนี้ นอกจากเวลาส่งตรวจแล้ว ขึ้น error ห้องตรวจจะสั่ง x-ray ไม่ผ่าน ต้องเขียน note ให้ จนท.เอ็กซเรย์ เป็นคนสั่งเอง ครับ

147
ยัง error ตารางเดิมอยู่ครับ อ.อ๊อด

System Message
SQL Error: Duplicate entry '23347' for key 2
select * from ovst_seq where vn = '510210160906'

148
ยังมีอาการเหมือนเดิมครับ  ??? มืดแปดด้านเลยครับงานนี้ ยังไงก็ขอบคุณ อ.nuttawut นะครับ ที่คอยช่วยเหลือ และผมก็ยังรอความช่วยเหลืออยู่นะครับ

149
ลองรันคำสั่ง แล้ว ก็ยัง error อยู่ครับ

150
ลองทำ serial check แล้ว ทำการ check มันขึ้นเตือนเหมือนว่ามีตารางซ้ำมากกว่า 1 ตาราง และ ก็ repair แล้ว แต่ก็ยังเป็นปัญหาเหมือนเดิม

หน้า: 1 2 [3] 4