Module: Renalware::Pathology

Defined in:
app/models/renalware/pathology.rb,
app/models/renalware/pathology/lab.rb,
app/models/renalware/pathology/clinic.rb,
app/models/renalware/pathology/patient.rb,
app/models/renalware/pathology/results.rb,
app/models/renalware/pathology/version.rb,
app/models/renalware/pathology/requests.rb,
app/models/renalware/pathology/code_group.rb,
app/models/renalware/pathology/observation.rb,
app/models/renalware/pathology/requests/drug.rb,
app/models/renalware/pathology/measurement_unit.rb,
app/models/renalware/pathology/message_listener.rb,
app/models/renalware/pathology/requests/request.rb,
app/models/renalware/pathology/adjust_observation.rb,
app/models/renalware/pathology/observation_digest.rb,
app/models/renalware/pathology/requests/frequency.rb,
app/components/renalware/pathology/chart_component.rb,
app/models/renalware/pathology/current_observation.rb,
app/models/renalware/pathology/observation_request.rb,
app/models/renalware/pathology/request_description.rb,
app/policies/renalware/pathology/code_group_policy.rb,
app/controllers/renalware/pathology/base_controller.rb,
app/models/renalware/pathology/requests/global_rule.rb,
app/models/renalware/pathology/requests/sample_type.rb,
app/models/renalware/pathology/all_observation_codes.rb,
app/models/renalware/pathology/code_group_membership.rb,
app/models/renalware/pathology/ordered_patient_query.rb,
app/models/renalware/pathology/requests/patient_rule.rb,
app/presenters/renalware/pathology/observations_diff.rb,
app/presenters/renalware/pathology/results_presenter.rb,
app/controllers/renalware/pathology/charts_controller.rb,
app/models/renalware/pathology/observation_date_range.rb,
app/models/renalware/pathology/requests/drug_category.rb,
app/models/renalware/pathology/requests/request_query.rb,
app/components/renalware/pathology/sparkline_component.rb,
app/models/renalware/pathology/current_observation_set.rb,
app/models/renalware/pathology/observation_description.rb,
app/models/renalware/pathology/requests/frequency/once.rb,
app/models/renalware/pathology/requests/global_rule_set.rb,
app/models/renalware/pathology/requests/request_factory.rb,
app/models/renalware/pathology/requests/frequency/always.rb,
app/models/renalware/pathology/requests/frequency/weekly.rb,
app/models/renalware/pathology/requests/frequency/yearly.rb,
app/models/renalware/pathology/requests/global_algorithm.rb,
app/models/renalware/pathology/requests/requests_factory.rb,
app/policies/renalware/pathology/requests/request_policy.rb,
app/presenters/renalware/pathology/observation_presenter.rb,
app/models/renalware/pathology/nearest_observations_query.rb,
app/models/renalware/pathology/requests/frequency/monthly.rb,
app/models/renalware/pathology/requests/patient_algorithm.rb,
app/controllers/renalware/pathology/code_groups_controller.rb,
app/models/renalware/pathology/create_observation_requests.rb,
app/models/renalware/pathology/requests/high_risk_rule_set.rb,
app/controllers/renalware/pathology/observations_controller.rb,
app/models/renalware/pathology/requests/high_risk_algorithm.rb,
app/controllers/renalware/pathology/patient_rules_controller.rb,
app/models/renalware/pathology/observations_jsonb_serializer.rb,
app/presenters/renalware/pathology/observation_set_presenter.rb,
app/controllers/renalware/pathology/requests/rules_controller.rb,
app/models/renalware/pathology/requests/frequency/six_monthly.rb,
app/models/renalware/pathology/requests/frequency/two_monthly.rb,
app/presenters/renalware/pathology/requests/request_presenter.rb,
app/models/renalware/pathology/requests/frequency/four_monthly.rb,
app/models/renalware/pathology/requests/global_rule_sets_table.rb,
app/models/renalware/pathology/requests/request_params_factory.rb,
app/presenters/renalware/pathology/requests/sample_description.rb,
app/models/renalware/pathology/relevant_observation_description.rb,
app/models/renalware/pathology/requests/frequency/three_monthly.rb,
app/controllers/renalware/pathology/requests/requests_controller.rb,
app/models/renalware/pathology/determine_observation_date_series.rb,
app/policies/renalware/pathology/requests/global_rule_set_policy.rb,
app/models/renalware/pathology/observations_grouped_by_date_query.rb,
app/models/renalware/pathology/observations_grouped_by_date_table.rb,
app/models/concerns/renalware/pathology/requests/frequency_methods.rb,
app/models/renalware/pathology/observations_for_descriptions_query.rb,
app/models/renalware/pathology/requests/global_rule/patient_sex_is.rb,
app/models/renalware/pathology/requests/global_rule/request_result.rb,
app/presenters/renalware/pathology/requests/patient_rule_presenter.rb,
app/controllers/renalware/pathology/observation_requests_controller.rb,
app/models/renalware/pathology/observations_within_date_range_query.rb,
app/presenters/renalware/pathology/observations_for_codes_presenter.rb,
app/controllers/renalware/pathology/required_observations_controller.rb,
app/models/renalware/pathology/observation_descriptions_by_code_query.rb,
app/models/renalware/pathology/requests/global_rule/prescription_drug.rb,
app/presenters/renalware/pathology/requests/global_rule_set_presenter.rb,
app/models/renalware/pathology/observation_requests_attributes_builder.rb,
app/models/renalware/pathology/requests/global_rule/observation_result.rb,
app/controllers/renalware/pathology/observation_descriptions_controller.rb,
app/models/renalware/pathology/requests/global_rule/patient_is_diabetic.rb,
app/models/renalware/pathology/create_observations_grouped_by_date_table.rb,
app/controllers/renalware/pathology/recent_observation_results_controller.rb,
app/controllers/renalware/pathology/current_observation_results_controller.rb,
app/controllers/renalware/pathology/nearest_observation_results_controller.rb,
app/models/renalware/pathology/current_observations_for_descriptions_query.rb,
app/models/renalware/pathology/requests/global_rule/prescription_drug_type.rb,
app/models/renalware/pathology/request_for_patient_request_description_query.rb,
app/controllers/renalware/pathology/historical_observation_results_controller.rb,
app/models/renalware/pathology/requests/global_rule/prescription_drug_category.rb,
app/models/renalware/pathology/requests/global_rule/latest_crf_older_than_weeks.rb,
app/models/renalware/pathology/observation_for_patient_request_description_query.rb,
app/models/renalware/pathology/requests/global_rule/transplant_date_within_weeks.rb,
app/models/renalware/pathology/requests/global_rule_set/patient_rule_set_decision.rb,
app/models/renalware/pathology/requests/global_rule/transplant_registration_status.rb,
app/models/renalware/pathology/observation_for_patient_observation_description_query.rb,
app/models/renalware/pathology/observation_for_patient_observation_description_using_set_query.rb

