แสดงกระทู้

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 - panus_t

หน้า: 1 ... 15 16 [17] 18 19 ... 23
801
ที่บัญชี 2 ลงตรวจหลังคลอดครบ 3 ครั้งแล้ว แต่ช่อง % เป็นว่าง
สามารถแก้ไข หรือตรวจสอบได้อย่างไรครับ
 ;D ;D

802
ปุ่ม upgrade structure กับ Full upgrade แตกต่างกันอย่างไรครับ
 ;D

803
แจ้งปัญหา / ขอความช่วยเหลือ / ANC Link not found
« เมื่อ: พฤศจิกายน 28, 2011, 11:54:38 AM »
ANC Link not found
แก้ไขอย่างไรครับ
 ;D :D

804
มีที่ไหนทำแบบฟอร์ม ค้างชำระให้ผู้ป่วยหรือญาติลงชื่อรับทราบ(ในกรณีที่ไม่หนีกลับ)บ้างครับ
คือว่าต้องการทำ Custom-Report ที่หน้าออกใบเสร็จ ถ้าจะทำค้างก็ให้พิมพ์แบบฟอร์มให้ผู้ป่วยหรือญาติลงชื่อรับทราบ
มีเลขที่ด้วยก็ดีครับจะได้หาได้ง่ายเวลามาจ่าย (มีรายละเอียดอะไรบ้างยังนึกไม่ออก-ก็เลยมาหาข้อมูลครับ)
ขนาดประมาณ A5 ;D :D

805
มีคู่มือ หรือวารสาร การคีย์ข้อมูลเพื่อการส่ง 21 แฟ้มให้สมบูรณ์ให้ดาวน์โหลดหรือเปล่าครับ ;D :D ;) :)

806
สอบถามการแก้ไข Error จาก Program OPPP2554
1.แฟ้ม EPT
-ข้อมูล VCCTYPE เป็นค่าว่าง (NULL)
2.แฟ้ม DIAG
-ไม่สามารถเชื่อมโยงการให้บริการได้

Error เหล่านี้ตรวจสอบ-แก้ไขอย่างไครับ
 ;D

807
ช่วยดูรหัสพื้นฐานให้หน่อยครับ

808
อยากให้มีระบบ Popup หรือหน้าจอตัวใหญ่ ๆ แจ้งเตือน User ว่าท่านกำลังใช้ฐานข้อมูลอื่นที่ไม่ใช้ฐานข้อมูลของหน่วยงาน หรือข้อความอื่น ๆ ตามเหมาะสม เพื่อป้องกัน User คีย์ข้อมูลผิดฐานข้อมูล
เนื่องจากปัจจุบันมีการทำ Hosxp+DB+Notebook ไปอบรมบ่อย ๆ นาย ก.เป็นคนเข้าไป กลับมา นาย ข. ใช้งานต่อโดยฐานข้อมูลยังเป็น Stand alone อยู่ (จนท.ก็ยังไม่มีความรู้เรื่องเปลี่ยน IP หรือมีแต่ไม่ได้สังเกตุในบางครั้ง)

ปล.ถ้าเป็นไปได้อาจจะเปลี่ยน Theme เป็นสีแดงไปแลย  ;D ;D ;D

809
ถาม-ใบแสดงรายการค่าใช้จ่ายผู้ป่วยนอก
ที่หน้า OPD Meney Summary  ผมเข้าไปพิมพ์เฉย ๆ แต่พอพิมพ์ออกมา ผู้สั่งยากลับเป็นชื่อผม
ลองเปลี่ยนเป็น Login อื่น ชื่อผู้สั่งยาก็เป็น Login นั้น ๆ ซึ่งเมื่อก่อนไม่เป็น
ลองใช้คำสั่ง
select *
from doctor_order_print d1
where vn="541122191719"
ปรากฏว่า doctor_name กลับเป็นชื่อที่ Login อยู่ไปแล้ว ทั้งที่เราไม่ได้เข้าไปแก้ไข หรือกดบันทึกอะไร คือจะเข้าไปพิมพ์ใบแสดงรายการค่าใช้จ่าย เฉย ๆ ผู้สั่งยาก็กลายเป็นชื่อเรา... ??? ??? ;D ;D

810
การลงวัคซีนให้ได้ 100% ในบัญชี3 ??????
พอดีมีวัคซีนรวมเพิ่มมาคือ DTPHB1 ก็คือ DTP1+HBV2
คำถาม
1.ถ้าลงวันที่ฉีด DTPHB1 แล้วจำเป็นต้องลง วันที่ซีน DTP1  HBV2 หรือเปล่าเพื่อนำไปคิดเปอร์เซ็นต์
2.หรือว่าช่องเปอร์เซ็นต์ไม่จำเป็น ถ้าฉีดครบได้กี่เปอร์เซ็นต์ก็ไม่ต้องจนใจ

 ??? ???

811
เพิ่มวัคซีนในงานเชิงรุกได้อย่างไรครับ
ดูแล้วเครื่องหมาย บวก กดไม่ได้ครับ
 ;D

