Module: AthenaHealth::Endpoints::Subscriptions

Included in:
Client
Defined in:
lib/athena_health/endpoints/subscriptions.rb

Constant Summary collapse

SUBSCRIPTION_TYPES =
[
  {
    collection_class: 'AppointmentCollection',
    path: 'appointments',
    name: 'appointment',
    plural_name: 'appointments'
  },
  {
    collection_class: 'PatientCollection',
    path: 'patients',
    name: 'patient',
    plural_name: 'patients'
  },
  {
    collection_class: 'ProviderCollection',
    path: 'providers',
    name: 'provider',
    plural_name: 'providers'
  },
  {
    collection_class: 'PatientProblemCollection',
    path: 'chart/healthhistory/problems',
    name: 'patient_problem',
    plural_name: 'patient_problems'
  },
  {
    collection_class: 'UserAllergyCollection',
    path: 'chart/healthhistory/allergies',
    name: 'patient_allergy',
    plural_name: 'patient_allergies'
  },
  {
    collection_class: 'PrescriptionCollection',
    path: 'prescriptions',
    name: 'prescription',
    plural_name: 'prescriptions'
  },
  {
    collection_class: 'UserMedicationCollection',
    path: 'chart/healthhistory/medication',
    name: 'patient_medication',
    plural_name: 'patient_medications'
  },
  {
    collection_class: 'PrescriptionCollection',
    path: 'prescriptions',
    name: 'prescription',
    plural_name: 'prescriptions'
  },
  {
    collection_class: 'Claim::ClaimCollection',
    path: 'claims',
    name: 'claim',
    plural_name: 'claims'
  }
].freeze