- รายละเอียด
- เขียนโดย Super User
- หมวด: แฟ้มบริการ
- ฮิต: 41
|
- รายละเอียด
- เขียนโดย Super User
- หมวด: แฟ้มบริการ
- ฮิต: 866
/*Sealant */
insert ignore into `icd10tm_operation` (`icd10tm_operation_code`, `description_english`, `description_thai`, `hos_guid`, `hos_guid_ext`) VALUES ('238703A', 'Sealant per tooth 16 -permanent', 'เคลือบหลุมร่องฟันแท้ ฟันซี่ 16', NULL, NULL);
insert ignore into `icd10tm_operation` (`icd10tm_operation_code`, `description_english`, `description_thai`, `hos_guid`, `hos_guid_ext`) VALUES ('238703B', 'Sealant per tooth 17-permanent', 'เคลือบหลุมร่องฟันแท้ ฟันซี่ 17 ', NULL, NULL);
insert ignore into `icd10tm_operation` (`icd10tm_operation_code`, `description_english`, `description_thai`, `hos_guid`, `hos_guid_ext`) VALUES ('238703C', 'Sealant per tooth 26-permanent', 'เคลือบหลุมร่องฟันแท้ ฟันซี่ 26 ', NULL, NULL);
insert ignore into `icd10tm_operation` (`icd10tm_operation_code`, `description_english`, `description_thai`, `hos_guid`, `hos_guid_ext`) VALUES ('238703D', 'Sealant per tooth 27-permanent', 'เคลือบหลุมร่องฟันแท้ ฟันซี่ 27 ', NULL, NULL);
insert ignore into `icd10tm_operation` (`icd10tm_operation_code`, `description_english`, `description_thai`, `hos_guid`, `hos_guid_ext`) VALUES ('238703E', 'Sealant per tooth 36-permanent', 'เคลือบหลุมร่องฟันแท้ ฟันซี่ 36 ', NULL, NULL);
insert ignore into `icd10tm_operation` (`icd10tm_operation_code`, `description_english`, `description_thai`, `hos_guid`, `hos_guid_ext`) VALUES ('238703F', 'Sealant per tooth 37-permanent', 'เคลือบหลุมร่องฟันแท้ ฟันซี่ 37 ', NULL, NULL);
insert ignore into `icd10tm_operation` (`icd10tm_operation_code`, `description_english`, `description_thai`, `hos_guid`, `hos_guid_ext`) VALUES ('238703G', 'Sealant per tooth 46-permanent', 'เคลือบหลุมร่องฟันแท้ ฟันซี่ 46 ', NULL, NULL);
insert ignore into `icd10tm_operation` (`icd10tm_operation_code`, `description_english`, `description_thai`, `hos_guid`, `hos_guid_ext`) VALUES ('238703H', 'Sealant per tooth 47-permanent', 'เคลือบหลุมร่องฟันแท้ ฟันซี่ 47 ', NULL, NULL);
/*
dttm_sealant
*/
delete from dttm WHERE icd10tm_operation_code = '238703A';
SET @c = (select lpad(MAX(CODE)+1,6,'0') FROM dttm) ;
insert ignore into dttm (code,name,requiredtc,vorder,treatment,icd10,icd9cm,icode,opd_price1,opd_price2,opd_price3,ipd_price1,ipd_price2,ipd_price3,dttm_group_id,unit,charge_per_qty,active_status,dttm_guid,thai_name,charge_area_qty,dttm_subgroup_id,icd10tm_operation_code,dttm_dw_report_group_id,export_proced,dent2006_item_code,hos_guid)
VALUES (@c,'เคลือบหลุมร่องฟันแท้ ฟันซี่ 16', NULL, NULL,'N','', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,310, NULL, NULL,'Y', NULL, NULL, NULL, NULL,'238703A',6, NULL, NULL, NULL);
delete from dttm WHERE icd10tm_operation_code = '238703B';
SET @d = (select lpad(MAX(CODE)+2,6,'0') FROM dttm) ;
insert ignore into dttm (code,name,requiredtc,vorder,treatment,icd10,icd9cm,icode,opd_price1,opd_price2,opd_price3,ipd_price1,ipd_price2,ipd_price3,dttm_group_id,unit,charge_per_qty,active_status,dttm_guid,thai_name,charge_area_qty,dttm_subgroup_id,icd10tm_operation_code,dttm_dw_report_group_id,export_proced,dent2006_item_code,hos_guid)
VALUES (@d,'เคลือบหลุมร่องฟันแท้ ฟันซี่ 17', NULL, NULL,'N','', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,310, NULL, NULL,'Y', NULL, NULL, NULL, NULL,'238703B',6, NULL, NULL, NULL);
delete from dttm WHERE icd10tm_operation_code = '238703C';
SET @e = (select lpad(MAX(CODE)+3,6,'0') FROM dttm );
insert ignore into dttm (code,name,requiredtc,vorder,treatment,icd10,icd9cm,icode,opd_price1,opd_price2,opd_price3,ipd_price1,ipd_price2,ipd_price3,dttm_group_id,unit,charge_per_qty,active_status,dttm_guid,thai_name,charge_area_qty,dttm_subgroup_id,icd10tm_operation_code,dttm_dw_report_group_id,export_proced,dent2006_item_code,hos_guid)
VALUES (@e,'เคลือบหลุมร่องฟันแท้ ฟันซี่ 26 ', NULL, NULL,'N','', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,310, NULL, NULL,'Y', NULL, NULL, NULL, NULL,'238703C',6, NULL, NULL, NULL);
delete from dttm WHERE icd10tm_operation_code = '238703D';
SET @f = (select lpad(MAX(CODE)+4,6,'0') FROM dttm) ;
insert ignore into dttm (code,name,requiredtc,vorder,treatment,icd10,icd9cm,icode,opd_price1,opd_price2,opd_price3,ipd_price1,ipd_price2,ipd_price3,dttm_group_id,unit,charge_per_qty,active_status,dttm_guid,thai_name,charge_area_qty,dttm_subgroup_id,icd10tm_operation_code,dttm_dw_report_group_id,export_proced,dent2006_item_code,hos_guid)
VALUES (@f,'เคลือบหลุมร่องฟันแท้ ฟันซี่ 27 ', NULL, NULL,'N','', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,310, NULL, NULL,'Y', NULL, NULL, NULL, NULL,'238703D',6, NULL, NULL, NULL);
delete from dttm WHERE icd10tm_operation_code = '238703E';
SET @g = (select lpad(MAX(CODE)+5,6,'0') FROM dttm );
insert ignore into dttm (code,name,requiredtc,vorder,treatment,icd10,icd9cm,icode,opd_price1,opd_price2,opd_price3,ipd_price1,ipd_price2,ipd_price3,dttm_group_id,unit,charge_per_qty,active_status,dttm_guid,thai_name,charge_area_qty,dttm_subgroup_id,icd10tm_operation_code,dttm_dw_report_group_id,export_proced,dent2006_item_code,hos_guid)
VALUES (@g,'เคลือบหลุมร่องฟันแท้ ฟันซี่ 36 ', NULL, NULL,'N','', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,310, NULL, NULL,'Y', NULL, NULL, NULL, NULL,'238703E',6, NULL, NULL, NULL);
delete from dttm WHERE icd10tm_operation_code = '238703F';
SET @h = (select lpad(MAX(CODE)+6,6,'0') FROM dttm) ;
insert ignore into dttm (code,name,requiredtc,vorder,treatment,icd10,icd9cm,icode,opd_price1,opd_price2,opd_price3,ipd_price1,ipd_price2,ipd_price3,dttm_group_id,unit,charge_per_qty,active_status,dttm_guid,thai_name,charge_area_qty,dttm_subgroup_id,icd10tm_operation_code,dttm_dw_report_group_id,export_proced,dent2006_item_code,hos_guid)
VALUES (@h,'เคลือบหลุมร่องฟันแท้ ฟันซี่ 37 ', NULL, NULL,'N','', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,310, NULL, NULL,'Y', NULL, NULL, NULL, NULL,'238703F',6, NULL, NULL, NULL);
delete from dttm WHERE icd10tm_operation_code = '238703G';
SET @j = (select lpad(MAX(CODE)+7,6,'0') FROM dttm) ;
insert ignore into dttm (code,name,requiredtc,vorder,treatment,icd10,icd9cm,icode,opd_price1,opd_price2,opd_price3,ipd_price1,ipd_price2,ipd_price3,dttm_group_id,unit,charge_per_qty,active_status,dttm_guid,thai_name,charge_area_qty,dttm_subgroup_id,icd10tm_operation_code,dttm_dw_report_group_id,export_proced,dent2006_item_code,hos_guid)
VALUES (@j,'เคลือบหลุมร่องฟันแท้ ฟันซี่ 46 ', NULL, NULL,'N','', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,310, NULL, NULL,'Y', NULL, NULL, NULL, NULL,'238703G',6, NULL, NULL, NULL);
delete from dttm WHERE icd10tm_operation_code = '238703H';
SET @k = (select lpad(MAX(CODE)+8,6,'0') FROM dttm) ;
insert ignore into dttm (code,name,requiredtc,vorder,treatment,icd10,icd9cm,icode,opd_price1,opd_price2,opd_price3,ipd_price1,ipd_price2,ipd_price3,dttm_group_id,unit,charge_per_qty,active_status,dttm_guid,thai_name,charge_area_qty,dttm_subgroup_id,icd10tm_operation_code,dttm_dw_report_group_id,export_proced,dent2006_item_code,hos_guid)
VALUES (@k,'เคลือบหลุมร่องฟันแท้ ฟันซี่ 47 ', NULL, NULL,'N','', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,310, NULL, NULL,'Y', NULL, NULL, NULL, NULL,'238703H',6, NULL, NULL, NULL);
#-------------------------
- รายละเอียด
- เขียนโดย Super User
- หมวด: แฟ้มบริการ
- ฮิต: 2093
การคัดกรองการสูบบุหรี่
กรณีให้บริการ specialpp เพียงอย่างเดียว โดยผู้รับบริการ มิได้เจ็บป่วย หรือมิได้มีการรับบริการอื่น
ใดอีกในครั้งนี้
..ไม่ต้องให้รหัสวินิจฉัย ใดๆ ทั้งสิ้น (เป็น service โดยไม่มี diagnosis_opd)
..ทั้งรหัส F,Z และที่ไม่ใช่ Z
กรณีมีการให้บริการ specialpp และมีการมีการให้บริการอื่นๆร่วมด้วย
เช่น มีการป่วยจริง หรือมี บริการงานส่งเสริมอื่น
ก็สามารถให้รหัสที่เป็นการป่วย หรือรหัส Z ส าหรับงานส่งเสริมป้องกันโรคร่วมด้วยได้
- รายละเอียด
- เขียนโดย Super User
- หมวด: แฟ้มบริการ
- ฮิต: 2099
โครงสร้างมาตรฐานรหัสยา 24 หลัก
1 ประเภทของยา | |||||
3-11 ชื่อยา ตัวยาสำคัญ(9หลัก) | |||||
17-19 รูปแบบยา | |||||
4 | 0 | 888888888 | 0000 | 203 | 81506 |
12-16 ความแรง | 20-24 ผู้ผลิต | ||||
2 ตัวยาสำคัญ ประเภทตำหรับ | |||||
- รายละเอียด
- เขียนโดย Super User
- หมวด: แฟ้มบริการ
- ฮิต: 2256
/*insert dental_care_type*/ /*!40101 SET NAMES utf8 */; DROP TABLE dental_care_type; CREATE TABLE `dental_care_type` ( `dental_care_type_id` INT (11), `dental_care_type_name` VARCHAR (600), `hos_guid` CHAR (114) ); INSERT INTO `dental_care_type` (`dental_care_type_id`, `dental_care_type_name`, `hos_guid`) VALUES('1','หญิงตั้งครรภ์',NULL); INSERT INTO `dental_care_type` (`dental_care_type_id`, `dental_care_type_name`, `hos_guid`) VALUES('2','เด็กก่อนวัยเรียน',NULL); INSERT INTO `dental_care_type` (`dental_care_type_id`, `dental_care_type_name`, `hos_guid`) VALUES('3','เด็กวัยเรียน',NULL); INSERT INTO `dental_care_type` (`dental_care_type_id`, `dental_care_type_name`, `hos_guid`) VALUES('4','ผู้สูงอายุ',NULL); INSERT INTO `dental_care_type` (`dental_care_type_id`, `dental_care_type_name`, `hos_guid`) VALUES('5','กลุ่มอื่นๆ',NULL); SELECT * FROM dental_care_type; |