SlideShare una empresa de Scribd logo
1 de 8
Descargar para leer sin conexión
Sistemas Expertos
        Material de Laboratorio

                                      Laboratorio Nº 10

        SISTEMA EXPERTO PARA EL DIAGNÓSTICO DE ENFERMEDADES DE ALTURA

I.   DESCRIPCIÓN DE SÍNTOMAS DE LA ENFERMEDAD

1. Mal de Montaña
El mal de Montaña es un conjunto de síntomas que se presentan en forma aguda y temporal en los
individuos que ascienden a las alturas (generalmente por encima de los 2,500 metros); estas
molestias subjetivas y objetivas reducen la capacidad de actividad psicomotora en el sujeto. El
número de síntomas, la severidad del cuadro, la rapidez de inicio y la duración es ampliamente
variable de individuo a individuo.
En general podemos agrupar los signos y síntomas en cuatro síndromes bien definidos: neurológico,
cardiovascular, respiratorio y digestivo los cuales se manifiestan en los siguientes síntomas
principales:
    • Cefaleas (dolor de cabeza)
    • Mareo
    • Nauseas
    • Vómitos
    • Astenia (debilidad General)
    • Anorexia (Falta de Apetito)

2. Mal de Monge
El mal de Monge es un conjunto de síntomas y signos patológicos, que se presentan progresivamente
personas residentes en regiones de alturas y que mejoran o se curan cuando descienden a nivel del
mar. Su causa principal es la hipoxia de la altura y la desventilación consiguiente; además participan
otros factores de acentúan la hipoxia, entre ellas se mencionan fallas de ventilación, alteración de la
disociación de oxigeno. El mal del Monge entre sus principales signos y síntomas presentan:
    • Cefalea
    • Mareos
    • Nauseas
    • Parestesias (conjunto de sensaciones anormales, adormecimiento o ardor que se experimenta
        en la piel).
    • Escotomas(lesión ocular que reduce el campo visual)
    • Alteración de la memoria
    • Somnolencia(pesadez física o adormecimiento motivados por el sueño)

3. Edema Agudo Pulmonar de Altura
Se presenta en sujetos que ascienden a las regiones de altura, particularmente en nativos de altura
que tras pertenecer temporalmente en regiones bajas, retornan a su hábitat.
Este problema ha sido descrito en nuestro país en los diferentes hospitales andinos de la sierra,
también en los países con grandes alturas como Bolivia, Ecuador, Colombia, India y china.
Inicialmente se superponen síntomas propios de soroche agudo, entre sus principales signos y
síntomas que se presentan son:
    • Dolor de Cabeza
    • Mareos
    • Nauseas
    • Decaimiento
    • Taquicardia (ritmo excesivamente alto de las contracciones cardiacas)
    • Palpitaciones rápidas
    • Posteriormente la disnea es progresiva, se pueden acentuar los signos de hipoxemia
        detectándose cianosis, tos con expectoración blanquecina o rosada.

4. Vólvulo de Sigmoides
El vólvulo de sigmoides constituye uno de los procesos quirúrgicos abdominales de mayor frecuencia y
urgencia en los hospitales andinos del Perú y otros países. En forma general podemos decir que el
vólvulo de sigmoides en las regiones andinas de america es consecutivo al megacolon que es

Ingeniería de Sistemas – UNSCH/QECM                                             Página 1 de 8
Sistemas Expertos
        Material de Laboratorio
característico de los habitantes que viven a mayores alturas de los 3,000 metros sobre el nivel del
mar. Dentro de sus principales síntomas podemos mencionar las siguientes:
    • Dolor de Cabeza
    • Mareos
    • Nauseas
    • Dolor abdominal
    • Timpanismo (suena como bombo)

II. DESARROLLO DEL SISTEMA
Al realizar el análisis del sistema se identifica las siguientes clases:
    • Clase Enfermedad
    • Clase Paciente

Clase Enfermedad                                          Clase Paciente
Tiene los siguientes atributos:                           Tiene los siguientes atributos:
     1) Dolor de Cabeza                                        1) Nombre
     2) Mareos                                                 2) Edad
     3) Nauseas                                                3) Documento
     4) Vómitos                                                4) Procedencia
     5) Astenia                                                5) Dirección
     6) Anorexia                                               6) Diagnostico
     7) Palpitaciones
     8) Parestesias
     9) Escotomas
     10) Alteración de la memoria
     11) Somnolencia
     12) Decaimiento
     13) Taquicardia
     14) Dolor abdominal
     15) Timpanismo

