Did you know ... | Search Documentation: |
![]() | Pack logicmoo_nlu -- ext/SIRIDUS/UGOT-D31/godis-apps/domain-medical/todo.txt |
* bugs *
x include "bind" in resource interfaces: depends x include clarifyDependentIssue, or generalize clarifyAction in selection_rules
x? cannot quit or request top after initial altq?
[greet].
[ask(X^info(X))
, answer(disease(malaria))
].
forget(bestq)
etc: if plan for Q is interrupted and
answer to Q is given in subdialogue, bestq stays on PRIv/BEL
answer(symptom(fever))
, answer(symptom(headache))
]
* OTHER *
x make slides
x things we would like to add to plan execution rules:
resolve(Q)
do(A)
x things we have added:
* todo *
notexist(X,PX)
??? does not work for y/n
x "not bestq(_)
" is not deleted; perhaps just fail(...)
???
notexist(X,bestq(X))
! no, since interview presupposes diagnosis
x diagnosis input form for disease q
x only fever test!
w domain needs to handle rejected(X^symptom(X))
without breaking
! we could easily have gotten info directly from device, but didn't want to clutter the IS
--- nice extras ---
action(A)
--- half-done ---
x? how treat negative confirmation?
x? dependent issue accommodation & clarification
x? accommodation
x? additional issues
x provide general info x modify device
x? multiple simultaneous issues? ! interference if try to ask about info for some other disease
request(not_take_test)
?request(take_test)
plan(pay_extra,
[ findout(X^test(X))
x? issue clarification
? positive_diagnosis as action?
findout(X^disease(X))
should trigger planfindout(Q)
on plan and? prevention q
? territories q
w GODIS: w findPlan rule: loadplan not triggered if no "findout" or "raise" in plan.
x? now, confirmed_... is reraised
disease(X)
!
x or empty output form (ugly)x? info does not work w rename "treatment"
x treatment q
x? check feedback and sequencing moves
x revising by reaccommodation (works?)
? why isn't "so" generated in multiissue example?
w bug: if a treatment was discussed during the examination dialogue, it is still the one assumed at the end
x fix godis bug
? sem_sort test? needed?
x check lexicon so all works ? malaise
--- done ---
x alternative version, not push Q's at start?
disease(X)
! V2 changes in
disease(X)
x should confirmed_by_interview really bind questions?
disease(X)
must be answered first
disease(X)
, confirmed... )
precedes( Q1, Q )
prevents dependent accommodation of Q
unless Q1 already resolvedprecedes( Q1, Q )
and
plan( Q1, _ )
and
not( resolved( Q1 ) )
x negative test results do not work
x bestq returns too many qs
x how get out of confirmed_by_interview by failing? it does not resolve!
x disconfirmed not same as not confirmed!!!
x? m�jliga resultat fr�n dev_query:
X^disease(X)
vet ej - fail(X^disease(X))
pos - disease(a)
neg - notexist(X,disease(X))
confirmed_by_interview
vet ej - fail(confirmed_by_interview)
pos - confirmed_by_interview
neg - not(confirmed_by_interview)
samma f�r confirmed_by_tests
x? how make sure that subsequent tests are not performed?
x dev_query info(Disease)
D device_nurse
confirm(test)
should trigger??? but never requested, only dev_do
take_test(T)
dev-action -> assert test_result(T)
assume_issue(X^test_result(X))
x koppla in nya device & testa
x how capture this:
disease(X)
-> info_disease(X)
# hyp_disease isa disease, so answer to disease is answer to hyp_disease
x info_disease isa disease, so disease is answer to info_disease! why necessay to push all issues on agenda at start???
x lexicon! x top x "maybe" and "i think so" -> rej x outputfor for positive_diagnosis x output_form for confirmed_by_tests x output_form for confirmed_by_tests
x? what if test show no disease? answer(not(positive_diagnosis))
->
x best_labtest
x? what if user cannot answer questions
x rejected(Q)
added to sh.com
*DH device rensar bort alla rejected Q
x restart using "top"
? make sure info(_)
and characteristics(_)
get deleted so not same
answer given second time (perhaps reinstate urule solution?)
? "maybe" to y/n
? precedense constraints on accommmodation?
x how make tests?
call device, where user enters result
x plan for info; share disease/1 with other plan
x anv�nd forget(bestq(_))
f�r att rense priv/bel; ta bort godis�ndring
x koppla in OAA-databas
? ta hand om fail(Q,Reason)
x mutiple-answer questions
x correction using negation
x fever -> symptom(fever)
, etc.
symptom(X)
; "fine"= symptom(none)
x2 implementera beslutstr�d i dialogplan ! var hittar vi "r�tt" tr�d? hitta p� sj�lva?
bind(Q1)
, bind(Q2)
osv d�r Q1, Q2, ... �r alla fr�gor som n�gonsin
kan vara relevant f�r X^disease(X)
# kan bli problem med reraising & retraction: ev m�ste vi �ndra ordningen p� accommodationreglerna s� att GoDiS f�rs�ker ackommodera fr�n share/com f�re den provar med bind i planen ! g�r inget; retract �r oberoende om varifr�n acc g�rs!
? ej spara tillst�nd
x AOD or IOD?
MORE COMPLEX
warn(A)
: "I'm going to do A"
* GoDiS changes: X = copied to src & CVSd *
x modified definition of "depends" in resource_interfaces
x clarifyDependetIssue in AOD selection, or generalize clarifyAction
x exec_assume_issue
x exec_forget- commented out clear actions
x irrelevantFollowup 031023
X integrateUsrAccNegICM:
% SL031022
add( /shared/com, rejected(Q)
)
]).
X added exec_assume
X change integrateUsrAnswer so it is possible to give multiple answers to same Q in one turn
answer(A2)
and
$domain::relevant(A2,Q)
and
$domain::combine(Q,A2,P2)
and
$domain::incompatible(P,P2)
,
del( /private/nim, DP_M2 )
)
X definition of incompatible should be partly domain-specific
* trindikit changes *
x interpret_empty
? vilka predikat ska egentligen exporteras fr�n modulerna? Inga alls?