...
Code Block |
---|
curl -k -X GET \ -H "X-ApiToken: 5a2eb231d652b49f4d7fc0fbb78328fb" \ -H "X-AccountCode: vclinic" \ "https://api.vseepreview.com/vc/next/api_v3/visits/7727.json" { "data": { "member_id": 17778181, "provider_id": 12456470, "account_code": "vclinic", "code": "615f2e2eabc46ad94e9b6457b11", "start": 1631628616, "end": 1631628916, "actual_start": 1631628211, "actual_end": null, "specialty_id": null, "state": null, "type": 2, "status": 30, "completed_by": null, "room_id": 1002387, "room_code": "vclinicroom", "modified": 1633630312, "created": 1633627694, "provider": { "id": "12456470", "email": "anton+providersa@vseelab.com", "subtype": "482", "vseeid": "anton+providersa@vseelab.com", "photo": null, "full_name": "Anton Provider", "title": "", "suffix": "" }, "member": { "id": "17778181", "code": "anton+vclinic2@vseelab.com", "email": "anton+vclinic2@vseelab.com", "vseeid": "cmo+615f28cd70804d8994d62bd564457b11", "photo": null, "full_name": "Anton Test", "phone": "5551231122" }, "subType": 3, "more_provider_ids": null, "guest_emails": null, "guest_mobiles": null, "reminder_type": null, "reminder_time": null, "host_ids": [ "12456470" ], "hosts": [ { "username": "anton+providersa@vseelab.com", "email": "anton+providersa@vseelab.com", "phone": "", "timezone": "America/Los_Angeles", "vseeid": "anton+providersa@vseelab.com", "full_name": "Anton Provider", "title": "", "suffix": "", "id": "12456470", "photo_attachment_id": "", "role": "owner" } ], "creator": { "id": "15729940", "code": "60aed4242c90409099385cef64457b11", "vseeid": "d55d2f77ff3653891a587fdfa83207b4@vsee.com", "type": 160, "subtype": "", "first_name": null, "last_name": null, "account_code": "vclinic" }, "pending_actions": [], "is_test": false, "meeting": { "recording_auto_start": false, "phone_numbers": { "US": [ "+1.650.758.0255" ] }, "hosts": [ "anton+providersa@vseelab.com", "chau+provider@vseelab.com" ], "expiry": 1633643316, "conference_pin": 838759, "meeting_id": "1633627695040_2cc263f4-3d07-49fa-97b1-b2955ff40dfa__jitsi" }, "one_time_link_token": "l0vht6wkxj", "notify_list": [], "payment": { "duration": null, "amount": "25.00", "description": "Cloud Clinic Default One-time Charge Message", "id": "615cec5b-14c8-4493-b9ce-365764457b11" }, "intake_id": "615f2de7-8ab8-48d3-80d8-53f564457b11", "related_walkin_id": "18407370", "call_logs": { "total_start": 1633628208, "total_end": 1633628268, "total_duration": 60, "waiting_time": 0, "provider_id_1": "anton+providersa@vseelab.com", "call_start_1": 1633628208, "call_duration_1": 60, "wait_time_1": 0, "patients": [ "cmo+615f28cd70804d8994d62bd564457b11" ], "source": "v2", "source_ids": [ "1633628104000_1633627695040_2cc263f4-3d07-49fa-97b1-b2955ff40dfa__jitsi", "1633628745000_1633627695040_2cc263f4-3d07-49fa-97b1-b2955ff40dfa__jitsi" ] }, "incharge": false, "intake": { "provider_id": "12456470", "member_id": "17778181", "room_code": "vclinicroom", "location": "MI", "phone": "5551234415", "type": "2", "room": "vclinicroom", "modified": 1633627623, "created": 1633627623, "visit_id": "18407167", "attachments": "", "reason_for_visit": "", "consent": "true", "consultation": { "description": "test", "duration": 60, "charge": false, "group": false, "slots": 1, "amount": 0, "visible_to_patient": true, "id": "615cec5b-14c8-4493-b9ce-365764457b11", "currency": "USD" }, "medical_profile": { "_id": "553ea41ef468747652d11034", "user_id": "575", "family_conditions": { "data": [ { "condition": "Diabetes", "relations": [ "Paternal grandparents" ] }, { "condition": "Ulcer disease", "relations": [ "Mother" ] } ], "modified": 1467623311, "modifiedBy": "Keven Teodoro" }, "conditions": { "data": [ { "condition": "Kidney disease" }, { "condition": "Kidney stones" }, { "condition": "Stroke" } ], "modified": 1472059195, "modifiedBy": "Keven2 Teodoro2" }, "social_history": { "data": [], "modified": 1472588123, "modifiedBy": "Keven2 Teodoro2", "modified_by": { "id": "575", "type": 200, "subtype": "", "first_name": "Keven2", "last_name": "Teodoro2", "photo": "" } }, "health_habits": { "data": [], "modified": 1470128370, "modifiedBy": "Keven2 Teodoro2" }, "surgeries": { "data": [ { "procedure": "C-section" }, { "procedure": "Heart valve replaced" } ], "modified": 1471769856, "modifiedBy": "Keven2 Teodoro2" }, "medications": { "data": [], "modified": 1471769958, "modifiedBy": "Keven2 Teodoro2", "modified_by": { "id": "575", "type": "200", "subtype": "", "first_name": "Keven2", "last_name": "Teodoro2" } }, "allergies": { "data": [], "modified": 1471986123, "modifiedBy": "Keven2 Teodoro2", "modified_by": { "id": "575", "type": "200", "subtype": "", "first_name": "Keven2", "last_name": "Teodoro2" } }, "modified": { "sec": 1472059195, "usec": 806000 }, "created": { "sec": 1430168606, "usec": 596000 } }, "id": "615f2de7-8ab8-48d3-80d8-53f564457b11" }, "related_walkin": { "start": 1633628101, "end": 1633631701, "status": 30, "id": "18407370" }, "postvisit": { "member_id": "17778181", "class_id": null, "visit_id": "18407167", "modified": 1633627695, "created": 1633627695, "id": "615f2e2f-c240-4088-a28b-594b64457b11" }, "postvisit": { "visit_id": "9709", "modified": 1473370072, "created": 1473368099, "member_id": "1290", "modifiedBy": "Second Provider 2", "draft": false, "attachments": [], "physical_exam": "<p>dfvevofivuoiwue<\/p><p>iou<\/p><p>oi<\/p>", "assessment_plan": "<p>oiuoiwfuweoifu<\/p><p>efweiofweiofuweoif<\/p><p><br><\/p>", "reason_for_visit": "Allergic reaction", "reason_for_visit_other": "", "schema": "", "diagnosis": "Allergic reaction,initial encounter (T78.40XA),Asthma (J45.909)", "patient_instructions": "<p>Plan \/ Discharge...<br><\/p>", "disposition": "Referred to ED", "dea": "", "npi": "", "attachments": [ { "_id": "57e4f034-3a0c-4b1d-bc15-221bac1f0144", "name": "Water_nature_canyon_cliffs_horseshoe_bend_rivers_2560x1600.jpg", "path": "files/2016/09/23/57e4f034-3a0c-4b1d-bc15-221bac1f0144.jpg", "size": 1692776, "ext": "jpg", "type": 0, "creator_id": "1096", "remark": null, "using": 1, "modified": { "sec": 1474621492, "usec": 858000 }, "created": { "sec": 1474621492, "usec": 858000 } } ] }, "isEditExpired": false, "room": { "id": "10023087", "code": "vclinicroom", "name": "VClinic UAT", "domain": "vclinic.vseepreview.com", "account_code": "vclinic", "slug": "UAT" }, "account": { "code": "vclinic", "name": "VClinic", "domain": "vclinic.vseepreview.com", "vsee_api": { "meeting": { "enabled": true, "guest_invite_enabled": true, "adhoc_group_call": { "disabled": true } } } }, "prescriptionsBeforeVisit": [ { "ID": "97316", "DrugID": "69117", "NDC": "00122206038", "RxNormCode": "260654", "Drug": "One Tab Daily with Iron oral tablet", "Supply": false, "Compound": false, "Directions": "1 Milliliter(s) 1 to 2 times a day", "Qty": 60, "QtyQual": "Tablet", "Refills": 0, "DaysSupply": 0, "SubstitutionAllowedFlag": 1, "Schedule": 0, "PharmacyNote": "", "InternalNote": "", "PrescriberId": "826", "LocationId": "DEMO-ACCOUNT", "PrescriptionDate": "2016-01-30T00:00:00", "SignDate": "0001-01-01T00:00:00", "Status": "Current", "PharmacyNcpdpId": "0001060", "RouteDetail": "e-Sent:Jan 30 2016 3:41PM Test 000 Pharmacy 10.6MU<br />Sent", "PartnerMedID": "", "PrescriberName": "Dr. John Will, M.D." }, "prescriptions": [], "root_visit": { "id": "18407167", "group_chat_id": null, "participants": null }, "id": "18407167", "subtype": 3 } } |
POST /visits/:id?version=2
Update an appointment
Parameters
Parameter | Type | Description |
---|---|---|
|
| (optional) The timestamp of the beginning of the appointment (in UNIX timestamp format) |
|
| (optional) The timestamp of the ending of the appointment (in UNIX timestamp format) |
|
| (optional) The ID of the provider who is being visited |
Add provider into a TDB visit
Please supply slot_start
, slot_end
and new provider_id
Response
Code Block |
---|
curl -X POST \
-H "X-ApiToken: 5a2eb231d652b49f88880fbb78328fb" \
-H "X-AccountCode: vclinic" \
-H "Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW" \
-F "provider_id=566" \
-F "slot_start=1470669300" \
-F "slot_end=1470670200" \
"https://api.vseepreview.com/vc/next/api_v3/visits/666"
{
"data": {
"member_id": 567,
"provider_id": 566,
"account_code": "vclinic",
"code": "615f2e2eabc46ad94e9b6457b11",
"start": 1631628616,
"end": 1631628916,
...
}
} |
...