mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
abstract Health = {
|
|
|
|
cat
|
|
Specialization ; Patient ; BodyPart ; Symptom ; SymptomDegree ; Illness ;
|
|
Prop ; Condition ; Medicine ;
|
|
|
|
fun
|
|
And : Prop -> Prop -> Prop ;
|
|
Complain : Patient -> Symptom -> Prop ;
|
|
PainIn : Patient -> BodyPart -> Prop ;
|
|
Injured : Patient -> BodyPart -> Prop ;
|
|
Broken : Patient -> BodyPart -> Prop ;
|
|
HaveIllness : Patient -> Illness -> Prop ;
|
|
BeInCondition : Patient -> Condition -> Prop ;
|
|
NeedDoctor : Patient -> Specialization -> Prop ;
|
|
NeedMedicine : Patient -> Medicine -> Prop ;
|
|
TakeMedicine : Patient -> Medicine -> Prop ;
|
|
CatchCold : Condition ;
|
|
Pregnant : Condition ;
|
|
|
|
ShePatient : Patient ;
|
|
TheyPatient : Patient ;
|
|
IPatientHe : Patient ;
|
|
|
|
Influenza : Illness ;
|
|
Malaria : Illness ;
|
|
|
|
Dentist : Specialization ;
|
|
|
|
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 ;
|
|
|
|
-- PainInMod : Patient -> BodyPart -> SymptomDegree -> Prop ;
|
|
-- SymptomMod : SymptomDegree -> Symptom -> Symtom;
|
|
-- High : SymptomDegree ;
|
|
-- Low : SymptomDegree ;
|
|
-- Terrible : SymptomDegree ;
|
|
-- BloodPressure : Symptom ;
|
|
|
|
|
|
} ;
|