812
ใช้โปรแกรม HOSxP PCU Download New Version ไม่ได้ครับ
ติด Proxy Endian 2.3  ทำไงดีครับ
น่าจะมีลิงค์หน้าเว็บบ้างก็ดีนะครับ   ;D ;D

813
ข้อมูลภาวะแทรกซ้อนของผู้ป่วยโรคเรื้อรัง....มีข้อมูลให้เลือกแต่พอเลือกแล้ว กลับเป็นช่องว่างเหมือนเดิมครับ...
 ;D ;D

814
นอกเรื่อง / สอบถามการตั้งเวลา crontab ครับ
« เมื่อ: พฤศจิกายน 14, 2011, 11:20:40 AM »
ผมทำการ block คำ โดยเข้าไปแก้ไขไฟล์ nano /etc/squid/squid.conf
แล้วผมก็สร้างอีก 2 ไฟล์
1.squid_block.conf
2.squid_not_block.conf
ผมต้องการตั้งเวลา คัดลอก 2 ไฟล์นี้ไปทับไฟล์ squid.conf ตามเวลาที่กำหนดได้อย่างไรครับ

ถ้าต้องการสร้างชุดคำสั่ง *.sh เพื่อรันที่ละหลาย ๆ คำสั่งทำไงครับ

815
แจ้งปัญหา / ขอความช่วยเหลือ / CID ซ้ำ
« เมื่อ: พฤศจิกายน 11, 2011, 15:49:11 PM »
ระบบแจ้งว่า CID ซ้ำ กับ HN 000008888 แต่ทำไหม HN นี้ไม่มีในตาราง Patient แต่กับมีในตาราง ptcardno   ??? ???

816
Report Exchange / ช่อง DF ใช้งานอย่างไรครับ
« เมื่อ: พฤศจิกายน 11, 2011, 14:06:39 PM »
ช่อง DF ใช้งานอย่างไรครับ
ต้องไปตั้งค่า และดึงรายงานจากตารางไหนบ้างครับ   ;D ;D

817
Report Exchange / ช่วยดู คำสั่ง หาจำนวน DF ให้หน่อยนะครับ
« เมื่อ: พฤศจิกายน 11, 2011, 11:40:57 AM »
ช่วยดู คำสั่ง หาจำนวน DF ให้หน่อยนะครับ
ไม่ทราบว่าที่อื่นใช้คำสั่ง ทำรายงานอย่างไรกันบ้างครับ (ขอแชร์หน่อยนะครับ)
เงื่อนไข
1.เป็นผู้ป่วยในเวลา 08.00-16.00 น.
2.เฉพาะ OPD Case (ที่ ER , คลินิก ,หรือที่อื่น ๆ ไม่นำมาคิด)
จากข้อ2 ถามว่าถ้าผมใช้เงื่อนไข o.main_dep="010" มันจะมีโอกาส los หรือเปล่าครับ เช่นถ้าผู้ป่วยไป ฝ่ายเวชฯ แล้วค่อยมา OPD
** ขอสอบถามที่อื่นครับว่ามี Flow หรือวิธีปฏิบัติอย่างไร ขอพร้อมคำสั่ง SQL เลยนะครับ **
 ;D ;D
select v.vn,o.vstdate,o.vsttime,o.main_dep,o.cur_dep_time,v.hn,concat(p.pname,p.fname," ",p.lname) as pt_name,
v.dx_doctor,d.name,v.income
from vn_stat v
left outer join doctor d on  d.code=v.dx_doctor
left outer join ovst o on o.vn=v.vn
left outer join holiday h on h.holiday_date=v.vstdate
left outer join patient p on p.hn=v.hn
where v.vstdate between "2011-11-10" and "2011-11-10"
and o.cur_dep_time between "08:00:00" and "16:00:00"
and v.dx_doctor in ('209')and o.main_dep="010"
and v.vstdate not in (select holiday_date from holiday)

818
สอบถามข้อมูลตัวเลขที่แสดงจำนวนผู้ป่วยที่แพทย์ตรวจมันไม่ตรงครับ
ผมใช้คำสั่ง select *  from rx_doctor where rx_date=curdate() and doctor=209 นับได้ 60 ครับ
แต่ตัวเลขที่ห้องหมอได้แค่ 52  ผมจะต้องแก้ไขในฟิล์ดไหนเพื่อให้แสดงให้ครับครับ


819
สิทธิบางคนเปลี่ยนไป  ไม่ทราบว่าเป็นตอนไหน จะหาคำตอบไงดีครับ 
เช่น เปลี่ยนจาก 89 เป็น 30

820
การสั่ง Admit มีแยกเก็บจุดที่สั่งหรือเปล่าครับ
เช่น แยกเป็น OPD  ER

821
ในขั้นตอนการ Admit  สามารถดูในฐานข้อมูลได้หรือเปล่าครับว่า Admit จากที่ไหน
ต้องการทำรายงาน จำนวน admit แยกตามแพทย์ที่สั่ง admit  นับเป็นวันๆ โดยมีเงื่อนไขดังนี้ครับ

