support forwarding vitals and syncing patients to multiple configurable URLs

This commit is contained in:
2026-09-21 15:16:09 +05:30
parent a7999add61
commit b0d3ba3eed
3 changed files with 64 additions and 56 deletions
+4
View File
@@ -11,6 +11,10 @@ class Settings(BaseSettings):
device_models: dict = {}
target_api_url: str = "https://services-api.a2zhealth.in/v1/contec-monitor"
cloud_api_url: str = "https://services-api.a2zhealth.in/v1/contec-monitor"
forward_urls: list = [
"http://192.168.100.104:10000/api/push-vitals",
"https://services-api.a2zhealth.in/v1/contec-monitor"
]
api_token: str = ""
retry_interval_seconds: int = 60
log_file: str = "hl7_forwarder.log"