namespace ClinicalHealthcareManagement

features
	HealthcareSystem {abstract}
		mandatory
			PatientRecords {Cost 100, StorageCapacity 500}
				alternative
					OnPremiseStorage {Price 200, Bandwidth 10}
					CloudStorage {Price 150, Bandwidth 10}
			ResourceManagement {Cost 50, StaffCount 3}
				or
					NursingStaff {Cost 25, Count 1}
					MedicalStaff {Cost 30, Count 1}
					AuxiliaryStaff {Cost 15, Count 1}
		optional
			PatientPortal {Cost 30, SecurityLevel 4}
				mandatory
					EpicPortal {Price 50, Features 5}
					CernerWeb {Price 60, Features 4}
			AppointmentScheduling {Cost 25, IntegrationComplexity 3}

constraints
	PatientRecords.StorageCapacity * ResourceManagement.StaffCount > 1500
	AppointmentScheduling.Cost + PatientPortal.SecurityLevel < 70