เวลา 08.00 - 16.00
แยกตามวัน
แยกตามแพทย์
เฉพาะที่ Admit จาก OPD เท่านั้น (ตรงนี้หาได้จากที่ไหนครับ)

select regdate,regtime,count(an) from ipt
where regdate between "2011-10-01" and "2011-10-31" and regtime between "08:00:00" and "16:00:00" and admdoctor="139"
group by regdate

822
from er_regist e
left outer join ovst o on o.vn=e.vn
where o.vstdate between "2011-09-01" and "2011-09-30"

คำถามที่ 1 ต้องการให้ ฟิล์ด vstdate - enter_er_time แล้วได้ผลต่างเป็นเวลาทำได้หรือเปล่าครับ (ทำไงครับ)
คำถามที่ 2 ฟิล์ด enter_er_time สามารถดึงออกมาเฉพาะเวลาได้หรือเปล่าครับ (ทำไงครับ)



823
3.54.10.27
รายชื่อผู้ป่วยชำระเงินไม่แสดงที่ห้องเก็บเงิน
จะต้องแก้ไขอย่างไรครับ

824
โปรแกรม OPPP error แบบนี้ทำไงครับ

825
ตรวจสอบสิทธิไม่ได้ครับ

826
EurekaLog 6.1.02

Application:
-------------------------------------------------------
  1.1 Start Date      : Mon, 31 Oct 2011 09:07:38 +0700
  1.2 Name/Description: HOSMy.exe - (BMS-HOSxP)
  1.3 Version Number  : 3.54.10.27
  1.4 Parameters      :
  1.5 Compilation Date: Thu, 27 Oct 2011 09:52:45 +0700
  1.6 Up Time         : 4 minutes, 12 seconds

Exception:
--------------------------------------------------------------
  2.1 Date          : Mon, 31 Oct 2011 09:11:50 +0700
  2.2 Address       : 0056C514
  2.3 Module Name   : HOSMy.exe - (BMS-HOSxP)
  2.4 Module Version: 3.54.10.27
  2.5 Type          : EDatabaseError
  2.6 Message       : cds: Dataset not in edit or insert mode.
  2.7 ID            : 4F3F
  2.8 Count         : 1
  2.9 Status        : New
  2.10 Note         :

User:
-------------------------------------------------------
  3.1 ID        : Administrator
  3.2 Name      : xray
  3.3 Email     :
  3.4 Company   :
  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

Computer:
--------------------------------------------------------------------------------
  5.1 Name          : X-RAY
  5.2 Total Memory  : 959 Mb
  5.3 Free Memory   : 518 Mb
  5.4 Total Disk    : 34.18 Gb
  5.5 Free Disk     : 23.79 Gb
  5.6 System Up Time: 7 minutes, 53 seconds
  5.7 Processor     : Intel(R) Celeron(R) CPU 2.66GHz
  5.8 Display Mode  : 1152 x 864, 32 bit
  5.9 Display DPI   : 96
  5.10 Video Card   : VIA/S3G UniChrome Pro IGP (driver 6.14.10.275 - RAM 64 MB)
  5.11 Printer      : Canon iP1900 series (driver 2.20.2.30)

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

Network:
---------------------------------
  7.1 IP Address: 192.168.001.089
  7.2 Submask   : 255.255.255.000
  7.3 Gateway   : 192.168.001.001
  7.4 DNS 1     : 192.168.001.001
  7.5 DNS 2     : 000.000.000.000
  7.6 DHCP      : OFF           

