App Error

Your application server has encountered an error
Server Log
[Wed Apr 22 2026 10:55:31 GMT+0200 (Central European Summer Time)] [License] Used licenses 7 [Wed Apr 22 2026 10:55:31 GMT+0200 (Central European Summer Time)] [sessions] Meteor.setInterval removeDszTeamMembers [Wed Apr 22 2026 10:55:34 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:55:34 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 10:55:42 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:55:42 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [Wed Apr 22 2026 10:55:50 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:55:50 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 10:55:58 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:55:58 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [3cx] Received pong, resetting ping timeout. [Wed Apr 22 2026 10:56:06 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:56:06 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 10:56:14 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:56:14 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 10:56:22 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:56:22 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [Wed Apr 22 2026 10:56:30 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:56:30 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [Wed Apr 22 2026 10:56:31 GMT+0200 (Central European Summer Time)] [crpp] Meteor.setInterval OIDC NMP team members obtain refresh tokens [3cx] getActiveCalls GOT RESPONSE [3cx] Received pong, resetting ping timeout. [3cx] Received pong, resetting ping timeout. [Wed Apr 22 2026 10:56:31 GMT+0200 (Central European Summer Time)] [License] Connected clients nr: 1 [Wed Apr 22 2026 10:56:31 GMT+0200 (Central European Summer Time)] [License] dsPlayers: 0 [Wed Apr 22 2026 10:56:31 GMT+0200 (Central European Summer Time)] [License] activeWebcasts: 0 [Wed Apr 22 2026 10:56:31 GMT+0200 (Central European Summer Time)] [License] activeRecordings: 21 [Wed Apr 22 2026 10:56:31 GMT+0200 (Central European Summer Time)] [License] Used licenses 7 [Wed Apr 22 2026 10:56:31 GMT+0200 (Central European Summer Time)] [sessions] Meteor.setInterval removeDszTeamMembers [Wed Apr 22 2026 10:56:38 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:56:38 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 10:56:46 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:56:46 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 10:56:54 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:56:54 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [3cx] Received pong, resetting ping timeout. [Wed Apr 22 2026 10:57:02 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:57:02 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [Wed Apr 22 2026 10:57:10 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:57:10 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 10:57:19 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:57:19 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 10:57:27 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:57:27 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [Wed Apr 22 2026 10:57:31 GMT+0200 (Central European Summer Time)] [crpp] Meteor.setInterval OIDC NMP team members obtain refresh tokens [3cx] getActiveCalls GOT RESPONSE [3cx] Received pong, resetting ping timeout. [Wed Apr 22 2026 10:57:31 GMT+0200 (Central European Summer Time)] [License] Connected clients nr: 1 [Wed Apr 22 2026 10:57:31 GMT+0200 (Central European Summer Time)] [License] dsPlayers: 0 [Wed Apr 22 2026 10:57:31 GMT+0200 (Central European Summer Time)] [License] activeWebcasts: 0 [Wed Apr 22 2026 10:57:31 GMT+0200 (Central European Summer Time)] [License] activeRecordings: 21 [Wed Apr 22 2026 10:57:31 GMT+0200 (Central European Summer Time)] [License] Used licenses 7 [Wed Apr 22 2026 10:57:31 GMT+0200 (Central European Summer Time)] [sessions] Meteor.setInterval removeDszTeamMembers [Wed Apr 22 2026 10:57:35 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:57:35 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 10:57:43 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 10:57:43 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s ---------------------------webhook notification--------------------------- [request] {"type":"webhook","body":{"resourceType":"MedicationRequest","id":"10951667-bc23-4716-af56-5cc44dcfdd65","meta":{"versionId":"78f5e1f0-8aed-4214-b9a0-b0f5db1e66b1","lastUpdated":"2026-04-22T08:57:35.941+00:00"},"extension":[{"url":"frequency-label","valueString":"Enkratno"},{"url":"frequency-code","valueString":"ENKRATNO"},{"url":"prescription-type","valueString":"zdravilo"},{"url":"date-from","valueString":"22.04.2026"}],"status":"active","intent":"order","medicationCodeableConcept":{"text":"Paracetamol 500 mg"},"subject":{"reference":"Patient/ed466d7c-a8d7-47aa-a3f8-dd6accee5182"},"encounter":{"reference":"Encounter/48f9f7d0-67fb-4a39-89d3-fd4b181e8f7c"},"authoredOn":"2026-04-22T08:57:33.763Z","requester":{"display":"Čoski Teard"},"dosageInstruction":[{"text":"500 mg","route":{"text":"p.o."}}]}} episode for encounter does not exist Patient/ed466d7c-a8d7-47aa-a3f8-dd6accee5182 EpisodeOfCare/bbb9bc80-0adb-4780-b496-5b966511a79f meteor://💻app/app/app.js:42692 if (!encounterAsset.pni_zdravilo_narocilo) { ^ TypeError: Cannot read properties of undefined (reading 'pni_zdravilo_narocilo') at updateMedicationRequest (server/fhir/fhir-webhook/handlers/medicationRequest.js:37:23) at processTicksAndRejections (node:internal/process/task_queues:105:5) at server/fhir/init.js:137:7 Thrown at: at updateMedicationRequest (/opt/meteor/miteam/.meteor/local/build/programs/server/app/app.js:42692:27) at processTicksAndRejections (node:internal/process/task_queues:105:5) Node.js v22.22.0 Exited with code: 1 Your application is crashing. Waiting for file change.
Fix the error in your code and save your files. Once your server is running without errors, then reload this page.