summaryrefslogtreecommitdiff
path: root/grammars/health/Health.gf
blob: a55f4fcb9727b261ade96de223665e5e052b9bd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
abstract Health =  {

cat 
  Specialization ; Patient ; BodyPart ; Symptom ; SymptomDegree ; Illness ; 
  Prop ; Condition ; Medicine ; 

fun 
  And : Prop -> Prop -> Prop ;
  PainIn : Patient -> BodyPart -> Prop ;
  Injured : Patient -> BodyPart -> Prop ;
  Broken : Patient -> BodyPart -> Prop ;
  HaveIllness : Patient -> Illness -> Prop ;
  NeedDoctor : Patient -> Specialization -> Prop ;
  NeedMedicine : Patient -> Medicine -> Prop ;
  TakeMedicine : Patient -> Medicine -> Prop ;

  CatchCold : Condition ;
  Pregnant : Condition ;
  BeInCondition : Patient -> Condition -> Prop ; 
  Complain : Patient -> Symptom -> Prop ;

  ShePatient : Patient ;
  HePatient : Patient ;
  WePatient : Patient ;
  TheyPatient : Patient ;
  IPatientHe : Patient ;
  IPatientShe : Patient ;

  Influenza : Illness ; 
  Malaria : Illness ; 
  Diarrhea : Illness ; 
  SkinAllergy : Illness ; 
  Heartburn : Illness ; 
  Rheumatism : Illness ; 
  Cystitis : Illness ; 
  Asthma : Illness ;
  Arthritis : Illness ;
  Diabetes : Illness ;
  Tonsillitis : Illness ;
  Constipation : Illness ;
  
  Dentist : Specialization ;
  Gynecologist : Specialization ;
  Urologist: Specialization ;
  Pediatrician : Specialization ;
  Physician :Specialization ;
  Dermatologist :Specialization ;
  Cardiologist : Specialization ;
  Neuropathologist :  Specialization ;
  Ophthalmologist : Specialization ;
  Surgeon : Specialization ;

  SleepingPeels : Medicine ;
  Sedative :  Medicine ;
  Vitamins : Medicine ;
  EyeDrops : Medicine ;
  Antibiotics :  Medicine ;
  Viagra : Medicine ;
  Laxative : Medicine ;
  Insulin : Medicine ;
  Antidepressant : Medicine ;
  PainKiller : Medicine ;

  Head : BodyPart ; 	
  Leg : BodyPart ; 	
  Stomac : BodyPart ; 	
  Throat : BodyPart ; 	
  Ear : BodyPart ; 	
  Chest : BodyPart ; 	
  Foot : BodyPart ; 	
  Arm : BodyPart ; 	
  Back : BodyPart ; 	
  Shoulder : BodyPart ; 	
--  Tooth : BodyPart ; 	
--  Knee : BodyPart ; 	


  Fever : Symptom ;
--  Sickness: Symptom ;
--  PainInMod : Patient -> BodyPart -> SymptomDegree -> Prop ;
--  SymptomMod : SymptomDegree -> Symptom -> Symtom;
--  High : SymptomDegree ;
--  Low : SymptomDegree ;
--  Terrible : SymptomDegree ;
--  BloodPressure : Symptom ;


} ;