mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
85 lines
2.1 KiB
Plaintext
85 lines
2.1 KiB
Plaintext
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 ;
|
|
TheyPatient : Patient ;
|
|
IPatientHe : 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 ;
|
|
-- Knee : BodyPart ;
|
|
-- Tooth : BodyPart ;
|
|
|
|
Fever : Symptom ;
|
|
-- Sickness: Symptom ;
|
|
-- PainInMod : Patient -> BodyPart -> SymptomDegree -> Prop ;
|
|
-- SymptomMod : SymptomDegree -> Symptom -> Symtom;
|
|
-- High : SymptomDegree ;
|
|
-- Low : SymptomDegree ;
|
|
-- Terrible : SymptomDegree ;
|
|
-- BloodPressure : Symptom ;
|
|
|
|
|
|
} ;
|