Custom Information:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  8.1 Hospital Code            : 10872 [รพช. เสิงสาง]
  8.2 Database Type            : MySQL
  8.3 Database Protocol        : mysql-4.1 [5.1.23-rc
                                  Database hos @ 192.168.1.234]
  8.4                          :
  8.5 No 1                     : insert into replicate_log (`event_time`,`client`,`sql`) values (current_timestamp,'X-RAY','UPDATE opitemrece SET rxtime=\'09:11:50\' WHERE hos_guid=\'{3D3648F6-26DF-4E0D-9AA7-9BEA14B48DDC}\'')
  8.6 No 2                     : UPDATE opitemrece SET rxtime='09:11:50' WHERE hos_guid='{3D3648F6-26DF-4E0D-9AA7-9BEA14B48DDC}'
  8.7 No 3                     : select * from opitemrece where hos_guid = '{3D3648F6-26DF-4E0D-9AA7-9BEA14B48DDC}'
  8.8 DBMS Variables           :
  8.9                          :
  8.10 auto_increment_increment: 1
                                 auto_increment_offset = 1
                                 autocommit = ON
                                 automatic_sp_privileges = ON
                                 back_log = 50
                                 basedir = /
                                 big_tables = OFF
                                 binlog_cache_size = 32768
                                 binlog_format = MIXED
                                 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 = 10
                                 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 = ON
                                 error_count = 0
                                 event_scheduler = OFF
                                 expire_logs_days = 0
                                 flush = OFF
                                 flush_time = 0
                                 foreign_key_checks = ON
                                 ft_boolean_syntax = + -><()~*:""&|
                                 ft_max_word_len = 84
                                 ft_min_word_len = 4
                                 ft_query_expansion_limit = 20
                                 ft_stopword_file = (built-in)
                                 general_log = OFF
                                 general_log_file = /var/lib/mysql/hosxp.log
                                 group_concat_max_len = 1024
                                 have_compress = YES
                                 have_crypt = YES
                                 have_csv = YES
                                 have_dynamic_loading = YES
                                 have_geometry = YES
                                 have_innodb = YES
                                 have_ndbcluster = NO
                                 have_openssl = NO
                                 have_partitioning = YES
                                 have_query_cache = YES
                                 have_rtree_keys = YES
                                 have_ssl = NO
                                 have_symlink = YES
                                 hostname = hosxp
                                 identity = 33234321
                                 init_connect = SET NAMES tis620
                                 init_file =
                                 init_slave =
                                 innodb_additional_mem_pool_size = 209715200
                                 innodb_autoextend_increment = 8
                                 innodb_autoinc_lock_mode = 1
                                 innodb_buffer_pool_size = 897581056
                                 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_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_rollback_on_timeout = OFF
                                 innodb_support_xa = ON
                                 innodb_sync_spin_loops = 20
                                 innodb_table_locks = ON
                                 innodb_thread_concurrency = 8
                                 innodb_thread_sleep_delay = 10000
                                 innodb_use_adaptive_hash_indexes = ON
                                 insert_id = 0
                                 interactive_timeout = 28800
                                 join_buffer_size = 131072
                                 keep_files_on_create = OFF
                                 key_buffer_size = 402653184
                                 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
                                 last_insert_id = 33234321
                                 lc_time_names = en_US
                                 license = GPL
                                 local_infile = ON
                                 locked_in_memory = OFF
                                 log = OFF
                                 log_bin = OFF
                                 log_bin_trust_function_creators = OFF
                                 log_bin_trust_routine_creators = OFF
                                 log_error = /var/lib/mysql/hosxp.err
                                 log_output = FILE
                                 log_queries_not_using_indexes = OFF
                                 log_slave_updates = OFF
                                 log_slow_queries = OFF
                                 log_warnings = 1
                                 long_query_time = 10.000000
                                 low_priority_updates = OFF
                                 lower_case_file_system = OFF
                                 lower_case_table_names = 0
                                 max_allowed_packet = 16777216
                                 max_binlog_cache_size = 4294967295
                                 max_binlog_size = 1073741824
                                 max_connect_errors = 10
                                 max_connections = 1000
                                 max_delayed_threads = 20
                                 max_error_count = 64
                                 max_heap_table_size = 16777216
                                 max_insert_delayed_threads = 20
                                 max_join_size = 18446744073709551615
                                 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
                                 min_examined_row_limit = 0
                                 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 = 276824064
                                 myisam_stats_method = nulls_unequal
                                 myisam_use_mmap = OFF
                                 ndb_autoincrement_prefetch_sz = 1
                                 ndb_cache_check_time = 0
                                 ndb_connectstring =
                                 ndb_extra_logging = 0
                                 ndb_force_send = ON
                                 ndb_index_stat_cache_entries = 32
                                 ndb_index_stat_enable = OFF
                                 ndb_index_stat_update_freq = 20
                                 ndb_report_thresh_binlog_epoch_slip = 3
                                 ndb_report_thresh_binlog_mem_usage = 10
                                 ndb_use_copying_alter_table = OFF
                                 ndb_use_exact_count = ON
                                 ndb_use_transactions = ON
                                 net_buffer_length = 16384
                                 net_read_timeout = 30
                                 net_retry_count = 10
                                 net_write_timeout = 60
                                 new = OFF
                                 old = OFF
                                 old_alter_table = OFF
                                 old_passwords = OFF
                                 open_files_limit = 5000
                                 optimizer_prune_level = 1
                                 optimizer_search_depth = 62
                                 pid_file = /var/lib/mysql/hosxp.pid
                                 plugin_dir = /usr/lib/mysql
                                 port = 3306
                                 preload_buffer_size = 32768
                                 protocol_version = 10
                                 pseudo_thread_id = 39897
                                 query_alloc_block_size = 8192
                                 query_cache_limit = 1048576
                                 query_cache_min_res_unit = 4096
                                 query_cache_size = 67108864
                                 query_cache_type = ON
                                 query_cache_wlock_invalidate = OFF
                                 query_prealloc_size = 8192
                                 rand_seed1 =
                                 rand_seed2 =
                                 range_alloc_block_size = 4096
                                 read_buffer_size = 16777216
                                 read_only = OFF
                                 read_rnd_buffer_size = 12582912
                                 relay_log =
                                 relay_log_index =
                                 relay_log_info_file = relay-log.info
                                 relay_log_purge = ON
                                 relay_log_space_limit = 0
                                 rpl_recovery_rank = 0
                                 secure_auth = OFF
                                 secure_file_priv =
                                 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
                                 slow_query_log = OFF
                                 slow_query_log_file = /var/lib/mysql/hosxp-slow.log
                                 socket = /var/lib/mysql/mysql.sock
                                 sort_buffer_size = 16777216
                                 sql_auto_is_null = ON
                                 sql_big_selects = ON
                                 sql_big_tables = OFF
                                 sql_buffer_result = OFF
                                 sql_log_bin = ON
                                 sql_log_off = OFF
                                 sql_log_update = ON
                                 sql_low_priority_updates = OFF
                                 sql_max_join_size = 18446744073709551615
                                 sql_mode =
                                 sql_notes = ON
                                 sql_quote_show_create = ON
                                 sql_safe_updates = OFF
                                 sql_select_limit = 18446744073709551615
                                 sql_slave_skip_counter =
                                 sql_warnings = OFF
                                 ssl_ca =
                                 ssl_capath =
                                 ssl_cert =
                                 ssl_cipher =
                                 ssl_key =
                                 storage_engine = MyISAM
                                 sync_binlog = 0
                                 sync_frm = ON
                                 system_time_zone = ICT
                                 table_definition_cache = 128
                                 table_lock_wait_timeout = 50
                                 table_open_cache = 556
                                 table_type = MyISAM
                                 thread_cache_size = 8
                                 thread_handling = one-thread-per-connection
                                 thread_stack = 196608
                                 time_format = %H:%i:%s
                                 time_zone = SYSTEM
                                 timed_mutexes = OFF
                                 timestamp = 1320026905
                                 tmp_table_size = 16777216
                                 tmpdir = /tmp
                                 transaction_alloc_block_size = 8192
                                 transaction_prealloc_size = 4096
                                 tx_isolation = REPEATABLE-READ
                                 unique_checks = ON
                                 updatable_views_with_limit = YES
                                 version = 5.1.23-rc
                                 version_comment = MySQL Community Server (GPL)
                                 version_compile_machine = i686
                                 version_compile_os = redhat-linux-gnu
                                 wait_timeout = 28800
                                 warning_count = 0

