ClinicalHealthcareManagement features RootFeature {abstract} mandatory Patient Insurance {abstract} type alternative Public Private InsuranceID Integer Doctor mandatory Specialty or Cardiology Pediatrics Surgery YearsExperience Integer Hospital mandatory Location alternative City Rural Capacity Integer optional Prescription Drug or Antibiotics Painkillers Vitamins Dosage Integer EmergencyService ContactDetails {GroupCardinality 1..2} Phone String Address String MedicalTest mandatory Type alternative BloodTest XRay MRI Date Day Integer { constraint Day >= 1 & Day <= 30 } Month Integer { constraint Month >= 1 & Month <= 12 } Year Integer { constraint Year >= 2020 & Year <= 2025 } MedicalRecord mandatory Patient History {GroupCardinality 0..n} Diagnosis String Treatment Plan String Date Day Integer { constraint Day >= 1 & Day <= 30 } Month Integer { constraint Month >= 1 & Month <= 12 } Year Integer { constraint Year >= 2020 & Year <= 2025 } HealthcareFacilityVisit mandatory Patient ID Integer Doctor ID Integer Date Day Integer { constraint Day >= 1 & Day <= 30 } Month Integer { constraint Month >= 1 & Month <= 12 } Year Integer { constraint Year >= 2020 & Year <= 2025 } constraints (Insurance.type == 'Private') => Insurance.InsuranceID != 0 Doctor.YearsExperience > 5 Hospital.Capacity > 500 Prescription.Dosage >= 1 & Prescription.Dosage <= 30 MedicalRecord.Patient History.length() > 0