c2-clinical 1.0.187 → 1.0.190

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,16 +5,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const OnAnswerQuestionsFlowTester_1 = __importDefault(require("../../../flow/on-answer/OnAnswerQuestionsFlowTester"));
7
7
  const answerExample = {
8
- _id: "68e955d112a9fe7d491619f3",
8
+ _id: "68ee573cdbeb63de67643cff",
9
9
  form: "689e029db13c27189bce136d",
10
- sequence: 27,
11
- code: "DOBRA_COXA",
12
- description: "Coxa",
13
- parent: "68e9538912a9fe7d491619b2",
14
- line: 21,
10
+ sequence: 53,
11
+ code: "BARIATRICO_DATA_CIRURGIA",
12
+ description: "Data da cirurgia",
13
+ parent: "68ee523c9e2023190dc0c281",
14
+ line: 40,
15
15
  column: 1,
16
16
  type: "QUESTION",
17
- typeAnswer: "OPEN_NUMBER",
17
+ typeAnswer: "DATE",
18
18
  category: "ANTHROPOMETRY",
19
19
  formulaToEnable: "true",
20
20
  active: true,
@@ -25,23 +25,21 @@ const answerExample = {
25
25
  options: [],
26
26
  validations: [
27
27
  {
28
- type: "WARNING",
28
+ type: "REQUIRED",
29
29
  typeOutput: "TEXT",
30
- formulaToMessage: "( ('${PATIENT_GENRE}' === 'FEMALE' && '${FORMULA_PERCENT_FAT}' === 'GUEDES') || ['POLLOCK_7_DOBRAS', 'POLLOCK_3_DOBRAS', 'YUHASZ'].includes('${FORMULA_PERCENT_FAT}')) ? 'Necessário no protocolo selecionado' : ''",
31
- message: "Necessário no protocolo selecionado"
30
+ formulaToMessage: "!new RegExp('^\\d{4}-\\d{2}-\\d{2}$').test('${BARIATRICO_DATA_CIRURGIA}') ? 'Formato de data inválido enviado a API' : ''",
31
+ message: "Formato de data inválido enviado a API"
32
32
  }
33
33
  ],
34
34
  requestGraphicData: [],
35
35
  tips: [],
36
- createdAtDateTime: "2025-10-10T18:52:01.389Z",
37
- updatedAtDateTime: "2025-10-10T18:52:01.389Z",
36
+ createdAtDateTime: "2025-10-14T13:59:24.863Z",
37
+ updatedAtDateTime: "2025-10-14T13:59:24.863Z",
38
38
  __v: 0,
39
39
  screenPlacement: 1,
40
- measurementUnit: "mm",
41
- formulaToShow: "['ADULT'].includes('${TYPE_ASSESSMENT}')",
42
40
  enable: true,
43
- lineId: "a6517457-778c-45b1-9e21-4de376fcbf55",
44
- answer: "12"
41
+ lineId: "0166631c-1d04-4c56-8259-f17b6b58df48",
42
+ answer: "2026-01-06T00:00:00.000-03:00"
45
43
  };
46
44
  const modalLines = [
47
45
  {
@@ -153,7 +151,7 @@ const modalLines = [
153
151
  ];
154
152
  const allLines = [
155
153
  {
156
- id: "75b84c44-e4c8-4da9-86b5-6fb389735193",
154
+ id: "4df05b8c-34e1-4637-b2a3-f8e30797b96a",
157
155
  line: 1,
158
156
  collumns: [
159
157
  {
@@ -202,7 +200,7 @@ const allLines = [
202
200
  description: "Adulto",
203
201
  defaultSelection: false,
204
202
  active: true,
205
- enable: true
203
+ enable: false
206
204
  },
207
205
  {
208
206
  sequence: 5,
@@ -211,7 +209,7 @@ const allLines = [
211
209
  description: "Idoso",
212
210
  defaultSelection: false,
213
211
  active: true,
214
- enable: false
212
+ enable: true
215
213
  }
216
214
  ],
217
215
  formulaToAnswer: "Number('${PATIENT_AGE_IN_YEARS}') < 2 ? 'LACTENT' : Number('${PATIENT_AGE_IN_YEARS}') >= 2 && Number('${PATIENT_AGE_IN_YEARS}') < 10 ? 'CHILD' : Number('${PATIENT_AGE_IN_YEARS}') >= 10 && Number('${PATIENT_AGE_IN_YEARS}') < 19 ? 'TEENAGER' : Number('${PATIENT_AGE_IN_YEARS}') >= 19 && Number('${PATIENT_AGE_IN_YEARS}') < 60 ? 'ADULT' : 'EIDERLY'",
@@ -233,14 +231,14 @@ const allLines = [
233
231
  __v: 0,
234
232
  variantView: "BUTTON",
235
233
  screenPlacement: 1,
236
- answer: "ADULT",
234
+ answer: "EIDERLY",
237
235
  enable: true,
238
- lineId: "75b84c44-e4c8-4da9-86b5-6fb389735193"
236
+ lineId: "4df05b8c-34e1-4637-b2a3-f8e30797b96a"
239
237
  }
240
238
  ]
241
239
  },
242
240
  {
243
- id: "62945483-ebc7-4720-9dfd-5c401ced312a",
241
+ id: "8d3b1f3d-a1fd-4ce3-953f-555f0f166041",
244
242
  line: 2,
245
243
  collumns: [
246
244
  {
@@ -268,7 +266,7 @@ const allLines = [
268
266
  enable: true,
269
267
  lines: [
270
268
  {
271
- id: "3be228bf-110e-458f-b1ac-208ee2f1b8f7",
269
+ id: "790f44e3-4617-415d-9566-b59e7e065dc5",
272
270
  line: 3,
273
271
  collumns: [
274
272
  {
@@ -294,14 +292,7 @@ const allLines = [
294
292
  {
295
293
  type: "WARNING",
296
294
  typeOutput: "TEXT",
297
- formulaToMessage: "['HUANG_2003'].includes('${FORMULA_PERCENT_FAT}') ? 'Usado em ${FORMULA_PERCENT_FAT}' : ''",
298
- message: ""
299
- },
300
- {
301
- type: "WARNING",
302
- typeOutput: "TEXT",
303
- formulaToMessage: "Number('${ESTIMATE_WEIGHT}') > 0 ? 'Peso estimado' : ''",
304
- message: ""
295
+ formulaToMessage: "Number('${PESO_ESTIMADO}') > 0 ? 'Peso estimado' : ''"
305
296
  }
306
297
  ],
307
298
  requestGraphicData: [],
@@ -310,9 +301,9 @@ const allLines = [
310
301
  __v: 0,
311
302
  ellegibleForComparison: true,
312
303
  screenPlacement: 1,
313
- answer: "81",
304
+ formulaToAnswer: "Number('${PESO_ESTIMADO}') > 0 ? Number('${PESO_ESTIMADO}') : Number('${CURRENT_WEIGHT}')",
314
305
  enable: true,
315
- lineId: "3be228bf-110e-458f-b1ac-208ee2f1b8f7"
306
+ lineId: "790f44e3-4617-415d-9566-b59e7e065dc5"
316
307
  },
317
308
  {
318
309
  _id: "689e395a23b914800683aa78",
@@ -339,12 +330,6 @@ const allLines = [
339
330
  typeOutput: "TEXT",
340
331
  formulaToMessage: "Number('${ESTIMATE_HEIGHT}') > 0 ? 'Altura estimada' : ''",
341
332
  message: ""
342
- },
343
- {
344
- type: "WARNING",
345
- typeOutput: "TEXT",
346
- formulaToMessage: "['HUANG_2003'].includes('${FORMULA_PERCENT_FAT}') ? 'Usado em ${FORMULA_PERCENT_FAT}' : ''",
347
- message: ""
348
333
  }
349
334
  ],
350
335
  requestGraphicData: [],
@@ -354,14 +339,14 @@ const allLines = [
354
339
  formulaToDescription: "",
355
340
  screenPlacement: 1,
356
341
  formulaToAnswer: "Number('${ESTIMATE_HEIGHT}') > 0 ? Number('${ESTIMATE_HEIGHT}') : Number('${HEIGHT_IN_CM}')",
357
- answer: 170,
342
+ answer: null,
358
343
  enable: true,
359
- lineId: "3be228bf-110e-458f-b1ac-208ee2f1b8f7"
344
+ lineId: "790f44e3-4617-415d-9566-b59e7e065dc5"
360
345
  }
361
346
  ]
362
347
  },
363
348
  {
364
- id: "bcce1e13-9a12-44ae-a4ff-f98701cc6a27",
349
+ id: "82dc4deb-3710-49ae-b51b-44ed9d1fbc8c",
365
350
  line: 4,
366
351
  collumns: [
367
352
  {
@@ -391,7 +376,7 @@ const allLines = [
391
376
  enable: true,
392
377
  lines: [
393
378
  {
394
- id: "c2e880ee-6a42-49ee-a80f-05f747cfa8b1",
379
+ id: "d1c6a65e-5133-46a7-a0d5-b435d42fe964",
395
380
  line: 5,
396
381
  collumns: [
397
382
  {
@@ -425,7 +410,7 @@ const allLines = [
425
410
  enable: true,
426
411
  lines: [
427
412
  {
428
- id: "7a70dcfb-48f0-43a4-a62a-d3d6171720e2",
413
+ id: "b3339e64-446f-44ad-b513-8254168dec04",
429
414
  line: 6,
430
415
  collumns: [
431
416
  {
@@ -463,12 +448,12 @@ const allLines = [
463
448
  __v: 0,
464
449
  screenPlacement: 1,
465
450
  enable: true,
466
- lineId: "7a70dcfb-48f0-43a4-a62a-d3d6171720e2"
451
+ lineId: "b3339e64-446f-44ad-b513-8254168dec04"
467
452
  }
468
453
  ]
469
454
  },
470
455
  {
471
- id: "0d97c862-5a3f-4972-aca8-9e7f1b12c58a",
456
+ id: "ce09cb58-b154-4e5a-8506-5b7cbfdf5104",
472
457
  line: 7,
473
458
  collumns: [
474
459
  {
@@ -496,12 +481,12 @@ const allLines = [
496
481
  __v: 0,
497
482
  screenPlacement: 1,
498
483
  enable: true,
499
- lineId: "0d97c862-5a3f-4972-aca8-9e7f1b12c58a"
484
+ lineId: "ce09cb58-b154-4e5a-8506-5b7cbfdf5104"
500
485
  }
501
486
  ]
502
487
  },
503
488
  {
504
- id: "6b769455-bb9d-4b9e-992b-2ca0753ff7e8",
489
+ id: "2af33a3c-8193-4f40-8c4f-33bea771174e",
505
490
  line: 8,
506
491
  collumns: [
507
492
  {
@@ -529,12 +514,12 @@ const allLines = [
529
514
  screenPlacement: 1,
530
515
  formulaToEnable: "true",
531
516
  enable: true,
532
- lineId: "6b769455-bb9d-4b9e-992b-2ca0753ff7e8"
517
+ lineId: "2af33a3c-8193-4f40-8c4f-33bea771174e"
533
518
  }
534
519
  ]
535
520
  },
536
521
  {
537
- id: "c4dee38d-9368-46b6-8233-4e8ddc423536",
522
+ id: "6300ffe9-36a7-40aa-a350-03e52f838534",
538
523
  line: 9,
539
524
  collumns: [
540
525
  {
@@ -562,12 +547,12 @@ const allLines = [
562
547
  screenPlacement: 1,
563
548
  formulaToEnable: "true",
564
549
  enable: true,
565
- lineId: "c4dee38d-9368-46b6-8233-4e8ddc423536"
550
+ lineId: "6300ffe9-36a7-40aa-a350-03e52f838534"
566
551
  }
567
552
  ]
568
553
  },
569
554
  {
570
- id: "161b5733-bd65-4a1d-aafd-f179fea7bfc5",
555
+ id: "65d1fd7c-ff8d-4a9f-b529-b77cc968bf57",
571
556
  line: 10,
572
557
  collumns: [
573
558
  {
@@ -595,12 +580,12 @@ const allLines = [
595
580
  screenPlacement: 1,
596
581
  formulaToEnable: "true",
597
582
  enable: true,
598
- lineId: "161b5733-bd65-4a1d-aafd-f179fea7bfc5"
583
+ lineId: "65d1fd7c-ff8d-4a9f-b529-b77cc968bf57"
599
584
  }
600
585
  ]
601
586
  },
602
587
  {
603
- id: "cc7d0498-cad2-4420-bc8b-c07d9b169cc9",
588
+ id: "f7c7835c-1c5f-4931-9ae6-b88da71fc7c7",
604
589
  line: 11,
605
590
  collumns: [
606
591
  {
@@ -615,7 +600,7 @@ const allLines = [
615
600
  type: "QUESTION",
616
601
  typeAnswer: "OPEN_NUMBER",
617
602
  category: "ANTHROPOMETRY",
618
- formulaToAnswer: "'${ESTIMAR_PESO_FORMULA}' === 'CHUMLEA' ? ((0.98 * Number('${ESTIMAR_PESO_CIRCUNFERENCIA_PANTURRILHA}')) + (1.16 * Number('${ESTIMAR_PESO_ALTURA_JOELHO}')) + (1.73 * Number('${ESTIMAR_PESO_CIRCUNFERENCIA_BRACO}')) + (0.37 * Number('${ESTIMAR_PESO_PREGA_SUBSCAPULAR}')) - 81.69) : undefined",
603
+ formulaToAnswer: "'${ESTIMAR_PESO_FORMULA}' === 'CHUMLEA' ? parseFloat(((0.98 * Number('${ESTIMAR_PESO_CIRCUNFERENCIA_PANTURRILHA}')) + (1.16 * Number('${ESTIMAR_PESO_ALTURA_JOELHO}')) + (1.73 * Number('${ESTIMAR_PESO_CIRCUNFERENCIA_BRACO}')) + (0.37 * Number('${ESTIMAR_PESO_PREGA_SUBSCAPULAR}')) - 81.69))?.toFixed(2) : undefined",
619
604
  formulaToEnable: "true",
620
605
  active: true,
621
606
  show: true,
@@ -629,17 +614,17 @@ const allLines = [
629
614
  __v: 0,
630
615
  screenPlacement: 1,
631
616
  enable: true,
632
- lineId: "cc7d0498-cad2-4420-bc8b-c07d9b169cc9"
617
+ lineId: "f7c7835c-1c5f-4931-9ae6-b88da71fc7c7"
633
618
  }
634
619
  ]
635
620
  }
636
621
  ],
637
- lineId: "c2e880ee-6a42-49ee-a80f-05f747cfa8b1"
622
+ lineId: "d1c6a65e-5133-46a7-a0d5-b435d42fe964"
638
623
  }
639
624
  ]
640
625
  }
641
626
  ],
642
- lineId: "bcce1e13-9a12-44ae-a4ff-f98701cc6a27"
627
+ lineId: "82dc4deb-3710-49ae-b51b-44ed9d1fbc8c"
643
628
  },
644
629
  {
645
630
  _id: "689e3dc6e7fafb681db6f7b1",
@@ -668,7 +653,7 @@ const allLines = [
668
653
  enable: true,
669
654
  lines: [
670
655
  {
671
- id: "73bb2c14-43df-47ed-9103-00b0e16b2fb4",
656
+ id: "3958b558-f081-4fe4-a474-f49a32bfe9ae",
672
657
  line: 12,
673
658
  collumns: [
674
659
  {
@@ -702,7 +687,7 @@ const allLines = [
702
687
  enable: true,
703
688
  lines: [
704
689
  {
705
- id: "1d4d5e29-a7b1-4ef2-ba24-8af93252d30a",
690
+ id: "44862d1e-44e0-4032-8456-dba437d7f3b9",
706
691
  line: 13,
707
692
  collumns: [
708
693
  {
@@ -739,12 +724,12 @@ const allLines = [
739
724
  __v: 0,
740
725
  screenPlacement: 1,
741
726
  enable: true,
742
- lineId: "1d4d5e29-a7b1-4ef2-ba24-8af93252d30a"
727
+ lineId: "44862d1e-44e0-4032-8456-dba437d7f3b9"
743
728
  }
744
729
  ]
745
730
  },
746
731
  {
747
- id: "39ab2c47-f4e7-4ac8-a006-4073b1f34af3",
732
+ id: "882122dd-23f1-463b-8117-8a36b6b76066",
748
733
  line: 14,
749
734
  collumns: [
750
735
  {
@@ -772,12 +757,12 @@ const allLines = [
772
757
  __v: 0,
773
758
  screenPlacement: 1,
774
759
  enable: true,
775
- lineId: "39ab2c47-f4e7-4ac8-a006-4073b1f34af3"
760
+ lineId: "882122dd-23f1-463b-8117-8a36b6b76066"
776
761
  }
777
762
  ]
778
763
  },
779
764
  {
780
- id: "9e79ad51-b8fa-4bb8-aab9-9d724ea64502",
765
+ id: "ea44918a-a838-480d-8b02-90d6c8e4ef9c",
781
766
  line: 15,
782
767
  collumns: [
783
768
  {
@@ -808,27 +793,27 @@ const allLines = [
808
793
  measurementUnit: "cm",
809
794
  answer: 0,
810
795
  enable: true,
811
- lineId: "9e79ad51-b8fa-4bb8-aab9-9d724ea64502"
796
+ lineId: "ea44918a-a838-480d-8b02-90d6c8e4ef9c"
812
797
  }
813
798
  ]
814
799
  }
815
800
  ],
816
- lineId: "73bb2c14-43df-47ed-9103-00b0e16b2fb4"
801
+ lineId: "3958b558-f081-4fe4-a474-f49a32bfe9ae"
817
802
  }
818
803
  ]
819
804
  }
820
805
  ],
821
- lineId: "bcce1e13-9a12-44ae-a4ff-f98701cc6a27"
806
+ lineId: "82dc4deb-3710-49ae-b51b-44ed9d1fbc8c"
822
807
  }
823
808
  ]
824
809
  }
825
810
  ],
826
- lineId: "62945483-ebc7-4720-9dfd-5c401ced312a"
811
+ lineId: "8d3b1f3d-a1fd-4ce3-953f-555f0f166041"
827
812
  }
828
813
  ]
829
814
  },
830
815
  {
831
- id: "7d3b2b32-03cf-4f9f-89d6-aeb358bbb085",
816
+ id: "f77f5c1d-e426-4d5a-946c-85375719acb7",
832
817
  line: 16,
833
818
  collumns: [
834
819
  {
@@ -858,7 +843,7 @@ const allLines = [
858
843
  defaultSelection: false,
859
844
  active: true,
860
845
  formulaToEnable: "['ADULT'].includes('${TYPE_ASSESSMENT}')",
861
- enable: true
846
+ enable: false
862
847
  },
863
848
  {
864
849
  sequence: 2,
@@ -867,7 +852,7 @@ const allLines = [
867
852
  defaultSelection: false,
868
853
  active: true,
869
854
  formulaToEnable: "['ADULT'].includes('${TYPE_ASSESSMENT}')",
870
- enable: true
855
+ enable: false
871
856
  },
872
857
  {
873
858
  sequence: 3,
@@ -876,7 +861,7 @@ const allLines = [
876
861
  defaultSelection: false,
877
862
  active: true,
878
863
  formulaToEnable: "['ADULT'].includes('${TYPE_ASSESSMENT}')",
879
- enable: true
864
+ enable: false
880
865
  },
881
866
  {
882
867
  sequence: 4,
@@ -885,7 +870,7 @@ const allLines = [
885
870
  defaultSelection: false,
886
871
  active: true,
887
872
  formulaToEnable: "['ADULT'].includes('${TYPE_ASSESSMENT}')",
888
- enable: true
873
+ enable: false
889
874
  },
890
875
  {
891
876
  sequence: 5,
@@ -903,7 +888,7 @@ const allLines = [
903
888
  defaultSelection: false,
904
889
  active: true,
905
890
  formulaToEnable: "['ADULT'].includes('${TYPE_ASSESSMENT}')",
906
- enable: true
891
+ enable: false
907
892
  },
908
893
  {
909
894
  sequence: 7,
@@ -912,7 +897,7 @@ const allLines = [
912
897
  defaultSelection: false,
913
898
  active: true,
914
899
  formulaToEnable: "['ADULT'].includes('${TYPE_ASSESSMENT}')",
915
- enable: true
900
+ enable: false
916
901
  },
917
902
  {
918
903
  sequence: 8,
@@ -981,13 +966,13 @@ const allLines = [
981
966
  __v: 0,
982
967
  screenPlacement: 1,
983
968
  enable: true,
984
- lineId: "7d3b2b32-03cf-4f9f-89d6-aeb358bbb085",
985
- answer: "POLLOCK_3_DOBRAS"
969
+ lineId: "f77f5c1d-e426-4d5a-946c-85375719acb7",
970
+ answer: "NOONE"
986
971
  }
987
972
  ]
988
973
  },
989
974
  {
990
- id: "35339ef1-bfa0-4c46-b386-217fcac0a351",
975
+ id: "25034129-967b-4e9c-93ba-f310c55d327d",
991
976
  line: 17,
992
977
  collumns: [
993
978
  {
@@ -1023,7 +1008,7 @@ const allLines = [
1023
1008
  enable: true,
1024
1009
  lines: [
1025
1010
  {
1026
- id: "16dff957-6459-4ec3-8c4c-108f5cd4ca45",
1011
+ id: "3ff2df39-1d6b-408e-88e8-a3623750c6ee",
1027
1012
  line: 18,
1028
1013
  collumns: [
1029
1014
  {
@@ -1050,7 +1035,7 @@ const allLines = [
1050
1035
  type: "WARNING",
1051
1036
  typeOutput: "TEXT",
1052
1037
  formulaToMessage: "( ('${PATIENT_GENRE}' === 'FEMALE' && ['POLLOCK_3_DOBRAS','GUEDES'].includes('${FORMULA_PERCENT_FAT}')) || ['POLLOCK_7_DOBRAS', 'FAULKNER', 'DURNIN_WOMERSLEY', 'YUHASZ'].includes('${FORMULA_PERCENT_FAT}')) ? 'Necessário no protocolo selecionado' : ''",
1053
- message: "Necessário no protocolo selecionado"
1038
+ message: ""
1054
1039
  }
1055
1040
  ],
1056
1041
  requestGraphicData: [],
@@ -1062,8 +1047,7 @@ const allLines = [
1062
1047
  measurementUnit: "mm",
1063
1048
  formulaToShow: "['CHILD','TEENAGER','ADULT','EIDERLY'].includes('${TYPE_ASSESSMENT}')",
1064
1049
  enable: true,
1065
- lineId: "16dff957-6459-4ec3-8c4c-108f5cd4ca45",
1066
- answer: "12"
1050
+ lineId: "3ff2df39-1d6b-408e-88e8-a3623750c6ee"
1067
1051
  },
1068
1052
  {
1069
1053
  _id: "68e9551412a9fe7d491619c3",
@@ -1079,7 +1063,7 @@ const allLines = [
1079
1063
  category: "ANTHROPOMETRY",
1080
1064
  formulaToEnable: "true",
1081
1065
  active: true,
1082
- show: true,
1066
+ show: false,
1083
1067
  readOnly: false,
1084
1068
  required: false,
1085
1069
  ellegibleForComparison: false,
@@ -1107,13 +1091,12 @@ const allLines = [
1107
1091
  measurementUnit: "mm",
1108
1092
  formulaToShow: "['ADULT'].includes('${TYPE_ASSESSMENT}')",
1109
1093
  enable: true,
1110
- lineId: "16dff957-6459-4ec3-8c4c-108f5cd4ca45",
1111
- answer: ""
1094
+ lineId: "3ff2df39-1d6b-408e-88e8-a3623750c6ee"
1112
1095
  }
1113
1096
  ]
1114
1097
  },
1115
1098
  {
1116
- id: "ef94224b-ae0a-4df8-a512-dea417f52129",
1099
+ id: "231a8aae-5446-4f1f-983a-6c42a57b46c4",
1117
1100
  line: 19,
1118
1101
  collumns: [
1119
1102
  {
@@ -1152,8 +1135,7 @@ const allLines = [
1152
1135
  measurementUnit: "mm",
1153
1136
  formulaToShow: "['CHILD','TEENAGER','ADULT','EIDERLY'].includes('${TYPE_ASSESSMENT}')",
1154
1137
  enable: true,
1155
- lineId: "ef94224b-ae0a-4df8-a512-dea417f52129",
1156
- answer: ""
1138
+ lineId: "231a8aae-5446-4f1f-983a-6c42a57b46c4"
1157
1139
  },
1158
1140
  {
1159
1141
  _id: "68e9556312a9fe7d491619d3",
@@ -1169,7 +1151,7 @@ const allLines = [
1169
1151
  category: "ANTHROPOMETRY",
1170
1152
  formulaToEnable: "true",
1171
1153
  active: true,
1172
- show: true,
1154
+ show: false,
1173
1155
  readOnly: false,
1174
1156
  required: false,
1175
1157
  ellegibleForComparison: false,
@@ -1191,13 +1173,12 @@ const allLines = [
1191
1173
  measurementUnit: "mm",
1192
1174
  formulaToShow: "['ADULT'].includes('${TYPE_ASSESSMENT}')",
1193
1175
  enable: true,
1194
- lineId: "ef94224b-ae0a-4df8-a512-dea417f52129",
1195
- answer: ""
1176
+ lineId: "231a8aae-5446-4f1f-983a-6c42a57b46c4"
1196
1177
  }
1197
1178
  ]
1198
1179
  },
1199
1180
  {
1200
- id: "39c6c435-f284-4b2c-927d-a8ca0d069dbc",
1181
+ id: "b974cb6e-d5f9-405e-833e-2c0a202d13ee",
1201
1182
  line: 20,
1202
1183
  collumns: [
1203
1184
  {
@@ -1224,7 +1205,7 @@ const allLines = [
1224
1205
  type: "WARNING",
1225
1206
  typeOutput: "TEXT",
1226
1207
  formulaToMessage: "( ('${PATIENT_GENRE}' === 'FEMALE' && '${FORMULA_PERCENT_FAT}' === 'POLLOCK_3_DOBRAS') || ['POLLOCK_7_DOBRAS', 'PETROSKI', 'FAULKNER', 'DURNIN_WOMERSLEY', 'YUHASZ', 'GUEDES'].includes('${FORMULA_PERCENT_FAT}')) ? 'Necessário no protocolo selecionado' : ''",
1227
- message: "Necessário no protocolo selecionado"
1208
+ message: ""
1228
1209
  }
1229
1210
  ],
1230
1211
  requestGraphicData: [],
@@ -1236,8 +1217,7 @@ const allLines = [
1236
1217
  measurementUnit: "mm",
1237
1218
  formulaToShow: "['ADULT','EIDERLY'].includes('${TYPE_ASSESSMENT}')",
1238
1219
  enable: true,
1239
- lineId: "39c6c435-f284-4b2c-927d-a8ca0d069dbc",
1240
- answer: "12"
1220
+ lineId: "b974cb6e-d5f9-405e-833e-2c0a202d13ee"
1241
1221
  },
1242
1222
  {
1243
1223
  _id: "68e955ae12a9fe7d491619e3",
@@ -1253,7 +1233,7 @@ const allLines = [
1253
1233
  category: "ANTHROPOMETRY",
1254
1234
  formulaToEnable: "true",
1255
1235
  active: true,
1256
- show: true,
1236
+ show: false,
1257
1237
  readOnly: false,
1258
1238
  required: false,
1259
1239
  ellegibleForComparison: false,
@@ -1268,13 +1248,12 @@ const allLines = [
1268
1248
  measurementUnit: "mm",
1269
1249
  formulaToShow: "['ADULT'].includes('${TYPE_ASSESSMENT}')",
1270
1250
  enable: true,
1271
- lineId: "39c6c435-f284-4b2c-927d-a8ca0d069dbc",
1272
- answer: ""
1251
+ lineId: "b974cb6e-d5f9-405e-833e-2c0a202d13ee"
1273
1252
  }
1274
1253
  ]
1275
1254
  },
1276
1255
  {
1277
- id: "a6517457-778c-45b1-9e21-4de376fcbf55",
1256
+ id: "c451c7c2-1125-4a50-b4b5-f075899dd535",
1278
1257
  line: 21,
1279
1258
  collumns: [
1280
1259
  {
@@ -1291,7 +1270,7 @@ const allLines = [
1291
1270
  category: "ANTHROPOMETRY",
1292
1271
  formulaToEnable: "true",
1293
1272
  active: true,
1294
- show: true,
1273
+ show: false,
1295
1274
  readOnly: false,
1296
1275
  required: false,
1297
1276
  ellegibleForComparison: false,
@@ -1313,8 +1292,7 @@ const allLines = [
1313
1292
  measurementUnit: "mm",
1314
1293
  formulaToShow: "['ADULT'].includes('${TYPE_ASSESSMENT}')",
1315
1294
  enable: true,
1316
- lineId: "a6517457-778c-45b1-9e21-4de376fcbf55",
1317
- answer: ""
1295
+ lineId: "c451c7c2-1125-4a50-b4b5-f075899dd535"
1318
1296
  },
1319
1297
  {
1320
1298
  _id: "68e955d112a9fe7d491619f3",
@@ -1330,7 +1308,7 @@ const allLines = [
1330
1308
  category: "ANTHROPOMETRY",
1331
1309
  formulaToEnable: "true",
1332
1310
  active: true,
1333
- show: true,
1311
+ show: false,
1334
1312
  readOnly: false,
1335
1313
  required: false,
1336
1314
  ellegibleForComparison: false,
@@ -1340,7 +1318,7 @@ const allLines = [
1340
1318
  type: "WARNING",
1341
1319
  typeOutput: "TEXT",
1342
1320
  formulaToMessage: "( ('${PATIENT_GENRE}' === 'FEMALE' && '${FORMULA_PERCENT_FAT}' === 'GUEDES') || ['POLLOCK_7_DOBRAS', 'POLLOCK_3_DOBRAS', 'YUHASZ'].includes('${FORMULA_PERCENT_FAT}')) ? 'Necessário no protocolo selecionado' : ''",
1343
- message: "Necessário no protocolo selecionado"
1321
+ message: ""
1344
1322
  }
1345
1323
  ],
1346
1324
  requestGraphicData: [],
@@ -1352,13 +1330,12 @@ const allLines = [
1352
1330
  measurementUnit: "mm",
1353
1331
  formulaToShow: "['ADULT'].includes('${TYPE_ASSESSMENT}')",
1354
1332
  enable: true,
1355
- lineId: "a6517457-778c-45b1-9e21-4de376fcbf55",
1356
- answer: "12"
1333
+ lineId: "c451c7c2-1125-4a50-b4b5-f075899dd535"
1357
1334
  }
1358
1335
  ]
1359
1336
  },
1360
1337
  {
1361
- id: "a8646396-a817-41ba-86fd-db73b01f0a32",
1338
+ id: "0521edb4-e6e1-4482-8df5-634932d4cc83",
1362
1339
  line: 22,
1363
1340
  collumns: [
1364
1341
  {
@@ -1375,7 +1352,7 @@ const allLines = [
1375
1352
  category: "ANTHROPOMETRY",
1376
1353
  formulaToEnable: "true",
1377
1354
  active: true,
1378
- show: true,
1355
+ show: false,
1379
1356
  readOnly: false,
1380
1357
  required: false,
1381
1358
  ellegibleForComparison: false,
@@ -1397,8 +1374,7 @@ const allLines = [
1397
1374
  measurementUnit: "mm",
1398
1375
  formulaToShow: "['CHILD','TEENAGER','ADULT'].includes('${TYPE_ASSESSMENT}')",
1399
1376
  enable: true,
1400
- lineId: "a8646396-a817-41ba-86fd-db73b01f0a32",
1401
- answer: ""
1377
+ lineId: "0521edb4-e6e1-4482-8df5-634932d4cc83"
1402
1378
  },
1403
1379
  {
1404
1380
  _id: "68e955ef12a9fe7d49161a03",
@@ -1414,7 +1390,7 @@ const allLines = [
1414
1390
  category: "ANTHROPOMETRY",
1415
1391
  formulaToEnable: "true",
1416
1392
  active: true,
1417
- show: true,
1393
+ show: false,
1418
1394
  readOnly: false,
1419
1395
  required: false,
1420
1396
  ellegibleForComparison: false,
@@ -1436,18 +1412,17 @@ const allLines = [
1436
1412
  measurementUnit: "mm",
1437
1413
  formulaToShow: "['ADULT'].includes('${TYPE_ASSESSMENT}')",
1438
1414
  enable: true,
1439
- lineId: "a8646396-a817-41ba-86fd-db73b01f0a32",
1440
- answer: ""
1415
+ lineId: "0521edb4-e6e1-4482-8df5-634932d4cc83"
1441
1416
  }
1442
1417
  ]
1443
1418
  }
1444
1419
  ],
1445
- lineId: "35339ef1-bfa0-4c46-b386-217fcac0a351"
1420
+ lineId: "25034129-967b-4e9c-93ba-f310c55d327d"
1446
1421
  }
1447
1422
  ]
1448
1423
  },
1449
1424
  {
1450
- id: "22dab93b-98ce-4fa9-bffb-aa525e3ee467",
1425
+ id: "acca0ec2-4728-42c1-9db8-3c8f3f31ce6f",
1451
1426
  line: 28,
1452
1427
  collumns: [
1453
1428
  {
@@ -1484,7 +1459,7 @@ const allLines = [
1484
1459
  enable: true,
1485
1460
  lines: [
1486
1461
  {
1487
- id: "87504e9b-44ee-4df2-a3d5-e33f00db3dcf",
1462
+ id: "f1cc734e-de1e-4c01-a44e-fe1468878a9b",
1488
1463
  line: 29,
1489
1464
  collumns: [
1490
1465
  {
@@ -1514,8 +1489,7 @@ const allLines = [
1514
1489
  __v: 0,
1515
1490
  screenPlacement: 1,
1516
1491
  enable: true,
1517
- lineId: "87504e9b-44ee-4df2-a3d5-e33f00db3dcf",
1518
- answer: ""
1492
+ lineId: "f1cc734e-de1e-4c01-a44e-fe1468878a9b"
1519
1493
  },
1520
1494
  {
1521
1495
  _id: "68e9593e12a9fe7d49161a1b",
@@ -1544,45 +1518,14 @@ const allLines = [
1544
1518
  __v: 0,
1545
1519
  screenPlacement: 1,
1546
1520
  enable: true,
1547
- lineId: "87504e9b-44ee-4df2-a3d5-e33f00db3dcf",
1548
- answer: ""
1521
+ lineId: "f1cc734e-de1e-4c01-a44e-fe1468878a9b"
1549
1522
  }
1550
1523
  ]
1551
1524
  },
1552
1525
  {
1553
- id: "dd6e050d-424d-4ca0-9834-569c300c038b",
1526
+ id: "02ac6e09-130d-4872-8c88-a10dc10fd67a",
1554
1527
  line: 30,
1555
1528
  collumns: [
1556
- {
1557
- _id: "68e9595c12a9fe7d49161a22",
1558
- form: "689e029db13c27189bce136d",
1559
- sequence: 33,
1560
- code: "CIRCUNFERENCIA_OMBRO",
1561
- description: "Ombro",
1562
- parent: "68e9589912a9fe7d49161a0b",
1563
- line: 30,
1564
- column: 1,
1565
- type: "QUESTION",
1566
- typeAnswer: "OPEN_NUMBER",
1567
- category: "ANTHROPOMETRY",
1568
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
1569
- active: true,
1570
- show: true,
1571
- readOnly: false,
1572
- required: false,
1573
- ellegibleForComparison: false,
1574
- options: [],
1575
- validations: [],
1576
- requestGraphicData: [],
1577
- tips: [],
1578
- createdAtDateTime: "2025-10-10T19:07:08.298Z",
1579
- updatedAtDateTime: "2025-10-10T19:07:08.298Z",
1580
- __v: 0,
1581
- screenPlacement: 1,
1582
- enable: true,
1583
- lineId: "dd6e050d-424d-4ca0-9834-569c300c038b",
1584
- answer: ""
1585
- },
1586
1529
  {
1587
1530
  _id: "68e9598412a9fe7d49161a29",
1588
1531
  form: "689e029db13c27189bce136d",
@@ -1609,13 +1552,12 @@ const allLines = [
1609
1552
  __v: 0,
1610
1553
  screenPlacement: 1,
1611
1554
  enable: true,
1612
- lineId: "dd6e050d-424d-4ca0-9834-569c300c038b",
1613
- answer: ""
1555
+ lineId: "02ac6e09-130d-4872-8c88-a10dc10fd67a"
1614
1556
  }
1615
1557
  ]
1616
1558
  },
1617
1559
  {
1618
- id: "8030ad36-81eb-40f0-8424-963ce57a7d7a",
1560
+ id: "0291b25c-2caa-48c1-ba9e-0b51ab1ec6e3",
1619
1561
  line: 31,
1620
1562
  collumns: [
1621
1563
  {
@@ -1645,322 +1587,341 @@ const allLines = [
1645
1587
  __v: 0,
1646
1588
  screenPlacement: 1,
1647
1589
  enable: true,
1648
- lineId: "8030ad36-81eb-40f0-8424-963ce57a7d7a",
1649
- answer: ""
1650
- },
1590
+ lineId: "0291b25c-2caa-48c1-ba9e-0b51ab1ec6e3"
1591
+ }
1592
+ ]
1593
+ },
1594
+ {
1595
+ id: "6c0f83ad-32ec-468b-804d-54ff1aa0eb57",
1596
+ line: 141,
1597
+ collumns: [
1651
1598
  {
1652
- _id: "68e959b212a9fe7d49161a37",
1599
+ _id: "69318de68a4c98fb4d1cc43b",
1653
1600
  form: "689e029db13c27189bce136d",
1654
- sequence: 36,
1655
- code: "CIRCUNFERENCIA_ABDOMEN",
1656
- description: "Abdomén",
1601
+ sequence: 161,
1602
+ code: "CIRCUNFERENCIA_BRACO",
1603
+ description: "Braço",
1657
1604
  parent: "68e9589912a9fe7d49161a0b",
1658
- line: 31,
1605
+ line: 141,
1659
1606
  column: 1,
1660
1607
  type: "QUESTION",
1661
1608
  typeAnswer: "OPEN_NUMBER",
1662
1609
  category: "ANTHROPOMETRY",
1663
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
1610
+ formulaToEnable: "['EIDERLY'].includes('${TYPE_ASSESSMENT}')",
1611
+ formulaToShow: "true",
1664
1612
  active: true,
1665
1613
  show: true,
1666
1614
  readOnly: false,
1667
1615
  required: false,
1616
+ screenPlacement: 1,
1668
1617
  ellegibleForComparison: false,
1669
1618
  options: [],
1670
1619
  validations: [],
1671
1620
  requestGraphicData: [],
1672
1621
  tips: [],
1673
- createdAtDateTime: "2025-10-10T19:08:34.808Z",
1674
- updatedAtDateTime: "2025-10-10T19:08:34.808Z",
1622
+ createdAtDateTime: "2025-12-04T13:34:30.948Z",
1623
+ updatedAtDateTime: "2025-12-04T13:34:30.948Z",
1675
1624
  __v: 0,
1676
- screenPlacement: 1,
1677
1625
  enable: true,
1678
- lineId: "8030ad36-81eb-40f0-8424-963ce57a7d7a",
1679
- answer: ""
1626
+ lineId: "6c0f83ad-32ec-468b-804d-54ff1aa0eb57"
1680
1627
  }
1681
1628
  ]
1682
1629
  },
1683
1630
  {
1684
- id: "bb431baa-42ad-4ec8-b66c-501be8542935",
1685
- line: 32,
1631
+ id: "dfee9f13-234d-4f3a-ad6e-1862c74dbd43",
1632
+ line: 142,
1686
1633
  collumns: [
1687
1634
  {
1688
- _id: "68e959d512a9fe7d49161a3e",
1635
+ _id: "69318e1f8a4c98fb4d1cc443",
1689
1636
  form: "689e029db13c27189bce136d",
1690
- sequence: 37,
1691
- code: "CIRCUNFERENCIA_BRACO_DIR_RELAXADO",
1692
- description: "Braço Direito Relaxado",
1637
+ sequence: 162,
1638
+ code: "CIRCUNFERENCIA_COXA",
1639
+ description: "Coxa",
1693
1640
  parent: "68e9589912a9fe7d49161a0b",
1694
- line: 32,
1641
+ line: 142,
1695
1642
  column: 1,
1696
1643
  type: "QUESTION",
1697
1644
  typeAnswer: "OPEN_NUMBER",
1698
1645
  category: "ANTHROPOMETRY",
1699
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
1646
+ formulaToEnable: "['EIDERLY'].includes('${TYPE_ASSESSMENT}')",
1647
+ formulaToShow: "true",
1700
1648
  active: true,
1701
1649
  show: true,
1702
1650
  readOnly: false,
1703
1651
  required: false,
1704
- ellegibleForComparison: false,
1705
- options: [],
1706
- validations: [],
1707
- requestGraphicData: [],
1708
- tips: [],
1709
- createdAtDateTime: "2025-10-10T19:09:09.857Z",
1710
- updatedAtDateTime: "2025-10-10T19:09:09.857Z",
1711
- __v: 0,
1712
1652
  screenPlacement: 1,
1713
- enable: true,
1714
- lineId: "bb431baa-42ad-4ec8-b66c-501be8542935",
1715
- answer: ""
1716
- },
1717
- {
1718
- _id: "68e959e312a9fe7d49161a45",
1719
- form: "689e029db13c27189bce136d",
1720
- sequence: 38,
1721
- code: "CIRCUNFERENCIA_BRACO_ESQ_RELAXADO",
1722
- description: "Braço Esquerdo Relaxado",
1723
- parent: "68e9589912a9fe7d49161a0b",
1724
- line: 32,
1725
- column: 1,
1726
- type: "QUESTION",
1727
- typeAnswer: "OPEN_NUMBER",
1728
- category: "ANTHROPOMETRY",
1729
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
1730
- active: true,
1731
- show: true,
1732
- readOnly: false,
1733
- required: false,
1734
1653
  ellegibleForComparison: false,
1735
1654
  options: [],
1736
1655
  validations: [],
1737
1656
  requestGraphicData: [],
1738
1657
  tips: [],
1739
- createdAtDateTime: "2025-10-10T19:09:23.240Z",
1740
- updatedAtDateTime: "2025-10-10T19:09:23.240Z",
1658
+ createdAtDateTime: "2025-12-04T13:35:27.945Z",
1659
+ updatedAtDateTime: "2025-12-04T13:35:27.945Z",
1741
1660
  __v: 0,
1742
- screenPlacement: 1,
1743
1661
  enable: true,
1744
- lineId: "bb431baa-42ad-4ec8-b66c-501be8542935",
1745
- answer: ""
1662
+ lineId: "dfee9f13-234d-4f3a-ad6e-1862c74dbd43"
1746
1663
  }
1747
1664
  ]
1748
1665
  },
1749
1666
  {
1750
- id: "9a594cf8-9cdf-4404-896a-eb13f0766d68",
1751
- line: 33,
1667
+ id: "61c90bbf-d55e-4f8e-bbf2-74b3d0d74bbc",
1668
+ line: 143,
1752
1669
  collumns: [
1753
1670
  {
1754
- _id: "68e95a0b12a9fe7d49161a4c",
1671
+ _id: "69318e8b8a4c98fb4d1cc44b",
1755
1672
  form: "689e029db13c27189bce136d",
1756
- sequence: 39,
1757
- code: "CIRCUNFERENCIA_BRACO_DIR_CONTRAIDO",
1758
- description: "Braço Direito Contraído",
1673
+ sequence: 163,
1674
+ code: "CIRCUNFERENCIA_PANTURRILHA",
1675
+ description: "Panturrilha",
1759
1676
  parent: "68e9589912a9fe7d49161a0b",
1760
- line: 33,
1677
+ line: 143,
1761
1678
  column: 1,
1762
1679
  type: "QUESTION",
1763
1680
  typeAnswer: "OPEN_NUMBER",
1764
1681
  category: "ANTHROPOMETRY",
1765
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
1682
+ formulaToEnable: "['EIDERLY'].includes('${TYPE_ASSESSMENT}')",
1683
+ formulaToShow: "true",
1766
1684
  active: true,
1767
1685
  show: true,
1768
1686
  readOnly: false,
1769
1687
  required: false,
1770
- ellegibleForComparison: false,
1771
- options: [],
1772
- validations: [],
1773
- requestGraphicData: [],
1774
- tips: [],
1775
- createdAtDateTime: "2025-10-10T19:10:03.245Z",
1776
- updatedAtDateTime: "2025-10-10T19:10:03.245Z",
1777
- __v: 0,
1778
1688
  screenPlacement: 1,
1779
- enable: true,
1780
- lineId: "9a594cf8-9cdf-4404-896a-eb13f0766d68",
1781
- answer: ""
1782
- },
1783
- {
1784
- _id: "68e95a1312a9fe7d49161a53",
1785
- form: "689e029db13c27189bce136d",
1786
- sequence: 40,
1787
- code: "CIRCUNFERENCIA_BRACO_ESQ_CONTRAIDO",
1788
- description: "Braço Esquerdo Contraído",
1789
- parent: "68e9589912a9fe7d49161a0b",
1790
- line: 33,
1791
- column: 1,
1792
- type: "QUESTION",
1793
- typeAnswer: "OPEN_NUMBER",
1794
- category: "ANTHROPOMETRY",
1795
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
1796
- active: true,
1797
- show: true,
1798
- readOnly: false,
1799
- required: false,
1800
1689
  ellegibleForComparison: false,
1801
1690
  options: [],
1802
1691
  validations: [],
1803
1692
  requestGraphicData: [],
1804
1693
  tips: [],
1805
- createdAtDateTime: "2025-10-10T19:10:11.522Z",
1806
- updatedAtDateTime: "2025-10-10T19:10:11.522Z",
1694
+ createdAtDateTime: "2025-12-04T13:37:15.920Z",
1695
+ updatedAtDateTime: "2025-12-04T13:37:15.920Z",
1807
1696
  __v: 0,
1808
- screenPlacement: 1,
1809
1697
  enable: true,
1810
- lineId: "9a594cf8-9cdf-4404-896a-eb13f0766d68",
1811
- answer: ""
1698
+ lineId: "61c90bbf-d55e-4f8e-bbf2-74b3d0d74bbc"
1812
1699
  }
1813
1700
  ]
1814
1701
  },
1815
1702
  {
1816
- id: "fc093f51-1cc6-4a5b-b0a7-d854698a7747",
1817
- line: 34,
1703
+ id: "1840ad57-5f36-4e72-a278-1e4d9d4fecc4",
1704
+ line: 144,
1818
1705
  collumns: [
1819
1706
  {
1820
- _id: "68e95a3412a9fe7d49161a5a",
1707
+ _id: "69318f428a4c98fb4d1cc457",
1821
1708
  form: "689e029db13c27189bce136d",
1822
- sequence: 41,
1823
- code: "CIRCUNFERENCIA_ANTEBRACO_DIR",
1824
- description: "Antebraço Direito",
1709
+ sequence: 164,
1710
+ code: "CIRCUNFERENCIA_PUNHO",
1711
+ description: "Punho",
1825
1712
  parent: "68e9589912a9fe7d49161a0b",
1826
- line: 34,
1713
+ line: 144,
1827
1714
  column: 1,
1828
1715
  type: "QUESTION",
1829
1716
  typeAnswer: "OPEN_NUMBER",
1830
1717
  category: "ANTHROPOMETRY",
1831
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
1718
+ formulaToEnable: "['EIDERLY'].includes('${TYPE_ASSESSMENT}')",
1719
+ formulaToShow: "true",
1832
1720
  active: true,
1833
1721
  show: true,
1834
1722
  readOnly: false,
1835
1723
  required: false,
1724
+ screenPlacement: 1,
1836
1725
  ellegibleForComparison: false,
1837
1726
  options: [],
1838
1727
  validations: [],
1839
1728
  requestGraphicData: [],
1840
1729
  tips: [],
1841
- createdAtDateTime: "2025-10-10T19:10:44.784Z",
1842
- updatedAtDateTime: "2025-10-10T19:10:44.784Z",
1730
+ createdAtDateTime: "2025-12-04T13:40:18.003Z",
1731
+ updatedAtDateTime: "2025-12-04T13:40:18.003Z",
1843
1732
  __v: 0,
1844
- screenPlacement: 1,
1845
1733
  enable: true,
1846
- lineId: "fc093f51-1cc6-4a5b-b0a7-d854698a7747",
1847
- answer: ""
1848
- },
1734
+ lineId: "1840ad57-5f36-4e72-a278-1e4d9d4fecc4"
1735
+ }
1736
+ ]
1737
+ },
1738
+ {
1739
+ id: "d4853b39-f20b-4a41-b358-045e89f1da5e",
1740
+ line: 145,
1741
+ collumns: [
1849
1742
  {
1850
- _id: "68e95a3d12a9fe7d49161a61",
1743
+ _id: "69318f508a4c98fb4d1cc45f",
1851
1744
  form: "689e029db13c27189bce136d",
1852
- sequence: 42,
1853
- code: "CIRCUNFERENCIA_ANTEBRACO_ESQ",
1854
- description: "Antebraço Esquerdo",
1745
+ sequence: 165,
1746
+ code: "CIRCUNFERENCIA_TORNOZELO",
1747
+ description: "Tornozelo",
1855
1748
  parent: "68e9589912a9fe7d49161a0b",
1856
- line: 34,
1749
+ line: 145,
1857
1750
  column: 1,
1858
1751
  type: "QUESTION",
1859
1752
  typeAnswer: "OPEN_NUMBER",
1860
1753
  category: "ANTHROPOMETRY",
1861
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
1754
+ formulaToEnable: "['EIDERLY'].includes('${TYPE_ASSESSMENT}')",
1755
+ formulaToShow: "true",
1862
1756
  active: true,
1863
1757
  show: true,
1864
1758
  readOnly: false,
1865
1759
  required: false,
1760
+ screenPlacement: 1,
1866
1761
  ellegibleForComparison: false,
1867
1762
  options: [],
1868
1763
  validations: [],
1869
1764
  requestGraphicData: [],
1870
1765
  tips: [],
1871
- createdAtDateTime: "2025-10-10T19:10:53.388Z",
1872
- updatedAtDateTime: "2025-10-10T19:10:53.388Z",
1766
+ createdAtDateTime: "2025-12-04T13:40:32.664Z",
1767
+ updatedAtDateTime: "2025-12-04T13:40:32.664Z",
1873
1768
  __v: 0,
1874
- screenPlacement: 1,
1875
1769
  enable: true,
1876
- lineId: "fc093f51-1cc6-4a5b-b0a7-d854698a7747",
1877
- answer: ""
1770
+ lineId: "d4853b39-f20b-4a41-b358-045e89f1da5e"
1878
1771
  }
1879
1772
  ]
1880
- },
1773
+ }
1774
+ ],
1775
+ lineId: "acca0ec2-4728-42c1-9db8-3c8f3f31ce6f"
1776
+ }
1777
+ ]
1778
+ },
1779
+ {
1780
+ id: "384783c7-81c7-4623-bc80-0021568fc46d",
1781
+ line: 39,
1782
+ collumns: [
1783
+ {
1784
+ _id: "68ee523c9e2023190dc0c281",
1785
+ form: "689e029db13c27189bce136d",
1786
+ sequence: 51,
1787
+ code: "SKY-51-RLGD",
1788
+ description: "Bariátrico",
1789
+ line: 39,
1790
+ column: 1,
1791
+ type: "GROUP",
1792
+ category: "ANTHROPOMETRY",
1793
+ active: true,
1794
+ show: true,
1795
+ readOnly: false,
1796
+ required: false,
1797
+ ellegibleForComparison: false,
1798
+ options: [],
1799
+ validations: [],
1800
+ requestGraphicData: [],
1801
+ tips: [],
1802
+ createdAtDateTime: "2025-10-14T13:38:04.253Z",
1803
+ updatedAtDateTime: "2025-10-14T13:38:04.253Z",
1804
+ __v: 0,
1805
+ screenPlacement: 1,
1806
+ formulaToShow: "['ADULT', 'EIDERLY'].includes('${TYPE_ASSESSMENT}')",
1807
+ formulaToEnable: "true",
1808
+ enable: true,
1809
+ lines: [
1881
1810
  {
1882
- id: "1f5e49d1-d197-41f0-bb83-b38e6272422c",
1883
- line: 35,
1811
+ id: "0166631c-1d04-4c56-8259-f17b6b58df48",
1812
+ line: 40,
1884
1813
  collumns: [
1885
1814
  {
1886
- _id: "68e95a6012a9fe7d49161a68",
1815
+ _id: "68ee567fdbeb63de67643cf6",
1887
1816
  form: "689e029db13c27189bce136d",
1888
- sequence: 43,
1889
- code: "CIRCUNFERENCIA_COXA_PROX_DIR",
1890
- description: "Coxa Proximal Direita",
1891
- parent: "68e9589912a9fe7d49161a0b",
1892
- line: 35,
1817
+ sequence: 52,
1818
+ code: "BARIATRICO_TIPO_CIRURGIA",
1819
+ description: "Tipo de cirurgia bariátrica realizada",
1820
+ parent: "68ee523c9e2023190dc0c281",
1821
+ line: 40,
1893
1822
  column: 1,
1894
1823
  type: "QUESTION",
1895
- typeAnswer: "OPEN_NUMBER",
1824
+ typeAnswer: "CHOICE_SINGLE",
1896
1825
  category: "ANTHROPOMETRY",
1897
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
1826
+ variantView: "SELECT",
1827
+ options: [
1828
+ {
1829
+ sequence: 1,
1830
+ formulaToEnable: "true",
1831
+ code: "BY_PASS",
1832
+ description: "By-pass gástrico",
1833
+ defaultSelection: false,
1834
+ active: true
1835
+ },
1836
+ {
1837
+ sequence: 2,
1838
+ formulaToEnable: "true",
1839
+ code: "SLEEVE",
1840
+ description: "Sleeve",
1841
+ defaultSelection: false,
1842
+ active: true
1843
+ },
1844
+ {
1845
+ sequence: 3,
1846
+ formulaToEnable: "true",
1847
+ code: "BANDA_GASTRICA_AJUSTAVEL",
1848
+ description: "Banca gástrica ajustável",
1849
+ defaultSelection: false,
1850
+ active: false
1851
+ }
1852
+ ],
1853
+ formulaToEnable: "true",
1898
1854
  active: true,
1899
1855
  show: true,
1900
1856
  readOnly: false,
1901
1857
  required: false,
1902
1858
  ellegibleForComparison: false,
1903
- options: [],
1904
1859
  validations: [],
1905
1860
  requestGraphicData: [],
1906
1861
  tips: [],
1907
- createdAtDateTime: "2025-10-10T19:11:28.688Z",
1908
- updatedAtDateTime: "2025-10-10T19:11:28.688Z",
1862
+ createdAtDateTime: "2025-10-14T13:56:15.048Z",
1863
+ updatedAtDateTime: "2025-10-14T13:56:15.048Z",
1909
1864
  __v: 0,
1910
1865
  screenPlacement: 1,
1911
1866
  enable: true,
1912
- lineId: "1f5e49d1-d197-41f0-bb83-b38e6272422c",
1913
- answer: ""
1867
+ lineId: "0166631c-1d04-4c56-8259-f17b6b58df48"
1914
1868
  },
1915
1869
  {
1916
- _id: "68e95a6912a9fe7d49161a6f",
1870
+ _id: "68ee573cdbeb63de67643cff",
1917
1871
  form: "689e029db13c27189bce136d",
1918
- sequence: 44,
1919
- code: "CIRCUNFERENCIA_COXA_PROX_ESQ",
1920
- description: "Coxa Proximal Esquerda",
1921
- parent: "68e9589912a9fe7d49161a0b",
1922
- line: 35,
1872
+ sequence: 53,
1873
+ code: "BARIATRICO_DATA_CIRURGIA",
1874
+ description: "Data da cirurgia",
1875
+ parent: "68ee523c9e2023190dc0c281",
1876
+ line: 40,
1923
1877
  column: 1,
1924
1878
  type: "QUESTION",
1925
- typeAnswer: "OPEN_NUMBER",
1879
+ typeAnswer: "DATE",
1926
1880
  category: "ANTHROPOMETRY",
1927
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
1881
+ formulaToEnable: "true",
1928
1882
  active: true,
1929
1883
  show: true,
1930
1884
  readOnly: false,
1931
1885
  required: false,
1932
1886
  ellegibleForComparison: false,
1933
1887
  options: [],
1934
- validations: [],
1888
+ validations: [
1889
+ {
1890
+ type: "REQUIRED",
1891
+ typeOutput: "TEXT",
1892
+ formulaToMessage: "!new RegExp('^\\d{4}-\\d{2}-\\d{2}$').test('${BARIATRICO_DATA_CIRURGIA}') ? 'Formato de data inválido enviado a API' : ''",
1893
+ message: "Formato de data inválido enviado a API"
1894
+ }
1895
+ ],
1935
1896
  requestGraphicData: [],
1936
1897
  tips: [],
1937
- createdAtDateTime: "2025-10-10T19:11:37.257Z",
1938
- updatedAtDateTime: "2025-10-10T19:11:37.257Z",
1898
+ createdAtDateTime: "2025-10-14T13:59:24.863Z",
1899
+ updatedAtDateTime: "2025-10-14T13:59:24.863Z",
1939
1900
  __v: 0,
1940
1901
  screenPlacement: 1,
1941
1902
  enable: true,
1942
- lineId: "1f5e49d1-d197-41f0-bb83-b38e6272422c",
1943
- answer: ""
1903
+ lineId: "0166631c-1d04-4c56-8259-f17b6b58df48",
1904
+ answer: "2026-01-06T00:00:00.000-03:00"
1944
1905
  }
1945
1906
  ]
1946
1907
  },
1947
1908
  {
1948
- id: "45f53063-e2e6-4bb5-8f09-2d0a6e753926",
1949
- line: 36,
1909
+ id: "f6c77229-b1c5-499a-897c-b0d890378129",
1910
+ line: 41,
1950
1911
  collumns: [
1951
1912
  {
1952
- _id: "68e95a8912a9fe7d49161a76",
1913
+ _id: "68ee57c0dbeb63de67643d07",
1953
1914
  form: "689e029db13c27189bce136d",
1954
- sequence: 45,
1955
- code: "CIRCUNFERENCIA_COXA_MEDIAL_ESQ",
1956
- description: "Coxa Medial Esquerda",
1957
- parent: "68e9589912a9fe7d49161a0b",
1958
- line: 36,
1915
+ sequence: 54,
1916
+ code: "BTN_CALC_WEIGHT_REGAIN",
1917
+ description: "Calcular reganho de peso",
1918
+ parent: "68ee523c9e2023190dc0c281",
1919
+ line: 41,
1959
1920
  column: 1,
1960
- type: "QUESTION",
1961
- typeAnswer: "OPEN_NUMBER",
1921
+ type: "BUTTON",
1962
1922
  category: "ANTHROPOMETRY",
1963
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
1923
+ typeButtonAction: "OPEN_MODAL",
1924
+ formulaToEnable: "true",
1964
1925
  active: true,
1965
1926
  show: true,
1966
1927
  readOnly: false,
@@ -1970,347 +1931,14 @@ const allLines = [
1970
1931
  validations: [],
1971
1932
  requestGraphicData: [],
1972
1933
  tips: [],
1973
- createdAtDateTime: "2025-10-10T19:12:09.936Z",
1974
- updatedAtDateTime: "2025-10-10T19:12:09.936Z",
1975
- __v: 0,
1976
- screenPlacement: 1,
1977
- enable: true,
1978
- lineId: "45f53063-e2e6-4bb5-8f09-2d0a6e753926",
1979
- answer: ""
1980
- },
1981
- {
1982
- _id: "68e95a9712a9fe7d49161a7d",
1983
- form: "689e029db13c27189bce136d",
1984
- sequence: 46,
1985
- code: "CIRCUNFERENCIA_COXA_MEDIAL_DIR",
1986
- description: "Coxa Medial Direita",
1987
- parent: "68e9589912a9fe7d49161a0b",
1988
- line: 36,
1989
- column: 1,
1990
- type: "QUESTION",
1991
- typeAnswer: "OPEN_NUMBER",
1992
- category: "ANTHROPOMETRY",
1993
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
1994
- active: true,
1995
- show: true,
1996
- readOnly: false,
1997
- required: false,
1998
- ellegibleForComparison: false,
1999
- options: [],
2000
- validations: [],
2001
- requestGraphicData: [],
2002
- tips: [],
2003
- createdAtDateTime: "2025-10-10T19:12:23.040Z",
2004
- updatedAtDateTime: "2025-10-10T19:12:23.040Z",
2005
- __v: 0,
2006
- screenPlacement: 1,
2007
- enable: true,
2008
- lineId: "45f53063-e2e6-4bb5-8f09-2d0a6e753926",
2009
- answer: ""
2010
- }
2011
- ]
2012
- },
2013
- {
2014
- id: "b8312604-395d-4631-baee-cd8c0d430738",
2015
- line: 37,
2016
- collumns: [
2017
- {
2018
- _id: "68e95aac12a9fe7d49161a84",
2019
- form: "689e029db13c27189bce136d",
2020
- sequence: 47,
2021
- code: "CIRCUNFERENCIA_COXA_DISTAL_DIR",
2022
- description: "Coxa Distal Direita",
2023
- parent: "68e9589912a9fe7d49161a0b",
2024
- line: 37,
2025
- column: 1,
2026
- type: "QUESTION",
2027
- typeAnswer: "OPEN_NUMBER",
2028
- category: "ANTHROPOMETRY",
2029
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
2030
- active: true,
2031
- show: true,
2032
- readOnly: false,
2033
- required: false,
2034
- ellegibleForComparison: false,
2035
- options: [],
2036
- validations: [],
2037
- requestGraphicData: [],
2038
- tips: [],
2039
- createdAtDateTime: "2025-10-10T19:12:44.577Z",
2040
- updatedAtDateTime: "2025-10-10T19:12:44.577Z",
2041
- __v: 0,
2042
- screenPlacement: 1,
2043
- enable: true,
2044
- lineId: "b8312604-395d-4631-baee-cd8c0d430738",
2045
- answer: ""
2046
- },
2047
- {
2048
- _id: "68e95ab512a9fe7d49161a8b",
2049
- form: "689e029db13c27189bce136d",
2050
- sequence: 48,
2051
- code: "CIRCUNFERENCIA_COXA_DISTAL_ESQ",
2052
- description: "Coxa Distal Esquerda",
2053
- parent: "68e9589912a9fe7d49161a0b",
2054
- line: 37,
2055
- column: 1,
2056
- type: "QUESTION",
2057
- typeAnswer: "OPEN_NUMBER",
2058
- category: "ANTHROPOMETRY",
2059
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
2060
- active: true,
2061
- show: true,
2062
- readOnly: false,
2063
- required: false,
2064
- ellegibleForComparison: false,
2065
- options: [],
2066
- validations: [],
2067
- requestGraphicData: [],
2068
- tips: [],
2069
- createdAtDateTime: "2025-10-10T19:12:53.890Z",
2070
- updatedAtDateTime: "2025-10-10T19:12:53.890Z",
2071
- __v: 0,
2072
- screenPlacement: 1,
2073
- enable: true,
2074
- lineId: "b8312604-395d-4631-baee-cd8c0d430738",
2075
- answer: ""
2076
- }
2077
- ]
2078
- },
2079
- {
2080
- id: "ecad0ea5-b911-4d3e-9d08-fac895c652a8",
2081
- line: 38,
2082
- collumns: [
2083
- {
2084
- _id: "68e95acc12a9fe7d49161a92",
2085
- form: "689e029db13c27189bce136d",
2086
- sequence: 49,
2087
- code: "CIRCUNFERENCIA_PANTURRILHA_DIR",
2088
- description: "Panturrilha Direita",
2089
- parent: "68e9589912a9fe7d49161a0b",
2090
- line: 38,
2091
- column: 1,
2092
- type: "QUESTION",
2093
- typeAnswer: "OPEN_NUMBER",
2094
- category: "ANTHROPOMETRY",
2095
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
2096
- active: true,
2097
- show: true,
2098
- readOnly: false,
2099
- required: false,
2100
- ellegibleForComparison: false,
2101
- options: [],
2102
- validations: [],
2103
- requestGraphicData: [],
2104
- tips: [],
2105
- createdAtDateTime: "2025-10-10T19:13:16.856Z",
2106
- updatedAtDateTime: "2025-10-10T19:13:16.856Z",
2107
- __v: 0,
2108
- screenPlacement: 1,
2109
- enable: true,
2110
- lineId: "ecad0ea5-b911-4d3e-9d08-fac895c652a8",
2111
- answer: ""
2112
- },
2113
- {
2114
- _id: "68e95ad412a9fe7d49161a99",
2115
- form: "689e029db13c27189bce136d",
2116
- sequence: 50,
2117
- code: "CIRCUNFERENCIA_PANTURRILHA_ESQ",
2118
- description: "Panturrilha Esquerda",
2119
- parent: "68e9589912a9fe7d49161a0b",
2120
- line: 38,
2121
- column: 1,
2122
- type: "QUESTION",
2123
- typeAnswer: "OPEN_NUMBER",
2124
- category: "ANTHROPOMETRY",
2125
- formulaToEnable: "['TEENAGER', 'ADULT'].includes('${TYPE_ASSESSMENT}')",
2126
- active: true,
2127
- show: true,
2128
- readOnly: false,
2129
- required: false,
2130
- ellegibleForComparison: false,
2131
- options: [],
2132
- validations: [],
2133
- requestGraphicData: [],
2134
- tips: [],
2135
- createdAtDateTime: "2025-10-10T19:13:24.433Z",
2136
- updatedAtDateTime: "2025-10-10T19:13:24.433Z",
2137
- __v: 0,
2138
- screenPlacement: 1,
2139
- enable: true,
2140
- lineId: "ecad0ea5-b911-4d3e-9d08-fac895c652a8",
2141
- answer: ""
2142
- }
2143
- ]
2144
- }
2145
- ],
2146
- lineId: "22dab93b-98ce-4fa9-bffb-aa525e3ee467"
2147
- }
2148
- ]
2149
- },
2150
- {
2151
- id: "ad1ab40f-efdd-4610-b431-41b116b2a224",
2152
- line: 39,
2153
- collumns: [
2154
- {
2155
- _id: "68ee523c9e2023190dc0c281",
2156
- form: "689e029db13c27189bce136d",
2157
- sequence: 51,
2158
- code: "SKY-51-RLGD",
2159
- description: "Bariátrico",
2160
- line: 39,
2161
- column: 1,
2162
- type: "GROUP",
2163
- category: "ANTHROPOMETRY",
2164
- active: true,
2165
- show: true,
2166
- readOnly: false,
2167
- required: false,
2168
- ellegibleForComparison: false,
2169
- options: [],
2170
- validations: [],
2171
- requestGraphicData: [],
2172
- tips: [],
2173
- createdAtDateTime: "2025-10-14T13:38:04.253Z",
2174
- updatedAtDateTime: "2025-10-14T13:38:04.253Z",
2175
- __v: 0,
2176
- screenPlacement: 1,
2177
- formulaToShow: "['ADULT', 'EIDERLY'].includes('${TYPE_ASSESSMENT}') && ${PATIENT_IS_BARIATRIC} == true",
2178
- formulaToEnable: "true",
2179
- enable: true,
2180
- lines: [
2181
- {
2182
- id: "d039a8f9-f41d-4ef1-87c1-369dd5ad3e27",
2183
- line: 40,
2184
- collumns: [
2185
- {
2186
- _id: "68ee567fdbeb63de67643cf6",
2187
- form: "689e029db13c27189bce136d",
2188
- sequence: 52,
2189
- code: "BARIATRICO_TIPO_CIRURGIA",
2190
- description: "Tipo de cirurgia bariátrica realizada",
2191
- parent: "68ee523c9e2023190dc0c281",
2192
- line: 40,
2193
- column: 1,
2194
- type: "QUESTION",
2195
- typeAnswer: "CHOICE_SINGLE",
2196
- category: "ANTHROPOMETRY",
2197
- variantView: "SELECT",
2198
- options: [
2199
- {
2200
- sequence: 1,
2201
- formulaToEnable: "true",
2202
- code: "BY_PASS",
2203
- description: "By-pass gástrico",
2204
- defaultSelection: false,
2205
- active: true
2206
- },
2207
- {
2208
- sequence: 2,
2209
- formulaToEnable: "true",
2210
- code: "SLEEVE",
2211
- description: "Sleeve",
2212
- defaultSelection: false,
2213
- active: true
2214
- },
2215
- {
2216
- sequence: 3,
2217
- formulaToEnable: "true",
2218
- code: "BANDA_GASTRICA_AJUSTAVEL",
2219
- description: "Banca gástrica ajustável",
2220
- defaultSelection: false,
2221
- active: false
2222
- }
2223
- ],
2224
- formulaToEnable: "true",
2225
- active: true,
2226
- show: true,
2227
- readOnly: false,
2228
- required: false,
2229
- ellegibleForComparison: false,
2230
- validations: [],
2231
- requestGraphicData: [],
2232
- tips: [],
2233
- createdAtDateTime: "2025-10-14T13:56:15.048Z",
2234
- updatedAtDateTime: "2025-10-14T13:56:15.048Z",
2235
- __v: 0,
2236
- screenPlacement: 1,
2237
- answer: "BY_PASS",
2238
- enable: true,
2239
- lineId: "d039a8f9-f41d-4ef1-87c1-369dd5ad3e27"
2240
- },
2241
- {
2242
- _id: "68ee573cdbeb63de67643cff",
2243
- form: "689e029db13c27189bce136d",
2244
- sequence: 53,
2245
- code: "BARIATRICO_DATA_CIRURGIA",
2246
- description: "Data da cirurgia",
2247
- parent: "68ee523c9e2023190dc0c281",
2248
- line: 40,
2249
- column: 1,
2250
- type: "QUESTION",
2251
- typeAnswer: "DATE",
2252
- category: "ANTHROPOMETRY",
2253
- formulaToEnable: "true",
2254
- active: true,
2255
- show: true,
2256
- readOnly: false,
2257
- required: false,
2258
- ellegibleForComparison: false,
2259
- options: [],
2260
- validations: [
2261
- {
2262
- type: "REQUIRED",
2263
- typeOutput: "TEXT",
2264
- formulaToMessage: "!new RegExp('^\\d{4}-\\d{2}-\\d{2}$').test('${BARIATRICO_DATA_CIRURGIA}') ? 'Formato de data inválido enviado a API' : ''",
2265
- message: "Formato de data inválido enviado a API"
2266
- }
2267
- ],
2268
- requestGraphicData: [],
2269
- tips: [],
2270
- createdAtDateTime: "2025-10-14T13:59:24.863Z",
2271
- updatedAtDateTime: "2025-10-14T13:59:24.863Z",
2272
- __v: 0,
2273
- screenPlacement: 1,
2274
- answer: "2025-10-01T00:00:00.000-03:00",
2275
- enable: true,
2276
- lineId: "d039a8f9-f41d-4ef1-87c1-369dd5ad3e27"
2277
- }
2278
- ]
2279
- },
2280
- {
2281
- id: "b2a3a254-b253-40e3-a268-6bc7f38ff3d3",
2282
- line: 41,
2283
- collumns: [
2284
- {
2285
- _id: "68ee57c0dbeb63de67643d07",
2286
- form: "689e029db13c27189bce136d",
2287
- sequence: 54,
2288
- code: "BTN_CALC_WEIGHT_REGAIN",
2289
- description: "Calcular reganho de peso",
2290
- parent: "68ee523c9e2023190dc0c281",
2291
- line: 41,
2292
- column: 1,
2293
- type: "BUTTON",
2294
- category: "ANTHROPOMETRY",
2295
- typeButtonAction: "OPEN_MODAL",
2296
- formulaToEnable: "true",
2297
- active: true,
2298
- show: true,
2299
- readOnly: false,
2300
- required: false,
2301
- ellegibleForComparison: false,
2302
- options: [],
2303
- validations: [],
2304
- requestGraphicData: [],
2305
- tips: [],
2306
- createdAtDateTime: "2025-10-14T14:01:36.927Z",
2307
- updatedAtDateTime: "2025-10-14T14:01:36.927Z",
1934
+ createdAtDateTime: "2025-10-14T14:01:36.927Z",
1935
+ updatedAtDateTime: "2025-10-14T14:01:36.927Z",
2308
1936
  __v: 0,
2309
1937
  screenPlacement: 1,
2310
1938
  enable: true,
2311
1939
  lines: [
2312
1940
  {
2313
- id: "7c7d88a0-2b37-44c9-b9fb-691691b4b65c",
1941
+ id: "62c801af-5170-435b-9953-358933da1297",
2314
1942
  line: 42,
2315
1943
  collumns: [
2316
1944
  {
@@ -2346,7 +1974,7 @@ const allLines = [
2346
1974
  enable: true,
2347
1975
  lines: [
2348
1976
  {
2349
- id: "563892a2-6e55-4b57-8699-18233de78081",
1977
+ id: "532b7959-3fab-4bcd-8478-151e14a5fb34",
2350
1978
  line: 43,
2351
1979
  collumns: [
2352
1980
  {
@@ -2375,14 +2003,13 @@ const allLines = [
2375
2003
  updatedAtDateTime: "2025-10-14T14:37:56.829Z",
2376
2004
  __v: 0,
2377
2005
  screenPlacement: 1,
2378
- answer: "150",
2379
2006
  enable: true,
2380
- lineId: "563892a2-6e55-4b57-8699-18233de78081"
2007
+ lineId: "532b7959-3fab-4bcd-8478-151e14a5fb34"
2381
2008
  }
2382
2009
  ]
2383
2010
  },
2384
2011
  {
2385
- id: "191992a9-3328-476a-875d-f8e15255f8be",
2012
+ id: "3fbf91bc-8f31-4aa9-8880-a21b08b3a299",
2386
2013
  line: 44,
2387
2014
  collumns: [
2388
2015
  {
@@ -2411,16 +2038,15 @@ const allLines = [
2411
2038
  updatedAtDateTime: "2025-10-14T14:39:41.427Z",
2412
2039
  __v: 0,
2413
2040
  screenPlacement: 1,
2414
- formulaToAnswer: "Number('${CURRENT_WEIGHT}') < Number('${BARIATRICO_ULTIMO_PESO_MINIMO}') ? Number('${CURRENT_WEIGHT}') : Number('${BARIATRICO_ULTIMO_PESO_MINIMO}')",
2041
+ formulaToAnswer: "isNaN(Number('${BARIATRICO_ULTIMO_PESO_MINIMO}')) ? Number('${BARIATRICO_MENOR_PESO_APOS_CIRURGIA}') : Number('${CURRENT_WEIGHT}') < Number('${BARIATRICO_ULTIMO_PESO_MINIMO}') ? Number('${CURRENT_WEIGHT}') : Number('${BARIATRICO_ULTIMO_PESO_MINIMO}')",
2415
2042
  measurementUnit: "kg",
2416
- answer: null,
2417
2043
  enable: true,
2418
- lineId: "191992a9-3328-476a-875d-f8e15255f8be"
2044
+ lineId: "3fbf91bc-8f31-4aa9-8880-a21b08b3a299"
2419
2045
  }
2420
2046
  ]
2421
2047
  },
2422
2048
  {
2423
- id: "73dc7e10-2a65-4f5b-94ef-2d3110bc188a",
2049
+ id: "fcb2bd19-301e-454a-b83b-98701fa4d5aa",
2424
2050
  line: 45,
2425
2051
  collumns: [
2426
2052
  {
@@ -2450,14 +2076,13 @@ const allLines = [
2450
2076
  __v: 0,
2451
2077
  screenPlacement: 1,
2452
2078
  formulaToAnswer: "${CURRENT_WEIGHT}",
2453
- answer: 81,
2454
2079
  enable: true,
2455
- lineId: "73dc7e10-2a65-4f5b-94ef-2d3110bc188a"
2080
+ lineId: "fcb2bd19-301e-454a-b83b-98701fa4d5aa"
2456
2081
  }
2457
2082
  ]
2458
2083
  },
2459
2084
  {
2460
- id: "1cecabac-8119-4ee4-a900-ef6e5336040f",
2085
+ id: "cb7d9609-ce92-428c-a65d-8f76ecc8194d",
2461
2086
  line: 47,
2462
2087
  collumns: [
2463
2088
  {
@@ -2488,14 +2113,14 @@ const allLines = [
2488
2113
  updatedAtDateTime: "2025-10-14T14:52:29.560Z",
2489
2114
  __v: 0,
2490
2115
  screenPlacement: 1,
2491
- answer: 2,
2492
2116
  enable: true,
2493
- lineId: "1cecabac-8119-4ee4-a900-ef6e5336040f"
2117
+ lineId: "cb7d9609-ce92-428c-a65d-8f76ecc8194d",
2118
+ answer: 0
2494
2119
  }
2495
2120
  ]
2496
2121
  },
2497
2122
  {
2498
- id: "92d0b4bf-51d5-4859-a36b-5e7d3ca1ab6e",
2123
+ id: "9423529c-7949-4cf5-8b8d-4876583bca03",
2499
2124
  line: 158,
2500
2125
  collumns: [
2501
2126
  {
@@ -2513,7 +2138,7 @@ const allLines = [
2513
2138
  formulaToEnable: "true",
2514
2139
  formulaToShow: "false",
2515
2140
  active: true,
2516
- show: true,
2141
+ show: false,
2517
2142
  readOnly: false,
2518
2143
  required: false,
2519
2144
  screenPlacement: 1,
@@ -2526,27 +2151,63 @@ const allLines = [
2526
2151
  updatedAtDateTime: "2025-12-09T17:16:30.025Z",
2527
2152
  __v: 0,
2528
2153
  enable: true,
2529
- lineId: "92d0b4bf-51d5-4859-a36b-5e7d3ca1ab6e"
2154
+ lineId: "9423529c-7949-4cf5-8b8d-4876583bca03"
2530
2155
  }
2531
2156
  ]
2532
2157
  }
2533
2158
  ],
2534
- lineId: "7c7d88a0-2b37-44c9-b9fb-691691b4b65c"
2159
+ lineId: "62c801af-5170-435b-9953-358933da1297"
2535
2160
  }
2536
2161
  ]
2537
2162
  }
2538
2163
  ],
2539
- lineId: "b2a3a254-b253-40e3-a268-6bc7f38ff3d3"
2164
+ lineId: "f6c77229-b1c5-499a-897c-b0d890378129"
2165
+ }
2166
+ ]
2167
+ },
2168
+ {
2169
+ id: "81d49c2b-a3b3-410d-bfa7-c91a813ca967",
2170
+ line: 169,
2171
+ collumns: [
2172
+ {
2173
+ _id: "695c21b2988827cc33fcaf8b",
2174
+ form: "689e029db13c27189bce136d",
2175
+ sequence: 187,
2176
+ code: "BARIATRICO_E_BARIATRICO",
2177
+ description: "É bariátrico",
2178
+ parent: "68ee523c9e2023190dc0c281",
2179
+ line: 169,
2180
+ column: 1,
2181
+ type: "QUESTION",
2182
+ typeAnswer: "BOOLEAN",
2183
+ isDefault: false,
2184
+ category: "ANTHROPOMETRY",
2185
+ formulaToEnable: "true",
2186
+ formulaToShow: "true",
2187
+ active: true,
2188
+ show: true,
2189
+ readOnly: false,
2190
+ required: false,
2191
+ screenPlacement: 1,
2192
+ ellegibleForComparison: false,
2193
+ options: [],
2194
+ validations: [],
2195
+ tips: [],
2196
+ createdAtDateTime: "2026-01-05T20:40:18.597Z",
2197
+ updatedAtDateTime: "2026-01-05T20:40:18.597Z",
2198
+ __v: 0,
2199
+ enable: true,
2200
+ lineId: "81d49c2b-a3b3-410d-bfa7-c91a813ca967"
2540
2201
  }
2541
2202
  ]
2542
2203
  }
2543
2204
  ],
2544
- lineId: "ad1ab40f-efdd-4610-b431-41b116b2a224"
2205
+ lineId: "384783c7-81c7-4623-bc80-0021568fc46d"
2545
2206
  }
2546
2207
  ]
2547
2208
  },
2548
2209
  {
2549
- id: "376746c2-9c84-477d-adfd-cf2639876213",
2210
+ id: "81e73748-e268-41e8-bf84-e1dba363bebd",
2550
2211
  line: 48,
2551
2212
  collumns: [
2552
2213
  {
@@ -2577,7 +2238,7 @@ const allLines = [
2577
2238
  enable: true,
2578
2239
  lines: [
2579
2240
  {
2580
- id: "bff73c62-c1f2-44fc-a9e1-b04ceca492be",
2241
+ id: "ba540207-57d4-4304-98e6-9c8dea4f0ba1",
2581
2242
  line: 49,
2582
2243
  collumns: [
2583
2244
  {
@@ -2608,8 +2269,7 @@ const allLines = [
2608
2269
  __v: 0,
2609
2270
  screenPlacement: 1,
2610
2271
  enable: true,
2611
- lineId: "bff73c62-c1f2-44fc-a9e1-b04ceca492be",
2612
- answer: ""
2272
+ lineId: "ba540207-57d4-4304-98e6-9c8dea4f0ba1"
2613
2273
  },
2614
2274
  {
2615
2275
  _id: "68ee67fedbeb63de67643d51",
@@ -2639,13 +2299,12 @@ const allLines = [
2639
2299
  __v: 0,
2640
2300
  screenPlacement: 1,
2641
2301
  enable: true,
2642
- lineId: "bff73c62-c1f2-44fc-a9e1-b04ceca492be",
2643
- answer: ""
2302
+ lineId: "ba540207-57d4-4304-98e6-9c8dea4f0ba1"
2644
2303
  }
2645
2304
  ]
2646
2305
  },
2647
2306
  {
2648
- id: "86f3a9cd-5bf5-407c-81c7-14c04a03855e",
2307
+ id: "3569c427-da1e-4eab-9cd1-aec0a229fed7",
2649
2308
  line: 50,
2650
2309
  collumns: [
2651
2310
  {
@@ -2676,8 +2335,7 @@ const allLines = [
2676
2335
  __v: 0,
2677
2336
  screenPlacement: 1,
2678
2337
  enable: true,
2679
- lineId: "86f3a9cd-5bf5-407c-81c7-14c04a03855e",
2680
- answer: ""
2338
+ lineId: "3569c427-da1e-4eab-9cd1-aec0a229fed7"
2681
2339
  },
2682
2340
  {
2683
2341
  _id: "68ee685fdbeb63de67643d61",
@@ -2707,13 +2365,12 @@ const allLines = [
2707
2365
  __v: 0,
2708
2366
  screenPlacement: 1,
2709
2367
  enable: true,
2710
- lineId: "86f3a9cd-5bf5-407c-81c7-14c04a03855e",
2711
- answer: ""
2368
+ lineId: "3569c427-da1e-4eab-9cd1-aec0a229fed7"
2712
2369
  }
2713
2370
  ]
2714
2371
  },
2715
2372
  {
2716
- id: "b947b747-8703-4900-aac9-2c364617368e",
2373
+ id: "96a0e0af-b5b4-4c11-a56b-c2406d264d71",
2717
2374
  line: 51,
2718
2375
  collumns: [
2719
2376
  {
@@ -2744,8 +2401,7 @@ const allLines = [
2744
2401
  __v: 0,
2745
2402
  screenPlacement: 1,
2746
2403
  enable: true,
2747
- lineId: "b947b747-8703-4900-aac9-2c364617368e",
2748
- answer: ""
2404
+ lineId: "96a0e0af-b5b4-4c11-a56b-c2406d264d71"
2749
2405
  },
2750
2406
  {
2751
2407
  _id: "68ee68afdbeb63de67643d71",
@@ -2775,13 +2431,12 @@ const allLines = [
2775
2431
  __v: 0,
2776
2432
  screenPlacement: 1,
2777
2433
  enable: true,
2778
- lineId: "b947b747-8703-4900-aac9-2c364617368e",
2779
- answer: ""
2434
+ lineId: "96a0e0af-b5b4-4c11-a56b-c2406d264d71"
2780
2435
  }
2781
2436
  ]
2782
2437
  },
2783
2438
  {
2784
- id: "e76989b5-9548-46c9-a652-be5ff4040261",
2439
+ id: "03dc0836-5dec-420b-b54a-03d7bb6cafb2",
2785
2440
  line: 52,
2786
2441
  collumns: [
2787
2442
  {
@@ -2812,8 +2467,7 @@ const allLines = [
2812
2467
  __v: 0,
2813
2468
  screenPlacement: 1,
2814
2469
  enable: true,
2815
- lineId: "e76989b5-9548-46c9-a652-be5ff4040261",
2816
- answer: ""
2470
+ lineId: "03dc0836-5dec-420b-b54a-03d7bb6cafb2"
2817
2471
  },
2818
2472
  {
2819
2473
  _id: "68ee68f7dbeb63de67643d81",
@@ -2843,13 +2497,12 @@ const allLines = [
2843
2497
  __v: 0,
2844
2498
  screenPlacement: 1,
2845
2499
  enable: true,
2846
- lineId: "e76989b5-9548-46c9-a652-be5ff4040261",
2847
- answer: ""
2500
+ lineId: "03dc0836-5dec-420b-b54a-03d7bb6cafb2"
2848
2501
  }
2849
2502
  ]
2850
2503
  },
2851
2504
  {
2852
- id: "fbe06384-2016-4f80-82a5-57962a1f821b",
2505
+ id: "fefc516f-c79f-411f-ac07-43553701e794",
2853
2506
  line: 53,
2854
2507
  collumns: [
2855
2508
  {
@@ -2880,18 +2533,17 @@ const allLines = [
2880
2533
  __v: 0,
2881
2534
  screenPlacement: 1,
2882
2535
  enable: true,
2883
- lineId: "fbe06384-2016-4f80-82a5-57962a1f821b",
2884
- answer: ""
2536
+ lineId: "fefc516f-c79f-411f-ac07-43553701e794"
2885
2537
  }
2886
2538
  ]
2887
2539
  }
2888
2540
  ],
2889
- lineId: "376746c2-9c84-477d-adfd-cf2639876213"
2541
+ lineId: "81e73748-e268-41e8-bf84-e1dba363bebd"
2890
2542
  }
2891
2543
  ]
2892
2544
  },
2893
2545
  {
2894
- id: "9250e1e9-8bcb-4a7f-9ad6-5ee3ea930f8b",
2546
+ id: "6fb386b7-f6b0-4d4c-9495-eec88beea2e5",
2895
2547
  line: 58,
2896
2548
  collumns: [
2897
2549
  {
@@ -2922,7 +2574,7 @@ const allLines = [
2922
2574
  enable: true,
2923
2575
  lines: [
2924
2576
  {
2925
- id: "502160d7-c25e-46bd-a251-1b7487ec4171",
2577
+ id: "9159f209-ec1e-4fee-93fd-5f1367158d2d",
2926
2578
  line: 59,
2927
2579
  collumns: [
2928
2580
  {
@@ -2953,8 +2605,7 @@ const allLines = [
2953
2605
  __v: 0,
2954
2606
  screenPlacement: 1,
2955
2607
  enable: true,
2956
- lineId: "502160d7-c25e-46bd-a251-1b7487ec4171",
2957
- answer: ""
2608
+ lineId: "9159f209-ec1e-4fee-93fd-5f1367158d2d"
2958
2609
  },
2959
2610
  {
2960
2611
  _id: "68ee6b50dbeb63de67643da1",
@@ -2984,13 +2635,12 @@ const allLines = [
2984
2635
  __v: 0,
2985
2636
  screenPlacement: 1,
2986
2637
  enable: true,
2987
- lineId: "502160d7-c25e-46bd-a251-1b7487ec4171",
2988
- answer: ""
2638
+ lineId: "9159f209-ec1e-4fee-93fd-5f1367158d2d"
2989
2639
  }
2990
2640
  ]
2991
2641
  },
2992
2642
  {
2993
- id: "11df5bfc-b632-44d1-9533-2fc83592913c",
2643
+ id: "66bb9504-3a91-437d-902a-4d9fc58d691f",
2994
2644
  line: 61,
2995
2645
  collumns: [
2996
2646
  {
@@ -3021,18 +2671,17 @@ const allLines = [
3021
2671
  __v: 0,
3022
2672
  screenPlacement: 1,
3023
2673
  enable: true,
3024
- lineId: "11df5bfc-b632-44d1-9533-2fc83592913c",
3025
- answer: ""
2674
+ lineId: "66bb9504-3a91-437d-902a-4d9fc58d691f"
3026
2675
  }
3027
2676
  ]
3028
2677
  }
3029
2678
  ],
3030
- lineId: "9250e1e9-8bcb-4a7f-9ad6-5ee3ea930f8b"
2679
+ lineId: "6fb386b7-f6b0-4d4c-9495-eec88beea2e5"
3031
2680
  }
3032
2681
  ]
3033
2682
  },
3034
2683
  {
3035
- id: "54915281-e1c2-4658-a58b-b611092d72f1",
2684
+ id: "662b593c-1e4d-497f-8ed7-a07ecf49b298",
3036
2685
  line: 62,
3037
2686
  collumns: [
3038
2687
  {
@@ -3062,7 +2711,7 @@ const allLines = [
3062
2711
  enable: true,
3063
2712
  lines: [
3064
2713
  {
3065
- id: "57c7ce9f-24cb-4206-a76f-3520836b008f",
2714
+ id: "4782c057-2e0a-44f8-9942-90181f4cefba",
3066
2715
  line: 63,
3067
2716
  collumns: [
3068
2717
  {
@@ -3098,7 +2747,7 @@ const allLines = [
3098
2747
  __v: 0,
3099
2748
  screenPlacement: 1,
3100
2749
  enable: true,
3101
- lineId: "57c7ce9f-24cb-4206-a76f-3520836b008f"
2750
+ lineId: "4782c057-2e0a-44f8-9942-90181f4cefba"
3102
2751
  },
3103
2752
  {
3104
2753
  _id: "68ee8f2c80b7d807773414f6",
@@ -3133,7 +2782,7 @@ const allLines = [
3133
2782
  __v: 0,
3134
2783
  screenPlacement: 1,
3135
2784
  enable: true,
3136
- lineId: "57c7ce9f-24cb-4206-a76f-3520836b008f"
2785
+ lineId: "4782c057-2e0a-44f8-9942-90181f4cefba"
3137
2786
  },
3138
2787
  {
3139
2788
  _id: "68ee8f4c80b7d807773414fd",
@@ -3168,7 +2817,7 @@ const allLines = [
3168
2817
  __v: 0,
3169
2818
  screenPlacement: 1,
3170
2819
  enable: true,
3171
- lineId: "57c7ce9f-24cb-4206-a76f-3520836b008f"
2820
+ lineId: "4782c057-2e0a-44f8-9942-90181f4cefba"
3172
2821
  },
3173
2822
  {
3174
2823
  _id: "68ee8f5c80b7d80777341504",
@@ -3203,17 +2852,17 @@ const allLines = [
3203
2852
  __v: 0,
3204
2853
  screenPlacement: 1,
3205
2854
  enable: true,
3206
- lineId: "57c7ce9f-24cb-4206-a76f-3520836b008f"
2855
+ lineId: "4782c057-2e0a-44f8-9942-90181f4cefba"
3207
2856
  }
3208
2857
  ]
3209
2858
  }
3210
2859
  ],
3211
- lineId: "54915281-e1c2-4658-a58b-b611092d72f1"
2860
+ lineId: "662b593c-1e4d-497f-8ed7-a07ecf49b298"
3212
2861
  }
3213
2862
  ]
3214
2863
  },
3215
2864
  {
3216
- id: "83580226-203d-4dad-a9e7-7183c1494644",
2865
+ id: "2b413bee-9361-480d-9b90-7e06e2bde907",
3217
2866
  line: 64,
3218
2867
  collumns: [
3219
2868
  {
@@ -3221,14 +2870,14 @@ const allLines = [
3221
2870
  form: "689e029db13c27189bce136d",
3222
2871
  sequence: 80,
3223
2872
  code: "SKY-80-265C",
3224
- description: "Pesos e Medidas",
2873
+ description: "Análises de Pesos e Medidas",
3225
2874
  line: 64,
3226
2875
  column: 1,
3227
2876
  type: "TABLE",
3228
2877
  category: "ANTHROPOMETRY",
3229
2878
  formulaToEnable: "true",
3230
2879
  active: true,
3231
- show: true,
2880
+ show: false,
3232
2881
  readOnly: false,
3233
2882
  required: false,
3234
2883
  ellegibleForComparison: false,
@@ -3265,10 +2914,11 @@ const allLines = [
3265
2914
  updatedAtDateTime: "2025-10-15T12:57:21.774Z",
3266
2915
  __v: 0,
3267
2916
  screenPlacement: 2,
2917
+ formulaToShow: "!isNaN(Number('${CURRENT_WEIGHT}')) || !isNaN(Number('${HEIGHT_IN_CM}')) || !isNaN(Number('${IMC}')) || !isNaN(Number('${RCQ_TABLE_RESULT}')) || !isNaN(Number('${AMBC_TABLE_RESULT}')) || !isNaN(Number('${RCA_TABLE_RESULT}')) || !isNaN(Number('${CIRCUNFERENCIA_CINTURA_REFERENCIAS}')) || !isNaN(Number('${CIRCUNFERENCIA_CEFALICA}')) || !isNaN(Number('${CIRCUNFERENCIA_PANTURRILHA}'))",
3268
2918
  enable: true,
3269
2919
  lines: [
3270
2920
  {
3271
- id: "e26a79ca-08d8-45b3-b692-4f6be355db00",
2921
+ id: "f2daf64d-ad4d-4cb7-9a4b-4852aad4785d",
3272
2922
  line: 65,
3273
2923
  collumns: [
3274
2924
  {
@@ -3289,7 +2939,7 @@ const allLines = [
3289
2939
  formulaToClassification: "",
3290
2940
  formulaToEnable: "true",
3291
2941
  active: true,
3292
- show: true,
2942
+ show: false,
3293
2943
  readOnly: false,
3294
2944
  required: false,
3295
2945
  ellegibleForComparison: false,
@@ -3302,15 +2952,14 @@ const allLines = [
3302
2952
  __v: 0,
3303
2953
  screenPlacement: 2,
3304
2954
  formulaToClassificationLabel: "",
2955
+ formulaToShow: "Number('${CURRENT_WEIGHT}') ? true : false",
3305
2956
  enable: true,
3306
- referenceValue: 72.24999999999999,
3307
- answer: 81,
3308
- lineId: "e26a79ca-08d8-45b3-b692-4f6be355db00"
2957
+ lineId: "f2daf64d-ad4d-4cb7-9a4b-4852aad4785d"
3309
2958
  }
3310
2959
  ]
3311
2960
  },
3312
2961
  {
3313
- id: "beac9a9c-4c97-4906-8c71-e0f62603248c",
2962
+ id: "6a308ac1-8278-466b-ae3b-5620b5b99a52",
3314
2963
  line: 66,
3315
2964
  collumns: [
3316
2965
  {
@@ -3331,7 +2980,7 @@ const allLines = [
3331
2980
  formulaToClassification: "",
3332
2981
  formulaToEnable: "true",
3333
2982
  active: true,
3334
- show: true,
2983
+ show: false,
3335
2984
  readOnly: false,
3336
2985
  required: false,
3337
2986
  ellegibleForComparison: false,
@@ -3344,14 +2993,14 @@ const allLines = [
3344
2993
  __v: 0,
3345
2994
  screenPlacement: 2,
3346
2995
  formulaToClassificationLabel: "",
2996
+ formulaToShow: "Number('${CURRENT_HEIGHT_TABLE_RESULT}') ? true : false",
3347
2997
  enable: true,
3348
- answer: 1.7,
3349
- lineId: "beac9a9c-4c97-4906-8c71-e0f62603248c"
2998
+ lineId: "6a308ac1-8278-466b-ae3b-5620b5b99a52"
3350
2999
  }
3351
3000
  ]
3352
3001
  },
3353
3002
  {
3354
- id: "7b153c6b-4e34-4066-9f9f-59fe059fe688",
3003
+ id: "8bd271bd-0320-4b4d-8c22-43cba8330d49",
3355
3004
  line: 67,
3356
3005
  collumns: [
3357
3006
  {
@@ -3371,7 +3020,7 @@ const allLines = [
3371
3020
  formulaToReferenceValue: "'18,5 a 24,9 kg / m²'",
3372
3021
  formulaToEnable: "true",
3373
3022
  active: true,
3374
- show: true,
3023
+ show: false,
3375
3024
  readOnly: false,
3376
3025
  required: false,
3377
3026
  ellegibleForComparison: false,
@@ -3385,18 +3034,15 @@ const allLines = [
3385
3034
  screenPlacement: 2,
3386
3035
  formulaToClassificationLabel: "Number('${CURRENT_WEIGHT}') && Number('${HEIGHT_IN_CM}') ? Number('${IMC}') < 18.5 ? 'Abaixo' : Number('${IMC}') < 25 ? 'Normal' : Number('${IMC}') < 30 ? 'Sobrepeso' : Number('${IMC}') < 35 ? 'Obesidade 1' : Number('${IMC}') < 40 ? 'Obesidade 2' : 'Obesidade 3' : undefined",
3387
3036
  formulaToClassificationColor: "Number('${CURRENT_WEIGHT}') && Number('${HEIGHT_IN_CM}') ? Number('${IMC}') < 18.5 ? 'below_1' : Number('${IMC}') < 25 ? 'normal' : 'above_1' : undefined",
3388
- formulaToShow: "Number('${PATIENT_AGE_IN_YEARS}') >= 19",
3037
+ formulaToShow: "Number('${PATIENT_AGE_IN_YEARS}') >= 19 && !isNaN(Number('${IMC}'))",
3389
3038
  enable: true,
3390
3039
  referenceValue: "18,5 a 24,9 kg / m²",
3391
- classificationLabel: "Sobrepeso",
3392
- classificationColor: "above_1",
3393
- answer: 28.027681660899656,
3394
- lineId: "7b153c6b-4e34-4066-9f9f-59fe059fe688"
3040
+ lineId: "8bd271bd-0320-4b4d-8c22-43cba8330d49"
3395
3041
  }
3396
3042
  ]
3397
3043
  },
3398
3044
  {
3399
- id: "59e8b851-ea94-4d06-a3a4-22b854b9b453",
3045
+ id: "34579cb3-de7d-40bd-920f-232cf374ff73",
3400
3046
  line: 68,
3401
3047
  collumns: [
3402
3048
  {
@@ -3415,7 +3061,7 @@ const allLines = [
3415
3061
  formulaToReferenceValue: "'${PATIENT_GENRE}' === 'FEMALE' ? '< 0.85' : '< 0.9'",
3416
3062
  formulaToEnable: "true",
3417
3063
  active: true,
3418
- show: true,
3064
+ show: false,
3419
3065
  readOnly: false,
3420
3066
  required: false,
3421
3067
  ellegibleForComparison: false,
@@ -3429,14 +3075,15 @@ const allLines = [
3429
3075
  screenPlacement: 2,
3430
3076
  formulaToClassificationLabel: "Number('${RCQ_TABLE_RESULT}') ? Number('${RCQ_TABLE_RESULT}') > 0.9 && '${PATIENT_GENRE}' === 'MALE' ? 'Elevado' : Number('${RCQ_TABLE_RESULT}') <= 0.9 && '${PATIENT_GENRE}' === 'MALE' ? 'Normal' : Number('${RCQ_TABLE_RESULT}') > 0.85 && '${PATIENT_GENRE}' === 'FEMALE' ? 'Elevado' : Number('${RCQ_TABLE_RESULT}') <= 0.85 && '${PATIENT_GENRE}' === 'FEMALE' ? 'Normal' : undefined : undefined",
3431
3077
  formulaToClassificationColor: "Number('${RCQ_TABLE_RESULT}') ? Number('${RCQ_TABLE_RESULT}') > 0.9 && '${PATIENT_GENRE}' === 'MALE' ? 'above_1' : Number('${RCQ_TABLE_RESULT}') <= 0.9 && '${PATIENT_GENRE}' === 'MALE' ? 'normal' : Number('${RCQ_TABLE_RESULT}') > 0.85 && '${PATIENT_GENRE}' === 'FEMALE' ? 'above_1' : Number('${RCQ_TABLE_RESULT}') <= 0.85 && '${PATIENT_GENRE}' === 'FEMALE' ? 'normal' : undefined : undefined",
3078
+ formulaToShow: "!isNaN(Number('${RCQ_TABLE_RESULT}'))",
3432
3079
  enable: true,
3433
3080
  referenceValue: "< 0.85",
3434
- lineId: "59e8b851-ea94-4d06-a3a4-22b854b9b453"
3081
+ lineId: "34579cb3-de7d-40bd-920f-232cf374ff73"
3435
3082
  }
3436
3083
  ]
3437
3084
  },
3438
3085
  {
3439
- id: "32ee3c2f-67d4-4cfc-b2f5-f1425063701a",
3086
+ id: "9e1b561c-d386-4f4f-938e-59948bacd35a",
3440
3087
  line: 69,
3441
3088
  collumns: [
3442
3089
  {
@@ -3455,7 +3102,7 @@ const allLines = [
3455
3102
  formulaToReferenceValue: "'< 0.5'",
3456
3103
  formulaToEnable: "true",
3457
3104
  active: true,
3458
- show: true,
3105
+ show: false,
3459
3106
  readOnly: false,
3460
3107
  required: false,
3461
3108
  ellegibleForComparison: false,
@@ -3469,14 +3116,59 @@ const allLines = [
3469
3116
  screenPlacement: 2,
3470
3117
  formulaToClassificationLabel: "Number('${RCA_TABLE_RESULT}') ? Number('${RCA_TABLE_RESULT}') > 0.5 ? 'Elevado' : 'Normal' : undefined",
3471
3118
  formulaToClassificationColor: "Number('${RCA_TABLE_RESULT}') ? Number('${RCA_TABLE_RESULT}') > 0.5 ? 'above_1' : 'normal' : undefined",
3119
+ formulaToShow: "!isNaN(Number('${RCA_TABLE_RESULT}'))",
3472
3120
  enable: true,
3473
3121
  referenceValue: "< 0.5",
3474
- lineId: "32ee3c2f-67d4-4cfc-b2f5-f1425063701a"
3122
+ lineId: "9e1b561c-d386-4f4f-938e-59948bacd35a"
3475
3123
  }
3476
3124
  ]
3477
3125
  },
3478
3126
  {
3479
- id: "623617a2-16ea-40a2-9cce-4f1286fa23a8",
3127
+ id: "6651ce6a-96c2-4518-b98b-f4facb175187",
3128
+ line: 70,
3129
+ collumns: [
3130
+ {
3131
+ _id: "68efac6ffbcea8e6b466aee4",
3132
+ form: "689e029db13c27189bce136d",
3133
+ sequence: 85,
3134
+ code: "AMBC_TABLE_RESULT",
3135
+ description: "Área muscular do braço corrigida (AMBc)",
3136
+ parent: "68ef9a31fbcea8e6b466aeb5",
3137
+ line: 70,
3138
+ column: 1,
3139
+ type: "QUESTION",
3140
+ typeAnswer: "OPEN_NUMBER",
3141
+ category: "ANTHROPOMETRY",
3142
+ formulaToAnswer: "Number('${CIRCUNFERENCIA_BRACO}') && Number('${DOBRA_TRICEPTAL}') ? '${PATIENT_GENRE}' === 'MALE' ? (((Number('${CIRCUNFERENCIA_BRACO}') - (3.14 * (Number('${DOBRA_TRICEPTAL}') / 10))) ** 2) / (4 * 3.14)) - 10 : '${PATIENT_GENRE}' === 'FEMALE' ? (((Number('${CIRCUNFERENCIA_BRACO}') - (3.14 * (Number('${DOBRA_TRICEPTAL}') / 10))) ** 2) / (4 * 3.14)) - 6.5 : undefined : undefined",
3143
+ formulaToEnable: "['EIDERLY'].includes('${TYPE_ASSESSMENT}')",
3144
+ active: true,
3145
+ show: false,
3146
+ readOnly: false,
3147
+ required: false,
3148
+ ellegibleForComparison: false,
3149
+ options: [],
3150
+ validations: [],
3151
+ requestGraphicData: [],
3152
+ tips: [],
3153
+ createdAtDateTime: "2025-10-15T14:15:11.490Z",
3154
+ updatedAtDateTime: "2025-10-15T14:15:11.490Z",
3155
+ __v: 0,
3156
+ screenPlacement: 2,
3157
+ measurementUnit: "cm²",
3158
+ formulaToClassificationColor: "'above_2'",
3159
+ formulaToClassificationLabel: "'NO_DATA'",
3160
+ formulaToReferenceValue: "'NO_DATA'",
3161
+ formulaToShow: "!isNaN(Number('${AMBC_TABLE_RESULT}'))",
3162
+ enable: true,
3163
+ referenceValue: "NO_DATA",
3164
+ classificationLabel: "NO_DATA",
3165
+ classificationColor: "above_2",
3166
+ lineId: "6651ce6a-96c2-4518-b98b-f4facb175187"
3167
+ }
3168
+ ]
3169
+ },
3170
+ {
3171
+ id: "59289a39-01e3-4149-a5a4-8daccdcef232",
3480
3172
  line: 120,
3481
3173
  collumns: [
3482
3174
  {
@@ -3498,7 +3190,7 @@ const allLines = [
3498
3190
  formulaToClassificationColor: "Number('${CIRCUNFERENCIA_CINTURA}') > 102 && '${PATIENT_GENRE}' === 'FEMALE' ? '#ffe9e9' : Number('${CIRCUNFERENCIA_CINTURA}') > 88 && '${PATIENT_GENRE}' === 'MALE' ? '#ffe9e9' : '#ecf6ff'",
3499
3191
  formulaToEnable: "true",
3500
3192
  active: true,
3501
- show: true,
3193
+ show: false,
3502
3194
  readOnly: false,
3503
3195
  required: false,
3504
3196
  screenPlacement: 2,
@@ -3510,20 +3202,65 @@ const allLines = [
3510
3202
  createdAtDateTime: "2025-11-27T19:04:53.910Z",
3511
3203
  updatedAtDateTime: "2025-11-27T19:04:53.910Z",
3512
3204
  __v: 0,
3205
+ formulaToShow: "!isNaN(Number('${CIRCUNFERENCIA_CINTURA_REFERENCIAS}'))",
3513
3206
  enable: true,
3514
3207
  referenceValue: "< 102",
3515
3208
  classificationColor: "#ecf6ff",
3516
- lineId: "623617a2-16ea-40a2-9cce-4f1286fa23a8"
3209
+ lineId: "59289a39-01e3-4149-a5a4-8daccdcef232"
3210
+ }
3211
+ ]
3212
+ },
3213
+ {
3214
+ id: "109e2a32-397d-498e-94a7-b11033b24c1f",
3215
+ line: 146,
3216
+ collumns: [
3217
+ {
3218
+ _id: "693193a98a4c98fb4d1cc47f",
3219
+ form: "689e029db13c27189bce136d",
3220
+ sequence: 166,
3221
+ code: "IDOSO_INDICADOR_SARCOPENIA",
3222
+ description: "Sarcopenia (Panturrilha)",
3223
+ parent: "68ef9a31fbcea8e6b466aeb5",
3224
+ line: 146,
3225
+ column: 1,
3226
+ type: "QUESTION",
3227
+ typeAnswer: "OPEN_NUMBER",
3228
+ category: "ANTHROPOMETRY",
3229
+ measurementUnit: "cm",
3230
+ formulaToAnswer: "${CIRCUNFERENCIA_PANTURRILHA}",
3231
+ formulaToReferenceValue: "'>= 31cm'",
3232
+ formulaToClassificationLabel: "Number('${CIRCUNFERENCIA_PANTURRILHA}') < 31 ? 'Massa muscular reduzida' : Number('${CIRCUNFERENCIA_PANTURRILHA}') >= 31 ? 'Adequado' : ''",
3233
+ formulaToClassificationColor: "Number('${CIRCUNFERENCIA_PANTURRILHA}') < 31 ? 'below_1' : Number('${CIRCUNFERENCIA_PANTURRILHA}') >= 31 ? 'normal' : ''",
3234
+ formulaToEnable: "['EIDERLY'].includes('${TYPE_ASSESSMENT}')",
3235
+ formulaToShow: "!isNaN(Number('${CIRCUNFERENCIA_PANTURRILHA}')) && !isNaN(Number('${HEIGHT_IN_CM}'))",
3236
+ active: true,
3237
+ show: false,
3238
+ readOnly: false,
3239
+ required: false,
3240
+ screenPlacement: 2,
3241
+ ellegibleForComparison: false,
3242
+ options: [],
3243
+ validations: [],
3244
+ requestGraphicData: [],
3245
+ tips: [],
3246
+ createdAtDateTime: "2025-12-04T13:59:05.134Z",
3247
+ updatedAtDateTime: "2025-12-04T13:59:05.134Z",
3248
+ __v: 0,
3249
+ enable: true,
3250
+ referenceValue: ">= 31cm",
3251
+ classificationLabel: "",
3252
+ classificationColor: "",
3253
+ lineId: "109e2a32-397d-498e-94a7-b11033b24c1f"
3517
3254
  }
3518
3255
  ]
3519
3256
  }
3520
3257
  ],
3521
- lineId: "83580226-203d-4dad-a9e7-7183c1494644"
3258
+ lineId: "2b413bee-9361-480d-9b90-7e06e2bde907"
3522
3259
  }
3523
3260
  ]
3524
3261
  },
3525
3262
  {
3526
- id: "1a927a89-f886-403a-ac61-91bc26759980",
3263
+ id: "496f455b-e8bc-432f-a361-c3dd4d85a66f",
3527
3264
  line: 70,
3528
3265
  collumns: [
3529
3266
  {
@@ -3538,7 +3275,7 @@ const allLines = [
3538
3275
  category: "ANTHROPOMETRY",
3539
3276
  formulaToEnable: "['CHILD', 'TEENAGER', 'ADULT', 'EIDERLY'].includes('${TYPE_ASSESSMENT}')",
3540
3277
  active: true,
3541
- show: true,
3278
+ show: false,
3542
3279
  readOnly: false,
3543
3280
  required: false,
3544
3281
  ellegibleForComparison: false,
@@ -3574,10 +3311,11 @@ const allLines = [
3574
3311
  updatedAtDateTime: "2025-10-15T14:18:48.408Z",
3575
3312
  __v: 0,
3576
3313
  screenPlacement: 2,
3314
+ formulaToShow: "('${FORMULA_PERCENT_FAT}' !== 'NOONE' && '${FORMULA_PERCENT_FAT}' !== undefined) || !isNaN(Number('${PERC_GORDURA_TABLE_RESULT}')) || !isNaN(Number('${MASSA_OSSEO_TABLE_RESULT}')) || !isNaN(Number('${MASSA_MAGRA}')) || !isNaN(Number('${MASSA_MAGRA}'))",
3577
3315
  enable: true,
3578
3316
  lines: [
3579
3317
  {
3580
- id: "c05f70d7-b7d4-4d5f-9152-29655652d46d",
3318
+ id: "7ff5158f-ee54-4dd4-aa36-15e3711b5b69",
3581
3319
  line: 71,
3582
3320
  collumns: [
3583
3321
  {
@@ -3595,7 +3333,7 @@ const allLines = [
3595
3333
  formulaToAnswer: "'${PROTOCOL_USED}'",
3596
3334
  formulaToEnable: "true",
3597
3335
  active: true,
3598
- show: true,
3336
+ show: false,
3599
3337
  readOnly: false,
3600
3338
  required: false,
3601
3339
  ellegibleForComparison: false,
@@ -3607,10 +3345,11 @@ const allLines = [
3607
3345
  updatedAtDateTime: "2025-11-17T19:49:14.461Z",
3608
3346
  __v: 0,
3609
3347
  screenPlacement: 2,
3348
+ formulaToShow: "'${FORMULA_PERCENT_FAT}' !== 'NOONE' && '${FORMULA_PERCENT_FAT}'?.lenght",
3610
3349
  enable: true,
3611
3350
  lines: [
3612
3351
  {
3613
- id: "baa873c8-ca1b-4c8b-a73a-ec4a65b6d402",
3352
+ id: "fe453783-9a41-43af-9ae7-d1b38fa9a7b2",
3614
3353
  line: 81,
3615
3354
  collumns: [
3616
3355
  {
@@ -3640,19 +3379,19 @@ const allLines = [
3640
3379
  updatedAtDateTime: "2025-11-17T19:48:02.834Z",
3641
3380
  __v: 0,
3642
3381
  enable: true,
3643
- lineId: "baa873c8-ca1b-4c8b-a73a-ec4a65b6d402",
3644
- answer: "Pollock 3 dobras"
3382
+ lineId: "fe453783-9a41-43af-9ae7-d1b38fa9a7b2",
3383
+ answer: "Nenhum"
3645
3384
  }
3646
3385
  ]
3647
3386
  }
3648
3387
  ],
3649
- lineId: "c05f70d7-b7d4-4d5f-9152-29655652d46d",
3650
- answer: "Pollock 3 dobras"
3388
+ lineId: "7ff5158f-ee54-4dd4-aa36-15e3711b5b69",
3389
+ answer: "Nenhum"
3651
3390
  }
3652
3391
  ]
3653
3392
  },
3654
3393
  {
3655
- id: "7a439731-4761-4da4-872f-0e4dace3aa64",
3394
+ id: "5493f8ac-245e-4f66-95bb-e6c9d12f4aa7",
3656
3395
  line: 72,
3657
3396
  collumns: [
3658
3397
  {
@@ -3668,11 +3407,10 @@ const allLines = [
3668
3407
  typeAnswer: "OPEN_NUMBER_PERCENT",
3669
3408
  category: "ANTHROPOMETRY",
3670
3409
  measurementUnit: "%",
3671
- formulaToAnswer: "'${CURRENT_WEIGHT}';'${HEIGHT_IN_CM}'; '${DOBRA_ABDOMINAL}';'${DOBRA_AXILAR_MEDIO}';'${DOBRA_COXA}';'${DOBRA_SUBESCAPULAR}';'${DOBRA_SUPRAILIACA}';'${DOBRA_TRICEPTAL}';'${DOBRA_PEITORAL}';Number('${BIOIMPEDANCIA_PERCENTUAL_GORDURA}') > 0 ? '${BIOIMPEDANCE_FAT_PERCENT}' : '${FORMULA_PERCENT_FAT}' === 'POLLOCK_7_DOBRAS' ? isNaN('${FORMULA_POLLOCK_7_DOBRAS}') ? undefined : '${FORMULA_POLLOCK_7_DOBRAS}' : '${FORMULA_PERCENT_FAT}' === 'POLLOCK_3_DOBRAS' ? '${POLLOCK_3_DOBRAS}' : '${FORMULA_PERCENT_FAT}' === 'PETROSKI' ? '${PETROSKI}' : '${FORMULA_PERCENT_FAT}' === 'DURNIN_WOMERSLEY' ? '${DURNIN_WOMERSLEY}' : '${FORMULA_PERCENT_FAT}' === 'FAULKNER' ? '${FAULKNER}' : '${FORMULA_PERCENT_FAT}' === 'YUHASZ' ? '${YUHASZ}' : '${FORMULA_PERCENT_FAT}' === 'WELTMAN_1988_OBESOS' ? '${WELTMAN_1988_OBESOS}' : '${FORMULA_PERCENT_FAT}' === 'GUEDES' ? '${GUEDES}' : undefined",
3672
- formulaToReferenceValue: "'${PATIENT_GENRE}' === 'MALE' ? '18% - 25%' : '20% - 28%'",
3410
+ formulaToAnswer: "'${CURRENT_WEIGHT}'; '${HEIGHT_IN_CM}'; '${DOBRA_ABDOMINAL}'; '${DOBRA_AXILAR_MEDIO}'; '${DOBRA_COXA}'; '${DOBRA_SUBESCAPULAR}'; '${DOBRA_SUPRAILIACA}'; '${DOBRA_TRICEPTAL}'; '${DOBRA_PEITORAL}'; Number('${BIOIMPEDANCIA_PERCENTUAL_GORDURA}') > 0 ? '${BIOIMPEDANCE_FAT_PERCENT}' : '${FORMULA_PERCENT_FAT}' === 'POLLOCK_7_DOBRAS' ? '${FORMULA_POLLOCK_7_DOBRAS}' : '${FORMULA_PERCENT_FAT}' === 'POLLOCK_3_DOBRAS' ? '${FORMULA_POLLOCK_3_DOBRAS}' : '${FORMULA_PERCENT_FAT}' === 'PETROSKI' ? '${FORMULA_PETROSKI}' : '${FORMULA_PERCENT_FAT}' === 'DURNIN_WOMERSLEY' ? '${FORMULA_DURNIN_WOMERSLEY}' : '${FORMULA_PERCENT_FAT}' === 'FAULKNER' ? '${FORMULA_FAULKNER}' : '${FORMULA_PERCENT_FAT}' === 'YUHASZ' ? '${FORMULA_YUHASZ}' : '${FORMULA_PERCENT_FAT}' === 'WELTMAN_1988_OBESOS' ? '${FORMULA_WELTMAN_1988_OBESOS}' : '${FORMULA_PERCENT_FAT}' === 'GUEDES' ? '${FORMULA_GUEDES}' : undefined; ",
3673
3411
  formulaToEnable: "true",
3674
3412
  active: true,
3675
- show: true,
3413
+ show: false,
3676
3414
  readOnly: false,
3677
3415
  required: false,
3678
3416
  ellegibleForComparison: true,
@@ -3684,15 +3422,14 @@ const allLines = [
3684
3422
  updatedAtDateTime: "2025-10-15T14:36:15.391Z",
3685
3423
  __v: 0,
3686
3424
  screenPlacement: 2,
3425
+ formulaToShow: "!isNaN(Number('${PERC_GORDURA_TABLE_RESULT}'))",
3687
3426
  enable: true,
3688
- referenceValue: "20% - 28%",
3689
- lineId: "7a439731-4761-4da4-872f-0e4dace3aa64",
3690
- answer: "${POLLOCK_3_DOBRAS}"
3427
+ lineId: "5493f8ac-245e-4f66-95bb-e6c9d12f4aa7"
3691
3428
  }
3692
3429
  ]
3693
3430
  },
3694
3431
  {
3695
- id: "3d82ba3a-2a0b-4a7e-84db-7908f01b9c61",
3432
+ id: "b8caf43f-89c5-4f39-bfba-c996ab8598de",
3696
3433
  line: 73,
3697
3434
  collumns: [
3698
3435
  {
@@ -3723,13 +3460,14 @@ const allLines = [
3723
3460
  updatedAtDateTime: "2025-10-15T14:40:04.251Z",
3724
3461
  __v: 0,
3725
3462
  screenPlacement: 2,
3463
+ formulaToShow: "!isNaN(Number('${PERC_GORDURA_TABLE_RESULT}'))",
3726
3464
  enable: true,
3727
- lineId: "3d82ba3a-2a0b-4a7e-84db-7908f01b9c61"
3465
+ lineId: "b8caf43f-89c5-4f39-bfba-c996ab8598de"
3728
3466
  }
3729
3467
  ]
3730
3468
  },
3731
3469
  {
3732
- id: "7d53f9e8-4e58-43af-be3b-8f805524ccac",
3470
+ id: "e451e5f4-db67-428b-923b-5848cc2a2a7a",
3733
3471
  line: 74,
3734
3472
  collumns: [
3735
3473
  {
@@ -3748,7 +3486,7 @@ const allLines = [
3748
3486
  formulaToAnswer: "3.02 * Math.pow(((Number('${HEIGHT_IN_CM}') / 100) ** 2) * (Number('${DIAMETRO_OSSEO_PUNHO}') + Number('${DIAMETRO_OSSEO_JOELHO}') + Number('${DIAMETRO_OSSEO_UMERO}')), 0.712)",
3749
3487
  formulaToEnable: "true",
3750
3488
  active: true,
3751
- show: true,
3489
+ show: false,
3752
3490
  readOnly: false,
3753
3491
  required: false,
3754
3492
  ellegibleForComparison: false,
@@ -3760,14 +3498,15 @@ const allLines = [
3760
3498
  updatedAtDateTime: "2025-10-15T14:40:38.237Z",
3761
3499
  __v: 0,
3762
3500
  screenPlacement: 2,
3501
+ formulaToShow: "!isNaN(Number('${MASSA_OSSEO_TABLE_RESULT}'))",
3763
3502
  answer: null,
3764
3503
  enable: true,
3765
- lineId: "7d53f9e8-4e58-43af-be3b-8f805524ccac"
3504
+ lineId: "e451e5f4-db67-428b-923b-5848cc2a2a7a"
3766
3505
  }
3767
3506
  ]
3768
3507
  },
3769
3508
  {
3770
- id: "904f0638-8444-483a-828b-68d6f00b359e",
3509
+ id: "43f206b5-41b8-49de-b19d-926dbfab463f",
3771
3510
  line: 119,
3772
3511
  collumns: [
3773
3512
  {
@@ -3798,18 +3537,19 @@ const allLines = [
3798
3537
  createdAtDateTime: "2025-11-27T18:17:59.986Z",
3799
3538
  updatedAtDateTime: "2025-11-27T18:17:59.986Z",
3800
3539
  __v: 0,
3540
+ formulaToShow: "!isNaN(Number('${MASSA_MAGRA}'))",
3801
3541
  enable: true,
3802
- lineId: "904f0638-8444-483a-828b-68d6f00b359e"
3542
+ lineId: "43f206b5-41b8-49de-b19d-926dbfab463f"
3803
3543
  }
3804
3544
  ]
3805
3545
  }
3806
3546
  ],
3807
- lineId: "1a927a89-f886-403a-ac61-91bc26759980"
3547
+ lineId: "496f455b-e8bc-432f-a361-c3dd4d85a66f"
3808
3548
  }
3809
3549
  ]
3810
3550
  },
3811
3551
  {
3812
- id: "24babb1d-45e8-42c4-b97e-d965caced1d3",
3552
+ id: "6ca8c060-b0f0-49ba-9828-fd1fdf1a1229",
3813
3553
  line: 75,
3814
3554
  collumns: [
3815
3555
  {
@@ -3837,14 +3577,14 @@ const allLines = [
3837
3577
  updatedAtDateTime: "2025-10-15T19:58:38.981Z",
3838
3578
  __v: 0,
3839
3579
  screenPlacement: 1,
3840
- answer: "1990-08-09T00:00:00.000Z",
3580
+ answer: "1950-10-10T03:00:00.000Z",
3841
3581
  enable: true,
3842
- lineId: "24babb1d-45e8-42c4-b97e-d965caced1d3"
3582
+ lineId: "6ca8c060-b0f0-49ba-9828-fd1fdf1a1229"
3843
3583
  }
3844
3584
  ]
3845
3585
  },
3846
3586
  {
3847
- id: "1a5e4a2a-181f-4e46-bc3f-898f8b971f7e",
3587
+ id: "bfac4e70-1b27-45a7-816d-6d1251e5d9aa",
3848
3588
  line: 76,
3849
3589
  collumns: [
3850
3590
  {
@@ -3874,12 +3614,12 @@ const allLines = [
3874
3614
  screenPlacement: 1,
3875
3615
  answer: "FEMALE",
3876
3616
  enable: true,
3877
- lineId: "1a5e4a2a-181f-4e46-bc3f-898f8b971f7e"
3617
+ lineId: "bfac4e70-1b27-45a7-816d-6d1251e5d9aa"
3878
3618
  }
3879
3619
  ]
3880
3620
  },
3881
3621
  {
3882
- id: "e0d2628a-b520-4a82-a193-323318e89f82",
3622
+ id: "8f70c87c-894c-4dd7-91ff-d9d93e057c80",
3883
3623
  line: 77,
3884
3624
  collumns: [
3885
3625
  {
@@ -3909,14 +3649,14 @@ const allLines = [
3909
3649
  __v: 0,
3910
3650
  screenPlacement: 1,
3911
3651
  formulaToAnswer: "Math.floor((new Date() - new Date('${PATIENT_BORN_DATE}')) / (365.25 * 24 * 60 * 60 * 1000))",
3912
- answer: 35,
3652
+ answer: 75,
3913
3653
  enable: true,
3914
- lineId: "e0d2628a-b520-4a82-a193-323318e89f82"
3654
+ lineId: "8f70c87c-894c-4dd7-91ff-d9d93e057c80"
3915
3655
  }
3916
3656
  ]
3917
3657
  },
3918
3658
  {
3919
- id: "900a5511-e8f6-47cb-995f-3317dfe68351",
3659
+ id: "8c167e3c-85c4-4d3c-b5fd-c10d2e0f4e65",
3920
3660
  line: 80,
3921
3661
  collumns: [
3922
3662
  {
@@ -3946,12 +3686,12 @@ const allLines = [
3946
3686
  __v: 0,
3947
3687
  answer: null,
3948
3688
  enable: true,
3949
- lineId: "900a5511-e8f6-47cb-995f-3317dfe68351"
3689
+ lineId: "8c167e3c-85c4-4d3c-b5fd-c10d2e0f4e65"
3950
3690
  }
3951
3691
  ]
3952
3692
  },
3953
3693
  {
3954
- id: "f819c266-7466-4477-9d94-bc09ef58bb7c",
3694
+ id: "1a5db6b6-6fb0-4ea3-8873-5f97defe6fd2",
3955
3695
  line: 83,
3956
3696
  collumns: [
3957
3697
  {
@@ -3981,14 +3721,14 @@ const allLines = [
3981
3721
  createdAtDateTime: "2025-11-24T17:51:55.110Z",
3982
3722
  updatedAtDateTime: "2025-11-24T17:51:55.110Z",
3983
3723
  __v: 0,
3984
- answer: 1844,
3724
+ answer: 3926,
3985
3725
  enable: true,
3986
- lineId: "f819c266-7466-4477-9d94-bc09ef58bb7c"
3726
+ lineId: "1a5db6b6-6fb0-4ea3-8873-5f97defe6fd2"
3987
3727
  }
3988
3728
  ]
3989
3729
  },
3990
3730
  {
3991
- id: "e24060c2-6846-4b97-8384-3c86d33dc847",
3731
+ id: "967fea3a-8c38-4fb7-9717-4121f1fe7250",
3992
3732
  line: 84,
3993
3733
  collumns: [
3994
3734
  {
@@ -4018,14 +3758,14 @@ const allLines = [
4018
3758
  createdAtDateTime: "2025-11-24T17:56:32.172Z",
4019
3759
  updatedAtDateTime: "2025-11-24T17:56:32.172Z",
4020
3760
  __v: 0,
4021
- answer: 424,
3761
+ answer: 902,
4022
3762
  enable: true,
4023
- lineId: "e24060c2-6846-4b97-8384-3c86d33dc847"
3763
+ lineId: "967fea3a-8c38-4fb7-9717-4121f1fe7250"
4024
3764
  }
4025
3765
  ]
4026
3766
  },
4027
3767
  {
4028
- id: "fa6acbab-d0b1-4be0-887b-5fe40aa1673f",
3768
+ id: "63de6b2f-633d-4020-8457-abbd6f908cca",
4029
3769
  line: 86,
4030
3770
  collumns: [
4031
3771
  {
@@ -4055,14 +3795,14 @@ const allLines = [
4055
3795
  createdAtDateTime: "2025-11-24T18:00:29.411Z",
4056
3796
  updatedAtDateTime: "2025-11-24T18:00:29.411Z",
4057
3797
  __v: 0,
4058
- answer: 12912,
3798
+ answer: 27484,
4059
3799
  enable: true,
4060
- lineId: "fa6acbab-d0b1-4be0-887b-5fe40aa1673f"
3800
+ lineId: "63de6b2f-633d-4020-8457-abbd6f908cca"
4061
3801
  }
4062
3802
  ]
4063
3803
  },
4064
3804
  {
4065
- id: "896245c6-5e36-4dff-8cd1-8019e4a2f22b",
3805
+ id: "b64ce566-29fc-4329-976b-646685308d31",
4066
3806
  line: 131,
4067
3807
  collumns: [
4068
3808
  {
@@ -4076,7 +3816,7 @@ const allLines = [
4076
3816
  type: "TABLE",
4077
3817
  category: "ANTHROPOMETRY",
4078
3818
  active: true,
4079
- show: null,
3819
+ show: false,
4080
3820
  readOnly: false,
4081
3821
  required: false,
4082
3822
  ellegibleForComparison: false,
@@ -4118,7 +3858,7 @@ const allLines = [
4118
3858
  enable: true,
4119
3859
  lines: [
4120
3860
  {
4121
- id: "23867e5d-b5af-474c-8085-705976eeb66c",
3861
+ id: "448ada2e-2977-46ec-b997-fb70e6765795",
4122
3862
  line: 132,
4123
3863
  collumns: [
4124
3864
  {
@@ -4140,7 +3880,7 @@ const allLines = [
4140
3880
  formulaToClassificationColor: "Number('${BIOIMPEDANCIA_PERCENTUAL_GORDURA}') < 0.18 ? 'below_1' : Number('${BIOIMPEDANCIA_PERCENTUAL_GORDURA}') < 0.25 ? 'normal' : 'above_1'",
4141
3881
  formulaToEnable: "true",
4142
3882
  active: true,
4143
- show: false,
3883
+ show: true,
4144
3884
  readOnly: false,
4145
3885
  required: false,
4146
3886
  screenPlacement: 2,
@@ -4154,15 +3894,12 @@ const allLines = [
4154
3894
  __v: 0,
4155
3895
  formulaToShow: "Number('${BIOIMPEDANCIA_PERCENTUAL_GORDURA}') ? true : false",
4156
3896
  enable: true,
4157
- lineId: "23867e5d-b5af-474c-8085-705976eeb66c",
4158
- referenceValue: "18% - 25%",
4159
- classificationLabel: "Alto",
4160
- classificationColor: "above_1"
3897
+ lineId: "448ada2e-2977-46ec-b997-fb70e6765795"
4161
3898
  }
4162
3899
  ]
4163
3900
  },
4164
3901
  {
4165
- id: "e60bb4dd-8260-4954-b1c3-55acdbb762bd",
3902
+ id: "e698927d-efec-4987-8b7f-e54fdf64db16",
4166
3903
  line: 133,
4167
3904
  collumns: [
4168
3905
  {
@@ -4184,7 +3921,7 @@ const allLines = [
4184
3921
  formulaToClassificationColor: "Number('${BIOIMPEDANCIA_PERCENTUAL_MASSA_MUSCULAR}') < 0.75 ? 'below_1' : Number('${BIOIMPEDANCIA_PERCENTUAL_MASSA_MUSCULAR}') < 0.82 ? 'normal' : 'above_1'",
4185
3922
  formulaToEnable: "true",
4186
3923
  active: true,
4187
- show: false,
3924
+ show: true,
4188
3925
  readOnly: false,
4189
3926
  required: false,
4190
3927
  screenPlacement: 2,
@@ -4198,15 +3935,12 @@ const allLines = [
4198
3935
  __v: 0,
4199
3936
  formulaToShow: "Number('${BIOIMPEDANCIA_PERCENTUAL_MASSA_MUSCULAR}') ? true : false",
4200
3937
  enable: true,
4201
- lineId: "e60bb4dd-8260-4954-b1c3-55acdbb762bd",
4202
- referenceValue: "75% - 82%",
4203
- classificationLabel: "Alto",
4204
- classificationColor: "above_1"
3938
+ lineId: "e698927d-efec-4987-8b7f-e54fdf64db16"
4205
3939
  }
4206
3940
  ]
4207
3941
  },
4208
3942
  {
4209
- id: "dbb4a832-8657-4fce-9438-e8bdd45a2ce3",
3943
+ id: "1a37f6bb-f066-4638-8251-f6abef3ec24e",
4210
3944
  line: 134,
4211
3945
  collumns: [
4212
3946
  {
@@ -4228,7 +3962,7 @@ const allLines = [
4228
3962
  formulaToClassificationColor: "",
4229
3963
  formulaToEnable: "true",
4230
3964
  active: true,
4231
- show: false,
3965
+ show: true,
4232
3966
  readOnly: false,
4233
3967
  required: false,
4234
3968
  screenPlacement: 2,
@@ -4242,12 +3976,12 @@ const allLines = [
4242
3976
  __v: 0,
4243
3977
  formulaToShow: "Number('${BIOIMPEDANCIA_GORDURA_CORPORAL}') ? true : false",
4244
3978
  enable: true,
4245
- lineId: "dbb4a832-8657-4fce-9438-e8bdd45a2ce3"
3979
+ lineId: "1a37f6bb-f066-4638-8251-f6abef3ec24e"
4246
3980
  }
4247
3981
  ]
4248
3982
  },
4249
3983
  {
4250
- id: "48946e71-8ecb-4ed7-a809-06c5e90f5ec2",
3984
+ id: "4cfa8007-e4e9-4914-a960-a3a2e1702c6e",
4251
3985
  line: 135,
4252
3986
  collumns: [
4253
3987
  {
@@ -4269,7 +4003,7 @@ const allLines = [
4269
4003
  formulaToClassificationColor: "",
4270
4004
  formulaToEnable: "true",
4271
4005
  active: true,
4272
- show: false,
4006
+ show: true,
4273
4007
  readOnly: false,
4274
4008
  required: false,
4275
4009
  screenPlacement: 2,
@@ -4283,12 +4017,12 @@ const allLines = [
4283
4017
  __v: 0,
4284
4018
  formulaToShow: "Number('${BIOIMPEDANCIA_MASSA_LIVRE_DE_GORDURA}') ? true : false",
4285
4019
  enable: true,
4286
- lineId: "48946e71-8ecb-4ed7-a809-06c5e90f5ec2"
4020
+ lineId: "4cfa8007-e4e9-4914-a960-a3a2e1702c6e"
4287
4021
  }
4288
4022
  ]
4289
4023
  },
4290
4024
  {
4291
- id: "a6c68a1d-7e8b-4d3d-93dc-2ea1b987cb77",
4025
+ id: "f82dfc24-bed7-49cd-b373-79c8d7f66ec6",
4292
4026
  line: 136,
4293
4027
  collumns: [
4294
4028
  {
@@ -4310,7 +4044,7 @@ const allLines = [
4310
4044
  formulaToClassificationColor: "",
4311
4045
  formulaToEnable: "true",
4312
4046
  active: true,
4313
- show: false,
4047
+ show: true,
4314
4048
  readOnly: false,
4315
4049
  required: false,
4316
4050
  screenPlacement: 2,
@@ -4324,12 +4058,12 @@ const allLines = [
4324
4058
  __v: 0,
4325
4059
  formulaToShow: "Number('${BIOIMPEDANCIA_PERCENTUAL_AGUA_INTRACELULAR}') ? true : false",
4326
4060
  enable: true,
4327
- lineId: "a6c68a1d-7e8b-4d3d-93dc-2ea1b987cb77"
4061
+ lineId: "f82dfc24-bed7-49cd-b373-79c8d7f66ec6"
4328
4062
  }
4329
4063
  ]
4330
4064
  },
4331
4065
  {
4332
- id: "b351fe4d-0e88-4530-b0c3-f5935f77a8dc",
4066
+ id: "54ed0a5d-67bd-454f-bb5d-6b629b786b07",
4333
4067
  line: 137,
4334
4068
  collumns: [
4335
4069
  {
@@ -4351,7 +4085,7 @@ const allLines = [
4351
4085
  formulaToClassificationColor: "",
4352
4086
  formulaToEnable: "true",
4353
4087
  active: true,
4354
- show: false,
4088
+ show: true,
4355
4089
  readOnly: false,
4356
4090
  required: false,
4357
4091
  screenPlacement: 2,
@@ -4365,12 +4099,12 @@ const allLines = [
4365
4099
  __v: 0,
4366
4100
  formulaToShow: "Number('${BIOIMPEDANCIA_AGUA_INTRACELULAR}') ? true : false",
4367
4101
  enable: true,
4368
- lineId: "b351fe4d-0e88-4530-b0c3-f5935f77a8dc"
4102
+ lineId: "54ed0a5d-67bd-454f-bb5d-6b629b786b07"
4369
4103
  }
4370
4104
  ]
4371
4105
  },
4372
4106
  {
4373
- id: "d11e54a9-1fd7-4fa9-b5f6-380e39ab19be",
4107
+ id: "ad91b2ad-3360-43b1-99aa-2fb2c2caf2cb",
4374
4108
  line: 138,
4375
4109
  collumns: [
4376
4110
  {
@@ -4392,7 +4126,7 @@ const allLines = [
4392
4126
  formulaToClassificationColor: "",
4393
4127
  formulaToEnable: "true",
4394
4128
  active: true,
4395
- show: false,
4129
+ show: true,
4396
4130
  readOnly: false,
4397
4131
  required: false,
4398
4132
  screenPlacement: 2,
@@ -4406,12 +4140,12 @@ const allLines = [
4406
4140
  __v: 0,
4407
4141
  formulaToShow: "Number('${BIOIMPEDANCIA_PESO_OSESO_ESTIMADO}') ? true : false",
4408
4142
  enable: true,
4409
- lineId: "d11e54a9-1fd7-4fa9-b5f6-380e39ab19be"
4143
+ lineId: "ad91b2ad-3360-43b1-99aa-2fb2c2caf2cb"
4410
4144
  }
4411
4145
  ]
4412
4146
  },
4413
4147
  {
4414
- id: "065bcdb0-fc79-4ce1-88de-7b0659f86b76",
4148
+ id: "b17ed74d-0e5f-4e85-adf7-4643d9c9f102",
4415
4149
  line: 139,
4416
4150
  collumns: [
4417
4151
  {
@@ -4433,7 +4167,7 @@ const allLines = [
4433
4167
  formulaToClassificationColor: "",
4434
4168
  formulaToEnable: "true",
4435
4169
  active: true,
4436
- show: false,
4170
+ show: true,
4437
4171
  readOnly: false,
4438
4172
  required: false,
4439
4173
  screenPlacement: 2,
@@ -4447,12 +4181,12 @@ const allLines = [
4447
4181
  __v: 0,
4448
4182
  formulaToShow: "Number('${BIOIMPEDANCIA_PERCENTUAL_GORDURA_VISCERAL}') ? true : false",
4449
4183
  enable: true,
4450
- lineId: "065bcdb0-fc79-4ce1-88de-7b0659f86b76"
4184
+ lineId: "b17ed74d-0e5f-4e85-adf7-4643d9c9f102"
4451
4185
  }
4452
4186
  ]
4453
4187
  },
4454
4188
  {
4455
- id: "cd3272c6-8a4a-4be7-9996-565edd9c33d2",
4189
+ id: "3831978a-0816-4c6e-aa70-68f9040ba612",
4456
4190
  line: 140,
4457
4191
  collumns: [
4458
4192
  {
@@ -4473,7 +4207,7 @@ const allLines = [
4473
4207
  formulaToClassificationLabel: "",
4474
4208
  formulaToClassificationColor: "",
4475
4209
  active: true,
4476
- show: false,
4210
+ show: true,
4477
4211
  readOnly: false,
4478
4212
  required: false,
4479
4213
  screenPlacement: 2,
@@ -4488,17 +4222,17 @@ const allLines = [
4488
4222
  formulaToShow: "Number('${BIOIMPEDANCIA_IDADE_METABOLICA}') > 0 ? true : false",
4489
4223
  formulaToEnable: "true",
4490
4224
  enable: true,
4491
- lineId: "cd3272c6-8a4a-4be7-9996-565edd9c33d2"
4225
+ lineId: "3831978a-0816-4c6e-aa70-68f9040ba612"
4492
4226
  }
4493
4227
  ]
4494
4228
  }
4495
4229
  ],
4496
- lineId: "896245c6-5e36-4dff-8cd1-8019e4a2f22b"
4230
+ lineId: "b64ce566-29fc-4329-976b-646685308d31"
4497
4231
  }
4498
4232
  ]
4499
4233
  },
4500
4234
  {
4501
- id: "f62e0c25-47b0-4a0c-accd-785ef3139a2e",
4235
+ id: "255e2209-cfdf-48e2-a59b-4b85611df49c",
4502
4236
  line: 147,
4503
4237
  collumns: [
4504
4238
  {
@@ -4527,14 +4261,13 @@ const allLines = [
4527
4261
  createdAtDateTime: "2025-12-04T20:14:12.812Z",
4528
4262
  updatedAtDateTime: "2025-12-04T20:14:12.812Z",
4529
4263
  __v: 0,
4530
- answer: true,
4531
4264
  enable: true,
4532
- lineId: "f62e0c25-47b0-4a0c-accd-785ef3139a2e"
4265
+ lineId: "255e2209-cfdf-48e2-a59b-4b85611df49c"
4533
4266
  }
4534
4267
  ]
4535
4268
  },
4536
4269
  {
4537
- id: "b8885042-a2fb-4146-afac-4c9ad8a7efc4",
4270
+ id: "6e62b6a4-e94d-495d-8fd8-da3d854b4109",
4538
4271
  line: 148,
4539
4272
  collumns: [
4540
4273
  {
@@ -4548,7 +4281,7 @@ const allLines = [
4548
4281
  type: "TABLE",
4549
4282
  category: "ANTHROPOMETRY",
4550
4283
  formulaToEnable: "true",
4551
- formulaToShow: "true",
4284
+ formulaToShow: "!isNaN(Number('${CURRENT_WEIGHT}')) || !isNaN(Number('${BARIATRICO_IMC_ATUAL_CLASSIFICACAO}')) || !isNaN(Number('${BARIATRICO_PESO_NA_CIRURGIA}')) || ['BY_PASS', 'SLEEVE', 'BANDA_GASTRICA_AJUSTAVEL'].includes('${BARIATRICO_TIPO_CIRURGIA}') || !isNaN(Number('${BARIATRICO_TEMPO_CIRURGIA}')) || !isNaN(Number('${BARIATRICO_PERCENTUAL_PERDA_EXCESSO_PESO_CLASSIFICACAO}')) || !isNaN(Number('${BARIATRICO_PERCENTUAL_PESO_PERDIDO_CLASSIFICACAO}')) || !isNaN(Number('${BARIATRICO_MENOR_PESO_DEPOIS_CIRURGIA_CLASSIFICACAO}')) || !isNaN(Number('${BARIATRICO_VALOR_PESO_RECUPERADO_CLASSIFICACAO}')) || !isNaN(Number('${BARIATRICO_PERCENTUAL_PESO_RECUPERADO_CLASSIFICACAO}')) || !isNaN(Number('${BARIATRICO_PESO_ESPERASO_CLASSIFICACAO}'))",
4552
4285
  active: true,
4553
4286
  show: true,
4554
4287
  readOnly: false,
@@ -4590,7 +4323,7 @@ const allLines = [
4590
4323
  enable: true,
4591
4324
  lines: [
4592
4325
  {
4593
- id: "7846f1b0-b529-4da7-92b2-daa34167d5a0",
4326
+ id: "a51b90e3-872b-4d8f-a800-a0570a2b1402",
4594
4327
  line: 149,
4595
4328
  collumns: [
4596
4329
  {
@@ -4610,8 +4343,7 @@ const allLines = [
4610
4343
  formulaToReferenceValue: "'< 100 kg'",
4611
4344
  formulaToClassificationLabel: "Number('${CURRENT_WEIGHT}') > 0 && Number('${CURRENT_WEIGHT}') < 100 ? 'Adequado' : Number('${CURRENT_WEIGHT}') > 0 && Number('${CURRENT_WEIGHT}') > 100 ? 'Pesado' : ''",
4612
4345
  formulaToClassificationColor: "Number('${CURRENT_WEIGHT}') > 0 && Number('${CURRENT_WEIGHT}') < 100 ? 'normal' : Number('${CURRENT_WEIGHT}') > 0 && Number('${CURRENT_WEIGHT}') > 100 ? 'above_1' : ''",
4613
- formulaToEnable: "'${PATIENT_IS_BARIATRIC}' === 'true'",
4614
- formulaToShow: "true",
4346
+ formulaToShow: "!isNaN(Number('${CURRENT_WEIGHT}'))",
4615
4347
  active: true,
4616
4348
  show: true,
4617
4349
  readOnly: false,
@@ -4625,17 +4357,12 @@ const allLines = [
4625
4357
  createdAtDateTime: "2025-12-09T15:01:01.840Z",
4626
4358
  updatedAtDateTime: "2025-12-09T15:01:01.840Z",
4627
4359
  __v: 0,
4628
- enable: true,
4629
- referenceValue: "< 100 kg",
4630
- classificationLabel: "Adequado",
4631
- classificationColor: "normal",
4632
- answer: 81,
4633
- lineId: "7846f1b0-b529-4da7-92b2-daa34167d5a0"
4360
+ lineId: "a51b90e3-872b-4d8f-a800-a0570a2b1402"
4634
4361
  }
4635
4362
  ]
4636
4363
  },
4637
4364
  {
4638
- id: "2689d3b3-32bb-45b6-82e1-2164df0ff64e",
4365
+ id: "d1345871-80a4-46d0-abe4-d569e3f469b7",
4639
4366
  line: 150,
4640
4367
  collumns: [
4641
4368
  {
@@ -4643,7 +4370,7 @@ const allLines = [
4643
4370
  form: "689e029db13c27189bce136d",
4644
4371
  sequence: 169,
4645
4372
  code: "BARIATRICO_IMC_ATUAL_CLASSIFICACAO",
4646
- description: "IMC atual",
4373
+ description: "IMC",
4647
4374
  parent: "693838a2d591b9bd20fadf10",
4648
4375
  line: 150,
4649
4376
  column: 1,
@@ -4655,10 +4382,9 @@ const allLines = [
4655
4382
  formulaToReferenceValue: "'18,5 a 24,9 kg/m²'",
4656
4383
  formulaToClassificationLabel: "Number('${BARIATRICO_IMC_ATUAL_CLASSIFICACAO}') > 0 && Number('${BARIATRICO_IMC_ATUAL_CLASSIFICACAO}') < 23? 'Adequado' : Number('${BARIATRICO_IMC_ATUAL_CLASSIFICACAO}') > 0 && Number('${BARIATRICO_IMC_ATUAL_CLASSIFICACAO}') > 23? 'Pesado' : ''",
4657
4384
  formulaToClassificationColor: "Number('${BARIATRICO_IMC_ATUAL_CLASSIFICACAO}') > 0 && Number('${BARIATRICO_IMC_ATUAL_CLASSIFICACAO}') < 23? 'normal' : Number('${BARIATRICO_IMC_ATUAL_CLASSIFICACAO}') > 0 && Number('${BARIATRICO_IMC_ATUAL_CLASSIFICACAO}') > 23? 'above_1' : ''",
4658
- formulaToEnable: "'${PATIENT_IS_BARIATRIC}' === 'true'",
4659
- formulaToShow: "true",
4385
+ formulaToShow: "!isNaN(Number('${BARIATRICO_IMC_ATUAL_CLASSIFICACAO}'))",
4660
4386
  active: true,
4661
- show: true,
4387
+ show: false,
4662
4388
  readOnly: false,
4663
4389
  required: false,
4664
4390
  screenPlacement: 2,
@@ -4670,17 +4396,15 @@ const allLines = [
4670
4396
  createdAtDateTime: "2025-12-09T15:12:02.722Z",
4671
4397
  updatedAtDateTime: "2025-12-09T15:12:02.722Z",
4672
4398
  __v: 0,
4673
- enable: true,
4674
4399
  referenceValue: "18,5 a 24,9 kg/m²",
4675
- classificationLabel: "Pesado",
4676
- classificationColor: "above_1",
4677
- answer: 28.027681660899656,
4678
- lineId: "2689d3b3-32bb-45b6-82e1-2164df0ff64e"
4400
+ classificationLabel: "",
4401
+ classificationColor: "",
4402
+ lineId: "d1345871-80a4-46d0-abe4-d569e3f469b7"
4679
4403
  }
4680
4404
  ]
4681
4405
  },
4682
4406
  {
4683
- id: "1d96baf4-6fa8-443a-98c7-6727e2af6082",
4407
+ id: "a4686e0b-63c1-4fc1-84b6-3ddba1981242",
4684
4408
  line: 151,
4685
4409
  collumns: [
4686
4410
  {
@@ -4697,8 +4421,7 @@ const allLines = [
4697
4421
  category: "ANTHROPOMETRY",
4698
4422
  measurementUnit: "kg",
4699
4423
  formulaToAnswer: "${BARIATRICO_PESO_NA_CIRURGIA}",
4700
- formulaToEnable: "'${PATIENT_IS_BARIATRIC}' === 'true'",
4701
- formulaToShow: "true",
4424
+ formulaToShow: "!isNaN(Number('${BARIATRICO_PESO_NA_CIRURGIA}'))",
4702
4425
  active: true,
4703
4426
  show: true,
4704
4427
  readOnly: false,
@@ -4712,14 +4435,12 @@ const allLines = [
4712
4435
  createdAtDateTime: "2025-12-09T15:14:13.230Z",
4713
4436
  updatedAtDateTime: "2025-12-09T15:14:13.230Z",
4714
4437
  __v: 0,
4715
- enable: true,
4716
- answer: 150,
4717
- lineId: "1d96baf4-6fa8-443a-98c7-6727e2af6082"
4438
+ lineId: "a4686e0b-63c1-4fc1-84b6-3ddba1981242"
4718
4439
  }
4719
4440
  ]
4720
4441
  },
4721
4442
  {
4722
- id: "fcb3079b-3ae6-43a2-b92c-6087d28821fe",
4443
+ id: "d9cca0bb-ab47-47e2-b71e-75d771be6732",
4723
4444
  line: 152,
4724
4445
  collumns: [
4725
4446
  {
@@ -4736,8 +4457,7 @@ const allLines = [
4736
4457
  category: "ANTHROPOMETRY",
4737
4458
  measurementUnit: "",
4738
4459
  formulaToAnswer: "'${BARIATRICO_TIPO_CIRURGIA}' === 'BY_PASS' ? 'By-pass gástrico' : '${BARIATRICO_TIPO_CIRURGIA}' === 'SLEEVE' ? 'Sleeve' : '${BARIATRICO_TIPO_CIRURGIA}' === 'BANDA_GASTRICA_AJUSTAVEL' ? 'Banda gástr. ajustáv.' : ''",
4739
- formulaToEnable: "'${PATIENT_IS_BARIATRIC}' === 'true'",
4740
- formulaToShow: "true",
4460
+ formulaToShow: "['BY_PASS', 'SLEEVE', 'BANDA_GASTRICA_AJUSTAVEL'].includes('${BARIATRICO_TIPO_CIRURGIA}')",
4741
4461
  active: true,
4742
4462
  show: true,
4743
4463
  readOnly: false,
@@ -4751,14 +4471,12 @@ const allLines = [
4751
4471
  createdAtDateTime: "2025-12-09T15:17:14.115Z",
4752
4472
  updatedAtDateTime: "2025-12-09T15:17:14.115Z",
4753
4473
  __v: 0,
4754
- answer: "By-pass gástrico",
4755
- enable: true,
4756
- lineId: "fcb3079b-3ae6-43a2-b92c-6087d28821fe"
4474
+ lineId: "d9cca0bb-ab47-47e2-b71e-75d771be6732"
4757
4475
  }
4758
4476
  ]
4759
4477
  },
4760
4478
  {
4761
- id: "7cbfd07c-ce7d-4d16-8d11-ce1ac5449aa6",
4479
+ id: "3c8c3a51-1943-408c-a937-039e96920629",
4762
4480
  line: 153,
4763
4481
  collumns: [
4764
4482
  {
@@ -4774,9 +4492,8 @@ const allLines = [
4774
4492
  typeAnswer: "OPEN_NUMBER",
4775
4493
  category: "ANTHROPOMETRY",
4776
4494
  measurementUnit: "meses",
4777
- formulaToAnswer: "'${BARIATRICO_TEMPO_CIRURGIA}'",
4778
- formulaToEnable: "'${PATIENT_IS_BARIATRIC}' === 'true'",
4779
- formulaToShow: "true",
4495
+ formulaToAnswer: "Number('${BARIATRICO_TEMPO_CIRURGIA}') ? Number('${BARIATRICO_TEMPO_CIRURGIA}') : undefined",
4496
+ formulaToShow: "!isNaN(Number('${BARIATRICO_TEMPO_CIRURGIA}'))",
4780
4497
  active: true,
4781
4498
  show: true,
4782
4499
  readOnly: false,
@@ -4790,14 +4507,12 @@ const allLines = [
4790
4507
  createdAtDateTime: "2025-12-09T15:21:42.063Z",
4791
4508
  updatedAtDateTime: "2025-12-09T15:21:42.063Z",
4792
4509
  __v: 0,
4793
- answer: "2",
4794
- enable: true,
4795
- lineId: "7cbfd07c-ce7d-4d16-8d11-ce1ac5449aa6"
4510
+ lineId: "3c8c3a51-1943-408c-a937-039e96920629"
4796
4511
  }
4797
4512
  ]
4798
4513
  },
4799
4514
  {
4800
- id: "614f0c5a-315e-438c-bcf3-c847354265d4",
4515
+ id: "18b0e76c-dbcc-44fd-a630-3afb21d41b67",
4801
4516
  line: 154,
4802
4517
  collumns: [
4803
4518
  {
@@ -4814,10 +4529,9 @@ const allLines = [
4814
4529
  category: "ANTHROPOMETRY",
4815
4530
  measurementUnit: "%",
4816
4531
  formulaToAnswer: "(Number('${BARIATRICO_PESO_NA_CIRURGIA}') - Number('${BARIATRICO_PESO_ATUAL}')) / (Number('${BARIATRICO_PESO_NA_CIRURGIA}') - (25 * ((Number('${HEIGHT_IN_CM}') / 100)**2)))",
4817
- formulaToEnable: "'${PATIENT_IS_BARIATRIC}' === 'true'",
4818
- formulaToShow: "true",
4532
+ formulaToShow: "!isNaN(Number('${BARIATRICO_PERCENTUAL_PERDA_EXCESSO_PESO_CLASSIFICACAO}'))",
4819
4533
  active: true,
4820
- show: true,
4534
+ show: false,
4821
4535
  readOnly: false,
4822
4536
  required: false,
4823
4537
  screenPlacement: 2,
@@ -4831,16 +4545,15 @@ const allLines = [
4831
4545
  __v: 0,
4832
4546
  formulaToClassificationColor: "Number('${BARIATRICO_PERCENTUAL_PERDA_EXCESSO_PESO_CLASSIFICACAO}') <= 0.2 ? 'below_1' : 'normal'",
4833
4547
  formulaToClassificationLabel: "Number('${BARIATRICO_PERCENTUAL_PERDA_EXCESSO_PESO_CLASSIFICACAO}') <= 0.2 ? 'Abaixo do esperado' : Number('${BARIATRICO_PERCENTUAL_PERDA_EXCESSO_PESO_CLASSIFICACAO}') <= 0.5 ? 'Adequado' : 'Excelente'",
4834
- answer: 0.8874598070739548,
4835
- enable: true,
4548
+ answer: null,
4836
4549
  classificationLabel: "Excelente",
4837
4550
  classificationColor: "normal",
4838
- lineId: "614f0c5a-315e-438c-bcf3-c847354265d4"
4551
+ lineId: "18b0e76c-dbcc-44fd-a630-3afb21d41b67"
4839
4552
  }
4840
4553
  ]
4841
4554
  },
4842
4555
  {
4843
- id: "b96f9ea5-a720-42b4-9343-9a5065938ab8",
4556
+ id: "b04793a8-b181-421d-8856-13986c679542",
4844
4557
  line: 155,
4845
4558
  collumns: [
4846
4559
  {
@@ -4857,8 +4570,7 @@ const allLines = [
4857
4570
  category: "ANTHROPOMETRY",
4858
4571
  measurementUnit: "%",
4859
4572
  formulaToAnswer: "(Number('${BARIATRICO_PESO_NA_CIRURGIA}') - Number('${BARIATRICO_PESO_ATUAL}')) / Number('${BARIATRICO_PESO_NA_CIRURGIA}')",
4860
- formulaToEnable: "'${PATIENT_IS_BARIATRIC}' === 'true'",
4861
- formulaToShow: "true",
4573
+ formulaToShow: "!isNaN(Number('${BARIATRICO_PERCENTUAL_PESO_PERDIDO_CLASSIFICACAO}'))",
4862
4574
  active: true,
4863
4575
  show: true,
4864
4576
  readOnly: false,
@@ -4872,14 +4584,12 @@ const allLines = [
4872
4584
  createdAtDateTime: "2025-12-09T15:41:58.016Z",
4873
4585
  updatedAtDateTime: "2025-12-09T15:41:58.016Z",
4874
4586
  __v: 0,
4875
- answer: 0.46,
4876
- enable: true,
4877
- lineId: "b96f9ea5-a720-42b4-9343-9a5065938ab8"
4587
+ lineId: "b04793a8-b181-421d-8856-13986c679542"
4878
4588
  }
4879
4589
  ]
4880
4590
  },
4881
4591
  {
4882
- id: "78b1ffb9-3a06-4548-867e-fae8c8c19e5e",
4592
+ id: "7d76df67-ec79-42b8-9930-61c66e30e4f1",
4883
4593
  line: 156,
4884
4594
  collumns: [
4885
4595
  {
@@ -4896,8 +4606,7 @@ const allLines = [
4896
4606
  category: "ANTHROPOMETRY",
4897
4607
  measurementUnit: "kg",
4898
4608
  formulaToAnswer: "Number('${BARIATRICO_MENOR_PESO_APOS_CIRURGIA}')",
4899
- formulaToEnable: "'${PATIENT_IS_BARIATRIC}' === 'true'",
4900
- formulaToShow: "true",
4609
+ formulaToShow: "!isNaN(Number('${BARIATRICO_MENOR_PESO_DEPOIS_CIRURGIA_CLASSIFICACAO}'))",
4901
4610
  active: true,
4902
4611
  show: true,
4903
4612
  readOnly: false,
@@ -4911,14 +4620,12 @@ const allLines = [
4911
4620
  createdAtDateTime: "2025-12-09T17:02:48.817Z",
4912
4621
  updatedAtDateTime: "2025-12-09T17:02:48.817Z",
4913
4622
  __v: 0,
4914
- answer: null,
4915
- enable: true,
4916
- lineId: "78b1ffb9-3a06-4548-867e-fae8c8c19e5e"
4623
+ lineId: "7d76df67-ec79-42b8-9930-61c66e30e4f1"
4917
4624
  }
4918
4625
  ]
4919
4626
  },
4920
4627
  {
4921
- id: "2a770663-c995-4402-88f9-ad91925cd26a",
4628
+ id: "b02a6889-acfd-4002-8f76-5836d44c5906",
4922
4629
  line: 157,
4923
4630
  collumns: [
4924
4631
  {
@@ -4934,9 +4641,8 @@ const allLines = [
4934
4641
  typeAnswer: "OPEN_NUMBER",
4935
4642
  category: "ANTHROPOMETRY",
4936
4643
  measurementUnit: "kg",
4937
- formulaToAnswer: "const diff = Number('${CURRENT_WEIGHT}') - Number('${BARIATRICO_ULTIMO_PESO_MINIMO}'); diff;",
4938
- formulaToEnable: "'${PATIENT_IS_BARIATRIC}' === 'true'",
4939
- formulaToShow: "true",
4644
+ formulaToAnswer: "const diff = isNaN(Number('${BARIATRICO_ULTIMO_PESO_MINIMO}')) ? Number('${CURRENT_WEIGHT}') - Number('${BARIATRICO_MENOR_PESO_APOS_CIRURGIA}') : Number('${CURRENT_WEIGHT}') - Number('${BARIATRICO_ULTIMO_PESO_MINIMO}'); diff;",
4645
+ formulaToShow: "!isNaN(Number('${BARIATRICO_VALOR_PESO_RECUPERADO_CLASSIFICACAO}'))",
4940
4646
  active: true,
4941
4647
  show: true,
4942
4648
  readOnly: false,
@@ -4950,14 +4656,12 @@ const allLines = [
4950
4656
  createdAtDateTime: "2025-12-09T17:09:12.989Z",
4951
4657
  updatedAtDateTime: "2025-12-09T17:09:12.989Z",
4952
4658
  __v: 0,
4953
- answer: null,
4954
- enable: true,
4955
- lineId: "2a770663-c995-4402-88f9-ad91925cd26a"
4659
+ lineId: "b02a6889-acfd-4002-8f76-5836d44c5906"
4956
4660
  }
4957
4661
  ]
4958
4662
  },
4959
4663
  {
4960
- id: "31a59102-44f2-4583-94f1-95b0152effeb",
4664
+ id: "c11e41e1-fad3-4de3-9405-5a225024d1ac",
4961
4665
  line: 159,
4962
4666
  collumns: [
4963
4667
  {
@@ -4974,8 +4678,7 @@ const allLines = [
4974
4678
  category: "ANTHROPOMETRY",
4975
4679
  measurementUnit: "%",
4976
4680
  formulaToAnswer: "(Number('${BARIATRICO_VALOR_PESO_RECUPERADO_CLASSIFICACAO}') ?? 0) / (Number('${BARIATRICO_PESO_NA_CIRURGIA}') - Number('${BARIATRICO_MENOR_PESO_APOS_CIRURGIA}'))",
4977
- formulaToEnable: "'${PATIENT_IS_BARIATRIC}' === 'true'",
4978
- formulaToShow: "true",
4681
+ formulaToShow: "!isNaN(Number('${BARIATRICO_PERCENTUAL_PESO_RECUPERADO_CLASSIFICACAO}'))",
4979
4682
  active: true,
4980
4683
  show: true,
4981
4684
  readOnly: false,
@@ -4989,18 +4692,14 @@ const allLines = [
4989
4692
  createdAtDateTime: "2025-12-09T17:23:47.705Z",
4990
4693
  updatedAtDateTime: "2025-12-09T17:23:47.705Z",
4991
4694
  __v: 0,
4992
- formulaToClassificationLabel: "Number('${BARIATRICO_PERCENTUAL_PESO_RECUPERADO_CLASSIFICACAO}') <= 0 ? 'Não há reganho' : Number('${BARIATRICO_PERCENTUAL_PESO_RECUPERADO_CLASSIFICACAO}') <= 0.1 ? 'Pouco reganho' : 'Reganho alto'",
4993
- formulaToClassificationColor: "Number('${BARIATRICO_PERCENTUAL_PESO_RECUPERADO_CLASSIFICACAO}') <= 0 ? 'normal' : Number('${BARIATRICO_PERCENTUAL_PESO_RECUPERADO_CLASSIFICACAO}') <= 0.1 ? 'above_1' : 'above_2'",
4994
- answer: null,
4995
- enable: true,
4996
- classificationLabel: "Reganho alto",
4997
- classificationColor: "above_2",
4998
- lineId: "31a59102-44f2-4583-94f1-95b0152effeb"
4695
+ formulaToClassificationLabel: "Number('${BARIATRICO_PERCENTUAL_PESO_RECUPERADO_CLASSIFICACAO}') <= 0 ? 'Não há reganho' : Number('${BARIATRICO_PERCENTUAL_PESO_RECUPERADO_CLASSIFICACAO}') <= 0.1 ? 'Pouco reganho' : 'Reganho alto'",
4696
+ formulaToClassificationColor: "Number('${BARIATRICO_PERCENTUAL_PESO_RECUPERADO_CLASSIFICACAO}') <= 0 ? 'normal' : Number('${BARIATRICO_PERCENTUAL_PESO_RECUPERADO_CLASSIFICACAO}') <= 0.1 ? 'above_1' : 'above_2'",
4697
+ lineId: "c11e41e1-fad3-4de3-9405-5a225024d1ac"
4999
4698
  }
5000
4699
  ]
5001
4700
  },
5002
4701
  {
5003
- id: "f142a9f5-04b1-4dc7-842f-2ff9b212a463",
4702
+ id: "7e6752b6-690e-47ae-a431-496574d0da0b",
5004
4703
  line: 160,
5005
4704
  collumns: [
5006
4705
  {
@@ -5017,10 +4716,9 @@ const allLines = [
5017
4716
  category: "ANTHROPOMETRY",
5018
4717
  measurementUnit: "kg",
5019
4718
  formulaToAnswer: "((Number('${HEIGHT_IN_CM}') / 100)**2) * 25",
5020
- formulaToEnable: "'${PATIENT_IS_BARIATRIC}' === 'true'",
5021
- formulaToShow: "true",
4719
+ formulaToShow: "!isNaN(Number('${BARIATRICO_PESO_ESPERASO_CLASSIFICACAO}'))",
5022
4720
  active: true,
5023
- show: true,
4721
+ show: false,
5024
4722
  readOnly: false,
5025
4723
  required: false,
5026
4724
  screenPlacement: 2,
@@ -5032,1142 +4730,18 @@ const allLines = [
5032
4730
  createdAtDateTime: "2025-12-09T17:27:15.552Z",
5033
4731
  updatedAtDateTime: "2025-12-09T17:27:15.552Z",
5034
4732
  __v: 0,
5035
- answer: 72.24999999999999,
5036
- enable: true,
5037
- lineId: "f142a9f5-04b1-4dc7-842f-2ff9b212a463"
4733
+ answer: null,
4734
+ lineId: "7e6752b6-690e-47ae-a431-496574d0da0b"
5038
4735
  }
5039
4736
  ]
5040
4737
  }
5041
4738
  ],
5042
- lineId: "b8885042-a2fb-4146-afac-4c9ad8a7efc4"
5043
- }
5044
- ]
5045
- },
5046
- {
5047
- id: "63da79a1-34fd-41c1-9d00-3212b3445f0e",
5048
- line: 161,
5049
- collumns: [
5050
- {
5051
- _id: "69385fd69c4a37d575363080",
5052
- form: "689e029db13c27189bce136d",
5053
- sequence: 180,
5054
- code: "GRAFICO_BARIATRICO_EVOLUCAO_PESO",
5055
- description: "Evolução de peso",
5056
- line: 161,
5057
- column: 1,
5058
- type: "GRAPHIC",
5059
- category: "ANTHROPOMETRY",
5060
- formulaToEnable: "'${PATIENT_IS_BARIATRIC}' === 'true'",
5061
- formulaToShow: "Number('${BARIATRICO_TEMPO_CIRURGIA}') < 50",
5062
- validations: [
5063
- {
5064
- type: "WARNING",
5065
- typeOutput: "TEXT",
5066
- formulaToMessage: "'18 a 50 anos não diabético'",
5067
- message: "18 a 50 anos não diabético"
5068
- }
5069
- ],
5070
- active: true,
5071
- show: true,
5072
- readOnly: false,
5073
- required: false,
5074
- screenPlacement: 1,
5075
- ellegibleForComparison: false,
5076
- graphicData: {
5077
- config: {
5078
- type: "line",
5079
- animation: false,
5080
- parsing: {
5081
- xAxisKey: "Tempo da cirurgia",
5082
- yAxisKey: "Peso"
5083
- },
5084
- hover: {
5085
- mode: "x",
5086
- intersect: false
5087
- },
5088
- plugins: {
5089
- tooltip: {
5090
- mode: "x",
5091
- intersect: false,
5092
- itemSort: "function (a, b) { return b.raw['Peso'] - a.raw['Peso']; }",
5093
- bodySpacing: 5,
5094
- caretPadding: 5,
5095
- callbacks: {
5096
- title: "function (tooltipItems) {return `Mês ${tooltipItems[0].label}`}",
5097
- label: "function (context) { return `${context.raw['Peso']} Kg`; }"
5098
- }
5099
- },
5100
- legend: {
5101
- display: true
5102
- },
5103
- datalabels: {
5104
- align: "center",
5105
- anchor: "center",
5106
- formatter: "function (value, context) { if (context.dataset.label === 'Você') { return null }; const dataIndex = context.dataIndex; const dataset = context.dataset; if (dataIndex === dataset.data.length - 1) { return context.dataset.label; } return null; }",
5107
- font: {
5108
- size: 8,
5109
- weight: "bold"
5110
- },
5111
- color: "rgba(0, 0, 0, 0.7)",
5112
- backgroundColor: "white",
5113
- borderColor: "rgb(246, 149, 82)",
5114
- borderWidth: 2,
5115
- borderRadius: 50,
5116
- padding: 6
5117
- }
5118
- },
5119
- scales: {
5120
- x: {
5121
- display: true,
5122
- type: "linear",
5123
- title: {
5124
- text: "MESES DESDE A CIRURGIA",
5125
- display: true
5126
- }
5127
- },
5128
- x1: {
5129
- position: "top",
5130
- display: true
5131
- },
5132
- y: {
5133
- display: true,
5134
- position: "left",
5135
- title: {
5136
- text: "EVOLUÇÃO PESO",
5137
- display: true
5138
- }
5139
- },
5140
- y1: {
5141
- display: true,
5142
- position: "right",
5143
- afterBuildTicks: "function (axis) { axis.ticks = [...axis.chart.scales.y.ticks]; axis.min = axis.chart.scales.y.min; axis.max = axis.chart.scales.y.max; }"
5144
- }
5145
- }
5146
- },
5147
- datasetsBackground: [
5148
- {
5149
- label: "Máximo",
5150
- data: [
5151
- {
5152
- "Tempo da cirurgia": "0",
5153
- percent: 0,
5154
- Peso: 150
5155
- },
5156
- {
5157
- "Tempo da cirurgia": "1",
5158
- percent: 0.115,
5159
- Peso: 132.75
5160
- },
5161
- {
5162
- "Tempo da cirurgia": "2",
5163
- percent: 0.16,
5164
- Peso: 126
5165
- },
5166
- {
5167
- "Tempo da cirurgia": "3",
5168
- percent: 0.184,
5169
- Peso: 122.4
5170
- },
5171
- {
5172
- "Tempo da cirurgia": "4",
5173
- percent: 0.21,
5174
- Peso: 118.5
5175
- },
5176
- {
5177
- "Tempo da cirurgia": "5",
5178
- percent: 0.23,
5179
- Peso: 115.5
5180
- },
5181
- {
5182
- "Tempo da cirurgia": "6",
5183
- percent: 0.252,
5184
- Peso: 112.2
5185
- },
5186
- {
5187
- "Tempo da cirurgia": "7",
5188
- percent: 0.27,
5189
- Peso: 109.5
5190
- },
5191
- {
5192
- "Tempo da cirurgia": "8",
5193
- percent: 0.29,
5194
- Peso: 106.5
5195
- },
5196
- {
5197
- "Tempo da cirurgia": "9",
5198
- percent: 0.3,
5199
- Peso: 105
5200
- },
5201
- {
5202
- "Tempo da cirurgia": "10",
5203
- percent: 0.32,
5204
- Peso: 102
5205
- },
5206
- {
5207
- "Tempo da cirurgia": "11",
5208
- percent: 0.33,
5209
- Peso: 100.5
5210
- },
5211
- {
5212
- "Tempo da cirurgia": "12",
5213
- percent: 0.34,
5214
- Peso: 99
5215
- },
5216
- {
5217
- "Tempo da cirurgia": "13",
5218
- percent: 0.35,
5219
- Peso: 97.5
5220
- },
5221
- {
5222
- "Tempo da cirurgia": "14",
5223
- percent: 0.36,
5224
- Peso: 96
5225
- },
5226
- {
5227
- "Tempo da cirurgia": "15",
5228
- percent: 0.37,
5229
- Peso: 94.5
5230
- },
5231
- {
5232
- "Tempo da cirurgia": "16",
5233
- percent: 0.38,
5234
- Peso: 93
5235
- },
5236
- {
5237
- "Tempo da cirurgia": "17",
5238
- percent: 0.39,
5239
- Peso: 91.5
5240
- },
5241
- {
5242
- "Tempo da cirurgia": "18",
5243
- percent: 0.396,
5244
- Peso: 90.6
5245
- },
5246
- {
5247
- "Tempo da cirurgia": "19",
5248
- percent: 0.4,
5249
- Peso: 90
5250
- },
5251
- {
5252
- "Tempo da cirurgia": "20",
5253
- percent: 0.41,
5254
- Peso: 88.5
5255
- },
5256
- {
5257
- "Tempo da cirurgia": "21",
5258
- percent: 0.41,
5259
- Peso: 88.5
5260
- },
5261
- {
5262
- "Tempo da cirurgia": "22",
5263
- percent: 0.41,
5264
- Peso: 88.5
5265
- },
5266
- {
5267
- "Tempo da cirurgia": "23",
5268
- percent: 0.42,
5269
- Peso: 87
5270
- },
5271
- {
5272
- "Tempo da cirurgia": "24",
5273
- percent: 0.42,
5274
- Peso: 87
5275
- },
5276
- {
5277
- "Tempo da cirurgia": "25",
5278
- percent: 0.42,
5279
- Peso: 87
5280
- },
5281
- {
5282
- "Tempo da cirurgia": "26",
5283
- percent: 0.43,
5284
- Peso: 85.5
5285
- },
5286
- {
5287
- "Tempo da cirurgia": "27",
5288
- percent: 0.43,
5289
- Peso: 85.5
5290
- },
5291
- {
5292
- "Tempo da cirurgia": "28",
5293
- percent: 0.43,
5294
- Peso: 85.5
5295
- },
5296
- {
5297
- "Tempo da cirurgia": "29",
5298
- percent: 0.43,
5299
- Peso: 85.5
5300
- },
5301
- {
5302
- "Tempo da cirurgia": "30",
5303
- percent: 0.43,
5304
- Peso: 85.5
5305
- },
5306
- {
5307
- "Tempo da cirurgia": "31",
5308
- percent: 0.43,
5309
- Peso: 85.5
5310
- },
5311
- {
5312
- "Tempo da cirurgia": "32",
5313
- percent: 0.43,
5314
- Peso: 85.5
5315
- },
5316
- {
5317
- "Tempo da cirurgia": "33",
5318
- percent: 0.43,
5319
- Peso: 85.5
5320
- },
5321
- {
5322
- "Tempo da cirurgia": "34",
5323
- percent: 0.43,
5324
- Peso: 85.5
5325
- },
5326
- {
5327
- "Tempo da cirurgia": "35",
5328
- percent: 0.43,
5329
- Peso: 85.5
5330
- },
5331
- {
5332
- "Tempo da cirurgia": "36",
5333
- percent: 0.43,
5334
- Peso: 85.5
5335
- },
5336
- {
5337
- "Tempo da cirurgia": "37",
5338
- percent: 0.43,
5339
- Peso: 85.5
5340
- },
5341
- {
5342
- "Tempo da cirurgia": "38",
5343
- percent: 0.42,
5344
- Peso: 87
5345
- },
5346
- {
5347
- "Tempo da cirurgia": "39",
5348
- percent: 0.42,
5349
- Peso: 87
5350
- },
5351
- {
5352
- "Tempo da cirurgia": "40",
5353
- percent: 0.42,
5354
- Peso: 87
5355
- },
5356
- {
5357
- "Tempo da cirurgia": "41",
5358
- percent: 0.42,
5359
- Peso: 87
5360
- },
5361
- {
5362
- "Tempo da cirurgia": "42",
5363
- percent: 0.42,
5364
- Peso: 87
5365
- },
5366
- {
5367
- "Tempo da cirurgia": "43",
5368
- percent: 0.41,
5369
- Peso: 88.5
5370
- },
5371
- {
5372
- "Tempo da cirurgia": "44",
5373
- percent: 0.41,
5374
- Peso: 88.5
5375
- },
5376
- {
5377
- "Tempo da cirurgia": "45",
5378
- percent: 0.41,
5379
- Peso: 88.5
5380
- },
5381
- {
5382
- "Tempo da cirurgia": "46",
5383
- percent: 0.41,
5384
- Peso: 88.5
5385
- },
5386
- {
5387
- "Tempo da cirurgia": "47",
5388
- percent: 0.4,
5389
- Peso: 90
5390
- },
5391
- {
5392
- "Tempo da cirurgia": "48",
5393
- percent: 0.4,
5394
- Peso: 90
5395
- },
5396
- {
5397
- "Tempo da cirurgia": "49",
5398
- percent: 0.4,
5399
- Peso: 90
5400
- },
5401
- {
5402
- "Tempo da cirurgia": "50",
5403
- percent: 0.39,
5404
- Peso: 91.5
5405
- },
5406
- {
5407
- "Tempo da cirurgia": "51",
5408
- percent: 0.39,
5409
- Peso: 91.5
5410
- },
5411
- {
5412
- "Tempo da cirurgia": "52",
5413
- percent: 0.39,
5414
- Peso: 91.5
5415
- },
5416
- {
5417
- "Tempo da cirurgia": "53",
5418
- percent: 0.38,
5419
- Peso: 93
5420
- },
5421
- {
5422
- "Tempo da cirurgia": "54",
5423
- percent: 0.38,
5424
- Peso: 93
5425
- },
5426
- {
5427
- "Tempo da cirurgia": "55",
5428
- percent: 0.38,
5429
- Peso: 93
5430
- },
5431
- {
5432
- "Tempo da cirurgia": "56",
5433
- percent: 0.37,
5434
- Peso: 94.5
5435
- },
5436
- {
5437
- "Tempo da cirurgia": "57",
5438
- percent: 0.37,
5439
- Peso: 94.5
5440
- },
5441
- {
5442
- "Tempo da cirurgia": "58",
5443
- percent: 0.37,
5444
- Peso: 94.5
5445
- },
5446
- {
5447
- "Tempo da cirurgia": "59",
5448
- percent: 0.36,
5449
- Peso: 96
5450
- },
5451
- {
5452
- "Tempo da cirurgia": "60",
5453
- percent: 0.36,
5454
- Peso: 96
5455
- }
5456
- ],
5457
- borderColor: "rgba(82, 246, 159, 0.5)",
5458
- pointStyle: "circle",
5459
- pointRadius: 0,
5460
- pointHoverRadius: 5,
5461
- pointBorderColor: "#d0d5ec",
5462
- pointBackgroundColor: "rgba(82, 246, 159, 0.5)",
5463
- fill: "1",
5464
- tension: 0.5
5465
- },
5466
- {
5467
- label: "Mínimo",
5468
- data: [
5469
- {
5470
- "Tempo da cirurgia": "0",
5471
- percent: 0,
5472
- Peso: 150
5473
- },
5474
- {
5475
- "Tempo da cirurgia": "1",
5476
- percent: 0.065,
5477
- Peso: 140.25
5478
- },
5479
- {
5480
- "Tempo da cirurgia": "2",
5481
- percent: 0.1,
5482
- Peso: 135
5483
- },
5484
- {
5485
- "Tempo da cirurgia": "3",
5486
- percent: 0.124,
5487
- Peso: 131.4
5488
- },
5489
- {
5490
- "Tempo da cirurgia": "4",
5491
- percent: 0.14,
5492
- Peso: 129
5493
- },
5494
- {
5495
- "Tempo da cirurgia": "5",
5496
- percent: 0.16,
5497
- Peso: 126
5498
- },
5499
- {
5500
- "Tempo da cirurgia": "6",
5501
- percent: 0.176,
5502
- Peso: 123.6
5503
- },
5504
- {
5505
- "Tempo da cirurgia": "7",
5506
- percent: 0.19,
5507
- Peso: 121.5
5508
- },
5509
- {
5510
- "Tempo da cirurgia": "8",
5511
- percent: 0.2,
5512
- Peso: 120
5513
- },
5514
- {
5515
- "Tempo da cirurgia": "9",
5516
- percent: 0.21,
5517
- Peso: 118.5
5518
- },
5519
- {
5520
- "Tempo da cirurgia": "10",
5521
- percent: 0.22,
5522
- Peso: 117
5523
- },
5524
- {
5525
- "Tempo da cirurgia": "11",
5526
- percent: 0.23,
5527
- Peso: 115.5
5528
- },
5529
- {
5530
- "Tempo da cirurgia": "12",
5531
- percent: 0.24,
5532
- Peso: 114
5533
- },
5534
- {
5535
- "Tempo da cirurgia": "13",
5536
- percent: 0.25,
5537
- Peso: 112.5
5538
- },
5539
- {
5540
- "Tempo da cirurgia": "14",
5541
- percent: 0.25,
5542
- Peso: 112.5
5543
- },
5544
- {
5545
- "Tempo da cirurgia": "15",
5546
- percent: 0.26,
5547
- Peso: 111
5548
- },
5549
- {
5550
- "Tempo da cirurgia": "16",
5551
- percent: 0.26,
5552
- Peso: 111
5553
- },
5554
- {
5555
- "Tempo da cirurgia": "17",
5556
- percent: 0.27,
5557
- Peso: 109.5
5558
- },
5559
- {
5560
- "Tempo da cirurgia": "18",
5561
- percent: 0.272,
5562
- Peso: 109.19999999999999
5563
- },
5564
- {
5565
- "Tempo da cirurgia": "19",
5566
- percent: 0.28,
5567
- Peso: 108
5568
- },
5569
- {
5570
- "Tempo da cirurgia": "20",
5571
- percent: 0.28,
5572
- Peso: 108
5573
- },
5574
- {
5575
- "Tempo da cirurgia": "21",
5576
- percent: 0.28,
5577
- Peso: 108
5578
- },
5579
- {
5580
- "Tempo da cirurgia": "22",
5581
- percent: 0.28,
5582
- Peso: 108
5583
- },
5584
- {
5585
- "Tempo da cirurgia": "23",
5586
- percent: 0.28,
5587
- Peso: 108
5588
- },
5589
- {
5590
- "Tempo da cirurgia": "24",
5591
- percent: 0.29,
5592
- Peso: 106.5
5593
- },
5594
- {
5595
- "Tempo da cirurgia": "25",
5596
- percent: 0.29,
5597
- Peso: 106.5
5598
- },
5599
- {
5600
- "Tempo da cirurgia": "26",
5601
- percent: 0.29,
5602
- Peso: 106.5
5603
- },
5604
- {
5605
- "Tempo da cirurgia": "27",
5606
- percent: 0.29,
5607
- Peso: 106.5
5608
- },
5609
- {
5610
- "Tempo da cirurgia": "28",
5611
- percent: 0.29,
5612
- Peso: 106.5
5613
- },
5614
- {
5615
- "Tempo da cirurgia": "29",
5616
- percent: 0.29,
5617
- Peso: 106.5
5618
- },
5619
- {
5620
- "Tempo da cirurgia": "30",
5621
- percent: 0.29,
5622
- Peso: 106.5
5623
- },
5624
- {
5625
- "Tempo da cirurgia": "31",
5626
- percent: 0.29,
5627
- Peso: 106.5
5628
- },
5629
- {
5630
- "Tempo da cirurgia": "32",
5631
- percent: 0.29,
5632
- Peso: 106.5
5633
- },
5634
- {
5635
- "Tempo da cirurgia": "33",
5636
- percent: 0.29,
5637
- Peso: 106.5
5638
- },
5639
- {
5640
- "Tempo da cirurgia": "34",
5641
- percent: 0.28,
5642
- Peso: 108
5643
- },
5644
- {
5645
- "Tempo da cirurgia": "35",
5646
- percent: 0.28,
5647
- Peso: 108
5648
- },
5649
- {
5650
- "Tempo da cirurgia": "36",
5651
- percent: 0.28,
5652
- Peso: 108
5653
- },
5654
- {
5655
- "Tempo da cirurgia": "37",
5656
- percent: 0.28,
5657
- Peso: 108
5658
- },
5659
- {
5660
- "Tempo da cirurgia": "38",
5661
- percent: 0.28,
5662
- Peso: 108
5663
- },
5664
- {
5665
- "Tempo da cirurgia": "39",
5666
- percent: 0.28,
5667
- Peso: 108
5668
- },
5669
- {
5670
- "Tempo da cirurgia": "40",
5671
- percent: 0.28,
5672
- Peso: 108
5673
- },
5674
- {
5675
- "Tempo da cirurgia": "41",
5676
- percent: 0.28,
5677
- Peso: 108
5678
- },
5679
- {
5680
- "Tempo da cirurgia": "42",
5681
- percent: 0.27,
5682
- Peso: 109.5
5683
- },
5684
- {
5685
- "Tempo da cirurgia": "43",
5686
- percent: 0.27,
5687
- Peso: 109.5
5688
- },
5689
- {
5690
- "Tempo da cirurgia": "44",
5691
- percent: 0.27,
5692
- Peso: 109.5
5693
- },
5694
- {
5695
- "Tempo da cirurgia": "45",
5696
- percent: 0.27,
5697
- Peso: 109.5
5698
- },
5699
- {
5700
- "Tempo da cirurgia": "46",
5701
- percent: 0.27,
5702
- Peso: 109.5
5703
- },
5704
- {
5705
- "Tempo da cirurgia": "47",
5706
- percent: 0.27,
5707
- Peso: 109.5
5708
- },
5709
- {
5710
- "Tempo da cirurgia": "48",
5711
- percent: 0.26,
5712
- Peso: 111
5713
- },
5714
- {
5715
- "Tempo da cirurgia": "49",
5716
- percent: 0.26,
5717
- Peso: 111
5718
- },
5719
- {
5720
- "Tempo da cirurgia": "50",
5721
- percent: 0.26,
5722
- Peso: 111
5723
- },
5724
- {
5725
- "Tempo da cirurgia": "51",
5726
- percent: 0.26,
5727
- Peso: 111
5728
- },
5729
- {
5730
- "Tempo da cirurgia": "52",
5731
- percent: 0.26,
5732
- Peso: 111
5733
- },
5734
- {
5735
- "Tempo da cirurgia": "53",
5736
- percent: 0.26,
5737
- Peso: 111
5738
- },
5739
- {
5740
- "Tempo da cirurgia": "54",
5741
- percent: 0.25,
5742
- Peso: 112.5
5743
- },
5744
- {
5745
- "Tempo da cirurgia": "55",
5746
- percent: 0.25,
5747
- Peso: 112.5
5748
- },
5749
- {
5750
- "Tempo da cirurgia": "56",
5751
- percent: 0.25,
5752
- Peso: 112.5
5753
- },
5754
- {
5755
- "Tempo da cirurgia": "57",
5756
- percent: 0.25,
5757
- Peso: 112.5
5758
- },
5759
- {
5760
- "Tempo da cirurgia": "58",
5761
- percent: 0.25,
5762
- Peso: 112.5
5763
- },
5764
- {
5765
- "Tempo da cirurgia": "59",
5766
- percent: 0.25,
5767
- Peso: 112.5
5768
- },
5769
- {
5770
- "Tempo da cirurgia": "60",
5771
- percent: 0.24,
5772
- Peso: 114
5773
- }
5774
- ],
5775
- borderColor: "rgba(246, 82, 82, 0.5)",
5776
- pointStyle: "circle",
5777
- pointRadius: 0,
5778
- pointHoverRadius: 5,
5779
- pointBorderColor: "#d0d5ec",
5780
- pointBackgroundColor: "rgba(246, 82, 82, 0.5)",
5781
- fill: "1",
5782
- tension: 0.5
5783
- },
5784
- {
5785
- label: "Média",
5786
- data: [
5787
- {
5788
- "Tempo da cirurgia": "0",
5789
- percent: 0,
5790
- Peso: 150
5791
- },
5792
- {
5793
- "Tempo da cirurgia": "1",
5794
- percent: 0.09,
5795
- Peso: 136.5
5796
- },
5797
- {
5798
- "Tempo da cirurgia": "2",
5799
- percent: 0.13,
5800
- Peso: 130.5
5801
- },
5802
- {
5803
- "Tempo da cirurgia": "3",
5804
- percent: 0.16,
5805
- Peso: 126
5806
- },
5807
- {
5808
- "Tempo da cirurgia": "4",
5809
- percent: 0.18,
5810
- Peso: 123
5811
- },
5812
- {
5813
- "Tempo da cirurgia": "5",
5814
- percent: 0.2,
5815
- Peso: 120
5816
- },
5817
- {
5818
- "Tempo da cirurgia": "6",
5819
- percent: 0.216,
5820
- Peso: 117.6
5821
- },
5822
- {
5823
- "Tempo da cirurgia": "7",
5824
- percent: 0.23,
5825
- Peso: 115.5
5826
- },
5827
- {
5828
- "Tempo da cirurgia": "8",
5829
- percent: 0.25,
5830
- Peso: 112.5
5831
- },
5832
- {
5833
- "Tempo da cirurgia": "9",
5834
- percent: 0.27,
5835
- Peso: 109.5
5836
- },
5837
- {
5838
- "Tempo da cirurgia": "10",
5839
- percent: 0.28,
5840
- Peso: 108
5841
- },
5842
- {
5843
- "Tempo da cirurgia": "11",
5844
- percent: 0.29,
5845
- Peso: 106.5
5846
- },
5847
- {
5848
- "Tempo da cirurgia": "12",
5849
- percent: 0.3,
5850
- Peso: 105
5851
- },
5852
- {
5853
- "Tempo da cirurgia": "13",
5854
- percent: 0.31,
5855
- Peso: 103.5
5856
- },
5857
- {
5858
- "Tempo da cirurgia": "14",
5859
- percent: 0.32,
5860
- Peso: 102
5861
- },
5862
- {
5863
- "Tempo da cirurgia": "15",
5864
- percent: 0.33,
5865
- Peso: 100.5
5866
- },
5867
- {
5868
- "Tempo da cirurgia": "16",
5869
- percent: 0.34,
5870
- Peso: 99
5871
- },
5872
- {
5873
- "Tempo da cirurgia": "17",
5874
- percent: 0.35,
5875
- Peso: 97.5
5876
- },
5877
- {
5878
- "Tempo da cirurgia": "18",
5879
- percent: 0.352,
5880
- Peso: 97.2
5881
- },
5882
- {
5883
- "Tempo da cirurgia": "19",
5884
- percent: 0.36,
5885
- Peso: 96
5886
- },
5887
- {
5888
- "Tempo da cirurgia": "20",
5889
- percent: 0.36,
5890
- Peso: 96
5891
- },
5892
- {
5893
- "Tempo da cirurgia": "21",
5894
- percent: 0.37,
5895
- Peso: 94.5
5896
- },
5897
- {
5898
- "Tempo da cirurgia": "22",
5899
- percent: 0.37,
5900
- Peso: 94.5
5901
- },
5902
- {
5903
- "Tempo da cirurgia": "23",
5904
- percent: 0.38,
5905
- Peso: 93
5906
- },
5907
- {
5908
- "Tempo da cirurgia": "24",
5909
- percent: 0.38,
5910
- Peso: 93
5911
- },
5912
- {
5913
- "Tempo da cirurgia": "25",
5914
- percent: 0.38,
5915
- Peso: 93
5916
- },
5917
- {
5918
- "Tempo da cirurgia": "26",
5919
- percent: 0.39,
5920
- Peso: 91.5
5921
- },
5922
- {
5923
- "Tempo da cirurgia": "27",
5924
- percent: 0.39,
5925
- Peso: 91.5
5926
- },
5927
- {
5928
- "Tempo da cirurgia": "28",
5929
- percent: 0.39,
5930
- Peso: 91.5
5931
- },
5932
- {
5933
- "Tempo da cirurgia": "29",
5934
- percent: 0.39,
5935
- Peso: 91.5
5936
- },
5937
- {
5938
- "Tempo da cirurgia": "30",
5939
- percent: 0.39,
5940
- Peso: 91.5
5941
- },
5942
- {
5943
- "Tempo da cirurgia": "31",
5944
- percent: 0.39,
5945
- Peso: 91.5
5946
- },
5947
- {
5948
- "Tempo da cirurgia": "32",
5949
- percent: 0.39,
5950
- Peso: 91.5
5951
- },
5952
- {
5953
- "Tempo da cirurgia": "33",
5954
- percent: 0.39,
5955
- Peso: 91.5
5956
- },
5957
- {
5958
- "Tempo da cirurgia": "34",
5959
- percent: 0.39,
5960
- Peso: 91.5
5961
- },
5962
- {
5963
- "Tempo da cirurgia": "35",
5964
- percent: 0.39,
5965
- Peso: 91.5
5966
- },
5967
- {
5968
- "Tempo da cirurgia": "36",
5969
- percent: 0.39,
5970
- Peso: 91.5
5971
- },
5972
- {
5973
- "Tempo da cirurgia": "37",
5974
- percent: 0.39,
5975
- Peso: 91.5
5976
- },
5977
- {
5978
- "Tempo da cirurgia": "38",
5979
- percent: 0.39,
5980
- Peso: 91.5
5981
- },
5982
- {
5983
- "Tempo da cirurgia": "39",
5984
- percent: 0.39,
5985
- Peso: 91.5
5986
- },
5987
- {
5988
- "Tempo da cirurgia": "40",
5989
- percent: 0.38,
5990
- Peso: 93
5991
- },
5992
- {
5993
- "Tempo da cirurgia": "41",
5994
- percent: 0.38,
5995
- Peso: 93
5996
- },
5997
- {
5998
- "Tempo da cirurgia": "42",
5999
- percent: 0.38,
6000
- Peso: 93
6001
- },
6002
- {
6003
- "Tempo da cirurgia": "43",
6004
- percent: 0.38,
6005
- Peso: 93
6006
- },
6007
- {
6008
- "Tempo da cirurgia": "44",
6009
- percent: 0.38,
6010
- Peso: 93
6011
- },
6012
- {
6013
- "Tempo da cirurgia": "45",
6014
- percent: 0.37,
6015
- Peso: 94.5
6016
- },
6017
- {
6018
- "Tempo da cirurgia": "46",
6019
- percent: 0.37,
6020
- Peso: 94.5
6021
- },
6022
- {
6023
- "Tempo da cirurgia": "47",
6024
- percent: 0.37,
6025
- Peso: 94.5
6026
- },
6027
- {
6028
- "Tempo da cirurgia": "48",
6029
- percent: 0.37,
6030
- Peso: 94.5
6031
- },
6032
- {
6033
- "Tempo da cirurgia": "49",
6034
- percent: 0.36,
6035
- Peso: 96
6036
- },
6037
- {
6038
- "Tempo da cirurgia": "50",
6039
- percent: 0.36,
6040
- Peso: 96
6041
- },
6042
- {
6043
- "Tempo da cirurgia": "51",
6044
- percent: 0.36,
6045
- Peso: 96
6046
- },
6047
- {
6048
- "Tempo da cirurgia": "52",
6049
- percent: 0.36,
6050
- Peso: 96
6051
- },
6052
- {
6053
- "Tempo da cirurgia": "53",
6054
- percent: 0.35,
6055
- Peso: 97.5
6056
- },
6057
- {
6058
- "Tempo da cirurgia": "54",
6059
- percent: 0.35,
6060
- Peso: 97.5
6061
- },
6062
- {
6063
- "Tempo da cirurgia": "55",
6064
- percent: 0.35,
6065
- Peso: 97.5
6066
- },
6067
- {
6068
- "Tempo da cirurgia": "56",
6069
- percent: 0.34,
6070
- Peso: 99
6071
- },
6072
- {
6073
- "Tempo da cirurgia": "57",
6074
- percent: 0.34,
6075
- Peso: 99
6076
- },
6077
- {
6078
- "Tempo da cirurgia": "58",
6079
- percent: 0.34,
6080
- Peso: 99
6081
- },
6082
- {
6083
- "Tempo da cirurgia": "59",
6084
- percent: 0.33,
6085
- Peso: 100.5
6086
- },
6087
- {
6088
- "Tempo da cirurgia": "60",
6089
- percent: 0.33,
6090
- Peso: 100.5
6091
- }
6092
- ],
6093
- borderWidth: 1,
6094
- borderColor: "blue",
6095
- spanGaps: true,
6096
- pointStyle: false,
6097
- tension: 0.5
6098
- }
6099
- ],
6100
- formulaToDatasetsBackground: "'${BARIATRICO_TIPO_CIRURGIA}' === 'BY_PASS' ? [ { label: 'Máximo', data: [ { 'Tempo da cirurgia': '0', percent: 0, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '1', percent: 0.115, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.115 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '2', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '3', percent: 0.184, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.184 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '4', percent: 0.21, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.21 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '5', percent: 0.23, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.23 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '6', percent: 0.252, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.252 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '7', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '8', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '9', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '10', percent: 0.32, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.32 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '11', percent: 0.33, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.33 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '12', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '13', percent: 0.35, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.35 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '14', percent: 0.36, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.36 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '15', percent: 0.37, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.37 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '16', percent: 0.38, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.38 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '17', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '18', percent: 0.396, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.396 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '19', percent: 0.4, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.4 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '20', percent: 0.41, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.41 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '21', percent: 0.41, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.41 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '22', percent: 0.41, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.41 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '23', percent: 0.42, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.42 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '24', percent: 0.42, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.42 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '25', percent: 0.42, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.42 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '26', percent: 0.43, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.43 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '27', percent: 0.43, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.43 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '28', percent: 0.43, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.43 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '29', percent: 0.43, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.43 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '30', percent: 0.43, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.43 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '31', percent: 0.43, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.43 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '32', percent: 0.43, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.43 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '33', percent: 0.43, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.43 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '34', percent: 0.43, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.43 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '35', percent: 0.43, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.43 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '36', percent: 0.43, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.43 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '37', percent: 0.43, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.43 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '38', percent: 0.42, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.42 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '39', percent: 0.42, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.42 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '40', percent: 0.42, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.42 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '41', percent: 0.42, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.42 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '42', percent: 0.42, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.42 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '43', percent: 0.41, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.41 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '44', percent: 0.41, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.41 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '45', percent: 0.41, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.41 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '46', percent: 0.41, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.41 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '47', percent: 0.4, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.4 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '48', percent: 0.4, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.4 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '49', percent: 0.4, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.4 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '50', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '51', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '52', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '53', percent: 0.38, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.38 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '54', percent: 0.38, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.38 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '55', percent: 0.38, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.38 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '56', percent: 0.37, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.37 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '57', percent: 0.37, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.37 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '58', percent: 0.37, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.37 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '59', percent: 0.36, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.36 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '60', percent: 0.36, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.36 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, ], borderColor: 'rgba(82, 246, 159, 0.5)', pointStyle: 'circle', pointRadius: 0, pointHoverRadius: 5, pointBorderColor: '#d0d5ec', pointBackgroundColor: 'rgba(82, 246, 159, 0.5)', fill: '1', tension: 0.5, }, { label: 'Mínimo', data: [ { 'Tempo da cirurgia': '0', percent: 0, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '1', percent: 0.065, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.065 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '2', percent: 0.1, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.1 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '3', percent: 0.124, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.124 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '4', percent: 0.14, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.14 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '5', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '6', percent: 0.176, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.176 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '7', percent: 0.19, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.19 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '8', percent: 0.2, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.2 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '9', percent: 0.21, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.21 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '10', percent: 0.22, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.22 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '11', percent: 0.23, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.23 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '12', percent: 0.24, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.24 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '13', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '14', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '15', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '16', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '17', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '18', percent: 0.272, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.272 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '19', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '20', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '21', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '22', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '23', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '24', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '25', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '26', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '27', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '28', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '29', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '30', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '31', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '32', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '33', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '34', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '35', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '36', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '37', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '38', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '39', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '40', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '41', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '42', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '43', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '44', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '45', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '46', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '47', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '48', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '49', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '50', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '51', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '52', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '53', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '54', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '55', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '56', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '57', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '58', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '59', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '60', percent: 0.24, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.24 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, ], borderColor: 'rgba(246, 82, 82, 0.5)', pointStyle: 'circle', pointRadius: 0, pointHoverRadius: 5, pointBorderColor: '#d0d5ec', pointBackgroundColor: 'rgba(246, 82, 82, 0.5)', fill: '1', tension: 0.5, }, { label: 'Média', data: [ { 'Tempo da cirurgia': '0', percent: 0, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '1', percent: 0.09, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.09 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '2', percent: 0.13, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.13 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '3', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '4', percent: 0.18, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.18 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '5', percent: 0.2, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.2 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '6', percent: 0.216, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.216 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '7', percent: 0.23, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.23 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '8', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '9', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '10', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '11', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '12', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '13', percent: 0.31, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.31 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '14', percent: 0.32, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.32 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '15', percent: 0.33, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.33 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '16', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '17', percent: 0.35, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.35 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '18', percent: 0.352, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.352 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '19', percent: 0.36, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.36 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '20', percent: 0.36, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.36 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '21', percent: 0.37, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.37 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '22', percent: 0.37, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.37 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '23', percent: 0.38, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.38 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '24', percent: 0.38, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.38 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '25', percent: 0.38, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.38 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '26', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '27', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '28', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '29', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '30', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '31', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '32', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '33', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '34', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '35', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '36', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '37', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '38', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '39', percent: 0.39, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.39 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '40', percent: 0.38, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.38 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '41', percent: 0.38, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.38 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '42', percent: 0.38, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.38 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '43', percent: 0.38, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.38 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '44', percent: 0.38, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.38 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '45', percent: 0.37, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.37 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '46', percent: 0.37, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.37 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '47', percent: 0.37, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.37 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '48', percent: 0.37, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.37 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '49', percent: 0.36, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.36 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '50', percent: 0.36, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.36 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '51', percent: 0.36, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.36 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '52', percent: 0.36, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.36 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '53', percent: 0.35, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.35 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '54', percent: 0.35, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.35 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '55', percent: 0.35, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.35 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '56', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '57', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '58', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '59', percent: 0.33, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.33 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '60', percent: 0.33, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.33 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, ], borderWidth: 1, borderColor: 'blue', spanGaps: true, pointStyle: false, tension: 0.5, }, ] : '${BARIATRICO_TIPO_CIRURGIA}' === 'SLEEVE' ? [ { label: 'Máximo', data: [ { 'Tempo da cirurgia': '0', percent: 0, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '1', percent: 0.1, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.1 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '2', percent: 0.15, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.15 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '3', percent: 0.19, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.19 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '4', percent: 0.22, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.22 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '5', percent: 0.24, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.24 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '6', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '7', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '8', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '9', percent: 0.31, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.31 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '10', percent: 0.32, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.32 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '11', percent: 0.32, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.32 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '12', percent: 0.33, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.33 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '13', percent: 0.33, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.33 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '14', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '15', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '16', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '17', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '18', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '19', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '20', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '21', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '22', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '23', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '24', percent: 0.34, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.34 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '25', percent: 0.33, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.33 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '26', percent: 0.33, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.33 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '27', percent: 0.33, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.33 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '28', percent: 0.33, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.33 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '29', percent: 0.32, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.32 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '30', percent: 0.32, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.32 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '31', percent: 0.32, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.32 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '32', percent: 0.32, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.32 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '33', percent: 0.32, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.32 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '34', percent: 0.31, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.31 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '35', percent: 0.31, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.31 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '36', percent: 0.31, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.31 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '37', percent: 0.31, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.31 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '38', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '39', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '40', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '41', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '42', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '43', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '44', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '45', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '46', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '47', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '48', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '49', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '50', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '51', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '52', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '53', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '54', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '55', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '56', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '57', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '58', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '59', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '60', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, ], borderColor: 'rgba(82, 246, 159, 0.5)', pointStyle: 'circle', pointRadius: 0, pointHoverRadius: 5, pointBorderColor: '#d0d5ec', pointBackgroundColor: 'rgba(82, 246, 159, 0.5)', fill: '1', tension: 0.5, }, { label: 'Mínimo', data: [ { 'Tempo da cirurgia': '0', percent: 0, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '1', percent: 0.05, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.05 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '2', percent: 0.1, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.1 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '3', percent: 0.13, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.13 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '4', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '5', percent: 0.18, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.18 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '6', percent: 0.19, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.19 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '7', percent: 0.2, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.2 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '8', percent: 0.21, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.21 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '9', percent: 0.22, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.22 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '10', percent: 0.22, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.22 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '11', percent: 0.22, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.22 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '12', percent: 0.23, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.23 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '13', percent: 0.23, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.23 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '14', percent: 0.23, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.23 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '15', percent: 0.22, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.22 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '16', percent: 0.22, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.22 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '17', percent: 0.22, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.22 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '18', percent: 0.22, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.22 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '19', percent: 0.21, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.21 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '20', percent: 0.21, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.21 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '21', percent: 0.21, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.21 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '22', percent: 0.21, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.21 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '23', percent: 0.2, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.2 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '24', percent: 0.2, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.2 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '25', percent: 0.2, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.2 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '26', percent: 0.19, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.19 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '27', percent: 0.19, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.19 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '28', percent: 0.19, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.19 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '29', percent: 0.19, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.19 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '30', percent: 0.18, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.18 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '31', percent: 0.18, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.18 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '32', percent: 0.18, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.18 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '33', percent: 0.18, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.18 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '34', percent: 0.18, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.18 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '35', percent: 0.17, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.17 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '36', percent: 0.17, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.17 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '37', percent: 0.17, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.17 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '38', percent: 0.17, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.17 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '39', percent: 0.17, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.17 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '40', percent: 0.17, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.17 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '41', percent: 0.17, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.17 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '42', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '43', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '44', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '45', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '46', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '47', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '48', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '49', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '50', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '51', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '52', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '53', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '54', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '55', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '56', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '57', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '58', percent: 0.15, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.15 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '59', percent: 0.15, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.15 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '60', percent: 0.15, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.15 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, ], borderColor: 'rgba(246, 82, 82, 0.5)', pointStyle: 'circle', pointRadius: 0, pointHoverRadius: 5, pointBorderColor: '#d0d5ec', pointBackgroundColor: 'rgba(246, 82, 82, 0.5)', fill: '1', tension: 0.5, }, { label: 'Média', data: [ { 'Tempo da cirurgia': '0', percent: 0, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '1', percent: 0.08, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.08 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '2', percent: 0.13, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.13 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '3', percent: 0.16, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.16 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '4', percent: 0.19, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.19 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '5', percent: 0.21, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.21 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '6', percent: 0.23, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.23 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '7', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '8', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '9', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '10', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '11', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '12', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '13', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '14', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '15', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '16', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '17', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '18', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '19', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '20', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '21', percent: 0.3, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.3 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '22', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '23', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '24', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '25', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '26', percent: 0.29, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.29 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '27', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '28', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '29', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '30', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '31', percent: 0.28, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.28 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '32', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '33', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '34', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '35', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '36', percent: 0.27, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.27 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '37', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '38', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '39', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '40', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '41', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '42', percent: 0.26, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.26 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '43', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '44', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '45', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '46', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '47', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '48', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '49', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '50', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '51', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '52', percent: 0.25, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.25 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '53', percent: 0.24, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.24 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '54', percent: 0.24, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.24 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '55', percent: 0.24, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.24 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '56', percent: 0.24, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.24 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '57', percent: 0.24, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.24 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '58', percent: 0.24, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.24 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '59', percent: 0.24, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.24 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, { 'Tempo da cirurgia': '60', percent: 0.24, 'Peso': Number('${BARIATRICO_PESO_NA_CIRURGIA}') - 0.24 * Number('${BARIATRICO_PESO_NA_CIRURGIA}') }, ], borderWidth: 1, borderColor: 'blue', spanGaps: true, pointStyle: false, tension: 0.5, }, ] : []",
6101
- datasetPersonal: [
6102
- {
6103
- codesToData: ["CURRENT_WEIGHT", "BARIATRICO_TEMPO_CIRURGIA"],
6104
- dataset: {
6105
- label: "Você",
6106
- data: [
6107
- {
6108
- Peso: 81,
6109
- "Tempo da cirurgia": 2
6110
- },
6111
- {
6112
- Peso: 81,
6113
- "Tempo da cirurgia": 2
6114
- },
6115
- {
6116
- Peso: 81,
6117
- "Tempo da cirurgia": 2
6118
- },
6119
- {
6120
- Peso: 81,
6121
- "": ""
6122
- },
6123
- {
6124
- Peso: 80,
6125
- "": ""
6126
- },
6127
- {
6128
- Peso: 81,
6129
- "Tempo da cirurgia": 2
6130
- },
6131
- {
6132
- Peso: 81,
6133
- "Tempo da cirurgia": 2
6134
- },
6135
- {
6136
- Peso: 81,
6137
- "Tempo da cirurgia": 2
6138
- }
6139
- ],
6140
- borderDash: [5, 3],
6141
- borderWidth: 1,
6142
- borderColor: "black",
6143
- spanGaps: true,
6144
- pointStyle: "circle",
6145
- pointRadius: 2,
6146
- pointHoverRadius: 7,
6147
- pointBorderColor: "red",
6148
- pointBackgroundColor: "red",
6149
- backgroundColor: "red",
6150
- order: 1
6151
- },
6152
- lastPoint: {
6153
- Peso: "81",
6154
- "Tempo da cirurgia": 2
6155
- }
6156
- }
6157
- ]
6158
- },
6159
- options: [],
6160
- tips: [],
6161
- createdAtDateTime: "2025-12-09T17:43:50.855Z",
6162
- updatedAtDateTime: "2025-12-09T17:43:50.855Z",
6163
- __v: 0,
6164
- enable: true,
6165
- lineId: "63da79a1-34fd-41c1-9d00-3212b3445f0e"
4739
+ lineId: "6e62b6a4-e94d-495d-8fd8-da3d854b4109"
6166
4740
  }
6167
4741
  ]
6168
4742
  },
6169
4743
  {
6170
- id: "8174e11c-479a-4734-9eec-a62dfc6a2a08",
4744
+ id: "2f22cf7d-46ea-4165-a9a3-e083ddf5d903",
6171
4745
  line: 162,
6172
4746
  collumns: [
6173
4747
  {
@@ -6196,14 +4770,14 @@ const allLines = [
6196
4770
  createdAtDateTime: "2025-12-12T14:52:34.118Z",
6197
4771
  updatedAtDateTime: "2025-12-12T14:52:34.118Z",
6198
4772
  __v: 0,
6199
- answer: 0.16169293852404198,
4773
+ answer: null,
6200
4774
  enable: true,
6201
- lineId: "8174e11c-479a-4734-9eec-a62dfc6a2a08"
4775
+ lineId: "2f22cf7d-46ea-4165-a9a3-e083ddf5d903"
6202
4776
  }
6203
4777
  ]
6204
4778
  },
6205
4779
  {
6206
- id: "6302862f-2077-405c-8da2-c0a29c7d044c",
4780
+ id: "10f104bd-bc84-45d4-ae81-7d711c4908f7",
6207
4781
  line: 163,
6208
4782
  collumns: [
6209
4783
  {
@@ -6234,12 +4808,12 @@ const allLines = [
6234
4808
  __v: 0,
6235
4809
  answer: null,
6236
4810
  enable: true,
6237
- lineId: "6302862f-2077-405c-8da2-c0a29c7d044c"
4811
+ lineId: "10f104bd-bc84-45d4-ae81-7d711c4908f7"
6238
4812
  }
6239
4813
  ]
6240
4814
  },
6241
4815
  {
6242
- id: "16b69536-fe90-4ddb-8a65-cb7c3d286855",
4816
+ id: "c87e9b18-9e05-43c8-9774-47887c358170",
6243
4817
  line: 164,
6244
4818
  collumns: [
6245
4819
  {
@@ -6269,13 +4843,12 @@ const allLines = [
6269
4843
  updatedAtDateTime: "2025-12-12T15:03:40.264Z",
6270
4844
  __v: 0,
6271
4845
  enable: true,
6272
- lineId: "16b69536-fe90-4ddb-8a65-cb7c3d286855",
6273
- answer: null
4846
+ lineId: "c87e9b18-9e05-43c8-9774-47887c358170"
6274
4847
  }
6275
4848
  ]
6276
4849
  },
6277
4850
  {
6278
- id: "55985647-ce39-4750-98ea-0021bfc79700",
4851
+ id: "e502a2da-80e6-43d8-b103-16c868d00210",
6279
4852
  line: 165,
6280
4853
  collumns: [
6281
4854
  {
@@ -6304,14 +4877,14 @@ const allLines = [
6304
4877
  createdAtDateTime: "2025-12-12T18:50:37.198Z",
6305
4878
  updatedAtDateTime: "2025-12-12T18:50:37.198Z",
6306
4879
  __v: 0,
6307
- answer: 0.19162894658668428,
4880
+ answer: -4.5,
6308
4881
  enable: true,
6309
- lineId: "55985647-ce39-4750-98ea-0021bfc79700"
4882
+ lineId: "e502a2da-80e6-43d8-b103-16c868d00210"
6310
4883
  }
6311
4884
  ]
6312
4885
  },
6313
4886
  {
6314
- id: "4d37772a-79a7-4704-80bc-67310da2a3ff",
4887
+ id: "e3c5b088-6613-46e6-9d6d-a10352f81d3a",
6315
4888
  line: 166,
6316
4889
  collumns: [
6317
4890
  {
@@ -6342,12 +4915,12 @@ const allLines = [
6342
4915
  __v: 0,
6343
4916
  answer: null,
6344
4917
  enable: true,
6345
- lineId: "4d37772a-79a7-4704-80bc-67310da2a3ff"
4918
+ lineId: "e3c5b088-6613-46e6-9d6d-a10352f81d3a"
6346
4919
  }
6347
4920
  ]
6348
4921
  },
6349
4922
  {
6350
- id: "cd486a09-ff4b-4035-b21a-574e8ca09185",
4923
+ id: "8e22d33f-c67c-4369-ac0e-9eca921866ba",
6351
4924
  line: 167,
6352
4925
  collumns: [
6353
4926
  {
@@ -6378,12 +4951,12 @@ const allLines = [
6378
4951
  __v: 0,
6379
4952
  answer: null,
6380
4953
  enable: true,
6381
- lineId: "cd486a09-ff4b-4035-b21a-574e8ca09185"
4954
+ lineId: "8e22d33f-c67c-4369-ac0e-9eca921866ba"
6382
4955
  }
6383
4956
  ]
6384
4957
  },
6385
4958
  {
6386
- id: "fdf4ab1b-45f6-40f2-ac21-1ec386816516",
4959
+ id: "8b2227ca-332f-4bb4-839e-0be6281ed6fe",
6387
4960
  line: 168,
6388
4961
  collumns: [
6389
4962
  {
@@ -6414,7 +4987,7 @@ const allLines = [
6414
4987
  __v: 0,
6415
4988
  answer: null,
6416
4989
  enable: true,
6417
- lineId: "fdf4ab1b-45f6-40f2-ac21-1ec386816516"
4990
+ lineId: "8b2227ca-332f-4bb4-839e-0be6281ed6fe"
6418
4991
  }
6419
4992
  ]
6420
4993
  }