827
ช่วยดูคำสั่ง ผู้พิมพ์รายงานให้หน่อยครับ
ผมใช้คำสั่งนี้ใน variable แล้วทำไมไม่ออกครับ
  Value := GetSQLStringData('selete name from opduser '+
  ' where loginname="'+GetCurrentUser+'"');

828
ถ้าต้องการดึงข้อมูลโดยใช้เงื่อนไขจากฟิล์ดที่เป็น datetime (23/6/2551 16:30:15) ทำไงครับ
select * from patient_log  where log_datetime between "" and ""
 ??? ???

829
Report Exchange / ขอคำสั่งทำรายงานใน variable หน่อยครับ
« เมื่อ: ตุลาคม 28, 2011, 10:17:38 AM »
ขอคำสั่งทำรายงานใน variable หน่อยครับ
เงื่อนไขมีอยู่ว่า ถ้า DBPipeline['bloodgroup'] เป็นช่องว่าง (คือไม่ได้ใส่ กรุ๊ปเลือด) ให้แสดงคำว่าไม่ทราบ
ครับ   ;D

830
System Message
SQL Error: Duplicate entry '541021143415' for key 2
select * from opdscreen where vn = '541021143415'

จะแก้ไขอย่างไรครับ  ต้องลบ delete opdscreen where vn = '541021143415' ทิ้งหรือเปล่าครับ

831
ทำไมเมนู hosxp ไม่มีรูป  ไอคอนก็น้อยลง  ผมลบโฟล์เดอร์ แล้วลงใหม่แล้วนะครับ

832
Report Exchange / ถามเกี่ยวกับ GetPickupList
« เมื่อ: ตุลาคม 12, 2011, 15:02:09 PM »
clinic:=GetPickupList('select name from clinic order by name');

ตรงนี้แสดงรายชื่อ Clinic ให้ผู้ใช้งานเลือก แล้วถ้าต้องการค่ารหัส clinic ที่ผู้ใช้เลือกทำไงครับ

ChangeReportSQL('select o.hn,o.vstdate,o.nextdate,o.nexttime,o.nexttime_end,o.clinic,c.name,o.depcode,k.department,o.doctor,d.name,o.app_user, '
+' concat(p.addrpart," &Euml;&Aacute;&Ugrave;&egrave; ",p.moopart," ",t.full_name) as addr,o.note '
+' from oapp o '
+' left outer join vn_stat v on v.vn=o.vn '
+' left outer join thaiaddress t on t.addressid=v.aid '
+' left outer join patient p on p.hn=o.hn '
+' left outer join clinic c on c.clinic=o.clinic '
+' left outer join kskdepartment k on k.depcode=o.depcode '
+' left outer join doctor d on d.code=o.doctor '
+' where o.nextdate between "'+ds1+'" and "'+ds2+'" and  o.clinic="018" ');

833
สอบถามระบบการเชื่อมต่อข้อมูลระหว่าง PCU ต่างๆ กับ รพ.
ถ้าจะทำ DataCenter หรือ video Consult Online  มีวิธีไหนบ้าง ค่าใช้จ่ายประมาณเท่าไหรครับ
เช่น การขึ้นเสาส่งสัญญาณไร้สาย ค่าใช้จ่ายประมาณ จุดละ 5 หมื่น แล้วถ้าระบบสายละครับจะทำอย่างไร ราคาเท่าไหร่  ??? ???