III. IMPLEMENTACIÓN DEL SISTEMA
Para la construcción del prototipo del Sistema Experto para el diagnostico de enfermedades sigua los
siguientes pasos:

1. CREACIÓN DE LA CLASE ENFERMEDAD
a. Cree la clase enfermedad, con los siguientes atributos




b. En esta clase cree las siguientes instancias
        - MalDeMontaña
        - MalDeMonge
        - EdemaAgudo
        - VólvuloDeSigmoides

Cada instancia tendrá las siguientes características:

INSTANCIA: MalDeMontaña




Ingeniería de Sistemas – UNSCH/QECM                                                 Página 2 de 8
Sistemas Expertos
       Material de Laboratorio
INSTANCIA: MalDeMonge




INSTANCIA: EdemaAgudo




INSTANCIA: VolvuloDeSigmoide




2. CREACIÓN DE LA CLASE PACIENTE
a. Cree la clase paciente, con los siguientes atributos




Hasta ahora, tendríamos una vista del Object Browser de la siguiente manera:




Ingeniería de Sistemas – UNSCH/QECM                                       Página 3 de 8
Sistemas Expertos
       Material de Laboratorio
3. CREACIÓN DE SESIONES
a. Diseñe la siguiente pantalla para el manejo del Sistema EXDEA




b. Dentro de la SESSION cree los siguientes botones:


                                                                    Recuerde vincular a
                                                                     estos botones las
                                                                         funciones
                                                                   implementadas según
                                                                       corresponda




El contenido de cada una de las funciones es como sigue:
Función IngresoDeDatos.
       {
       HideWindow(SESSION);
       ShowWindow(Session1);
       };
Función IngresoDeSintomas.
       {
       HideWindow(SESSION);
       ShowWindow(Session2);
       };
