亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? project.clp

?? 一個有關專家系統的CLISP 源代碼
?? CLP
?? 第 1 頁 / 共 3 頁
字號:


; check for availability of ldl after reaching box t1
(defrule check-ldl-at-t1 "Check for ldl"
  ?f1 <- (patient2 (ldl ?ldl)
		   (done ?done)
		   (state ?state)
		   (name ?name))
  (test (= ?ldl -1))  ; see other rules with ldl > 0
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?state t1)))
  =>
  (printout t crlf 
	    "Please input patient " ?name "'s ldl value [-1 if no value]"crlf)
  (bind ?answer (read))
  (if (and (numberp ?answer) (> ?answer 0)) then
	  (modify ?f1 (ldl ?answer)) ; do not modify state here
   else
        (printout t crlf
		 "-------------------------------------------------------"crlf)
	(printout t "Please obtain ldl test on" ?name crlf)
	(printout t
		 "-------------------------------------------------------"crlf)
	(modify ?f1 (done yes))))

; rule to check the age of the ldl value
; for treated patient must be after treatment
(defrule check-treat-ldl-date "after treatment begins"
  ?f1 <- (patient2 (name ?name) (ldl-date ?ldl-date) 
		   (treatment-date ?treatment-date)
		   (done ?done) (state ?state))
  (test (<  ?ldl-date ?treatment-date)) 
  (test (= 0 (str-compare ?done no)))
=>
  (printout t "-------------------------------------------------------"crlf)
  (printout t "| Last ldl value for " ?name 
	    " is before the latest treatment." crlf)
  (printout t "| Please obtain a value on treatment." crlf)
  (printout t "-------------------------------------------------------"crlf)
  (modify ?f1 (done yes)))


; Rule for box t4 chd low risk
(defrule ruleT4 "no chd low risk"
  ?f1 <- (patient2 (name ?name) (done ?done) (risk ?risk)
		   (state ?state) (chd ?chd))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?chd no)))
  (test (= 0 (str-compare ?state t1))) ; state
  (test (< ?risk 2))
  =>
  (modify ?f1 (state t4)))

; Rule for box t5 chd high risk
(defrule ruleT5 "no chd high risk"
  ?f1 <- (patient2 (name ?name) (done ?done) (risk ?risk)
		   (state ?state) (chd ?chd))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?chd no)))
  (test (= 0 (str-compare ?state t1))) ; state
  (test (>= ?risk 2))
  =>
  (modify ?f1 (state t5)))


; Rule for box t6 chd high risk
(defrule ruleT6 "no chd high risk"
  ?f1 <- (patient2 (name ?name) (done ?done)
		   (state ?state) (chd ?chd))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?chd yes)))
  (test (= 0 (str-compare ?state t1))) ; state
  =>
  (modify ?f1 (state t6)))



; Rule for box t4 responding
(defrule ruleT4good "responding"
  ?f1 <- (patient2 (name ?name) (done ?done) (ldl ?ldl)
		   (state ?state) (treatment ?treatment))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?state t4))) ; state
  (test (< ?ldl 160))
  =>
  (printout t crlf)
  (printout t "Patient " ?name " is responding well to "
	    ?treatment " therapy"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (printout t "| The LDL of "?ldl" is below the goal of 160 mg/dl"crlf)
  (printout t "| Continue the current therapy                        |"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (modify ?f1 (done yes) (state tgood)))

; Rule for box t4 not responding
(defrule ruleT4bad "not responding"
  ?f1 <- (patient2 (name ?name) (done ?done) (ldl ?ldl)
		   (state ?state) (treatment ?treatment))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?state t4))) ; state
  (test (> ?ldl 160))
  =>
  (printout t crlf)
  (printout t "Patient " ?name " is not responding well to " 
	    ?treatment " therapy" crlf)
  (printout t "-------------------------------------------------------"crlf)
  (printout t "| The LDL of "?ldl" is above the goal of 160 mg/dl"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (modify ?f1  (state tbad)))