Defined Under Namespace

Modules: ObservationSetMethods, Requests Classes: AdjustObservation, AllObservationCodes, BaseController, ChartComponent, ChartsController, Clinic, CodeGroup, CodeGroupMembership, CodeGroupPolicy, CodeGroupsController, CreateObservationRequests, CreateObservationsGroupedByDateTable, CurrentObservation, CurrentObservationResultsController, CurrentObservationSet, CurrentObservationsForDescriptionsQuery, DetermineObservationDateSeries, HistoricalObservationResultsController, Lab, MeasurementUnit, MessageListener, MissingObservationDescriptionError, MissingRequestDescriptionError, NearestObservationResultsController, NearestObservationsQuery, NullObservationSet, Observation, ObservationDateRange, ObservationDescription, ObservationDescriptionsByCodeQuery, ObservationDescriptionsController, ObservationDigest, ObservationForPatientObservationDescriptionQuery, ObservationForPatientObservationDescriptionUsingSetQuery, ObservationForPatientRequestDescriptionQuery, ObservationPresenter, ObservationRequest, ObservationRequestsAttributesBuilder, ObservationRequestsController, ObservationSetPresenter, ObservationsController, ObservationsDiff, ObservationsForCodesPresenter, ObservationsForDescriptionsQuery, ObservationsGroupedByDateQuery, ObservationsGroupedByDateTable, ObservationsJsonbSerializer, ObservationsWithinDateRangeQuery, OrderedPatientQuery, Patient, PatientRulesController, RecentObservationResultsController, RelevantObservationDescription, RequestDescription, RequestForPatientRequestDescriptionQuery, RequiredObservationsController, Results, ResultsPresenter, SparklineComponent, Version

Class Method Summary collapse

Class Method Details

.cast_patient(patient) ⇒ Object



15
16
17
# File 'app/models/renalware/pathology.rb', line 15

def cast_patient(patient)
  ActiveType.cast(patient, ::Renalware::Pathology::Patient)
end

.configureObject



19
20
21
# File 'app/models/renalware/pathology.rb', line 19

def configure
  SubscriptionRegistry.instance.register(Feeds::MessageProcessor, MessageListener)
end

.table_name_prefixObject



11
12
13
# File 'app/models/renalware/pathology.rb', line 11

def table_name_prefix
  "pathology_"
end