Class: Path::Reporting::UserType
- Inherits:
-
Object
- Object
- Path::Reporting::UserType
- Defined in:
- lib/path/reporting/types/user_type.rb
Overview
User types that data may be recorded for or on
Constant Summary collapse
- PATIENT =
Patient or potential patient
"Patient"
- PROVIDER =
Provider, which can be any sub-type (e.g. therapist)
"Provider"
- INSURER =
Insurer, not currently in-use
"Insurer"
- OPERATOR =
Operator or any internal non-developer
"Operator"
- DEVELOPER =
Developer; mostly relevant for backfills or manual intervention
"Developer"
- SYSTEM =
System, either first-party or third-party
"System"
Class Method Summary collapse
-
.valid?(maybe_type) ⇒ Boolean
Check if a given item is a valid UserType.
Class Method Details
.valid?(maybe_type) ⇒ Boolean
Check if a given item is a valid UserType
35 36 37 |
# File 'lib/path/reporting/types/user_type.rb', line 35 def valid?(maybe_type) types.include? maybe_type end |