namespace ClinicalHealthcareManagement features System {abstract} mandatory PatientManagement {abstract} mandatory PatientRegistration alternative InPerson Online PatientHistoryCapture optional MedicalRecords PersonalDetails FamilyMedicalHistory DiagnosisProcedure {abstract} or PhysicalExamination LaboratoryTests ImagingStudies TreatmentPlanning {abstract} mandatory MedicationManagement alternative PrescriptionMedications OverTheCounterMedications optional DosageSchedule SideEffectsMonitoring FollowUpCare [2..3] VitalSignsMonitoring DischargeSummaryGeneration TreatmentDelivery {abstract} or InpatientService OutpatientService optional HomeHealthVisits TelehealthServices constraints InPerson & Online => PatientRegistration (PhysicalExamination | LaboratoryTests | ImagingStudies) => DiagnosisProcedure PrescriptionMedications => DosageSchedule (HomeHealthVisits | TelehealthServices) => OutpatientService VitalSignsMonitoring != FollowUpCare (InpatientService | OutpatientService) => !FollowUpCare (Online & PatientHistoryCapture) => PersonalDetails MedicalRecords | FamilyMedicalHistory => !PatientRegistration MedicationManagement & !TreatmentDelivery => TreatmentPlanning DischargeSummaryGeneration == DiagnosisProcedure & (PhysicalExamination | LaboratoryTests) InPerson => PhysicalExamination OutpatientService & HomeHealthVisits => TelehealthServices