Class: Renalware::Pathology::Requests::GlobalRule
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Renalware::Pathology::Requests::GlobalRule
- Defined in:
- app/models/renalware/pathology/requests/global_rule.rb,
app/models/renalware/pathology/requests/global_rule/patient_sex_is.rb,
app/models/renalware/pathology/requests/global_rule/request_result.rb,
app/models/renalware/pathology/requests/global_rule/prescription_drug.rb,
app/models/renalware/pathology/requests/global_rule/observation_result.rb,
app/models/renalware/pathology/requests/global_rule/patient_is_diabetic.rb,
app/models/renalware/pathology/requests/global_rule/prescription_drug_type.rb,
app/models/renalware/pathology/requests/global_rule/prescription_drug_category.rb,
app/models/renalware/pathology/requests/global_rule/transplant_date_within_weeks.rb,
app/models/renalware/pathology/requests/global_rule/transplant_registration_status.rb
Direct Known Subclasses
ObservationResult, PatientIsDiabetic, PatientSexIs, PrescriptionDrug, PrescriptionDrugCategory, PrescriptionDrugType, RequestResult, TransplantDateWithinWeeks, TransplantRegistrationStatus
Defined Under Namespace
Classes: ObservationResult, PatientGlobalRuleDecision, PatientIsDiabetic, PatientSexIs, PrescriptionDrug, PrescriptionDrugCategory, PrescriptionDrugType, RequestResult, TransplantDateWithinWeeks, TransplantRegistrationStatus
Constant Summary collapse
- PARAM_COMPARISON_OPERATORS =
["==", ">", "<", ">=", "<=", "include?"].freeze
Instance Method Summary collapse
Instance Method Details
#observation_required_for_patient?(_patient, _date) ⇒ Boolean
15 16 17 |
# File 'app/models/renalware/pathology/requests/global_rule.rb', line 15 def observation_required_for_patient?(_patient, _date) raise NotImplementedError end |
#to_s ⇒ Object
19 20 21 |
# File 'app/models/renalware/pathology/requests/global_rule.rb', line 19 def to_s raise NotImplementedError end |