[2026-04-15 00:48:34.830] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: unauthorized | environment: debug | error_code: UNAUTHORIZED | ⚙️ service/pkg/errors.LogHTTPError | http_status: 401 | metadata: map[reason:map[provider_errors:map[jwt:invalid token keycloak:token expired] severity:warning timestamp:2026-04-15T00:48:34Z] timestamp:2026-04-15T00:48:34Z] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-15 00:48:34.832] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 14.528627ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 81b02253-ff57-4419-9925-f055c2531be3 | service: service-general | status: 401 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-15 00:48:45.777] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.408824ms | method: POST | path: /api/v1/auth/login | request_id: f75d7961-23e1-496e-9284-c1cdf6d53a5e | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-15 00:48:48.580] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[additional_details:invalid character '/' looking for beginning of value reason:invalid character '/' looking for beginning of value timestamp:2026-04-15T00:48:48Z] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-15 00:48:48.580] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: invalid character '/' looking for beginning of value
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 1.609432ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: c95e9806-f1e8-4aa7-a119-85ceb57ab83e | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-15 00:48:48.581] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776214128579176586 | service: service-general
[2026-04-15 00:48:55.959] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[additional_details:invalid character '/' looking for beginning of value reason:invalid character '/' looking for beginning of value timestamp:2026-04-15T00:48:55Z] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-15 00:48:55.959] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: invalid character '/' looking for beginning of value
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 623.244µs | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 85fd494e-b1d9-4b57-84be-6e41e4f2dae0 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-15 00:48:55.959] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776214135958611715 | service: service-general
[2026-04-15 00:49:05.052] [ERROR] HTTP error occurred                                     | 📍 http.go:116 | category: validation | environment: debug | error_code: INVALID_INPUT | ⚙️ service/pkg/errors.LogHTTPError | http_status: 400 | metadata: map[additional_details:invalid character '}' looking for beginning of object key string reason:invalid character '}' looking for beginning of object key string timestamp:2026-04-15T00:49:05Z] | method: POST | path: /api/v1/satusehat/imagingstudy | service: service-general
[2026-04-15 00:49:05.052] [WARNI] HTTP Request                                            | 📍 middleware.go:175 | environment: debug | ❌ ERROR: Error #01: invalid character '}' looking for beginning of object key string
 | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 695.801µs | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: a548365d-3c92-4261-a3cc-ec7abd8ca711 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-15 00:49:05.052] [ERROR] HTTP error occurred                                     | 📍 middleware.go:235 | category: internal | environment: debug | error_code: INTERNAL_ERROR | ⚙️ service/pkg/errors.handleErrors | http_status: 500 | metadata: map[] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776214145051662270 | service: service-general
[2026-04-15 00:49:09.244] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/ImagingStudy
[2026-04-15 00:49:09.550] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 306.432863ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: aa618a29-845b-4826-8dc7-0122cac60429 | service: service-general | status: 201 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-15 00:55:19.419] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/ImagingStudy
[2026-04-15 00:55:19.753] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 334.938966ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 46c1b283-1460-45f2-beb1-1e0171bb23d7 | service: service-general | status: 201 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-15 00:55:49.821] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/ImagingStudy
[2026-04-15 00:55:50.148] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 327.005969ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: dc15d371-9276-46a4-af4e-2d6156bf4c4d | service: service-general | status: 201 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-15 00:56:18.004] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/ImagingStudy
[2026-04-15 00:56:18.118] [ERROR] SatuSehat API Error                                     | 📍 client.go:244 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | response: {"resourceType":"OperationOutcome","text":{"status":"generated"},"issue":[{"severity":"error","code":"duplicate","details":{"text":"Found duplicate: ImagingStudy (RuleNumber: 20002)"}}]} | service: service-general | status_code: 400
[2026-04-15 00:56:18.119] [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: 115.137279ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: 8b0a9571-da65-4d5f-b8f2-f15ccf0197d6 | service: service-general | status: 400 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-15 00:56:18.119] [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-04-15T00:56:18Z] | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: req_1776214578004147181 | service: service-general
[2026-04-15 00:56:38.990] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: POST | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/ImagingStudy
[2026-04-15 00:56:39.331] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 341.42494ms | method: POST | path: /api/v1/satusehat/imagingstudy | request_id: e619ea0a-112c-4462-960d-10b58bd6d284 | service: service-general | status: 201 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-15 01:34:41.730] [INFO ] 🔑 SatuSehat Access Token refreshed successfully         | 📍 client.go:124 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).GetAccessToken | service: service-general
[2026-04-15 01:34:41.730] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Patient?identifier=https://fhir.kemkes.go.id/id/nik|3504041508700003
[2026-04-15 01:34:41.905] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 345.179595ms | method: GET | path: /api/v1/satusehat/reference/patient/nik/3504041508700003 | request_id: 6f1da97b-f756-4f47-83a1-1e9110496faf | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-15 01:34:58.806] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Patient/P01021422990
[2026-04-15 01:34:58.970] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 164.543651ms | method: GET | path: /api/v1/satusehat/reference/patient/P01021422990 | request_id: 2292f908-96a5-4fca-8f6e-6fecbb8a476a | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-15 01:35:15.447] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Organization?partof=100026555
[2026-04-15 01:35:15.668] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 221.434843ms | method: GET | path: /api/v1/satusehat/reference/organization | query: partof=100026555 | request_id: ba668077-c887-454c-9548-5f0c831e0570 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-15 01:35:33.618] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Location/e95ef6c7-21fe-4aff-86ad-d279984e380d
[2026-04-15 01:35:33.773] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 156.00279ms | method: GET | path: /api/v1/satusehat/reference/location/e95ef6c7-21fe-4aff-86ad-d279984e380d | request_id: 6551690a-10bd-4130-84cc-674c26bd59df | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
[2026-04-15 01:35:48.213] [INFO ] 🛫 SatuSehat API Request Sent                            | 📍 client.go:194 | environment: debug | ⚙️ service/internal/interfaces/satusehat.(*client).do | method: GET | service: service-general | target_url: https://api-satusehat.kemkes.go.id/fhir-r4/v1/Location?
[2026-04-15 01:35:48.461] [INFO ] HTTP Request                                            | 📍 middleware.go:177 | environment: debug | ⚙️ service/internal/infrastructure/transport/http/servers.NewHTTPServer.LoggingMiddleware.func3 | ip: 10.10.150.106 | latency: 248.651309ms | method: GET | path: /api/v1/satusehat/reference/location | request_id: d0a02a4f-5704-42b7-8105-0dcbee6d5ea7 | service: service-general | status: 200 | user_agent: Apidog/1.0.0 (https://apidog.com)
