Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
V2 Map + Obj vs Map + Map
(version: 0)
Testing if mixing map with objects is better or worse then just using Map and then iterating over It
Comparing performance of:
Map + Obj vs Map + Map
Created:
3 years ago
by:
Guest
Jump to the latest result
Tests:
Map + Obj
const doctors = [ { "professional": { "id": "pro_ck3ogpnob0002mhpqhgcf2s49", "name": "Devs + Pro (.ro)", "documentNumber": "000009", "documentType": "CRP", "documentState": "SP", "biologicalSex": "M", "careTeams": [ { "id": "car_tea_ckn7rbkez0000fpdqge9aa3hm", "name": "Equipe Lapa", "clinicId": "cli_cjxyringi0000i2vog8g55l7q", "telephone": "11111111111", "isTele": false, "agendaOccupation": 0 } ] }, "clinic": { "id": "cli_ck9b7yjf3000195vohxz60nio", "name": "Amparo Tele" }, "ranking": 0, "slots": [ { "id": "slo_cl5l4cn24007s26l06rvib86a", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "07:00:00", "endTime": "07:14:59", "date": "2022-07-26T10:00:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24007t26l0hl4lfh5p", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "07:15:00", "endTime": "07:29:59", "date": "2022-07-26T10:15:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24007u26l0cnh3dif6", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "07:30:00", "endTime": "07:44:59", "date": "2022-07-26T10:30:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24007v26l00qynes3r", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "07:45:00", "endTime": "07:59:59", "date": "2022-07-26T10:45:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24007w26l0fwyk0stm", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "08:00:00", "endTime": "08:14:59", "date": "2022-07-26T11:00:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24007x26l06nao4kg2", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "08:15:00", "endTime": "08:29:59", "date": "2022-07-26T11:15:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24007y26l0hrw4ay7f", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "08:30:00", "endTime": "08:44:59", "date": "2022-07-26T11:30:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24007z26l0cy209i2p", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "08:45:00", "endTime": "08:59:59", "date": "2022-07-26T11:45:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24008026l09kv189xr", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "09:00:00", "endTime": "09:14:59", "date": "2022-07-26T12:00:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24008126l0aq53fxtm", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "09:15:00", "endTime": "09:29:59", "date": "2022-07-26T12:15:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24008226l03wyxcsnd", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "09:30:00", "endTime": "09:44:59", "date": "2022-07-26T12:30:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24008326l0d5a5606a", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "09:45:00", "endTime": "09:59:59", "date": "2022-07-26T12:45:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24008426l09rxnaqst", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "10:00:00", "endTime": "10:14:59", "date": "2022-07-26T13:00:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24008526l0dr6med8v", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "10:15:00", "endTime": "10:29:59", "date": "2022-07-26T13:15:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn25008626l0fsg08tmt", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "10:30:00", "endTime": "10:44:59", "date": "2022-07-26T13:30:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn25008726l02vwa7uaw", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "10:45:00", "endTime": "10:59:59", "date": "2022-07-26T13:45:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn25008826l08i876n6e", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "11:00:00", "endTime": "11:14:59", "date": "2022-07-26T14:00:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn25008926l0baxkcazf", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "11:15:00", "endTime": "11:29:59", "date": "2022-07-26T14:15:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn25008a26l00mndhnv3", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "11:30:00", "endTime": "11:44:59", "date": "2022-07-26T14:30:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn25008b26l0dv2gcsfn", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "11:45:00", "endTime": "11:59:59", "date": "2022-07-26T14:45:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null } ] }, { "professional": { "id": "pro_ck3ogpnob0003mhpq0jp47o2l", "name": "Devs + Pro (.com)", "documentNumber": "000010", "documentType": "CRP", "documentState": "SP", "biologicalSex": "M", "careTeams": [ { "id": "car_tea_ckn7rbkf00001fpdq60vk9pse", "name": "Equipe Pinheiros", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "telephone": "11222222222", "isTele": false, "agendaOccupation": 0 } ] }, "clinic": { "id": "cli_ckn7qpqml0000d5dq3mdjhkzc", "name": "Pinheiros" }, "ranking": 0, "slots": [ { "id": "slo_cl5l4cn6f00ws26l06bvif587", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "09:00:00", "endTime": "09:14:59", "date": "2022-07-26T12:00:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00wt26l0bb818sqs", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "09:15:00", "endTime": "09:29:59", "date": "2022-07-26T12:15:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00wu26l0679s3slw", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "09:30:00", "endTime": "09:44:59", "date": "2022-07-26T12:30:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00wv26l07ssr3zw2", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "09:45:00", "endTime": "09:59:59", "date": "2022-07-26T12:45:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00ww26l0c6muf3c4", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "10:00:00", "endTime": "10:14:59", "date": "2022-07-26T13:00:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00wx26l0epqfbrdx", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "10:15:00", "endTime": "10:29:59", "date": "2022-07-26T13:15:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00wy26l070yt4dfv", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "10:30:00", "endTime": "10:44:59", "date": "2022-07-26T13:30:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00wz26l04wpxf4ye", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "10:45:00", "endTime": "10:59:59", "date": "2022-07-26T13:45:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x026l00c35acic", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "11:00:00", "endTime": "11:14:59", "date": "2022-07-26T14:00:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x126l03dl98n9d", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "11:15:00", "endTime": "11:29:59", "date": "2022-07-26T14:15:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x226l0f7pyeiwk", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "11:30:00", "endTime": "11:44:59", "date": "2022-07-26T14:30:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x326l09neh9oxb", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "11:45:00", "endTime": "11:59:59", "date": "2022-07-26T14:45:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x426l0apiogx1q", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "12:00:00", "endTime": "12:14:59", "date": "2022-07-26T15:00:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x526l01dymf7d3", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "12:15:00", "endTime": "12:29:59", "date": "2022-07-26T15:15:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x626l0950xa9wr", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "12:30:00", "endTime": "12:44:59", "date": "2022-07-26T15:30:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x726l0cnfy22l1", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "12:45:00", "endTime": "12:59:59", "date": "2022-07-26T15:45:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x826l0fgj16ix2", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "13:00:00", "endTime": "13:14:59", "date": "2022-07-26T16:00:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x926l0dgw09htf", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "13:15:00", "endTime": "13:29:59", "date": "2022-07-26T16:15:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00xa26l0bx2932fu", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "13:30:00", "endTime": "13:44:59", "date": "2022-07-26T16:30:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00xb26l01hrebh7l", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "13:45:00", "endTime": "13:59:59", "date": "2022-07-26T16:45:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null } ] }, { "professional": { "id": "pro_cl5przo5900862il0f8rm6eax", "name": "Enfermeiro Jacó 2", "documentNumber": "111111111111", "documentType": "CRN", "documentState": "RJ", "biologicalSex": "M", "careTeams": [] }, "clinic": { "id": "cli_ck9b7yjf3000195vohxz60nio", "name": "Amparo Tele" }, "ranking": 0.25, "slots": [ { "id": "slo_cl5ps6fu8009m2il07agh7vdw", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "07:05:00", "endTime": "07:19:59", "date": "2022-07-26T10:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu8009n2il01f98d4hk", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "07:20:00", "endTime": "07:34:59", "date": "2022-07-26T10:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu8009o2il02f9s74k3", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "07:35:00", "endTime": "07:49:59", "date": "2022-07-26T10:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu8009p2il0e56jeodv", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "07:50:00", "endTime": "08:04:59", "date": "2022-07-26T10:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu8009q2il024vxh4wv", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "08:05:00", "endTime": "08:19:59", "date": "2022-07-26T11:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu8009r2il07tzfhbyw", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "08:20:00", "endTime": "08:34:59", "date": "2022-07-26T11:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009s2il08p3uge1x", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "08:35:00", "endTime": "08:49:59", "date": "2022-07-26T11:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009t2il0809ycsnk", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "08:50:00", "endTime": "09:04:59", "date": "2022-07-26T11:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009u2il0go6y1ezp", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "09:05:00", "endTime": "09:19:59", "date": "2022-07-26T12:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009v2il02zz9g775", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "09:20:00", "endTime": "09:34:59", "date": "2022-07-26T12:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009w2il0an708oj2", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "09:35:00", "endTime": "09:49:59", "date": "2022-07-26T12:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009x2il02olehsa8", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "09:50:00", "endTime": "10:04:59", "date": "2022-07-26T12:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009y2il08cet4z4g", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "10:05:00", "endTime": "10:19:59", "date": "2022-07-26T13:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009z2il0870dcnr7", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "10:20:00", "endTime": "10:34:59", "date": "2022-07-26T13:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a02il045me1g5e", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "10:35:00", "endTime": "10:49:59", "date": "2022-07-26T13:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a12il07r5p4ff6", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "10:50:00", "endTime": "11:04:59", "date": "2022-07-26T13:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a22il03l734i0m", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "11:05:00", "endTime": "11:19:59", "date": "2022-07-26T14:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a32il06wosa0ii", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "11:20:00", "endTime": "11:34:59", "date": "2022-07-26T14:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a42il0bid39qcz", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "11:35:00", "endTime": "11:49:59", "date": "2022-07-26T14:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a52il08s493nui", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "11:50:00", "endTime": "12:04:59", "date": "2022-07-26T14:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a62il06ioo8tv3", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "12:05:00", "endTime": "12:19:59", "date": "2022-07-26T15:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a72il016v8e72v", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "12:20:00", "endTime": "12:34:59", "date": "2022-07-26T15:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00a82il0958y1ieu", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "12:35:00", "endTime": "12:49:59", "date": "2022-07-26T15:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00a92il0215y5zog", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "12:50:00", "endTime": "13:04:59", "date": "2022-07-26T15:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00aa2il00smrhk4v", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "13:05:00", "endTime": "13:19:59", "date": "2022-07-26T16:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00ab2il0fra15or9", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "13:20:00", "endTime": "13:34:59", "date": "2022-07-26T16:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00ac2il0f0useecc", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "13:35:00", "endTime": "13:49:59", "date": "2022-07-26T16:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00ad2il047tjd3ao", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "13:50:00", "endTime": "14:04:59", "date": "2022-07-26T16:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00ae2il021k95wda", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "14:05:00", "endTime": "14:19:59", "date": "2022-07-26T17:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00af2il0fdscf6lj", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "14:20:00", "endTime": "14:34:59", "date": "2022-07-26T17:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00ag2il07fal095w", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "14:35:00", "endTime": "14:49:59", "date": "2022-07-26T17:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00ah2il0apmqgfnj", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "14:50:00", "endTime": "15:04:59", "date": "2022-07-26T17:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00ai2il08ldrhfv4", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "15:05:00", "endTime": "15:19:59", "date": "2022-07-26T18:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fuc00aj2il0e0gw92pm", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "15:20:00", "endTime": "15:34:59", "date": "2022-07-26T18:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fuc00ak2il0hu5tdsn6", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "15:35:00", "endTime": "15:49:59", "date": "2022-07-26T18:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fuc00al2il0deot1fl2", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "15:50:00", "endTime": "16:04:59", "date": "2022-07-26T18:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fuc00am2il0am5o59vd", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "16:05:00", "endTime": "16:19:59", "date": "2022-07-26T19:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fuc00an2il0d2b1glfy", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "16:20:00", "endTime": "16:34:59", "date": "2022-07-26T19:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fuc00ao2il0bwn6htyo", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "16:35:00", "endTime": "16:49:59", "date": "2022-07-26T19:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null } ] } ] const nurses = [ { "professional": { "id": "pro_cl5qr7yuy0005dtl036lvdfun", "name": "Enf Jacó", "documentNumber": "111111111", "documentType": "CRM", "documentState": "RJ", "biologicalSex": "M", "careTeams": [] }, "clinic": { "id": "cli_ck9b7yjf3000195vohxz60nio", "name": "Amparo Tele" }, "ranking": 0.25, "slots": [ { "id": "slo_cl5qrbwbh001qdtl0cei2g0lv", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:00:00", "endTime": "07:14:59", "date": "2022-07-26T10:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbh001rdtl01jpic3gv", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:15:00", "endTime": "07:29:59", "date": "2022-07-26T10:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbh001sdtl012ur1dee", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:30:00", "endTime": "07:44:59", "date": "2022-07-26T10:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbh001tdtl08iqre0yz", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:45:00", "endTime": "07:59:59", "date": "2022-07-26T10:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001udtl0eds51buf", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:00:00", "endTime": "08:14:59", "date": "2022-07-26T11:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001vdtl09a1ob2f4", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:15:00", "endTime": "08:29:59", "date": "2022-07-26T11:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001wdtl0fpvwaevv", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:30:00", "endTime": "08:44:59", "date": "2022-07-26T11:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001xdtl07ifme00z", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:45:00", "endTime": "08:59:59", "date": "2022-07-26T11:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001ydtl01x551o1a", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:00:00", "endTime": "09:14:59", "date": "2022-07-26T12:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001zdtl0hq0f2h6j", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:15:00", "endTime": "09:29:59", "date": "2022-07-26T12:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0020dtl0cf9cfvqc", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:30:00", "endTime": "09:44:59", "date": "2022-07-26T12:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0021dtl0bkn34h7u", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:45:00", "endTime": "09:59:59", "date": "2022-07-26T12:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0022dtl0ba7v1c24", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:00:00", "endTime": "10:14:59", "date": "2022-07-26T13:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0023dtl0hxh6dy8v", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:15:00", "endTime": "10:29:59", "date": "2022-07-26T13:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0024dtl06s36d4qc", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:30:00", "endTime": "10:44:59", "date": "2022-07-26T13:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0025dtl0eeed1j3s", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:45:00", "endTime": "10:59:59", "date": "2022-07-26T13:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0026dtl03ltj7fiy", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:00:00", "endTime": "11:14:59", "date": "2022-07-26T14:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0027dtl0hvid20o2", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:15:00", "endTime": "11:29:59", "date": "2022-07-26T14:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0028dtl0av259qpi", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:30:00", "endTime": "11:44:59", "date": "2022-07-26T14:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0029dtl0dt6i6891", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:45:00", "endTime": "11:59:59", "date": "2022-07-26T14:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj002adtl058wu25qd", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:00:00", "endTime": "12:14:59", "date": "2022-07-26T15:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj002bdtl04pz8bv4o", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:15:00", "endTime": "12:29:59", "date": "2022-07-26T15:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj002cdtl09fnw82ly", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:30:00", "endTime": "12:44:59", "date": "2022-07-26T15:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002ddtl0dw3r7u2t", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:45:00", "endTime": "12:59:59", "date": "2022-07-26T15:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002edtl039gxcf11", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:00:00", "endTime": "13:14:59", "date": "2022-07-26T16:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002fdtl01qfgandn", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:15:00", "endTime": "13:29:59", "date": "2022-07-26T16:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002gdtl03h8g9wss", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:30:00", "endTime": "13:44:59", "date": "2022-07-26T16:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002hdtl018tmdf85", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:45:00", "endTime": "13:59:59", "date": "2022-07-26T16:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002idtl0653i8txr", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:00:00", "endTime": "14:14:59", "date": "2022-07-26T17:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002jdtl0cnrsgo6o", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:15:00", "endTime": "14:29:59", "date": "2022-07-26T17:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002kdtl070k70xqj", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:30:00", "endTime": "14:44:59", "date": "2022-07-26T17:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002ldtl00hrt2io0", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:45:00", "endTime": "14:59:59", "date": "2022-07-26T17:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002mdtl00ryr4bpk", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:00:00", "endTime": "15:14:59", "date": "2022-07-26T18:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002ndtl08fun0877", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:15:00", "endTime": "15:29:59", "date": "2022-07-26T18:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002odtl0e3do32k0", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:30:00", "endTime": "15:44:59", "date": "2022-07-26T18:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002pdtl0bvlbdtx8", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:45:00", "endTime": "15:59:59", "date": "2022-07-26T18:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002qdtl0h6jt0xtd", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:00:00", "endTime": "16:14:59", "date": "2022-07-26T19:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002rdtl0248jbiwt", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:15:00", "endTime": "16:29:59", "date": "2022-07-26T19:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002sdtl06xzfga9g", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:30:00", "endTime": "16:44:59", "date": "2022-07-26T19:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002tdtl01t4j24ur", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:45:00", "endTime": "16:59:59", "date": "2022-07-26T19:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002udtl08wy580xq", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:00:00", "endTime": "17:14:59", "date": "2022-07-26T20:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002vdtl0d7jygx5y", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:15:00", "endTime": "17:29:59", "date": "2022-07-26T20:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002wdtl09fwccsnr", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:30:00", "endTime": "17:44:59", "date": "2022-07-26T20:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002xdtl00wr0fz1k", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:45:00", "endTime": "17:59:59", "date": "2022-07-26T20:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002ydtl049plast7", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:00:00", "endTime": "18:14:59", "date": "2022-07-26T21:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002zdtl0foivhm3c", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:15:00", "endTime": "18:29:59", "date": "2022-07-26T21:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo0030dtl0f72795oq", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:30:00", "endTime": "18:44:59", "date": "2022-07-26T21:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo0031dtl007dx24lq", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:45:00", "endTime": "18:59:59", "date": "2022-07-26T21:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null } ] }, { "professional": { "id": "pro_cl5qr7yuy0005dtl036lvdfun", "name": "Enf Jacó", "documentNumber": "111111111", "documentType": "CRM", "documentState": "RJ", "biologicalSex": "M", "careTeams": [] }, "clinic": { "id": "cli_ck9b7yjf3000195vohxz60nio", "name": "Amparo Tele" }, "ranking": 0.25, "slots": [ { "id": "slo_cl5qrbwbh001qdtl0cei2g0lv", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:00:00", "endTime": "07:14:59", "date": "2022-07-26T10:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbh001rdtl01jpic3gv", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:15:00", "endTime": "07:29:59", "date": "2022-07-26T10:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbh001sdtl012ur1dee", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:30:00", "endTime": "07:44:59", "date": "2022-07-26T10:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbh001tdtl08iqre0yz", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:45:00", "endTime": "07:59:59", "date": "2022-07-26T10:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001udtl0eds51buf", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:00:00", "endTime": "08:14:59", "date": "2022-07-26T11:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001vdtl09a1ob2f4", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:15:00", "endTime": "08:29:59", "date": "2022-07-26T11:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001wdtl0fpvwaevv", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:30:00", "endTime": "08:44:59", "date": "2022-07-26T11:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001xdtl07ifme00z", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:45:00", "endTime": "08:59:59", "date": "2022-07-26T11:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001ydtl01x551o1a", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:00:00", "endTime": "09:14:59", "date": "2022-07-26T12:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001zdtl0hq0f2h6j", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:15:00", "endTime": "09:29:59", "date": "2022-07-26T12:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0020dtl0cf9cfvqc", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:30:00", "endTime": "09:44:59", "date": "2022-07-26T12:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0021dtl0bkn34h7u", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:45:00", "endTime": "09:59:59", "date": "2022-07-26T12:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0022dtl0ba7v1c24", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:00:00", "endTime": "10:14:59", "date": "2022-07-26T13:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0023dtl0hxh6dy8v", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:15:00", "endTime": "10:29:59", "date": "2022-07-26T13:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0024dtl06s36d4qc", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:30:00", "endTime": "10:44:59", "date": "2022-07-26T13:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0025dtl0eeed1j3s", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:45:00", "endTime": "10:59:59", "date": "2022-07-26T13:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0026dtl03ltj7fiy", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:00:00", "endTime": "11:14:59", "date": "2022-07-26T14:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0027dtl0hvid20o2", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:15:00", "endTime": "11:29:59", "date": "2022-07-26T14:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0028dtl0av259qpi", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:30:00", "endTime": "11:44:59", "date": "2022-07-26T14:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0029dtl0dt6i6891", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:45:00", "endTime": "11:59:59", "date": "2022-07-26T14:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj002adtl058wu25qd", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:00:00", "endTime": "12:14:59", "date": "2022-07-26T15:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj002bdtl04pz8bv4o", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:15:00", "endTime": "12:29:59", "date": "2022-07-26T15:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj002cdtl09fnw82ly", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:30:00", "endTime": "12:44:59", "date": "2022-07-26T15:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002ddtl0dw3r7u2t", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:45:00", "endTime": "12:59:59", "date": "2022-07-26T15:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002edtl039gxcf11", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:00:00", "endTime": "13:14:59", "date": "2022-07-26T16:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002fdtl01qfgandn", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:15:00", "endTime": "13:29:59", "date": "2022-07-26T16:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002gdtl03h8g9wss", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:30:00", "endTime": "13:44:59", "date": "2022-07-26T16:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002hdtl018tmdf85", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:45:00", "endTime": "13:59:59", "date": "2022-07-26T16:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002idtl0653i8txr", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:00:00", "endTime": "14:14:59", "date": "2022-07-26T17:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002jdtl0cnrsgo6o", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:15:00", "endTime": "14:29:59", "date": "2022-07-26T17:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002kdtl070k70xqj", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:30:00", "endTime": "14:44:59", "date": "2022-07-26T17:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002ldtl00hrt2io0", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:45:00", "endTime": "14:59:59", "date": "2022-07-26T17:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002mdtl00ryr4bpk", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:00:00", "endTime": "15:14:59", "date": "2022-07-26T18:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002ndtl08fun0877", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:15:00", "endTime": "15:29:59", "date": "2022-07-26T18:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002odtl0e3do32k0", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:30:00", "endTime": "15:44:59", "date": "2022-07-26T18:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002pdtl0bvlbdtx8", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:45:00", "endTime": "15:59:59", "date": "2022-07-26T18:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002qdtl0h6jt0xtd", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:00:00", "endTime": "16:14:59", "date": "2022-07-26T19:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002rdtl0248jbiwt", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:15:00", "endTime": "16:29:59", "date": "2022-07-26T19:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002sdtl06xzfga9g", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:30:00", "endTime": "16:44:59", "date": "2022-07-26T19:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002tdtl01t4j24ur", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:45:00", "endTime": "16:59:59", "date": "2022-07-26T19:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002udtl08wy580xq", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:00:00", "endTime": "17:14:59", "date": "2022-07-26T20:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002vdtl0d7jygx5y", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:15:00", "endTime": "17:29:59", "date": "2022-07-26T20:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002wdtl09fwccsnr", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:30:00", "endTime": "17:44:59", "date": "2022-07-26T20:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002xdtl00wr0fz1k", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:45:00", "endTime": "17:59:59", "date": "2022-07-26T20:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002ydtl049plast7", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:00:00", "endTime": "18:14:59", "date": "2022-07-26T21:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002zdtl0foivhm3c", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:15:00", "endTime": "18:29:59", "date": "2022-07-26T21:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo0030dtl0f72795oq", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:30:00", "endTime": "18:44:59", "date": "2022-07-26T21:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo0031dtl007dx24lq", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:45:00", "endTime": "18:59:59", "date": "2022-07-26T21:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null } ] } ] const doubleAppointmentSlots = () => { const extendedDoctorSlots = doctors const result = extendedDoctorSlots.reduce((acc, doctorData) => { const doctorSlotsMap = () => { const MapObject = new Map() doctorData.slots.forEach((slot) => { const { interval, date } = slot const startTime = date MapObject.set(startTime, { doctorSlot: slot, }) }) return MapObject } const doctorClinicId = doctorData.clinic.id const doubleSlots = () => { const extendedNurseSlots = nurses const filteredNursesData = extendedNurseSlots .filter(({ clinic }) => clinic.id === doctorClinicId) const newSlotsObject = { slots: [], nurseSlots: [], rawNurseSlots: null } for (const nurseData of filteredNursesData) { newSlotsObject.rawNurseSlots = nurseData.slots for (const nurseSlot of nurseData.slots) { const { date } = nurseSlot const startTime = date const double = doctorSlotsMap().get(startTime) if (!!double && !double.nurseSlots) { doctorSlotsMap().set(startTime, { doctorSlot: double.doctorSlot, nurseSlots: nurseSlot, }) newSlotsObject.slots.push(double.slots) newSlotsObject.nurseSlots.push(nurseSlot) } } } return newSlotsObject } return [...acc, { ...doctorData, ...doubleSlots() }] }, []) return result } doubleAppointmentSlots()
Map + Map
const doctors = [ { "professional": { "id": "pro_ck3ogpnob0002mhpqhgcf2s49", "name": "Devs + Pro (.ro)", "documentNumber": "000009", "documentType": "CRP", "documentState": "SP", "biologicalSex": "M", "careTeams": [ { "id": "car_tea_ckn7rbkez0000fpdqge9aa3hm", "name": "Equipe Lapa", "clinicId": "cli_cjxyringi0000i2vog8g55l7q", "telephone": "11111111111", "isTele": false, "agendaOccupation": 0 } ] }, "clinic": { "id": "cli_ck9b7yjf3000195vohxz60nio", "name": "Amparo Tele" }, "ranking": 0, "slots": [ { "id": "slo_cl5l4cn24007s26l06rvib86a", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "07:00:00", "endTime": "07:14:59", "date": "2022-07-26T10:00:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24007t26l0hl4lfh5p", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "07:15:00", "endTime": "07:29:59", "date": "2022-07-26T10:15:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24007u26l0cnh3dif6", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "07:30:00", "endTime": "07:44:59", "date": "2022-07-26T10:30:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24007v26l00qynes3r", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "07:45:00", "endTime": "07:59:59", "date": "2022-07-26T10:45:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24007w26l0fwyk0stm", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "08:00:00", "endTime": "08:14:59", "date": "2022-07-26T11:00:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24007x26l06nao4kg2", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "08:15:00", "endTime": "08:29:59", "date": "2022-07-26T11:15:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24007y26l0hrw4ay7f", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "08:30:00", "endTime": "08:44:59", "date": "2022-07-26T11:30:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24007z26l0cy209i2p", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "08:45:00", "endTime": "08:59:59", "date": "2022-07-26T11:45:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24008026l09kv189xr", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "09:00:00", "endTime": "09:14:59", "date": "2022-07-26T12:00:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24008126l0aq53fxtm", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "09:15:00", "endTime": "09:29:59", "date": "2022-07-26T12:15:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24008226l03wyxcsnd", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "09:30:00", "endTime": "09:44:59", "date": "2022-07-26T12:30:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24008326l0d5a5606a", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "09:45:00", "endTime": "09:59:59", "date": "2022-07-26T12:45:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24008426l09rxnaqst", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "10:00:00", "endTime": "10:14:59", "date": "2022-07-26T13:00:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn24008526l0dr6med8v", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "10:15:00", "endTime": "10:29:59", "date": "2022-07-26T13:15:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn25008626l0fsg08tmt", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "10:30:00", "endTime": "10:44:59", "date": "2022-07-26T13:30:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn25008726l02vwa7uaw", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "10:45:00", "endTime": "10:59:59", "date": "2022-07-26T13:45:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn25008826l08i876n6e", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "11:00:00", "endTime": "11:14:59", "date": "2022-07-26T14:00:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn25008926l0baxkcazf", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "11:15:00", "endTime": "11:29:59", "date": "2022-07-26T14:15:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn25008a26l00mndhnv3", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "11:30:00", "endTime": "11:44:59", "date": "2022-07-26T14:30:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn25008b26l0dv2gcsfn", "agendaId": "age_ck3iv6xq2000046pq1bn48mtc", "reserves": null, "interval": 15, "status": "available", "startTime": "11:45:00", "endTime": "11:59:59", "date": "2022-07-26T14:45:00.000Z", "professionalId": "pro_ck3ogpnob0002mhpqhgcf2s49", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null } ] }, { "professional": { "id": "pro_ck3ogpnob0003mhpq0jp47o2l", "name": "Devs + Pro (.com)", "documentNumber": "000010", "documentType": "CRP", "documentState": "SP", "biologicalSex": "M", "careTeams": [ { "id": "car_tea_ckn7rbkf00001fpdq60vk9pse", "name": "Equipe Pinheiros", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "telephone": "11222222222", "isTele": false, "agendaOccupation": 0 } ] }, "clinic": { "id": "cli_ckn7qpqml0000d5dq3mdjhkzc", "name": "Pinheiros" }, "ranking": 0, "slots": [ { "id": "slo_cl5l4cn6f00ws26l06bvif587", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "09:00:00", "endTime": "09:14:59", "date": "2022-07-26T12:00:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00wt26l0bb818sqs", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "09:15:00", "endTime": "09:29:59", "date": "2022-07-26T12:15:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00wu26l0679s3slw", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "09:30:00", "endTime": "09:44:59", "date": "2022-07-26T12:30:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00wv26l07ssr3zw2", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "09:45:00", "endTime": "09:59:59", "date": "2022-07-26T12:45:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00ww26l0c6muf3c4", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "10:00:00", "endTime": "10:14:59", "date": "2022-07-26T13:00:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00wx26l0epqfbrdx", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "10:15:00", "endTime": "10:29:59", "date": "2022-07-26T13:15:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00wy26l070yt4dfv", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "10:30:00", "endTime": "10:44:59", "date": "2022-07-26T13:30:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00wz26l04wpxf4ye", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "10:45:00", "endTime": "10:59:59", "date": "2022-07-26T13:45:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x026l00c35acic", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "11:00:00", "endTime": "11:14:59", "date": "2022-07-26T14:00:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x126l03dl98n9d", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "11:15:00", "endTime": "11:29:59", "date": "2022-07-26T14:15:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x226l0f7pyeiwk", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "11:30:00", "endTime": "11:44:59", "date": "2022-07-26T14:30:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x326l09neh9oxb", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "11:45:00", "endTime": "11:59:59", "date": "2022-07-26T14:45:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x426l0apiogx1q", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "12:00:00", "endTime": "12:14:59", "date": "2022-07-26T15:00:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x526l01dymf7d3", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "12:15:00", "endTime": "12:29:59", "date": "2022-07-26T15:15:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x626l0950xa9wr", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "12:30:00", "endTime": "12:44:59", "date": "2022-07-26T15:30:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x726l0cnfy22l1", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "12:45:00", "endTime": "12:59:59", "date": "2022-07-26T15:45:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x826l0fgj16ix2", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "13:00:00", "endTime": "13:14:59", "date": "2022-07-26T16:00:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00x926l0dgw09htf", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "13:15:00", "endTime": "13:29:59", "date": "2022-07-26T16:15:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00xa26l0bx2932fu", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "13:30:00", "endTime": "13:44:59", "date": "2022-07-26T16:30:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5l4cn6f00xb26l01hrebh7l", "agendaId": "age_ckn7r0eqs0000erdqb0xr6ko4", "reserves": null, "interval": 15, "status": "available", "startTime": "13:45:00", "endTime": "13:59:59", "date": "2022-07-26T16:45:00.000Z", "professionalId": "pro_ck3ogpnob0003mhpq0jp47o2l", "clinicId": "cli_ckn7qpqml0000d5dq3mdjhkzc", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null } ] }, { "professional": { "id": "pro_cl5przo5900862il0f8rm6eax", "name": "Enfermeiro Jacó 2", "documentNumber": "111111111111", "documentType": "CRN", "documentState": "RJ", "biologicalSex": "M", "careTeams": [] }, "clinic": { "id": "cli_ck9b7yjf3000195vohxz60nio", "name": "Amparo Tele" }, "ranking": 0.25, "slots": [ { "id": "slo_cl5ps6fu8009m2il07agh7vdw", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "07:05:00", "endTime": "07:19:59", "date": "2022-07-26T10:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu8009n2il01f98d4hk", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "07:20:00", "endTime": "07:34:59", "date": "2022-07-26T10:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu8009o2il02f9s74k3", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "07:35:00", "endTime": "07:49:59", "date": "2022-07-26T10:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu8009p2il0e56jeodv", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "07:50:00", "endTime": "08:04:59", "date": "2022-07-26T10:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu8009q2il024vxh4wv", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "08:05:00", "endTime": "08:19:59", "date": "2022-07-26T11:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu8009r2il07tzfhbyw", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "08:20:00", "endTime": "08:34:59", "date": "2022-07-26T11:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009s2il08p3uge1x", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "08:35:00", "endTime": "08:49:59", "date": "2022-07-26T11:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009t2il0809ycsnk", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "08:50:00", "endTime": "09:04:59", "date": "2022-07-26T11:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009u2il0go6y1ezp", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "09:05:00", "endTime": "09:19:59", "date": "2022-07-26T12:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009v2il02zz9g775", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "09:20:00", "endTime": "09:34:59", "date": "2022-07-26T12:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009w2il0an708oj2", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "09:35:00", "endTime": "09:49:59", "date": "2022-07-26T12:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009x2il02olehsa8", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "09:50:00", "endTime": "10:04:59", "date": "2022-07-26T12:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009y2il08cet4z4g", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "10:05:00", "endTime": "10:19:59", "date": "2022-07-26T13:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fu9009z2il0870dcnr7", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "10:20:00", "endTime": "10:34:59", "date": "2022-07-26T13:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a02il045me1g5e", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "10:35:00", "endTime": "10:49:59", "date": "2022-07-26T13:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a12il07r5p4ff6", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "10:50:00", "endTime": "11:04:59", "date": "2022-07-26T13:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a22il03l734i0m", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "11:05:00", "endTime": "11:19:59", "date": "2022-07-26T14:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a32il06wosa0ii", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "11:20:00", "endTime": "11:34:59", "date": "2022-07-26T14:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a42il0bid39qcz", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "11:35:00", "endTime": "11:49:59", "date": "2022-07-26T14:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a52il08s493nui", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "11:50:00", "endTime": "12:04:59", "date": "2022-07-26T14:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a62il06ioo8tv3", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "12:05:00", "endTime": "12:19:59", "date": "2022-07-26T15:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fua00a72il016v8e72v", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "12:20:00", "endTime": "12:34:59", "date": "2022-07-26T15:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00a82il0958y1ieu", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "12:35:00", "endTime": "12:49:59", "date": "2022-07-26T15:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00a92il0215y5zog", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "12:50:00", "endTime": "13:04:59", "date": "2022-07-26T15:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00aa2il00smrhk4v", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "13:05:00", "endTime": "13:19:59", "date": "2022-07-26T16:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00ab2il0fra15or9", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "13:20:00", "endTime": "13:34:59", "date": "2022-07-26T16:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00ac2il0f0useecc", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "13:35:00", "endTime": "13:49:59", "date": "2022-07-26T16:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00ad2il047tjd3ao", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "13:50:00", "endTime": "14:04:59", "date": "2022-07-26T16:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00ae2il021k95wda", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "14:05:00", "endTime": "14:19:59", "date": "2022-07-26T17:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00af2il0fdscf6lj", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "14:20:00", "endTime": "14:34:59", "date": "2022-07-26T17:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00ag2il07fal095w", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "14:35:00", "endTime": "14:49:59", "date": "2022-07-26T17:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00ah2il0apmqgfnj", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "14:50:00", "endTime": "15:04:59", "date": "2022-07-26T17:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fub00ai2il08ldrhfv4", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "15:05:00", "endTime": "15:19:59", "date": "2022-07-26T18:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fuc00aj2il0e0gw92pm", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "15:20:00", "endTime": "15:34:59", "date": "2022-07-26T18:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fuc00ak2il0hu5tdsn6", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "15:35:00", "endTime": "15:49:59", "date": "2022-07-26T18:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fuc00al2il0deot1fl2", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "15:50:00", "endTime": "16:04:59", "date": "2022-07-26T18:50:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fuc00am2il0am5o59vd", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "16:05:00", "endTime": "16:19:59", "date": "2022-07-26T19:05:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fuc00an2il0d2b1glfy", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "16:20:00", "endTime": "16:34:59", "date": "2022-07-26T19:20:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null }, { "id": "slo_cl5ps6fuc00ao2il0bwn6htyo", "agendaId": "age_cl5ps6frs008i2il0fc8r5aq8", "reserves": null, "interval": 15, "status": "available", "startTime": "16:35:00", "endTime": "16:49:59", "date": "2022-07-26T19:35:00.000Z", "professionalId": "pro_cl5przo5900862il0f8rm6eax", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjy92cswd001yi3voc4sjca8c", "reservedUntil": null } ] } ] const nurses = [ { "professional": { "id": "pro_cl5qr7yuy0005dtl036lvdfun", "name": "Enf Jacó", "documentNumber": "111111111", "documentType": "CRM", "documentState": "RJ", "biologicalSex": "M", "careTeams": [] }, "clinic": { "id": "cli_ck9b7yjf3000195vohxz60nio", "name": "Amparo Tele" }, "ranking": 0.25, "slots": [ { "id": "slo_cl5qrbwbh001qdtl0cei2g0lv", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:00:00", "endTime": "07:14:59", "date": "2022-07-26T10:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbh001rdtl01jpic3gv", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:15:00", "endTime": "07:29:59", "date": "2022-07-26T10:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbh001sdtl012ur1dee", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:30:00", "endTime": "07:44:59", "date": "2022-07-26T10:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbh001tdtl08iqre0yz", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:45:00", "endTime": "07:59:59", "date": "2022-07-26T10:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001udtl0eds51buf", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:00:00", "endTime": "08:14:59", "date": "2022-07-26T11:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001vdtl09a1ob2f4", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:15:00", "endTime": "08:29:59", "date": "2022-07-26T11:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001wdtl0fpvwaevv", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:30:00", "endTime": "08:44:59", "date": "2022-07-26T11:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001xdtl07ifme00z", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:45:00", "endTime": "08:59:59", "date": "2022-07-26T11:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001ydtl01x551o1a", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:00:00", "endTime": "09:14:59", "date": "2022-07-26T12:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001zdtl0hq0f2h6j", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:15:00", "endTime": "09:29:59", "date": "2022-07-26T12:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0020dtl0cf9cfvqc", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:30:00", "endTime": "09:44:59", "date": "2022-07-26T12:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0021dtl0bkn34h7u", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:45:00", "endTime": "09:59:59", "date": "2022-07-26T12:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0022dtl0ba7v1c24", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:00:00", "endTime": "10:14:59", "date": "2022-07-26T13:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0023dtl0hxh6dy8v", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:15:00", "endTime": "10:29:59", "date": "2022-07-26T13:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0024dtl06s36d4qc", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:30:00", "endTime": "10:44:59", "date": "2022-07-26T13:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0025dtl0eeed1j3s", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:45:00", "endTime": "10:59:59", "date": "2022-07-26T13:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0026dtl03ltj7fiy", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:00:00", "endTime": "11:14:59", "date": "2022-07-26T14:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0027dtl0hvid20o2", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:15:00", "endTime": "11:29:59", "date": "2022-07-26T14:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0028dtl0av259qpi", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:30:00", "endTime": "11:44:59", "date": "2022-07-26T14:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0029dtl0dt6i6891", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:45:00", "endTime": "11:59:59", "date": "2022-07-26T14:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj002adtl058wu25qd", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:00:00", "endTime": "12:14:59", "date": "2022-07-26T15:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj002bdtl04pz8bv4o", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:15:00", "endTime": "12:29:59", "date": "2022-07-26T15:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj002cdtl09fnw82ly", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:30:00", "endTime": "12:44:59", "date": "2022-07-26T15:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002ddtl0dw3r7u2t", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:45:00", "endTime": "12:59:59", "date": "2022-07-26T15:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002edtl039gxcf11", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:00:00", "endTime": "13:14:59", "date": "2022-07-26T16:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002fdtl01qfgandn", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:15:00", "endTime": "13:29:59", "date": "2022-07-26T16:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002gdtl03h8g9wss", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:30:00", "endTime": "13:44:59", "date": "2022-07-26T16:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002hdtl018tmdf85", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:45:00", "endTime": "13:59:59", "date": "2022-07-26T16:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002idtl0653i8txr", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:00:00", "endTime": "14:14:59", "date": "2022-07-26T17:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002jdtl0cnrsgo6o", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:15:00", "endTime": "14:29:59", "date": "2022-07-26T17:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002kdtl070k70xqj", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:30:00", "endTime": "14:44:59", "date": "2022-07-26T17:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002ldtl00hrt2io0", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:45:00", "endTime": "14:59:59", "date": "2022-07-26T17:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002mdtl00ryr4bpk", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:00:00", "endTime": "15:14:59", "date": "2022-07-26T18:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002ndtl08fun0877", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:15:00", "endTime": "15:29:59", "date": "2022-07-26T18:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002odtl0e3do32k0", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:30:00", "endTime": "15:44:59", "date": "2022-07-26T18:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002pdtl0bvlbdtx8", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:45:00", "endTime": "15:59:59", "date": "2022-07-26T18:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002qdtl0h6jt0xtd", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:00:00", "endTime": "16:14:59", "date": "2022-07-26T19:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002rdtl0248jbiwt", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:15:00", "endTime": "16:29:59", "date": "2022-07-26T19:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002sdtl06xzfga9g", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:30:00", "endTime": "16:44:59", "date": "2022-07-26T19:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002tdtl01t4j24ur", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:45:00", "endTime": "16:59:59", "date": "2022-07-26T19:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002udtl08wy580xq", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:00:00", "endTime": "17:14:59", "date": "2022-07-26T20:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002vdtl0d7jygx5y", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:15:00", "endTime": "17:29:59", "date": "2022-07-26T20:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002wdtl09fwccsnr", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:30:00", "endTime": "17:44:59", "date": "2022-07-26T20:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002xdtl00wr0fz1k", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:45:00", "endTime": "17:59:59", "date": "2022-07-26T20:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002ydtl049plast7", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:00:00", "endTime": "18:14:59", "date": "2022-07-26T21:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002zdtl0foivhm3c", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:15:00", "endTime": "18:29:59", "date": "2022-07-26T21:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo0030dtl0f72795oq", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:30:00", "endTime": "18:44:59", "date": "2022-07-26T21:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo0031dtl007dx24lq", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:45:00", "endTime": "18:59:59", "date": "2022-07-26T21:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null } ] }, { "professional": { "id": "pro_cl5qr7yuy0005dtl036lvdfun", "name": "Enf Jacó", "documentNumber": "111111111", "documentType": "CRM", "documentState": "RJ", "biologicalSex": "M", "careTeams": [] }, "clinic": { "id": "cli_ck9b7yjf3000195vohxz60nio", "name": "Amparo Tele" }, "ranking": 0.25, "slots": [ { "id": "slo_cl5qrbwbh001qdtl0cei2g0lv", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:00:00", "endTime": "07:14:59", "date": "2022-07-26T10:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbh001rdtl01jpic3gv", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:15:00", "endTime": "07:29:59", "date": "2022-07-26T10:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbh001sdtl012ur1dee", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:30:00", "endTime": "07:44:59", "date": "2022-07-26T10:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbh001tdtl08iqre0yz", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "07:45:00", "endTime": "07:59:59", "date": "2022-07-26T10:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001udtl0eds51buf", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:00:00", "endTime": "08:14:59", "date": "2022-07-26T11:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001vdtl09a1ob2f4", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:15:00", "endTime": "08:29:59", "date": "2022-07-26T11:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001wdtl0fpvwaevv", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:30:00", "endTime": "08:44:59", "date": "2022-07-26T11:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001xdtl07ifme00z", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "08:45:00", "endTime": "08:59:59", "date": "2022-07-26T11:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001ydtl01x551o1a", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:00:00", "endTime": "09:14:59", "date": "2022-07-26T12:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi001zdtl0hq0f2h6j", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:15:00", "endTime": "09:29:59", "date": "2022-07-26T12:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0020dtl0cf9cfvqc", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:30:00", "endTime": "09:44:59", "date": "2022-07-26T12:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0021dtl0bkn34h7u", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "09:45:00", "endTime": "09:59:59", "date": "2022-07-26T12:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0022dtl0ba7v1c24", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:00:00", "endTime": "10:14:59", "date": "2022-07-26T13:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbi0023dtl0hxh6dy8v", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:15:00", "endTime": "10:29:59", "date": "2022-07-26T13:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0024dtl06s36d4qc", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:30:00", "endTime": "10:44:59", "date": "2022-07-26T13:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0025dtl0eeed1j3s", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "10:45:00", "endTime": "10:59:59", "date": "2022-07-26T13:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0026dtl03ltj7fiy", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:00:00", "endTime": "11:14:59", "date": "2022-07-26T14:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0027dtl0hvid20o2", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:15:00", "endTime": "11:29:59", "date": "2022-07-26T14:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0028dtl0av259qpi", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:30:00", "endTime": "11:44:59", "date": "2022-07-26T14:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj0029dtl0dt6i6891", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "11:45:00", "endTime": "11:59:59", "date": "2022-07-26T14:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj002adtl058wu25qd", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:00:00", "endTime": "12:14:59", "date": "2022-07-26T15:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj002bdtl04pz8bv4o", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:15:00", "endTime": "12:29:59", "date": "2022-07-26T15:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbj002cdtl09fnw82ly", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:30:00", "endTime": "12:44:59", "date": "2022-07-26T15:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002ddtl0dw3r7u2t", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "12:45:00", "endTime": "12:59:59", "date": "2022-07-26T15:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002edtl039gxcf11", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:00:00", "endTime": "13:14:59", "date": "2022-07-26T16:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002fdtl01qfgandn", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:15:00", "endTime": "13:29:59", "date": "2022-07-26T16:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbk002gdtl03h8g9wss", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:30:00", "endTime": "13:44:59", "date": "2022-07-26T16:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002hdtl018tmdf85", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "13:45:00", "endTime": "13:59:59", "date": "2022-07-26T16:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002idtl0653i8txr", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:00:00", "endTime": "14:14:59", "date": "2022-07-26T17:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002jdtl0cnrsgo6o", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:15:00", "endTime": "14:29:59", "date": "2022-07-26T17:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002kdtl070k70xqj", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:30:00", "endTime": "14:44:59", "date": "2022-07-26T17:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002ldtl00hrt2io0", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "14:45:00", "endTime": "14:59:59", "date": "2022-07-26T17:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002mdtl00ryr4bpk", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:00:00", "endTime": "15:14:59", "date": "2022-07-26T18:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002ndtl08fun0877", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:15:00", "endTime": "15:29:59", "date": "2022-07-26T18:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002odtl0e3do32k0", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:30:00", "endTime": "15:44:59", "date": "2022-07-26T18:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002pdtl0bvlbdtx8", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "15:45:00", "endTime": "15:59:59", "date": "2022-07-26T18:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002qdtl0h6jt0xtd", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:00:00", "endTime": "16:14:59", "date": "2022-07-26T19:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbl002rdtl0248jbiwt", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:15:00", "endTime": "16:29:59", "date": "2022-07-26T19:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002sdtl06xzfga9g", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:30:00", "endTime": "16:44:59", "date": "2022-07-26T19:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002tdtl01t4j24ur", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "16:45:00", "endTime": "16:59:59", "date": "2022-07-26T19:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002udtl08wy580xq", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:00:00", "endTime": "17:14:59", "date": "2022-07-26T20:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbm002vdtl0d7jygx5y", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:15:00", "endTime": "17:29:59", "date": "2022-07-26T20:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002wdtl09fwccsnr", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:30:00", "endTime": "17:44:59", "date": "2022-07-26T20:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002xdtl00wr0fz1k", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "17:45:00", "endTime": "17:59:59", "date": "2022-07-26T20:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002ydtl049plast7", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:00:00", "endTime": "18:14:59", "date": "2022-07-26T21:00:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo002zdtl0foivhm3c", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:15:00", "endTime": "18:29:59", "date": "2022-07-26T21:15:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo0030dtl0f72795oq", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:30:00", "endTime": "18:44:59", "date": "2022-07-26T21:30:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null }, { "id": "slo_cl5qrbwbo0031dtl007dx24lq", "agendaId": "age_cl5qrbw77000ddtl06exraogh", "reserves": null, "interval": 15, "status": "available", "startTime": "18:45:00", "endTime": "18:59:59", "date": "2022-07-26T21:45:00.000Z", "professionalId": "pro_cl5qr7yuy0005dtl036lvdfun", "clinicId": "cli_ck9b7yjf3000195vohxz60nio", "specialityId": "spe_cjyisn3y90016apvo3eu1bbas", "reservedUntil": null } ] } ] function doubleAppointmentSlots() { const extendedDoctorSlots = doctors const extendedNurseSlots = nurses for (const { professional: doctor, slots } of extendedDoctorSlots) { const slotsMap = () => { const SlotsMap = new Map() for (const slot of slots) { const { interval, date } = slot const startTime = date SlotsMap.set(startTime, { doctorSlot: slot, nurseSlots: [], }) } return SlotsMap } const nurses = extendedNurseSlots.filter( ({ professional }) => professional.careTeamId === doctor.careTeamId, ) const fitNurseSlots = () => { for (const { slots: nurseSlots } of nurses) { for (const slot of nurseSlots) { const { date } = slot const startTime = date const double = slotsMap().get(startTime) if (!!double) { slotsMap().set(startTime, { doctorSlot: double.doctorSlot, nurseSlots: [...double.nurseSlots, slot], }) } } } } fitNurseSlots() const formatDoubleSlots = () => { const doctorSlots = [] const nurseSlots = [] for (const doubleSlot of slotsMap().values()) { if (!!doubleSlot.nurseSlots) { doctorSlots.push(doubleSlot) nurseSlots.push(doubleSlot.nurseSlots[0]) } } return { doctorSlots, nurseSlots } } formatDoubleSlots() } } doubleAppointmentSlots()
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Map + Obj
Map + Map
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Autogenerated LLM Summary
(model
llama3.2:3b
, generated one year ago):
The code you provided is a JavaScript function `doubleAppointmentSlots` that appears to be part of a larger application, possibly related to scheduling appointments for doctors and nurses. To answer your question, I'll focus on the specific section of the code: ```javascript function doubleAppointmentSlots() { const extendedDoctorSlots = doctors; const extendedNurseSlots = nurses; for (const { professional: doctor, slots } of extendedDoctorSlots) { // ... } } ``` However, there seems to be an issue with the code. The `for...of` loop is not properly iterating over the `extendedDoctorSlots` array, as it's trying to access a nested object (`professional`) that doesn't exist. To fix this, I would suggest changing the loop to: ```javascript function doubleAppointmentSlots() { const extendedDoctorSlots = doctors; const extendedNurseSlots = nurses; for (const doctor of extendedDoctorSlots) { // ... } } ``` This should allow the code to iterate over the `extendedDoctorSlots` array correctly. Additionally, I would recommend adding some error handling and logging to ensure that any issues or unexpected behavior are caught and reported. This could involve using a library like Prettier or ESLint to enforce coding standards and catch errors. Please note that without more context about the surrounding code and its intended behavior, it's difficult to provide a complete solution. If you have any further questions or would like more specific guidance, feel free to ask!
Related benchmarks:
Array from() vs Map.keys()
Array from() vs Map.keys() vs Map.values() vs spread
Array vs Class
new Map vs set array to map
Object.fromEntries vs Map
Comments
Confirm delete:
Do you really want to delete benchmark?