; Rule for box t5 responding
(defrule ruleT5good "responding"
  ?f1 <- (patient2 (name ?name) (done ?done) (ldl ?ldl)
		   (state ?state) (treatment ?treatment))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?state t5))) ; state
  (test (< ?ldl 130))
  =>
  (printout t crlf)
  (printout t "Patient " ?name " is responding well to " 
	    ?treatment " therapy" crlf)
  (printout t "-------------------------------------------------------"crlf)
  (printout t "| The LDL of "?ldl" is below the goal of 130 mg/dl"crlf)
  (printout t "| Continue the current therapy                        |"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (modify ?f1 (done yes) (state tgood)))

; Rule for box t5 not responding
(defrule ruleT5bad "not responding"
  ?f1 <- (patient2 (name ?name) (done ?done) (ldl ?ldl)
		   (state ?state) (treatment ?treatment))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?state t5))) ; state
  (test (> ?ldl 130))
  =>
  (printout t crlf)
  (printout t "Patient " ?name " is not responding well to "
	    ?treatment " therapy"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (printout t "| The LDL of "?ldl" is above the goal of 130 mg/dl"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (modify ?f1  (state tbad)))


; Rule for box t6 responding
(defrule ruleT6good "responding"
  ?f1 <- (patient2 (name ?name) (done ?done) (ldl ?ldl)
		   (state ?state) (treatment ?treatment))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?state t6))) ; state
  (test (< ?ldl 100))
  =>
  (printout t crlf)
  (printout t "Patient " ?name " is responding well to "
	    ?treatment " therapy"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (printout t "| The LDL of "?ldl" is below the goal of 100 mg/dl"crlf)
  (printout t "| Continue the current therapy                        |"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (modify ?f1 (done yes) (state tgood)))

; Rule for box t6 not responding
(defrule ruleT6bad "not responding"
  ?f1 <- (patient2 (name ?name) (done ?done) (ldl ?ldl)
		   (state ?state) (treatment ?treatment))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?state t6))) ; state
  (test (> ?ldl 100))
  =>
  (printout t crlf)
  (printout t "Patient " ?name " is not responding well to "
	    ?treatment " therapy"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (printout t "| The LDL of "?ldl" is above the goal of 100 mg/dl"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (modify ?f1  (state tbad)))


; Rule for early non responders
(defrule ruleTbadearly "not responding"
  ?f1 <- (patient2 (name ?name) (done ?done) (treatment-date ?treatment-date)
		   (state ?state))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?state tbad))) ; state
  (test (not (six-months ?treatment-date)))
  =>
  (printout t "| Patient has been on treatment for less than 6 months|"crlf)
  (printout t "| Continue treatment for 6 months before evaluating   |"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (modify ?f1  (done yes)(state tz)))

; Rule for late nonresponders to diet
(defrule ruleTbaddiet1 "no chd low risk"
  ?f1 <- (patient2 (name ?name) (done ?done) (ldl ?ldl) (chd ?chd)
		   (treatment ?treatment) (treatment-date ?treatment-date)
		   (risk ?risk) (state ?state))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?state tbad))) ; state
  (test (= 0 (str-compare ?chd no)))
  (test (= 0 (str-compare ?treatment diet)))
  (test (six-months ?treatment-date))
  (test (< ?risk 2))
  (test (< ?ldl 190))
  =>
  (printout t "| Although patient has not responded to diet,         |"crlf)
  (printout t "| the LDL is not high enough to justify drug therapy. |"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (modify ?f1  (done yes)(state tz)))

; Rule for late nonresponders to diet
(defrule ruleTbaddiet2 "no chd high risk"
  ?f1 <- (patient2 (name ?name) (done ?done) (ldl ?ldl) (chd ?chd)
		   (treatment ?treatment) (treatment-date ?treatment-date)
		   (risk ?risk) (state ?state))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?state tbad))) ; state
  (test (= 0 (str-compare ?chd no)))
  (test (= 0 (str-compare ?treatment diet)))
  (test (six-months ?treatment-date))
  (test (>= ?risk 2))
  (test (< ?ldl 160))
  =>
  (printout t "| Although patient has not responded to diet,         |"crlf)
  (printout t "| the LDL is not high enough to justify drug therapy. |"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (modify ?f1  (done yes)(state tz)))