834
1.อยากให้มีการบันทึก loginname ในแต่ละเรคคอร์ดยาหรืออื่น ๆ ครับ
2.แสดงชื่อผู้คีย์ในแต่ละเรคคอร์ด ครับ
จะได้ง่ายต่อการตรวจสอบ และสร้างลักษณะนิสัยให้ใช้ Login ของตัวเอง


835
จากรูปตัวเลข 55 ใช้คำสั่ง SQL ดึงได้ยังไงครับ
 ??? ???

836
1.ที่ตาราง patient มีแต่ last_update ไม่ได้แก็บ loginname ผมลองให้คำสั่ง
select k.loginname from patient p
left outer join ksklog k on k.logtime=p.last_update
where hn="000088888"

เพื่อหา loginname ปรากฏว่าใช้เวลานานนนนน...มากครับ

2.ที่ตาราง ovst ต้องการเพิ่ม Computer_name เพื่อใช้ดึงรายงานคู่กับ staff

2 ฟิล์ด ครับ  ขอขอบคุณล่วงหน้านะครับ   ;D :D ;)

837
นำยอดค้างชำระกับยอดปัจจุบันมารวมกันเพื่อออกใบเสร็จแล้ว......ดันต้องยกเลิกใบเสร็จรับเงิน
ปรากฏว่า โปรแกรมไม่ทำยอดค้างให้เป็นดังเดิมครับ (สถานะยังเป็น Y อยู่เลยครับตรงตารางที่เก็บยอดค้าง)

 ;D

838
การพิมพ์เอกสารเวชระเบียนมา Audit ตามแบบ สปสช ทำอย่างไรครับ
มี ฟอร์ม ให้ดาวน์โหลดหรือเปล่า  ;D  เห็นทางทีม Audit บอกว่าต้องมี 2 ใบ เป็นอย่างน้อย หน้าแรกจะเป็นข้อมูลทั่วไป เช่น วันที่มารักษาครั้งแรก ชื่อผู้ติดต่อ เบอร์โทร การแพ้ยา ฯลฯ  หน้า2 เป็นต้นไปเป็นรายละเอียดการรักษา 
 ;D ;D

839
ตอนลงทะเบียนส่งตรวจที่ห้องบัตรมีการเก็บชื่อเครื่องหรือเปล่าครับ
ต้องการทำรายงานจำนวนที่ห้องบัตรลงทะเบียนครับ
1.ผมลองนับตาม login name แล้ว แต่มีปัญหาว่า บางคน ทำงานทั้งห้องบัตร และหน่วยงานอื่น ๆ ก็เลยไม่สามารถระบุได้ว่าลงทะเบียนจากห้องไหน (แก้ไขปัญหาเฉพาะหน้าด้วยการสร้าง login ที่ห้องบัตรเพิ่ม)
2.ถ้ามีการเก็บชื่อเครื่องคอมพ์ที่ลงทะเบียนด้วยก็จะง่ายครับ

 ;D

840
อยากให้มีการบันทึกผู้ที่รับใบ Lab ด้วยครับ และให้แสดงตรงใกล้ผู้รายงาน หรือผู้ตรวจสอบ (ห้อง Lab ฝากขอมาครับ)

841
ฟิล์ด inc01-inc17 ในตาราง an_stat เก็บค่าอะไรบ้าง  ดูได้จากตารางไหน หรือที่ไหนครับ   ;D

842
Report Exchange / ตาราง an_stat กับ ipt ต่างกันอย่างไรครับ
« เมื่อ: กันยายน 12, 2011, 10:17:27 AM »
1.ตาราง an_stat กับ ipt ต่างกันอย่างไรครับ
2.ตาราง ovst ใช้เก็บอะไรครับ เก็บทั้ง ipd opd เลยใช้หรือเปล่าครับ
 ;D

843
ส่งออก 18 แฟ้ม สอ.แล้ว Error ครับ
ตาราง provis_diag ทำหน้าที่อะไรครับ
Select count(*) as cc from provis_diag where provis_diag_id = 40756 แล้วเท่ากับ 0 

EurekaLog 6.0.25
Application:
-------------------------------------------------------
  1.1 Start Date      : Mon, 29 Aug 2011 11:43:25 +0700
  1.2 Name/Description: HOSMy.exe
  1.3 Version Number  : 3.53.11.30
  1.4 Parameters      :
  1.5 Compilation Date: Tue, 30 Nov 2010 19:31:37 +0700
  1.6 Up Time         : 5 minutes, 22 seconds

Exception:
--------------------------------------------------------------------------------------
  2.1 Date          : Mon, 29 Aug 2011 11:48:48 +0700
  2.2 Address       : 00FBDB97
  2.3 Module Name   : HOSMy.exe
  2.4 Module Version: 3.53.11.30
  2.5 Type          : EZDatabaseError
  2.6 Message       : SQL Error: Duplicate entry '255407-015980-218205-Z30' for key 2.

  2.7 ID            : 9BA4
  2.8 Count         : 1
  2.9 Status        : New
  2.10 Note         :

