% % $Id: hekate_case_health-mdl.pl,v 1.1 2009-11-09 13:32:59 kinio Exp $ % % % Copyright (C) 2006-9 by the HeKatE Project % % VARDA has been develped by the HeKatE Project, % see http://hekate,ia,agh,edu,pl % % This file is part of VARDA, % % VARDA is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version, % % VARDA is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, See the % GNU General Public License for more details, % % You should have received a copy of the GNU General Public License % along with VARDA, If not, see , % varda_model_desc :- write('Health is a system which count the dose of medicaments which shoud take the patient. kinio Exp $'). varda_model_health :- ard_att_add('HealthCare'), ard_property_add(['HealthCare']), ard_att_add('diagnosis'), ard_att_add('InputMedicalFactors'), ard_att_add('MiddleMedicalFactors'), ard_att_add('PatientFactors'), ard_att_add('Treatment'), ard_finalize(['HealthCare'], ['InputMedicalFactors', 'MiddleMedicalFactors', 'PatientFactors', 'Treatment', 'diagnosis']), ard_split( ['InputMedicalFactors', 'MiddleMedicalFactors', 'PatientFactors', 'Treatment', 'diagnosis'], [ ['InputMedicalFactors'], ['MiddleMedicalFactors'], ['PatientFactors'], ['Treatment'], ['diagnosis'] ], [ [['diagnosis'], ['Treatment']], [['InputMedicalFactors'], ['Treatment']], [['MiddleMedicalFactors'], ['Treatment']], [['PatientFactors'], ['Treatment']], [['InputMedicalFactors'], ['MiddleMedicalFactors']], [['PatientFactors'], ['MiddleMedicalFactors']] ] ), ard_att_add('dose'), ard_att_add('medication'), ard_finalize(['Treatment'], ['dose', 'medication']), ard_split( ['dose', 'medication'], [ ['medication'], ['dose'] ], [ [['diagnosis'], ['medication']], [['medication'], ['dose']], [['InputMedicalFactors'], ['dose']], [['MiddleMedicalFactors'], ['dose']], [['PatientFactors'], ['dose']] ] ), ard_att_add('age'), ard_att_add('allergic'), ard_att_add('weight'), ard_finalize(['PatientFactors'], ['age', 'allergic', 'weight']), ard_split( ['age', 'allergic', 'weight'], [ ['age'], ['allergic'], ['weight'] ], [ [['allergic'], ['medication']], [['age'], ['medication']], [['age'], ['dose']], [['age'], ['MiddleMedicalFactors']], [['weight'], ['MiddleMedicalFactors']] ] ), ard_att_add('creatinineLevel'), ard_finalize(['InputMedicalFactors'], ['creatinineLevel']), ard_att_add('creatinineClearance'), ard_finalize(['MiddleMedicalFactors'], ['creatinineClearance']). :- varda_model_health.