App Error

Your application server has encountered an error
Server Log
[3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 16:20:57 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 16:20:57 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [Wed Apr 22 2026 16:21:03 GMT+0200 (Central European Summer Time)] [crpp] Meteor.setInterval OIDC NMP team members obtain refresh tokens [3cx] Received pong, resetting ping timeout. [3cx] Received pong, resetting ping timeout. [3cx] Attempting to get Active calls [Wed Apr 22 2026 16:21:03 GMT+0200 (Central European Summer Time)] [License] Connected clients nr: 0 [Wed Apr 22 2026 16:21:03 GMT+0200 (Central European Summer Time)] [License] dsPlayers: 0 [Wed Apr 22 2026 16:21:03 GMT+0200 (Central European Summer Time)] [sessions] Meteor.setInterval removeDszTeamMembers [3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 16:21:03 GMT+0200 (Central European Summer Time)] [License] activeWebcasts: 0 [Wed Apr 22 2026 16:21:03 GMT+0200 (Central European Summer Time)] [License] activeRecordings: 21 [Wed Apr 22 2026 16:21:03 GMT+0200 (Central European Summer Time)] [License] Used licenses 7 [Wed Apr 22 2026 16:21:05 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 16:21:05 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 16:21:13 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 16:21:13 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [Wed Apr 22 2026 16:21:17 GMT+0200 (Central European Summer Time)] [connections] user connected uid: undefined cid: 4m9dGZ92WoRK3RAkz [Wed Apr 22 2026 16:21:17 GMT+0200 (Central European Summer Time)] [LRS] SEND Statement CUSTOM connected. [uid: undefined, asset: 4m9dGZ92WoRK3RAkz] [Wed Apr 22 2026 16:21:17 GMT+0200 (Central European Summer Time)] [login] userId: qkmKNoZY2bxZraBAF type: resume cid: 4m9dGZ92WoRK3RAkz [Wed Apr 22 2026 16:21:17 GMT+0200 (Central European Summer Time)] [Error] LAR ASSET Unknown LAR asset: 4m9dGZ92WoRK3RAkz [Wed Apr 22 2026 16:21:17 GMT+0200 (Central European Summer Time)] [LRS] SEND Statement LOG IN. [uid: qkmKNoZY2bxZraBAF] [Wed Apr 22 2026 16:21:18 GMT+0200 (Central European Summer Time)] [user: qkmKNoZY2bxZraBAF] COUNT ASSET [asset: GDgwddcBdm7ZfQgDL] [Wed Apr 22 2026 16:21:18 GMT+0200 (Central European Summer Time)] [LRS] SEND LRS Statement INTERACTED. [uid: qkmKNoZY2bxZraBAF, asset: GDgwddcBdm7ZfQgDL] [Wed Apr 22 2026 16:21:18 GMT+0200 (Central European Summer Time)] [LRS] [user: qkmKNoZY2bxZraBAF] LAR ASSET [LarAsset: GDgwddcBdm7ZfQgDL, record_status: watched] [Wed Apr 22 2026 16:21:18 GMT+0200 (Central European Summer Time)] [saveAsset] [user: qkmKNoZY2bxZraBAF] SAVE ASSET [asset: Gn8jdjFfExjMBzYrj] [Wed Apr 22 2026 16:21:18 GMT+0200 (Central European Summer Time)] [events] Asset changed. Gn8jdjFfExjMBzYrj [Wed Apr 22 2026 16:21:21 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 16:21:21 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 16:21:29 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 16:21:29 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Received pong, resetting ping timeout. [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 16:21:37 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 16:21:37 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [Wed Apr 22 2026 16:21:40 GMT+0200 (Central European Summer Time)] [connections] user disconnected uid: qkmKNoZY2bxZraBAF cid: 4m9dGZ92WoRK3RAkz [Wed Apr 22 2026 16:21:40 GMT+0200 (Central European Summer Time)] [LRS] SEND Statement CUSTOM disconnected. [uid: qkmKNoZY2bxZraBAF, asset: 4m9dGZ92WoRK3RAkz] [Wed Apr 22 2026 16:21:40 GMT+0200 (Central European Summer Time)] [Error] LAR ASSET Unknown LAR asset: 4m9dGZ92WoRK3RAkz [Wed Apr 22 2026 16:21:40 GMT+0200 (Central European Summer Time)] [LRS] SEND Statement ATTENDED. [uid: undefined, asset: GDgwddcBdm7ZfQgDL] [Wed Apr 22 2026 16:21:40 GMT+0200 (Central European Summer Time)] [Error] LAR ASSET Unknown LAR user: guest@mitv.si [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 16:21:46 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 16:21: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 16:21:54 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 16:21:54 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [Wed Apr 22 2026 16:22:02 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 16:22:02 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [Wed Apr 22 2026 16:22:03 GMT+0200 (Central European Summer Time)] [crpp] Meteor.setInterval OIDC NMP team members obtain refresh tokens [3cx] Received pong, resetting ping timeout. [3cx] Attempting to get Active calls [Wed Apr 22 2026 16:22:03 GMT+0200 (Central European Summer Time)] [License] Connected clients nr: 0 [Wed Apr 22 2026 16:22:03 GMT+0200 (Central European Summer Time)] [sessions] Meteor.setInterval removeDszTeamMembers [Wed Apr 22 2026 16:22:03 GMT+0200 (Central European Summer Time)] [License] dsPlayers: 0 [Wed Apr 22 2026 16:22:03 GMT+0200 (Central European Summer Time)] [License] activeWebcasts: 0 [3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 16:22:03 GMT+0200 (Central European Summer Time)] [License] activeRecordings: 21 [Wed Apr 22 2026 16:22:03 GMT+0200 (Central European Summer Time)] [License] Used licenses 7 [Wed Apr 22 2026 16:22:10 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 16:22: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 16:22:18 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 16:22:18 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 16:22:26 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 16:22:26 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s [3cx] Received pong, resetting ping timeout. [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Wed Apr 22 2026 16:22:34 GMT+0200 (Central European Summer Time)] [sfu] ws error: Error: connect EHOSTUNREACH 10.193.67.252:3002 [Wed Apr 22 2026 16:22:34 GMT+0200 (Central European Summer Time)] [sfu] ws closed reconnect in 5s ---------------------------webhook notification--------------------------- [request] {"type":"webhook","body":{"resourceType":"MedicationRequest","id":"f187ac94-40c9-4817-a1b0-eef636f5b207","meta":{"versionId":"2357a786-45e5-4a30-ba2a-9a3164ef6564","lastUpdated":"2026-04-22T14:22:24.634+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/189f2495-c76c-421a-820a-5cff176c0cb3"},"encounter":{"reference":"Encounter/523da2cf-e9f7-4a2a-9ee4-3e2690c736f5"},"authoredOn":"2026-04-22T14:22:22.697Z","requester":{"display":"Čoski Teard"},"dosageInstruction":[{"text":"500 mg","route":{"text":"p.o."}}]}} episode for encounter does not exist Patient/189f2495-c76c-421a-820a-5cff176c0cb3 EpisodeOfCare/b84e4342-3c6f-48f5-8468-6d3c0b1b518f 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.