User:
-------------------------------------------------------
  3.1 ID        : SPT
  3.2 Name      : PCU
  3.3 Email     :
  3.4 Company   :
  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   : TPCUExport18FileProvis2554Form
  4.2 Form Text    : ส่งออกข้อมูล PCU 18 แฟ้ม มาตรฐาน
  4.3 Control Class: TJvDirectoryEdit
  4.4 Control Text :

Computer:
----------------------------------------------------------------------------------
  5.1 Name          : SPT1
  5.2 Total Memory  : 1015 Mb
  5.3 Free Memory   : 350 Mb
  5.4 Total Disk    : 35.16 Gb
  5.5 Free Disk     : 4.76 Gb
  5.6 System Up Time: 3 hours, 52 minutes, 28 seconds
  5.7 Processor     : Intel(R) Core(TM)2 CPU          4400  @ 2.00GHz
  5.8 Display Mode  : 1024 x 768, 32 bit
  5.9 Display DPI   : 96
  5.10 Video Card   : Intel(R) 82945G Express Chipset Family (driver 6.14.10.4704)
  5.11 Printer      : Canon LBP2900 (driver 3.00)

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

Network:
---------------------------------------------------
  7.1 IP Address: 192.168.000.001 - 010.136.150.219
  7.2 Submask   : 255.255.255.000 - 255.255.255.255
  7.3 Gateway   : 000.000.000.000 - 010.136.150.219
  7.4 DNS 1     : 000.000.000.000 - 061.019.245.245
  7.5 DNS 2     : 000.000.000.000 - 061.019.245.246
  7.6 DHCP      : OFF             - OFF           

Custom Information:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  8.1 Hospital Code            : 99892 [ศสช. สระประทีป]
  8.2 Database Type            : MySQL
  8.3 Database Protocol        : mysql-4.1 [5.0.77-log
                                  Database hos @ 192.168.0.111]
  8.4                          :
  8.5 No 1                     : INSERT INTO provis_diag (provis_diag_id,export_month,pid,seq,date_serv,diagtype,diagcode,hos_guid,d_update,clinic) VALUES (40756,'255407','015980','218205','20110704','1','Z30',NULL,'20110730083024','00000')
  8.6 No 2                     : select count(*) as cc from provis_diag where provis_diag_id = 40756

  8.7 No 3                     : UNLOCK TABLES
  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 = 8384512
                                 bdb_home = /var/lib/mysql/
                                 bdb_log_buffer_size = 262144
                                 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 = 10
                                 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
                                 keep_files_on_create = OFF
                                 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_dynamic_loading = YES
                                 have_example_engine = NO
                                 have_federated_engine = NO
                                 have_geometry = YES
                                 have_innodb = YES
                                 have_isam = NO
                                 have_merge_engine = YES
                                 have_ndbcluster = NO
                                 have_openssl = DISABLED
                                 have_ssl = DISABLED
                                 have_query_cache = YES
                                 have_raid = NO
                                 have_rtree_keys = YES
                                 have_symlink = YES
                                 hostname = hosxp.ss-hospital.go.th
                                 init_connect = SET NAMES tis620
                                 init_file =
                                 init_slave =
                                 innodb_additional_mem_pool_size = 1048576
                                 innodb_autoextend_increment = 8
                                 innodb_buffer_pool_awe_mem_mb = 0
                                 innodb_buffer_pool_size = 8388608
                                 innodb_checksums = ON
                                 innodb_commit_concurrency = 0
                                 innodb_concurrency_tickets = 500
                                 innodb_data_file_path = ibdata1:10M:autoextend
                                 innodb_data_home_dir =
                                 innodb_adaptive_hash_index = ON
                                 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 =
                                 innodb_log_archive = OFF
                                 innodb_log_buffer_size = 1048576
                                 innodb_log_file_size = 5242880
                                 innodb_log_files_in_group = 2
                                 innodb_log_group_home_dir = ./
                                 innodb_max_dirty_pages_pct = 90
                                 innodb_max_purge_lag = 0
                                 innodb_mirrored_log_groups = 1
                                 innodb_open_files = 300
                                 innodb_rollback_on_timeout = OFF
                                 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 = 402653184
                                 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
                                 lc_time_names = en_US
                                 license = GPL
                                 local_infile = ON
                                 locked_in_memory = OFF
                                 log = OFF
                                 log_bin = ON
                                 log_bin_trust_function_creators = OFF
                                 log_error =
                                 log_queries_not_using_indexes = OFF
                                 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 = 16777216
                                 max_binlog_cache_size = 18446744073709547520
                                 max_binlog_size = 1073741824
                                 max_connect_errors = 10
                                 max_connections = 1000
                                 max_delayed_threads = 20
                                 max_error_count = 64
                                 max_heap_table_size = 16777216
                                 max_insert_delayed_threads = 20
                                 max_join_size = 18446744073709551615
                                 max_length_for_sort_data = 1024
                                 max_prepared_stmt_count = 16382
                                 max_relay_log_size = 0
                                 max_seeks_for_key = 18446744073709551615
                                 max_sort_length = 1024
                                 max_sp_recursion_depth = 0
                                 max_tmp_tables = 32
                                 max_user_connections = 0
                                 max_write_lock_count = 18446744073709551615
                                 multi_range_count = 256
                                 myisam_data_pointer_size = 6
                                 myisam_max_sort_file_size = 9223372036853727232
                                 myisam_recover_options = OFF
                                 myisam_repair_threads = 1
                                 myisam_sort_buffer_size = 276824064
                                 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 = 5000
                                 optimizer_prune_level = 1
                                 optimizer_search_depth = 62
                                 pid_file = /var/run/mysqld/mysqld.pid
                                 plugin_dir =
                                 port = 3306
                                 preload_buffer_size = 32768
                                 profiling = OFF
                                 profiling_history_size = 15
                                 protocol_version = 10
                                 query_alloc_block_size = 8192
                                 query_cache_limit = 1048576
                                 query_cache_min_res_unit = 4096
                                 query_cache_size = 67108864
                                 query_cache_type = ON
                                 query_cache_wlock_invalidate = OFF
                                 query_prealloc_size = 8192
                                 range_alloc_block_size = 4096
                                 read_buffer_size = 16777216
                                 read_only = OFF
                                 read_rnd_buffer_size = 12582912
                                 relay_log =
                                 relay_log_index =
                                 relay_log_info_file = relay-log.info
                                 relay_log_purge = ON
                                 relay_log_space_limit = 0
                                 rpl_recovery_rank = 0
                                 secure_auth = OFF
                                 secure_file_priv =
                                 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 = 16777216
                                 sql_big_selects = ON
                                 sql_mode =
                                 sql_notes = ON
                                 sql_warnings = OFF
                                 ssl_ca =
                                 ssl_capath =
                                 ssl_cert =
                                 ssl_cipher =
                                 ssl_key =
                                 storage_engine = MyISAM
                                 sync_binlog = 0
                                 sync_frm = ON
                                 system_time_zone = ICT
                                 table_cache = 556
                                 table_lock_wait_timeout = 50
                                 table_type = MyISAM
                                 thread_cache_size = 8
                                 thread_stack = 262144
                                 time_format = %H:%i:%s
                                 time_zone = SYSTEM
                                 timed_mutexes = OFF
                                 tmp_table_size = 33554432
                                 tmpdir = /tmp/
                                 transaction_alloc_block_size = 8192
                                 transaction_prealloc_size = 4096
                                 tx_isolation = REPEATABLE-READ
                                 updatable_views_with_limit = YES
                                 version = 5.0.77-log
                                 version_bdb = Sleepycat Software:_Berkeley DB 4.1.24:_(January 29, 2009)
                                 version_comment = Source distribution
                                 version_compile_machine = x86_64
                                 version_compile_os = redhat-linux-gnu
                                 wait_timeout = 28800