; Rule for late nonresponders to diet
(defrule ruleTbaddiet3 "with chd"
  ?f1 <- (patient2 (name ?name) (done ?done) (ldl ?ldl) (chd ?chd)
		   (treatment ?treatment) (treatment-date ?treatment-date)
		   (state ?state))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?state tbad))) ; state
  (test (= 0 (str-compare ?chd yes)))
  (test (= 0 (str-compare ?treatment diet)))
  (test (six-months ?treatment-date))
  (test (< ?ldl 130))
  =>
  (printout t "| Although patient has not responded to diet,         |"crlf)
  (printout t "| the LDL is not high enough to justify drug therapy. |"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (modify ?f1  (done yes)(state tz)))

; Rule for late nonresponders to diet who are drug candidates
(defrule ruleTbaddiet4 "candidates for drug therapy"
  ?f1 <- (patient2 (name ?name) (done ?done) 
		   (treatment ?treatment) (treatment-date ?treatment-date)
		   (state ?state))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?state tbad))) ; state
  (test (= 0 (str-compare ?treatment diet)))
  (test (six-months ?treatment-date))
  =>
  (printout t "| Consider advancing to drug therapy.                 |"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (modify ?f1  (done yes)(state tz)))


; Rule for late nonresponders to drug therapy
(defrule ruleTbaddrug "candidates for drug therapy"
  ?f1 <- (patient2 (name ?name) (done ?done) 
		   (treatment ?treatment) (treatment-date ?treatment-date)
		   (state ?state))
  (test (= 0 (str-compare ?done no)))
  (test (= 0 (str-compare ?state tbad))) ; state
  (test (= 0 (str-compare ?treatment drug)))
  (test (six-months ?treatment-date))
  =>
  (printout t "| Consider advancing therapy.                         |"crlf)
  (printout t "-------------------------------------------------------"crlf)
  (modify ?f1  (done yes)(state tz)))

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
zzijzzij亚洲日本少妇熟睡| 成人一道本在线| 国产资源精品在线观看| 91亚洲精华国产精华精华液| 欧美精品1区2区3区| ...中文天堂在线一区| 青青草国产成人99久久| 99久免费精品视频在线观看| 日韩一区二区中文字幕| 亚洲三级理论片| 国产精品自拍毛片| 欧美二区乱c少妇| 一区二区三区中文字幕电影| 国产精品自在在线| 日韩欧美国产麻豆| 日韩国产成人精品| 欧美色视频一区| 亚洲欧美激情一区二区| 国产精品 日产精品 欧美精品| 日韩欧美国产成人一区二区| 7777精品伊人久久久大香线蕉完整版| 亚洲人成精品久久久久久| 91在线视频观看| 91精品国产欧美一区二区成人| 欧美色偷偷大香| 偷窥少妇高潮呻吟av久久免费| 懂色av中文字幕一区二区三区 | 成人永久aaa| 3d动漫精品啪啪| 亚洲va韩国va欧美va| av动漫一区二区| 国产精品丝袜在线| 成人性生交大片| 国产精品久久久久9999吃药| 国产成人在线影院| 国产成人综合精品三级| 日本高清不卡一区| 久久久久久电影| 国内精品伊人久久久久av影院 | 不卡av电影在线播放| 久久久青草青青国产亚洲免观| 黄网站免费久久| 国产视频一区在线播放| 粉嫩蜜臀av国产精品网站| 久久久久久影视| jlzzjlzz亚洲女人18| 国产精品久久久久久久岛一牛影视 | 成人黄色777网| 中文一区在线播放| 91蝌蚪porny| 午夜成人免费电影| 成人免费va视频| 亚洲卡通欧美制服中文| 91丝袜呻吟高潮美腿白嫩在线观看| 欧美成人猛片aaaaaaa| 国产美女久久久久| 国产精品国产成人国产三级| 色综合天天性综合| 视频一区中文字幕| 久久久精品2019中文字幕之3| 成人一区在线观看| 亚洲成在人线在线播放| 精品国产乱码久久久久久浪潮| 国产成人自拍在线| 亚洲一区二区中文在线| 日韩久久精品一区| 91一区二区在线| 免费黄网站欧美| 欧美激情在线一区二区三区| 在线一区二区三区做爰视频网站| 日韩制服丝袜先锋影音| 欧美精品一区二区高清在线观看| 成人高清av在线| 日韩在线一二三区| 亚洲国产精品t66y| 91麻豆精品91久久久久同性| 国产精品一卡二| 亚洲福利视频一区| 国产喂奶挤奶一区二区三区| 欧美日韩视频在线一区二区| 国产一区不卡精品| 亚洲123区在线观看| 国产精品私房写真福利视频| 欧美巨大另类极品videosbest | 国产精品一区一区三区| 1区2区3区欧美| 欧美变态口味重另类| 色婷婷综合久久久| 国产91精品在线观看| 日韩黄色一级片| 亚洲视频一区在线观看| 亚洲精品在线观看视频| 欧美视频一区二区在线观看| 成人午夜av电影| 久久精品国产久精国产| 夜夜嗨av一区二区三区四季av| 久久综合色播五月| 91精品蜜臀在线一区尤物| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 欧美精品一区二区三区久久久| 一本久道久久综合中文字幕| 国产麻豆视频精品| 奇米影视在线99精品| 亚洲免费视频中文字幕| 中文欧美字幕免费| 久久奇米777| 欧美一区二区三区成人| 欧美日韩欧美一区二区| 色综合久久天天| 99久久久免费精品国产一区二区| 国产一区中文字幕| 国产在线视频一区二区三区| 免费在线视频一区| 日本va欧美va精品发布| 亚洲国产中文字幕| 亚洲一区二区精品久久av| 亚洲综合色自拍一区| 一区二区三区在线免费视频 | 日韩精品久久久久久| 亚洲国产一区二区三区青草影视| 一个色综合av| 午夜精品久久久久久久99樱桃| 一片黄亚洲嫩模| 亚洲一区二区三区四区五区中文| 伊人色综合久久天天| 一区二区三区在线免费播放| 亚洲综合色视频| 午夜电影网亚洲视频| 日本欧美在线观看| 精品影视av免费| 国产91精品精华液一区二区三区 | 成人免费视频caoporn| 风间由美一区二区三区在线观看| 丁香六月综合激情| 成人高清视频在线| 色老汉一区二区三区| 欧美精品免费视频| 日韩美女一区二区三区四区| 欧美激情一区在线观看| 亚洲激情自拍偷拍| 亚洲成人免费电影| 国产一区不卡在线| 91美女片黄在线| 91精品欧美久久久久久动漫| 精品盗摄一区二区三区| 国产精品嫩草影院com| 亚洲在线免费播放| 久久99国产精品免费| av综合在线播放| 7777女厕盗摄久久久| 久久久久亚洲蜜桃| 亚洲一二三四在线| 国产精品一区二区三区网站| 色噜噜狠狠色综合欧洲selulu| 日韩欧美一级在线播放| 国产精品久久久一本精品| 亚洲高清在线精品| 国产一区二区三区精品欧美日韩一区二区三区| 99热这里都是精品| 精品国偷自产国产一区| 亚洲精品国产一区二区三区四区在线| 奇米777欧美一区二区| 成年人网站91| 日韩欧美视频一区| 亚洲综合色视频| 国产ts人妖一区二区| 欧美美女黄视频| 亚洲视频资源在线| 精品一区二区三区免费毛片爱 | 亚洲一区二区三区三| 国产一区视频网站| 欧美另类高清zo欧美| 中文字幕中文字幕一区二区| 免费观看在线综合| 在线一区二区视频| 国产精品久久久一本精品| 久久国产精品一区二区| 欧美性猛交一区二区三区精品 | 成人高清免费观看| 欧美大度的电影原声| 亚洲午夜精品在线| 不卡高清视频专区| 国产三区在线成人av| 久久爱www久久做| 91精品国产欧美一区二区成人| 一区二区三区中文字幕| 97se亚洲国产综合在线| 亚洲国产成人午夜在线一区| 国产一区二区影院| 日韩欧美成人激情| 麻豆精品一区二区| 欧美一区二区精品久久911| 亚洲福利电影网| 色94色欧美sute亚洲线路二| 亚洲色图视频网| 波多野洁衣一区| 日韩一区欧美一区| 91猫先生在线| 一区二区三区精品在线| 欧美在线一区二区|