app.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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. /*
  62. |--------------------------------------------------------------------------
  63. | Application Timezone
  64. |--------------------------------------------------------------------------
  65. |
  66. | Here you may specify the default timezone for your application, which
  67. | will be used by the PHP date and date-time functions. We have gone
  68. | ahead and set this to a sensible default for you out of the box.
  69. |
  70. */
  71. 'timezone' => 'UTC',
  72. /*
  73. |--------------------------------------------------------------------------
  74. | Application Locale Configuration
  75. |--------------------------------------------------------------------------
  76. |
  77. | The application locale determines the default locale that will be used
  78. | by the translation service provider. You are free to set this value
  79. | to any of the locales which will be supported by the application.
  80. |
  81. */
  82. 'locale' => 'en',
  83. /*
  84. |--------------------------------------------------------------------------
  85. | Application Fallback Locale
  86. |--------------------------------------------------------------------------
  87. |
  88. | The fallback locale determines the locale to use when the current one
  89. | is not available. You may change the value to correspond to any of
  90. | the language folders that are provided through your application.
  91. |
  92. */
  93. 'fallback_locale' => 'en',
  94. /*
  95. |--------------------------------------------------------------------------
  96. | Faker Locale
  97. |--------------------------------------------------------------------------
  98. |
  99. | This locale will be used by the Faker PHP library when generating fake
  100. | data for your database seeds. For example, this will be used to get
  101. | localized telephone numbers, street address information and more.
  102. |
  103. */
  104. 'faker_locale' => 'en_US',
  105. /*
  106. |--------------------------------------------------------------------------
  107. | Encryption Key
  108. |--------------------------------------------------------------------------
  109. |
  110. | This key is used by the Illuminate encrypter service and should be set
  111. | to a random, 32 character string, otherwise these encrypted strings
  112. | will not be safe. Please do this before deploying an application!
  113. |
  114. */
  115. 'key' => env('APP_KEY'),
  116. 'cipher' => 'AES-256-CBC',
  117. 'googleSpreadsheetId' => env('GOOGLE_SPREADSHEET_ID'),
  118. 'googleSpreadsheetProductsSheetName' => env('GOOGLE_SPREADSHEET_PRODUCTS_SHEET_NAME'),
  119. 'adminNoteHcpProUid' => env('ADMIN_NOTE_HCP_PRO_UID'),
  120. @
  121. /*
  122. |--------------------------------------------------------------------------
  123. | Autoloaded Service Providers
  124. |--------------------------------------------------------------------------
  125. |
  126. | The service providers listed here will be automatically loaded on the
  127. | request to your application. Feel free to add your own services to
  128. | this array to grant expanded functionality to your applications.
  129. |
  130. */
  131. 'providers' => [
  132. /*
  133. * Laravel Framework Service Providers...
  134. */
  135. Illuminate\Auth\AuthServiceProvider::class,
  136. Illuminate\Broadcasting\BroadcastServiceProvider::class,
  137. Illuminate\Bus\BusServiceProvider::class,
  138. Illuminate\Cache\CacheServiceProvider::class,
  139. Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
  140. Illuminate\Cookie\CookieServiceProvider::class,
  141. Illuminate\Database\DatabaseServiceProvider::class,
  142. Illuminate\Encryption\EncryptionServiceProvider::class,
  143. Illuminate\Filesystem\FilesystemServiceProvider::class,
  144. Illuminate\Foundation\Providers\FoundationServiceProvider::class,
  145. Illuminate\Hashing\HashServiceProvider::class,
  146. Illuminate\Mail\MailServiceProvider::class,
  147. Illuminate\Notifications\NotificationServiceProvider::class,
  148. Illuminate\Pagination\PaginationServiceProvider::class,
  149. Illuminate\Pipeline\PipelineServiceProvider::class,
  150. Illuminate\Queue\QueueServiceProvider::class,
  151. Illuminate\Redis\RedisServiceProvider::class,
  152. Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
  153. Illuminate\Session\SessionServiceProvider::class,
  154. Illuminate\Translation\TranslationServiceProvider::class,
  155. Illuminate\Validation\ValidationServiceProvider::class,
  156. Illuminate\View\ViewServiceProvider::class,
  157. /*
  158. * Package Service Providers...
  159. */
  160. /*
  161. * Application Service Providers...
  162. */
  163. App\Providers\AppServiceProvider::class,
  164. App\Providers\AuthServiceProvider::class,
  165. // App\Providers\BroadcastServiceProvider::class,
  166. App\Providers\EventServiceProvider::class,
  167. App\Providers\RouteServiceProvider::class,
  168. Barryvdh\DomPDF\ServiceProvider::class,
  169. Barryvdh\Debugbar\ServiceProvider::class,
  170. ],
  171. /*
  172. |--------------------------------------------------------------------------
  173. | Class Aliases
  174. |--------------------------------------------------------------------------
  175. |
  176. | This array of class aliases will be registered when this application
  177. | is started. However, feel free to register as many as you wish as
  178. | the aliases are "lazy" loaded so they don't hinder performance.
  179. |
  180. */
  181. 'aliases' => [
  182. 'App' => Illuminate\Support\Facades\App::class,
  183. 'Arr' => Illuminate\Support\Arr::class,
  184. 'Artisan' => Illuminate\Support\Facades\Artisan::class,
  185. 'Auth' => Illuminate\Support\Facades\Auth::class,
  186. 'Blade' => Illuminate\Support\Facades\Blade::class,
  187. 'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
  188. 'Bus' => Illuminate\Support\Facades\Bus::class,
  189. 'Cache' => Illuminate\Support\Facades\Cache::class,
  190. 'Config' => Illuminate\Support\Facades\Config::class,
  191. 'Cookie' => Illuminate\Support\Facades\Cookie::class,
  192. 'Crypt' => Illuminate\Support\Facades\Crypt::class,
  193. 'DB' => Illuminate\Support\Facades\DB::class,
  194. 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
  195. 'Event' => Illuminate\Support\Facades\Event::class,
  196. 'File' => Illuminate\Support\Facades\File::class,
  197. 'Gate' => Illuminate\Support\Facades\Gate::class,
  198. 'Hash' => Illuminate\Support\Facades\Hash::class,
  199. 'Http' => Illuminate\Support\Facades\Http::class,
  200. 'Lang' => Illuminate\Support\Facades\Lang::class,
  201. 'Log' => Illuminate\Support\Facades\Log::class,
  202. 'Mail' => Illuminate\Support\Facades\Mail::class,
  203. 'Notification' => Illuminate\Support\Facades\Notification::class,
  204. 'Password' => Illuminate\Support\Facades\Password::class,
  205. 'Queue' => Illuminate\Support\Facades\Queue::class,
  206. 'Redirect' => Illuminate\Support\Facades\Redirect::class,
  207. 'Redis' => Illuminate\Support\Facades\Redis::class,
  208. 'Request' => Illuminate\Support\Facades\Request::class,
  209. 'Response' => Illuminate\Support\Facades\Response::class,
  210. 'Route' => Illuminate\Support\Facades\Route::class,
  211. 'Schema' => Illuminate\Support\Facades\Schema::class,
  212. 'Session' => Illuminate\Support\Facades\Session::class,
  213. 'Storage' => Illuminate\Support\Facades\Storage::class,
  214. 'Str' => Illuminate\Support\Str::class,
  215. 'URL' => Illuminate\Support\Facades\URL::class,
  216. 'Validator' => Illuminate\Support\Facades\Validator::class,
  217. 'View' => Illuminate\Support\Facades\View::class,
  218. 'PDF' => Barryvdh\DomPDF\Facade::class,
  219. 'Debugbar' => Barryvdh\Debugbar\Facade::class,
  220. ],
  221. 'note_lhs_segments' => [
  222. 'covid_intake',
  223. 'covid_follow-up',
  224. 'informed_consent',
  225. 'vitals',
  226. 'chief_complaint',
  227. 'ros',
  228. 'subjective_general',
  229. 'objective_free_text',
  230. 'plan_free_text',
  231. 'assessment_free_text',
  232. 'disclaimers',
  233. 'masks_and_respirators'
  234. ],
  235. 'note_rhs_segments' => [
  236. 'allergies',
  237. 'medications',
  238. 'past_medical_history',
  239. 'problems',
  240. 'history_family',
  241. 'history_social',
  242. 'history_surgical',
  243. 'nutrition',
  244. 'exercise',
  245. 'behavior',
  246. 'goals',
  247. 'care_team',
  248. 'how_to_smbp'
  249. ]
  250. ];