feat(api): production security, cors hardening, latency optimizations, postman artifacts & frontend documentation
This commit is contained in:
@@ -0,0 +1,111 @@
|
||||
[
|
||||
{
|
||||
"step": "START_SESSION",
|
||||
"session_id": "VOICE-BD42D21E",
|
||||
"greeting_text": "வணக்கம் Kavitha Ramesh, CureSelect மருத்துவமனைக்கு உங்களை அன்போடு வரவேற்கிறோம். இன்று உங்களுக்கு என்ன மாதிரி உடம்பு முடியலை, என்ன அறிகுறிகள் இருக்குன்னு சொல்ல முடியுமா?",
|
||||
"response_time_ms": 49.15
|
||||
},
|
||||
{
|
||||
"turn": 1,
|
||||
"description": "Cardiology Triage",
|
||||
"original_speech_text": "எனக்கு கடந்த 3 நாளா நெஞ்சு பாரமா இருக்கு, மூச்சு திணறல் மற்றும் படபடப்போட பயமா இருக்குங்க.",
|
||||
"stt_patient_transcript": "எனக்கு கடந்த மூன்று நாளா நெஞ்சு பாரமா இருக்கு. மூச்சு திணறல் மற்றும் படபடப்போட பயமா இருக்குங்க.",
|
||||
"ai_spoken_reply": "உடனே 108 ஆம்புலன்ஸ் கூப்பிட்டு அவசர சிகிச்சைக்கு போங்க!",
|
||||
"suggested_specialty": "Cardiology (Heart Care)",
|
||||
"specialty_code": "cardiology",
|
||||
"stage": "confirmation",
|
||||
"completed": true,
|
||||
"turn_latency_ms": 27879.69,
|
||||
"backend_time_ms": 27858.97
|
||||
},
|
||||
{
|
||||
"turn": 2,
|
||||
"description": "Medical History",
|
||||
"original_speech_text": "எனக்கு 10 வருஷமா சுகர் மற்றும் பிரஷர் இருக்கு, அதுக்கு மெட்ஃபார்மின் மாத்திரை சாப்பிடுறேன்.",
|
||||
"stt_patient_transcript": "எனக்கு பத்து வருஷமா சுகர் மற்றும் பிரஷர் இருக்கு, அதுக்கு மெட்ஃபார்மின் மாத்திரை சாப்பிடுறேன்.",
|
||||
"ai_spoken_reply": "புரியுதுங்க, உங்களுக்கு ஏதேனும் மாத்திரை அலர்ஜி இருக்கா?",
|
||||
"suggested_specialty": "General Medicine / Primary Care",
|
||||
"specialty_code": "general_medicine",
|
||||
"stage": "allergies",
|
||||
"completed": false,
|
||||
"turn_latency_ms": 12046.3,
|
||||
"backend_time_ms": 12032.23
|
||||
},
|
||||
{
|
||||
"turn": 3,
|
||||
"description": "Drug Allergy",
|
||||
"original_speech_text": "எனக்கு பெனிசிலின் மாத்திரை சாப்பிட்டா உடம்பு முழுக்க தழும்பு தடிச்சு அலர்ஜி ஆகும்.",
|
||||
"stt_patient_transcript": "எனக்கு பெனிசிலின் மாத்திரை சாப்பிட்டா உடம்பு முழுக்க தழும்பு தடிச்சு அலர்ஜி ஆகும்",
|
||||
"ai_spoken_reply": "சரிங்க, எல்லா விவரத்தையும் டாக்டர்கிட்ட குடுத்துடுறேன். ரொம்ப நன்றிங்க!",
|
||||
"suggested_specialty": "Dermatology (Skin & Hair Care)",
|
||||
"specialty_code": "dermatology",
|
||||
"stage": "confirmation",
|
||||
"completed": true,
|
||||
"turn_latency_ms": 3509.07,
|
||||
"backend_time_ms": 3496.94
|
||||
},
|
||||
{
|
||||
"turn": 4,
|
||||
"description": "Completion",
|
||||
"original_speech_text": "சரிங்க, வேற எந்த பிரச்சனையும் இல்ல, எல்லா விவரமும் கரெக்ட்.",
|
||||
"stt_patient_transcript": "சரிங்க, வேற எந்த பிரச்சனையும் இல்ல. எல்லா விவரமும் கரெக்ட்.",
|
||||
"ai_spoken_reply": "சரிங்க, எல்லா விவரத்தையும் டாக்டர்கிட்ட குடுத்துடுறேன். ரொம்ப நன்றிங்க!",
|
||||
"suggested_specialty": "General Medicine / Primary Care",
|
||||
"specialty_code": "general_medicine",
|
||||
"stage": "confirmation",
|
||||
"completed": true,
|
||||
"turn_latency_ms": 2408.93,
|
||||
"backend_time_ms": 2401.91
|
||||
},
|
||||
{
|
||||
"step": "FINAL_EHR_EXTRACTION",
|
||||
"status": "submitted_and_cleaned",
|
||||
"response_time_ms": 17917.69,
|
||||
"final_ehr_result": {
|
||||
"patient_id": "PAT-COMPLEX-2026",
|
||||
"abha_id": null,
|
||||
"phone": null,
|
||||
"insurance_scheme": null,
|
||||
"category": {
|
||||
"type": "general",
|
||||
"code": "dermatology",
|
||||
"name": "Dermatology (Skin & Hair Care)"
|
||||
},
|
||||
"chief_complaint": "நெஞ்சு பாரம் மற்றும் மூச்சு திணறல்",
|
||||
"symptoms": [
|
||||
{
|
||||
"name": "நெஞ்சு பாரம்",
|
||||
"duration": "3 நாட்கள்",
|
||||
"severity": "severe",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"name": "மூச்சு திணறல்",
|
||||
"duration": "3 நாட்கள்",
|
||||
"severity": "severe",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"name": "படபடப்பு",
|
||||
"duration": "3 நாட்கள்",
|
||||
"severity": "moderate",
|
||||
"description": null
|
||||
}
|
||||
],
|
||||
"medical_history": [
|
||||
"சுகர்",
|
||||
"பிரஷர்"
|
||||
],
|
||||
"medications": [
|
||||
"மெட்ஃபார்மின்"
|
||||
],
|
||||
"allergies": [
|
||||
"பெனிசிலின் - உடம்பு முழுக்க தழும்பு தடிச்சு"
|
||||
],
|
||||
"dietary_habits": null,
|
||||
"additional_information": "பத்து வருஷமா சுகர் மற்றும் பிரஷர் இருக்கு, மெட்ஃபார்மின் மாத்திரை சாப்பிடுறேன்",
|
||||
"language": "ta-IN",
|
||||
"onboarding_completed": true
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user