app.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Application Name
  6. |--------------------------------------------------------------------------
  7. |
  8. | This value is the name of your application. This value is used when the
  9. | framework needs to place the application's name in a notification or
  10. | any other location as required by the application or its packages.
  11. |
  12. */
  13. 'name' => env('APP_NAME', 'Leadership Health'),
  14. 'enableSockets' => env('ENABLE_SOCKETS', true),
  15. /*
  16. |--------------------------------------------------------------------------
  17. | Application Environment
  18. |--------------------------------------------------------------------------
  19. |
  20. | This value determines the "environment" your application is currently
  21. | running in. This may determine how you prefer to configure various
  22. | services the application utilizes. Set this in your ".env" file.
  23. |
  24. */
  25. 'env' => env('APP_ENV', 'production'),
  26. /*
  27. |--------------------------------------------------------------------------
  28. | Application Debug Mode
  29. |--------------------------------------------------------------------------
  30. |
  31. | When your application is in debug mode, detailed error messages with
  32. | stack traces will be shown on every error that occurs within your
  33. | application. If disabled, a simple generic error page is shown.
  34. |
  35. */
  36. 'debug' => (bool) env('APP_DEBUG', false),
  37. /*
  38. |--------------------------------------------------------------------------
  39. | Application URL
  40. |--------------------------------------------------------------------------
  41. |
  42. | This URL is used by the console to properly generate URLs when using
  43. | the Artisan command line tool. You should set this to the root of
  44. | your application so that it is used when running Artisan tasks.
  45. |
  46. */
  47. 'url' => env('APP_URL', 'http://localhost'),
  48. 'asset_url' => env('ASSET_URL', null),
  49. 'agora_appid' => env('AGORA_APPID'),
  50. 'agora_mode' => env('AGORA_MODE'),
  51. 'backend_ws_url' => env('BACKEND_WS_URL'),
  52. 'hrm2_url' => env('HRM2_URL'),
  53. 'asset_version' => 111,
  54. 'temp_dir' => env('TEMP_DIR'),
  55. 'stagfe6_url' => env('STAGFE6_URL'),
  56. 'point_impl_date' => env('POINT_IMPL_DATE', '2021-10-29'),
  57. 'weightSmsNumber' => env('WEIGHT_SMS_NUMBER', ''),
  58. 'bpSmsNumber' => env('BP_SMS_NUMBER', ''),
  59. 'nonMedicalVisitTemplateUid' => env('NON_MEDICAL_VISIT_TEMPLATE_UID'),
  60. 'maxDaysSinceLastVisit' => env('MAX_DAYS_SINCE_LAST_VISIT', 120),
  61. 'opentokApiKey' => env('OPENTOK_API_KEY'),
  62. 'opentokApiSecret' => env('OPENTOK_API_SECRET'),
  63. 'opentokSessionId' => env('OPENTOK_SESSION_ID'),
  64. /*
  65. |--------------------------------------------------------------------------
  66. | Application Timezone
  67. |--------------------------------------------------------------------------
  68. |
  69. | Here you may specify the default timezone for your application, which
  70. | will be used by the PHP date and date-time functions. We have gone
  71. | ahead and set this to a sensible default for you out of the box.
  72. |
  73. */
  74. 'timezone' => 'UTC',
  75. /*
  76. |--------------------------------------------------------------------------
  77. | Application Locale Configuration
  78. |--------------------------------------------------------------------------
  79. |
  80. | The application locale determines the default locale that will be used
  81. | by the translation service provider. You are free to set this value
  82. | to any of the locales which will be supported by the application.
  83. |
  84. */
  85. 'locale' => 'en',
  86. /*
  87. |--------------------------------------------------------------------------
  88. | Application Fallback Locale
  89. |--------------------------------------------------------------------------
  90. |
  91. | The fallback locale determines the locale to use when the current one
  92. | is not available. You may change the value to correspond to any of
  93. | the language folders that are provided through your application.
  94. |
  95. */
  96. 'fallback_locale' => 'en',
  97. /*
  98. |--------------------------------------------------------------------------
  99. | Faker Locale
  100. |--------------------------------------------------------------------------
  101. |
  102. | This locale will be used by the Faker PHP library when generating fake
  103. | data for your database seeds. For example, this will be used to get
  104. | localized telephone numbers, street address information and more.
  105. |
  106. */
  107. 'faker_locale' => 'en_US',
  108. /*
  109. |--------------------------------------------------------------------------
  110. | Encryption Key
  111. |--------------------------------------------------------------------------
  112. |
  113. | This key is used by the Illuminate encrypter service and should be set
  114. | to a random, 32 character string, otherwise these encrypted strings
  115. | will not be safe. Please do this before deploying an application!
  116. |
  117. */
  118. 'key' => env('APP_KEY'),
  119. 'cipher' => 'AES-256-CBC',
  120. 'googleSpreadsheetId' => env('GOOGLE_SPREADSHEET_ID'),
  121. 'googleSpreadsheetProductsSheetName' => env('GOOGLE_SPREADSHEET_PRODUCTS_SHEET_NAME'),
  122. 'adminNoteHcpProUid' => env('ADMIN_NOTE_HCP_PRO_UID'),
  123. @
  124. /*
  125. |--------------------------------------------------------------------------
  126. | Autoloaded Service Providers
  127. |--------------------------------------------------------------------------
  128. |
  129. | The service providers listed here will be automatically loaded on the
  130. | request to your application. Feel free to add your own services to
  131. | this array to grant expanded functionality to your applications.
  132. |
  133. */
  134. 'providers' => [
  135. /*
  136. * Laravel Framework Service Providers...
  137. */
  138. Illuminate\Auth\AuthServiceProvider::class,
  139. Illuminate\Broadcasting\BroadcastServiceProvider::class,
  140. Illuminate\Bus\BusServiceProvider::class,
  141. Illuminate\Cache\CacheServiceProvider::class,
  142. Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
  143. Illuminate\Cookie\CookieServiceProvider::class,
  144. Illuminate\Database\DatabaseServiceProvider::class,
  145. Illuminate\Encryption\EncryptionServiceProvider::class,
  146. Illuminate\Filesystem\FilesystemServiceProvider::class,
  147. Illuminate\Foundation\Providers\FoundationServiceProvider::class,
  148. Illuminate\Hashing\HashServiceProvider::class,
  149. Illuminate\Mail\MailServiceProvider::class,
  150. Illuminate\Notifications\NotificationServiceProvider::class,
  151. Illuminate\Pagination\PaginationServiceProvider::class,
  152. Illuminate\Pipeline\PipelineServiceProvider::class,
  153. Illuminate\Queue\QueueServiceProvider::class,
  154. Illuminate\Redis\RedisServiceProvider::class,
  155. Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
  156. Illuminate\Session\SessionServiceProvider::class,
  157. Illuminate\Translation\TranslationServiceProvider::class,
  158. Illuminate\Validation\ValidationServiceProvider::class,
  159. Illuminate\View\ViewServiceProvider::class,
  160. /*
  161. * Package Service Providers...
  162. */
  163. /*
  164. * Application Service Providers...
  165. */
  166. App\Providers\AppServiceProvider::class,
  167. App\Providers\AuthServiceProvider::class,
  168. // App\Providers\BroadcastServiceProvider::class,
  169. App\Providers\EventServiceProvider::class,
  170. App\Providers\RouteServiceProvider::class,
  171. Barryvdh\DomPDF\ServiceProvider::class,
  172. Barryvdh\Debugbar\ServiceProvider::class,
  173. ],
  174. /*
  175. |--------------------------------------------------------------------------
  176. | Class Aliases
  177. |--------------------------------------------------------------------------
  178. |
  179. | This array of class aliases will be registered when this application
  180. | is started. However, feel free to register as many as you wish as
  181. | the aliases are "lazy" loaded so they don't hinder performance.
  182. |
  183. */
  184. 'aliases' => [
  185. 'App' => Illuminate\Support\Facades\App::class,
  186. 'Arr' => Illuminate\Support\Arr::class,
  187. 'Artisan' => Illuminate\Support\Facades\Artisan::class,
  188. 'Auth' => Illuminate\Support\Facades\Auth::class,
  189. 'Blade' => Illuminate\Support\Facades\Blade::class,
  190. 'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
  191. 'Bus' => Illuminate\Support\Facades\Bus::class,
  192. 'Cache' => Illuminate\Support\Facades\Cache::class,
  193. 'Config' => Illuminate\Support\Facades\Config::class,
  194. 'Cookie' => Illuminate\Support\Facades\Cookie::class,
  195. 'Crypt' => Illuminate\Support\Facades\Crypt::class,
  196. 'DB' => Illuminate\Support\Facades\DB::class,
  197. 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
  198. 'Event' => Illuminate\Support\Facades\Event::class,
  199. 'File' => Illuminate\Support\Facades\File::class,
  200. 'Gate' => Illuminate\Support\Facades\Gate::class,
  201. 'Hash' => Illuminate\Support\Facades\Hash::class,
  202. 'Http' => Illuminate\Support\Facades\Http::class,
  203. 'Lang' => Illuminate\Support\Facades\Lang::class,
  204. 'Log' => Illuminate\Support\Facades\Log::class,
  205. 'Mail' => Illuminate\Support\Facades\Mail::class,
  206. 'Notification' => Illuminate\Support\Facades\Notification::class,
  207. 'Password' => Illuminate\Support\Facades\Password::class,
  208. 'Queue' => Illuminate\Support\Facades\Queue::class,
  209. 'Redirect' => Illuminate\Support\Facades\Redirect::class,
  210. 'Redis' => Illuminate\Support\Facades\Redis::class,
  211. 'Request' => Illuminate\Support\Facades\Request::class,
  212. 'Response' => Illuminate\Support\Facades\Response::class,
  213. 'Route' => Illuminate\Support\Facades\Route::class,
  214. 'Schema' => Illuminate\Support\Facades\Schema::class,
  215. 'Session' => Illuminate\Support\Facades\Session::class,
  216. 'Storage' => Illuminate\Support\Facades\Storage::class,
  217. 'Str' => Illuminate\Support\Str::class,
  218. 'URL' => Illuminate\Support\Facades\URL::class,
  219. 'Validator' => Illuminate\Support\Facades\Validator::class,
  220. 'View' => Illuminate\Support\Facades\View::class,
  221. 'PDF' => Barryvdh\DomPDF\Facade::class,
  222. 'Debugbar' => Barryvdh\Debugbar\Facade::class,
  223. ],
  224. 'note_lhs_segments' => [
  225. 'covid_intake',
  226. 'covid_follow-up',
  227. 'informed_consent',
  228. 'vitals',
  229. 'chief_complaint',
  230. 'ros',
  231. 'subjective_general',
  232. 'objective_free_text',
  233. 'plan_free_text',
  234. 'assessment_free_text',
  235. 'disclaimers',
  236. 'masks_and_respirators'
  237. ],
  238. 'note_rhs_segments' => [
  239. 'allergies',
  240. 'medications',
  241. 'past_medical_history',
  242. 'problems',
  243. 'history_family',
  244. 'history_social',
  245. 'history_surgical',
  246. 'nutrition',
  247. 'exercise',
  248. 'behavior',
  249. 'goals',
  250. 'care_team',
  251. 'how_to_smbp'
  252. ]
  253. ];