Función Resultado.
       {
       HideWindow(SESSION);
       ShowWindow(Session4);
       Assert(Enfermedad,DolorDeCabeza);
       Assert(Enfermedad,Mareos);
       Assert(Enfermedad,Nauseas);
       Assert(MalDeMontaña,Vomito);
       Assert(MalDeMontaña,Astenia);
       Assert(MalDeMontaña,Anorexia);
       Assert(MalDeMonge,Parestesia);
       Assert(MalDeMonge,Escotoma);
       Assert(MalDeMonge,Alteracion);
       Assert(MalDeMonge,Somnolencia);
       Assert(EdemaAgudo,Decaimiento);

Ingeniería de Sistemas – UNSCH/QECM                                    Página 4 de 8
Sistemas Expertos
       Material de Laboratorio
       Assert(EdemaAgudo,Taquicardia);
       Assert(EdemaAgudo,Palpitacion);
       Assert(VolvuloDeSigmoides,DolorAbdominal);
       Assert(VolvuloDeSigmoides,Timpanismo);
       ForwardChain(NULL,Regla1,Regla2,Regla3,Regla4);
       ClearTranscriptImage(Transcript1);
       DisplayText(Transcript1,
       FormatValue("n Existe evidencia que el paciente:%s n n Presenta: %s",
       Paciente:Nombre, Paciente:Diagnostico));
       DisplayText(Transcript1,FormatValue("nnn Diagnostico Medico tt"
       #"Date: t" # Date()
       #"ntttHora: t"
       #Time()));
       };

Función Ayuda.
      {
      PostMessage("Para realizar el diagnostico de enfermedades de altura ingrese los
      síntomas del paciente presionando el botón Síntomas");
      PostMessage("Para visualizar el resultado del diagnostico del paciente presione
      el botón Diagnóstico");
      };
Función Salir.
      {
      PostMessage("El programa finalizara su Ejecución");
      Exit();
      };


c. Cree las siguientes secciones en KAPPA

Session1


                                                                            Recuerde vincular las
                                                                             cajas de texto a la
                                                                             clase Paciente y al
                                                                                  atributo
                                                                              correspondiente




Función Retorno1.
      {                                         Vincule también la
      HideWindow(Session1);                   función de este botón
      ShowWindow(SESSION);                                                          Recuerde la
      };                                                                          observación para
                                                                                    los botones
                                                                                     siguientes

Ingeniería de Sistemas – UNSCH/QECM                                               Página 5 de 8
Sistemas Expertos
       Material de Laboratorio
Session2




Función Retorno2.
      {
      HideWindow(Session2);
      ShowWindow(SESSION);
      };
Función Siguiente.
      {
      HideWindow(Session2);
      ShowWindow(Session3);
      };

Session3




Ingeniería de Sistemas – UNSCH/QECM   Página 6 de 8
Sistemas Expertos
       Material de Laboratorio
Función Retorno3.
      {
      HideWindow(Session3);
      ShowWindow(SESSION);
      };

Session4




Función ResetValor.
      {
      ResetValue(Paciente,Nombre);
      ResetValue(Paciente,Edad);
      ResetValue(Paciente,Documento);
      ResetValue(Paciente,Direccion);
      ResetValue(Paciente,Procedencia);
      ResetValue(Paciente,Diagnostico);
      ResetValue(Enfermedad,DolorDeCabeza);
      ResetValue(Enfermedad,Mareos);
      ResetValue(Enfermedad,Nauseas);
      ResetValue(MalDeMontaña,Anorexia);
      ResetValue(MalDeMontaña,Astenia);
      ResetValue(MalDeMontaña,Vomito);
      ResetValue(MalDeMonge,Alteracion);
      ResetValue(MalDeMonge,Escotoma);
      ResetValue(MalDeMonge,Parestesia);
      ResetValue(MalDeMonge,Somnolencia);
      ResetValue(EdemaAgudo,Decaimiento);
      ResetValue(EdemaAgudo,Palpitacion);
      ResetValue(EdemaAgudo,Taquicardia);
      ResetValue(VolvuloDeSigmoides,DolorAbdominal);
      ResetValue(VolvuloDeSigmoides,Timpanismo);
      };

Función Retorno4.
      {
      HideWindow(Session4);
      ShowWindow(SESSION);
      };




Ingeniería de Sistemas – UNSCH/QECM                    Página 7 de 8
Sistemas Expertos
       Material de Laboratorio
4. REGLAS

a. Regla1: Mal de Montaña
If:
       Enfermedad:DolorDeCabeza #= Si And Enfermedad:Mareos #= Si And
       Enfermedad:Nauseas #= Si And MalDeMontaña:Anorexia #= Si And
       MalDeMontaña:Astenia #= Si And MalDeMontaña:Vomito #= Si;
Then:
       Paciente:Diagnostico=MAL_DE_MONTAÑA;

b. Regla2: Mal de Monge
If:
       Enfermedad:DolorDeCabeza #=Si And Enfermedad:Mareos #=Si And
       Enfermedad:Nauseas#=Si And MalDeMonge:Parestesia #= Si And
       MalDeMonge:Escotoma #= Si And MalDeMonge:Alteracion #= Si And
       MalDeMonge:Somnolencia #=Si;
Then:
       Paciente:Diagnostico=MAL_DE_MONGE;

c. Regla3: Edema Pulmonar Agudo
If:
       Enfermedad:DolorDeCabeza #=Si And Enfermedad:Mareos #=Si And
       Enfermedad:Nauseas#=Si And EdemaAgudo:Decaimiento #=Si And
       EdemaAgudo:Taquicardia #=Si And EdemaAgudo:Palpitacion#=Si;
Then:
       Paciente:Diagnostico=MAL_AGUDO_PULMONAR;

d. Regla4: Vólvulo de Sigmoides
If:
       Enfermedad:DolorDeCabeza #=Si And Enfermedad:Mareos #=Si And
       Enfermedad:Nauseas#=Si And VolvuloDeSigmoides:DolorAbdominal #=Si
       And VolvuloDeSigmoides:Timpanismo #=Si;
Then:
       Paciente:Diagnostico=VÓLVULO_DE_SIGMOIDES;




Ingeniería de Sistemas – UNSCH/QECM                                        Página 8 de 8

Más contenido relacionado

Último

Tema 17. Biología de los microorganismos 2024
Tema 17. Biología de los microorganismos 2024Tema 17. Biología de los microorganismos 2024
Tema 17. Biología de los microorganismos 2024IES Vicent Andres Estelles
 
PLAN DE REFUERZO ESCOLAR MERC 2024-2.docx
PLAN DE REFUERZO ESCOLAR MERC 2024-2.docxPLAN DE REFUERZO ESCOLAR MERC 2024-2.docx
PLAN DE REFUERZO ESCOLAR MERC 2024-2.docxiemerc2024
 
NUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdf
NUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdfNUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdf
NUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdfUPTAIDELTACHIRA
 
Infografía EE con pie del 2023 (3)-1.pdf
Infografía EE con pie del 2023 (3)-1.pdfInfografía EE con pie del 2023 (3)-1.pdf
Infografía EE con pie del 2023 (3)-1.pdfAlfaresbilingual
 
SELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdf
SELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdfSELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdf
SELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdfAngélica Soledad Vega Ramírez
 
SEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptx
SEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptxSEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptx
SEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptxYadi Campos
 
PIAR v 015. 2024 Plan Individual de ajustes razonables
PIAR v 015. 2024 Plan Individual de ajustes razonablesPIAR v 015. 2024 Plan Individual de ajustes razonables
PIAR v 015. 2024 Plan Individual de ajustes razonablesYanirisBarcelDelaHoz
 
LABERINTOS DE DISCIPLINAS DEL PENTATLÓN OLÍMPICO MODERNO. Por JAVIER SOLIS NO...
LABERINTOS DE DISCIPLINAS DEL PENTATLÓN OLÍMPICO MODERNO. Por JAVIER SOLIS NO...LABERINTOS DE DISCIPLINAS DEL PENTATLÓN OLÍMPICO MODERNO. Por JAVIER SOLIS NO...
LABERINTOS DE DISCIPLINAS DEL PENTATLÓN OLÍMPICO MODERNO. Por JAVIER SOLIS NO...JAVIER SOLIS NOYOLA
 
Estrategia de prompts, primeras ideas para su construcción
Estrategia de prompts, primeras ideas para su construcciónEstrategia de prompts, primeras ideas para su construcción
Estrategia de prompts, primeras ideas para su construcciónLourdes Feria
 
5.- Doerr-Mide-lo-que-importa-DESARROLLO PERSONAL
5.- Doerr-Mide-lo-que-importa-DESARROLLO PERSONAL5.- Doerr-Mide-lo-que-importa-DESARROLLO PERSONAL
5.- Doerr-Mide-lo-que-importa-DESARROLLO PERSONALMiNeyi1
 
Caja de herramientas de inteligencia artificial para la academia y la investi...
Caja de herramientas de inteligencia artificial para la academia y la investi...Caja de herramientas de inteligencia artificial para la academia y la investi...
Caja de herramientas de inteligencia artificial para la academia y la investi...Lourdes Feria
 
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docxEliaHernndez7
 
origen y desarrollo del ensayo literario
origen y desarrollo del ensayo literarioorigen y desarrollo del ensayo literario
origen y desarrollo del ensayo literarioELIASAURELIOCHAVEZCA1
 
2024 KIT DE HABILIDADES SOCIOEMOCIONALES.pdf
2024 KIT DE HABILIDADES SOCIOEMOCIONALES.pdf2024 KIT DE HABILIDADES SOCIOEMOCIONALES.pdf
2024 KIT DE HABILIDADES SOCIOEMOCIONALES.pdfMiguelHuaman31
 
ACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJO
ACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJOACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJO
ACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJOBRIGIDATELLOLEONARDO
 
AFICHE EL MANIERISMO HISTORIA DE LA ARQUITECTURA II
AFICHE EL MANIERISMO HISTORIA DE LA ARQUITECTURA IIAFICHE EL MANIERISMO HISTORIA DE LA ARQUITECTURA II
AFICHE EL MANIERISMO HISTORIA DE LA ARQUITECTURA IIIsauraImbrondone
 
PLAN DE REFUERZO ESCOLAR primaria (1).docx
PLAN DE REFUERZO ESCOLAR primaria (1).docxPLAN DE REFUERZO ESCOLAR primaria (1).docx
PLAN DE REFUERZO ESCOLAR primaria (1).docxlupitavic
 
LA LITERATURA DEL BARROCO 2023-2024pptx.pptx
LA LITERATURA DEL BARROCO 2023-2024pptx.pptxLA LITERATURA DEL BARROCO 2023-2024pptx.pptx
LA LITERATURA DEL BARROCO 2023-2024pptx.pptxlclcarmen
 

Último (20)

Tema 17. Biología de los microorganismos 2024
Tema 17. Biología de los microorganismos 2024Tema 17. Biología de los microorganismos 2024
Tema 17. Biología de los microorganismos 2024
 
Sesión de clase: Fe contra todo pronóstico
Sesión de clase: Fe contra todo pronósticoSesión de clase: Fe contra todo pronóstico
Sesión de clase: Fe contra todo pronóstico
 
PLAN DE REFUERZO ESCOLAR MERC 2024-2.docx
PLAN DE REFUERZO ESCOLAR MERC 2024-2.docxPLAN DE REFUERZO ESCOLAR MERC 2024-2.docx
PLAN DE REFUERZO ESCOLAR MERC 2024-2.docx
 
NUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdf
NUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdfNUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdf
NUEVAS DIAPOSITIVAS POSGRADO Gestion Publica.pdf
 
Infografía EE con pie del 2023 (3)-1.pdf
Infografía EE con pie del 2023 (3)-1.pdfInfografía EE con pie del 2023 (3)-1.pdf
Infografía EE con pie del 2023 (3)-1.pdf
 
SELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdf
SELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdfSELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdf
SELECCIÓN DE LA MUESTRA Y MUESTREO EN INVESTIGACIÓN CUALITATIVA.pdf
 
SEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptx
SEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptxSEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptx
SEXTO SEGUNDO PERIODO EMPRENDIMIENTO.pptx
 
PIAR v 015. 2024 Plan Individual de ajustes razonables
PIAR v 015. 2024 Plan Individual de ajustes razonablesPIAR v 015. 2024 Plan Individual de ajustes razonables
PIAR v 015. 2024 Plan Individual de ajustes razonables
 
LABERINTOS DE DISCIPLINAS DEL PENTATLÓN OLÍMPICO MODERNO. Por JAVIER SOLIS NO...
LABERINTOS DE DISCIPLINAS DEL PENTATLÓN OLÍMPICO MODERNO. Por JAVIER SOLIS NO...LABERINTOS DE DISCIPLINAS DEL PENTATLÓN OLÍMPICO MODERNO. Por JAVIER SOLIS NO...
LABERINTOS DE DISCIPLINAS DEL PENTATLÓN OLÍMPICO MODERNO. Por JAVIER SOLIS NO...
 
Estrategia de prompts, primeras ideas para su construcción
Estrategia de prompts, primeras ideas para su construcciónEstrategia de prompts, primeras ideas para su construcción
Estrategia de prompts, primeras ideas para su construcción
 
5.- Doerr-Mide-lo-que-importa-DESARROLLO PERSONAL
5.- Doerr-Mide-lo-que-importa-DESARROLLO PERSONAL5.- Doerr-Mide-lo-que-importa-DESARROLLO PERSONAL
5.- Doerr-Mide-lo-que-importa-DESARROLLO PERSONAL
 
Caja de herramientas de inteligencia artificial para la academia y la investi...
Caja de herramientas de inteligencia artificial para la academia y la investi...Caja de herramientas de inteligencia artificial para la academia y la investi...
Caja de herramientas de inteligencia artificial para la academia y la investi...
 
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
🦄💫4° SEM32 WORD PLANEACIÓN PROYECTOS DARUKEL 23-24.docx
 
origen y desarrollo del ensayo literario
origen y desarrollo del ensayo literarioorigen y desarrollo del ensayo literario
origen y desarrollo del ensayo literario
 
Tema 11. Dinámica de la hidrosfera 2024
Tema 11.  Dinámica de la hidrosfera 2024Tema 11.  Dinámica de la hidrosfera 2024
Tema 11. Dinámica de la hidrosfera 2024
 
2024 KIT DE HABILIDADES SOCIOEMOCIONALES.pdf
2024 KIT DE HABILIDADES SOCIOEMOCIONALES.pdf2024 KIT DE HABILIDADES SOCIOEMOCIONALES.pdf
2024 KIT DE HABILIDADES SOCIOEMOCIONALES.pdf
 
ACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJO
ACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJOACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJO
ACTIVIDAD DIA DE LA MADRE FICHA DE TRABAJO
 
AFICHE EL MANIERISMO HISTORIA DE LA ARQUITECTURA II
AFICHE EL MANIERISMO HISTORIA DE LA ARQUITECTURA IIAFICHE EL MANIERISMO HISTORIA DE LA ARQUITECTURA II
AFICHE EL MANIERISMO HISTORIA DE LA ARQUITECTURA II
 
PLAN DE REFUERZO ESCOLAR primaria (1).docx
PLAN DE REFUERZO ESCOLAR primaria (1).docxPLAN DE REFUERZO ESCOLAR primaria (1).docx
PLAN DE REFUERZO ESCOLAR primaria (1).docx
 
LA LITERATURA DEL BARROCO 2023-2024pptx.pptx
LA LITERATURA DEL BARROCO 2023-2024pptx.pptxLA LITERATURA DEL BARROCO 2023-2024pptx.pptx
LA LITERATURA DEL BARROCO 2023-2024pptx.pptx
 

Destacado

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 

Destacado (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

Labor10

  • 1. Sistemas Expertos Material de Laboratorio Laboratorio Nº 10 SISTEMA EXPERTO PARA EL DIAGNÓSTICO DE ENFERMEDADES DE ALTURA I. DESCRIPCIÓN DE SÍNTOMAS DE LA ENFERMEDAD 1. Mal de Montaña El mal de Montaña es un conjunto de síntomas que se presentan en forma aguda y temporal en los individuos que ascienden a las alturas (generalmente por encima de los 2,500 metros); estas molestias subjetivas y objetivas reducen la capacidad de actividad psicomotora en el sujeto. El número de síntomas, la severidad del cuadro, la rapidez de inicio y la duración es ampliamente variable de individuo a individuo. En general podemos agrupar los signos y síntomas en cuatro síndromes bien definidos: neurológico, cardiovascular, respiratorio y digestivo los cuales se manifiestan en los siguientes síntomas principales: • Cefaleas (dolor de cabeza) • Mareo • Nauseas • Vómitos • Astenia (debilidad General) • Anorexia (Falta de Apetito) 2. Mal de Monge El mal de Monge es un conjunto de síntomas y signos patológicos, que se presentan progresivamente personas residentes en regiones de alturas y que mejoran o se curan cuando descienden a nivel del mar. Su causa principal es la hipoxia de la altura y la desventilación consiguiente; además participan otros factores de acentúan la hipoxia, entre ellas se mencionan fallas de ventilación, alteración de la disociación de oxigeno. El mal del Monge entre sus principales signos y síntomas presentan: • Cefalea • Mareos • Nauseas • Parestesias (conjunto de sensaciones anormales, adormecimiento o ardor que se experimenta en la piel). • Escotomas(lesión ocular que reduce el campo visual) • Alteración de la memoria • Somnolencia(pesadez física o adormecimiento motivados por el sueño) 3. Edema Agudo Pulmonar de Altura Se presenta en sujetos que ascienden a las regiones de altura, particularmente en nativos de altura que tras pertenecer temporalmente en regiones bajas, retornan a su hábitat. Este problema ha sido descrito en nuestro país en los diferentes hospitales andinos de la sierra, también en los países con grandes alturas como Bolivia, Ecuador, Colombia, India y china. Inicialmente se superponen síntomas propios de soroche agudo, entre sus principales signos y síntomas que se presentan son: • Dolor de Cabeza • Mareos • Nauseas • Decaimiento • Taquicardia (ritmo excesivamente alto de las contracciones cardiacas) • Palpitaciones rápidas • Posteriormente la disnea es progresiva, se pueden acentuar los signos de hipoxemia detectándose cianosis, tos con expectoración blanquecina o rosada. 4. Vólvulo de Sigmoides El vólvulo de sigmoides constituye uno de los procesos quirúrgicos abdominales de mayor frecuencia y urgencia en los hospitales andinos del Perú y otros países. En forma general podemos decir que el vólvulo de sigmoides en las regiones andinas de america es consecutivo al megacolon que es Ingeniería de Sistemas – UNSCH/QECM Página 1 de 8
  • 2. Sistemas Expertos Material de Laboratorio característico de los habitantes que viven a mayores alturas de los 3,000 metros sobre el nivel del mar. Dentro de sus principales síntomas podemos mencionar las siguientes: • Dolor de Cabeza • Mareos • Nauseas • Dolor abdominal • Timpanismo (suena como bombo) II. DESARROLLO DEL SISTEMA Al realizar el análisis del sistema se identifica las siguientes clases: • Clase Enfermedad • Clase Paciente Clase Enfermedad Clase Paciente Tiene los siguientes atributos: Tiene los siguientes atributos: 1) Dolor de Cabeza 1) Nombre 2) Mareos 2) Edad 3) Nauseas 3) Documento 4) Vómitos 4) Procedencia 5) Astenia 5) Dirección 6) Anorexia 6) Diagnostico 7) Palpitaciones 8) Parestesias 9) Escotomas 10) Alteración de la memoria 11) Somnolencia 12) Decaimiento 13) Taquicardia 14) Dolor abdominal 15) Timpanismo III. IMPLEMENTACIÓN DEL SISTEMA Para la construcción del prototipo del Sistema Experto para el diagnostico de enfermedades sigua los siguientes pasos: 1. CREACIÓN DE LA CLASE ENFERMEDAD a. Cree la clase enfermedad, con los siguientes atributos b. En esta clase cree las siguientes instancias - MalDeMontaña - MalDeMonge - EdemaAgudo - VólvuloDeSigmoides Cada instancia tendrá las siguientes características: INSTANCIA: MalDeMontaña Ingeniería de Sistemas – UNSCH/QECM Página 2 de 8
  • 3. Sistemas Expertos Material de Laboratorio INSTANCIA: MalDeMonge INSTANCIA: EdemaAgudo INSTANCIA: VolvuloDeSigmoide 2. CREACIÓN DE LA CLASE PACIENTE a. Cree la clase paciente, con los siguientes atributos Hasta ahora, tendríamos una vista del Object Browser de la siguiente manera: Ingeniería de Sistemas – UNSCH/QECM Página 3 de 8
  • 4. Sistemas Expertos Material de Laboratorio 3. CREACIÓN DE SESIONES a. Diseñe la siguiente pantalla para el manejo del Sistema EXDEA b. Dentro de la SESSION cree los siguientes botones: Recuerde vincular a estos botones las funciones implementadas según corresponda El contenido de cada una de las funciones es como sigue: Función IngresoDeDatos. { HideWindow(SESSION); ShowWindow(Session1); }; Función IngresoDeSintomas. { HideWindow(SESSION); ShowWindow(Session2); }; Función Resultado. { HideWindow(SESSION); ShowWindow(Session4); Assert(Enfermedad,DolorDeCabeza); Assert(Enfermedad,Mareos); Assert(Enfermedad,Nauseas); Assert(MalDeMontaña,Vomito); Assert(MalDeMontaña,Astenia); Assert(MalDeMontaña,Anorexia); Assert(MalDeMonge,Parestesia); Assert(MalDeMonge,Escotoma); Assert(MalDeMonge,Alteracion); Assert(MalDeMonge,Somnolencia); Assert(EdemaAgudo,Decaimiento); Ingeniería de Sistemas – UNSCH/QECM Página 4 de 8
  • 5. Sistemas Expertos Material de Laboratorio Assert(EdemaAgudo,Taquicardia); Assert(EdemaAgudo,Palpitacion); Assert(VolvuloDeSigmoides,DolorAbdominal); Assert(VolvuloDeSigmoides,Timpanismo); ForwardChain(NULL,Regla1,Regla2,Regla3,Regla4); ClearTranscriptImage(Transcript1); DisplayText(Transcript1, FormatValue("n Existe evidencia que el paciente:%s n n Presenta: %s", Paciente:Nombre, Paciente:Diagnostico)); DisplayText(Transcript1,FormatValue("nnn Diagnostico Medico tt" #"Date: t" # Date() #"ntttHora: t" #Time())); }; Función Ayuda. { PostMessage("Para realizar el diagnostico de enfermedades de altura ingrese los síntomas del paciente presionando el botón Síntomas"); PostMessage("Para visualizar el resultado del diagnostico del paciente presione el botón Diagnóstico"); }; Función Salir. { PostMessage("El programa finalizara su Ejecución"); Exit(); }; c. Cree las siguientes secciones en KAPPA Session1 Recuerde vincular las cajas de texto a la clase Paciente y al atributo correspondiente Función Retorno1. { Vincule también la HideWindow(Session1); función de este botón ShowWindow(SESSION); Recuerde la }; observación para los botones siguientes Ingeniería de Sistemas – UNSCH/QECM Página 5 de 8
  • 6. Sistemas Expertos Material de Laboratorio Session2 Función Retorno2. { HideWindow(Session2); ShowWindow(SESSION); }; Función Siguiente. { HideWindow(Session2); ShowWindow(Session3); }; Session3 Ingeniería de Sistemas – UNSCH/QECM Página 6 de 8
  • 7. Sistemas Expertos Material de Laboratorio Función Retorno3. { HideWindow(Session3); ShowWindow(SESSION); }; Session4 Función ResetValor. { ResetValue(Paciente,Nombre); ResetValue(Paciente,Edad); ResetValue(Paciente,Documento); ResetValue(Paciente,Direccion); ResetValue(Paciente,Procedencia); ResetValue(Paciente,Diagnostico); ResetValue(Enfermedad,DolorDeCabeza); ResetValue(Enfermedad,Mareos); ResetValue(Enfermedad,Nauseas); ResetValue(MalDeMontaña,Anorexia); ResetValue(MalDeMontaña,Astenia); ResetValue(MalDeMontaña,Vomito); ResetValue(MalDeMonge,Alteracion); ResetValue(MalDeMonge,Escotoma); ResetValue(MalDeMonge,Parestesia); ResetValue(MalDeMonge,Somnolencia); ResetValue(EdemaAgudo,Decaimiento); ResetValue(EdemaAgudo,Palpitacion); ResetValue(EdemaAgudo,Taquicardia); ResetValue(VolvuloDeSigmoides,DolorAbdominal); ResetValue(VolvuloDeSigmoides,Timpanismo); }; Función Retorno4. { HideWindow(Session4); ShowWindow(SESSION); }; Ingeniería de Sistemas – UNSCH/QECM Página 7 de 8
  • 8. Sistemas Expertos Material de Laboratorio 4. REGLAS a. Regla1: Mal de Montaña If: Enfermedad:DolorDeCabeza #= Si And Enfermedad:Mareos #= Si And Enfermedad:Nauseas #= Si And MalDeMontaña:Anorexia #= Si And MalDeMontaña:Astenia #= Si And MalDeMontaña:Vomito #= Si; Then: Paciente:Diagnostico=MAL_DE_MONTAÑA; b. Regla2: Mal de Monge If: Enfermedad:DolorDeCabeza #=Si And Enfermedad:Mareos #=Si And Enfermedad:Nauseas#=Si And MalDeMonge:Parestesia #= Si And MalDeMonge:Escotoma #= Si And MalDeMonge:Alteracion #= Si And MalDeMonge:Somnolencia #=Si; Then: Paciente:Diagnostico=MAL_DE_MONGE; c. Regla3: Edema Pulmonar Agudo If: Enfermedad:DolorDeCabeza #=Si And Enfermedad:Mareos #=Si And Enfermedad:Nauseas#=Si And EdemaAgudo:Decaimiento #=Si And EdemaAgudo:Taquicardia #=Si And EdemaAgudo:Palpitacion#=Si; Then: Paciente:Diagnostico=MAL_AGUDO_PULMONAR; d. Regla4: Vólvulo de Sigmoides If: Enfermedad:DolorDeCabeza #=Si And Enfermedad:Mareos #=Si And Enfermedad:Nauseas#=Si And VolvuloDeSigmoides:DolorAbdominal #=Si And VolvuloDeSigmoides:Timpanismo #=Si; Then: Paciente:Diagnostico=VÓLVULO_DE_SIGMOIDES; Ingeniería de Sistemas – UNSCH/QECM Página 8 de 8