问题描述
e = document.getElementById('trigger')
e.addEventListener('click',function() {
doalert(a)
});
//我认为这里应该有问题,但我不知道如何修改。
enter image description here 这里有3个R7。如何通过不同的选择获得R7?
解决方法
(defrule unable-to-diagnose
(name ?name)
(age ?age)
(gender ?gender)
(exists
(temperature ?C)
(or
(and
(test (>= ?C 39))
(high-fever-days ?days)
(or
(and
(test (>= ?days 3))
(shock no)
(respiratory-failure no)
(hemoptysis-or-purulent-sputum no)
(shortness-of-breath no)
(rales-can-be-heard-in-the-lungs no)
)
(and
(test (< ?days 3))
(vomiting no)
(abdominal-pain-or-diarrhea no)
(muscle-joint-pain no)
(sore-muscles-and-joints no)
(mild-conjunctival-congestion no)
)
)
)
(and
(test (< ?C 39))
(abnormal-sneezing-or-runny-nose no)
)
)
)
=>
(assert (diagnosis-result: unable-to-diagnose))
(printout t crlf "=======================================================================" crlf)
(printout t crlf "Diagnosis Result of " ?name " : unable-to-diagnose " crlf)
(printout t crlf "Treatment Suggestion to You :" crlf)
(printout t crlf " " crlf)
(printout t crlf "=======================================================================" crlf))