namespace ClinicalHealthcareManagement features Treatment {abstract} mandatory PatientInfo or Inpatient mandatory RoomType alternative SingleBed DoubleBed alternative SharedWithOtherPatients SharedWithFamilyMembers AdmissionDate Outpatient optional Referral PrimaryPhysician diagnosticProcedure {abstract} or LabTest mandatory TestType alternative BloodTest UrineTest ResultReport XRay mandatory BodyPartImaged ECG optional HeartRate therapySession {abstract} or MedicationAdministered mandatory DrugName Dose AdminRoute alternative Oral Intravenous Subcutaneous Injection PhysicalTherapy mandatory TherapyType alternative ExerciseProgram ManualTherapy HeatOrCold followUp {abstract} or Consultation mandatory Doctor Date Monitoring optional VitalSigns MedicationReview constraints (Inpatient & SharedWithOtherPatients) => AdmissionDate Outpatient => !Referral LabTest.ResultReport => BloodTest | UrineTest XRay.BodyPartImaged == BodyPartImaged ECG.HeartRate == 60 | HeartRate == 75 | HeartRate == 90 MedicationAdministered.AdminRoute = Oral => Dose >= 100 & Dose <= 300 MedicationAdministered.DrugName == "Penicillin" => Dose == 200 PhysicalTherapy.TherapyType = ExerciseProgram => TherapySession Consultation.Date <= FollowUp Monitoring.VitalSigns != None VitalSigns + MedicationReview >= 1