[2026-05-07 01:56:39.066] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.9 | latency: 15.99851ms | method: POST | path: /api/v1/auth/login | request_id: bee05c47-6fdf-478d-a159-7daf9b776a4e | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-05-07 02:07:44.351] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.9 | latency: 505.188µs | method: POST | path: /api/v1/satusehat/episodeofcare | request_id: 3628cf6f-27d2-4b8d-b586-d23391aca6ca | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-05-07 02:47:05.561] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.390967ms | method: POST | path: /api/v1/satusehat/episodeofcare | request_id: 5116e54b-d1b3-4064-951f-25130de41e4b | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-05-07 02:47:11.560] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 473.797µs | method: POST | path: /api/v1/auth/login | request_id: e70f273b-c1ea-447e-a791-b97e6c14a109 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-05-07 02:47:17.687] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 313.565µs | method: POST | path: /api/v1/satusehat/episodeofcare | request_id: a45d0bbe-2cca-4d33-85b1-fcc46ae1d4f1 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-05-07 02:48:25.923] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:136 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-05-07 02:48:25.924] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/EpisodeOfCare
[2026-05-07 02:48:26.076] [ERROR] SatuSehat API Error                                     | 📍 client.go:266 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"issue":[{"code":"value","details":{"text":"reference_not_found"},"diagnostics":"reference target(s) not found: Patient/P0123456789","severity":"error"}],"resourceType":"OperationOutcome"} | service: service-general | status_code: 400
[2026-05-07 02:48:26.077] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: Failed to execute request to SatuSehat: SatuSehat API Error (HTTP 400)
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 367.056031ms | method: POST | path: /api/v1/satusehat/episodeofcare | request_id: cfb183f9-2ff3-4f16-acf3-e4336fac56ea | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-05-07 02:48:26.077] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[severity:error timestamp:2026-05-07T02:48:26Z] | method: POST | path: /api/v1/satusehat/episodeofcare | request_id: req_1778122105709927538 | service: service-general
[2026-05-07 07:39:19.306] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.9 | latency: 1.470529ms | method: POST | path: /api/v1/auth/login | request_id: 3fc46255-6a7e-4109-9e46-b708c5af8049 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-05-07 07:39:32.137] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:136 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-05-07 07:39:32.137] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/EpisodeOfCare
[2026-05-07 07:39:32.306] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.9 | latency: 376.391963ms | method: POST | path: /api/v1/satusehat/episodeofcare | request_id: 7f203726-65d9-4afe-8a09-4e58904e0557 | service: service-general | status: 201 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-05-07 08:31:55.431] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.9 | latency: 1.396834ms | method: POST | path: /api/v1/auth/login | request_id: 8feef32e-f07f-4570-8ceb-541ed5342799 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-05-07 08:32:15.538] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Practitioner?identifier=https%3A%2F%2Ffhir.kemkes.go.id%2Fid%2Fnik%7C3573015608790004
[2026-05-07 08:32:15.748] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.9 | latency: 211.134036ms | method: GET | path: /api/v1/satusehat/reference/practitioner | query: nik=3573015608790004 | request_id: 6400b609-a3d3-400a-a0b3-d9d6f0544849 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-05-07 08:42:53.408] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:216 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Practitioner?identifier=https%3A%2F%2Ffhir.kemkes.go.id%2Fid%2Fnik%7C3505196109880003
[2026-05-07 08:42:53.619] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.9 | latency: 210.994386ms | method: GET | path: /api/v1/satusehat/reference/practitioner | query: nik=3505196109880003 | request_id: 72676c1e-0ffb-4aa3-b4c6-64d2325950c8 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