844
หน้ารายละเอียดที่ห้องเก็บเงินชนิดรายการเป็นค้างชำระหมด
สอบถามว่า การที่ชนิดรายการเป็นค้างชำระ ทั้งหมดได้ในกรณีไหนบ้าง

ปล.จนท.ห้องเก็บเงิน ยกเลิกค้างชำระ และยกเลิกใบเสร็จแล้ว

845
หาจำนวน ผู้ป่วย MI New Case ต่อ เดือน ทำไงครับ

846
ดู code รายงาน 10 อันดับโรคที่ ER ให้หน่อยครับ
หาแบบนี้ถูกหรือเปล่าครับ หรือต้องหาที่ตาราง er_regist

select count(vn.pdx) as pdxx  ,count(distinct (vn.hn)) as sp1,vn.pdx,icd.name
from ovst ovst
left outer join vn_stat vn on vn.vn=ovst.vn
left outer join patient pt on pt.hn=vn.hn
left outer join icd101 icd on icd.code=vn.pdx
where  vn.vstdate between "2008-09-01" and  "2008-09-30" and vn.pdx  is not null and vn.pdx<>""
and ovst.main_dep="009"
group by vn.pdx
order by sp1   desc
limit 10

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

848
นอกเรื่อง / download DSHOSxP Full Setup ได้ที่ไหนครับ
« เมื่อ: สิงหาคม 25, 2011, 11:10:17 AM »
download DSHOSxP Full Setup ได้ที่ไหนครับ   ;D

849
where vstdate between "'+formatdatetime('yyyy-mm-dd',rxdate1)+'" and "'+formatdatetime('yyyy-mm-dd',rxdate2)+'"
ค่าตรงนี้จะทราบได้อย่างไรว่าจะเป็นตัวไหน ขอคำชี้แนะวิธีการดูด้วยครับเพราะรายงานแต่ละตัวกำหนดตัวแปรไม่เหมือนกัน
ผมแนบไฟล์มาให้ช่วยดูด้วยครับตรง Variable2

850
Error  Key Violation คืออะไรครับ ตรงบัญชี 3              V.3.54.6.1b

หน้า: 1 ... 15 16 [17] 18 19 ... 23