在此网页上:http://www.wpc-edi.com/reference/codelists/healthcare/remittance-advice-remark-codes/
我想获取每个标题和描述并将它们转换为插入语句。所以对于前3:
他们是
M2 |当患者是住院病人时,不单独支付。
M3 |设备与已使用的设备相同或相似。
并将其转换为
INSERT INTO CODE(CODE, DESCRIPTION, TYPE_CODE) VALUES ("M1", "X-ray not taken within the past 12 months or near enough to the
start of treatment.", SELECT ID from CODE where CODE_KEY = "RARC");
INSERT INTO CODE(CODE, DESCRIPTION, TYPE_CODE) VALUES ("M2", "Not paid separately when the patient is an inpatient.", SELECT ID from CODE where CODE_KEY = "RARC");
INSERT INTO CODE(CODE, DESCRIPTION, TYPE_CODE) VALUES ("M3", " Equipment is the same or similar to equipment already being used.", SELECT ID from CODE where CODE_KEY = "RARC");
有一种简单的方法吗?也许在Javascript?因为现在我只是将这些值复制粘贴到我的插入语句中。