-
Notifications
You must be signed in to change notification settings - Fork 0
/
CAOS_Medical_Lab_20210503.py
903 lines (678 loc) · 19.8 KB
/
CAOS_Medical_Lab_20210503.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
#
# DB Script Tool
# Python - 2021-05-03 17:11:25
#
# MODEL CLASSES FOR CAOS_Medical_Lab DATABASE
#
# CAOS.py -------------------------------------
from datetime import datetime, date
#
# Python - Model Class - CAOS_Medical_Lab.CAOS
# 2021-03-02 16:03:55
#
class CAOS(Object):
#
# Constructor
#
# Example:
# myCAOS = CAOS( val1, val2,.. )
#
def __init__(self, _id = None, chemspider = None, volume = None, water = None, urineph = None, animalmodels = None, chimpanzeeanimalmodels = None, batanimalmodels = None, temperaturedegreescelsius = None, sodium = None, glucose = None, molecularweight = None):
self.___id = _id
self.__chemspider = chemspider
self.__volume = volume
self.__water = water
self.__urineph = urineph
self.__animalmodels = animalmodels
self.__chimpanzeeanimalmodels = chimpanzeeanimalmodels
self.__batanimalmodels = batanimalmodels
self.__temperaturedegreescelsius = temperaturedegreescelsius
self.__sodium = sodium
self.__glucose = glucose
self.__molecularweight = molecularweight
#
# Properties
#
@property
def _id(self):
return self.___id
@_id.setter
def _id(self, _id):
self.___id = _id
@property
def chemspider(self):
return self.__chemspider
@chemspider.setter
def chemspider(self, chemspider):
self.__chemspider = chemspider
@property
def volume(self):
return self.__volume
@volume.setter
def volume(self, volume):
self.__volume = volume
@property
def water(self):
return self.__water
@water.setter
def water(self, water):
self.__water = water
@property
def urineph(self):
return self.__urineph
@urineph.setter
def urineph(self, urineph):
self.__urineph = urineph
@property
def animalmodels(self):
return self.__animalmodels
@animalmodels.setter
def animalmodels(self, animalmodels):
self.__animalmodels = animalmodels
@property
def chimpanzeeanimalmodels(self):
return self.__chimpanzeeanimalmodels
@chimpanzeeanimalmodels.setter
def chimpanzeeanimalmodels(self, chimpanzeeanimalmodels):
self.__chimpanzeeanimalmodels = chimpanzeeanimalmodels
@property
def batanimalmodels(self):
return self.__batanimalmodels
@batanimalmodels.setter
def batanimalmodels(self, batanimalmodels):
self.__batanimalmodels = batanimalmodels
@property
def temperaturedegreescelsius(self):
return self.__temperaturedegreescelsius
@temperaturedegreescelsius.setter
def temperaturedegreescelsius(self, temperaturedegreescelsius):
self.__temperaturedegreescelsius = temperaturedegreescelsius
@property
def sodium(self):
return self.__sodium
@sodium.setter
def sodium(self, sodium):
self.__sodium = sodium
@property
def glucose(self):
return self.__glucose
@glucose.setter
def glucose(self, glucose):
self.__glucose = glucose
@property
def molecularweight(self):
return self.__molecularweight
@molecularweight.setter
def molecularweight(self, molecularweight):
self.__molecularweight = molecularweight
#
# Methods
#
def __str__ (self):
return ""
# IMHOTEP_Bizarros.py -------------------------------------
from datetime import datetime, date
#
# Python - Model Class - CAOS_Medical_Lab.IMHOTEP_Bizarros
# 2021-03-02 16:20:32
#
class IMHOTEP_Bizarros(Object):
#
# Constructor
#
# Example:
# myIMHOTEP_Bizarros = IMHOTEP_Bizarros( val1, val2,.. )
#
def __init__(self, _id = None, hospital = None, clinic = None, patient = None, diagnosis = None, diabetes = None, prediabetes = None, acutenephritis = None, type1diabetes = None, type2diabetes = None, hypertension = None, patientheight = None, patientweight = None):
self.___id = _id
self.__hospital = hospital
self.__clinic = clinic
self.__patient = patient
self.__diagnosis = diagnosis
self.__diabetes = diabetes
self.__prediabetes = prediabetes
self.__acutenephritis = acutenephritis
self.__type1diabetes = type1diabetes
self.__type2diabetes = type2diabetes
self.__hypertension = hypertension
self.__patientheight = patientheight
self.__patientweight = patientweight
#
# Properties
#
@property
def _id(self):
return self.___id
@_id.setter
def _id(self, _id):
self.___id = _id
@property
def hospital(self):
return self.__hospital
@hospital.setter
def hospital(self, hospital):
self.__hospital = hospital
@property
def clinic(self):
return self.__clinic
@clinic.setter
def clinic(self, clinic):
self.__clinic = clinic
@property
def patient(self):
return self.__patient
@patient.setter
def patient(self, patient):
self.__patient = patient
@property
def diagnosis(self):
return self.__diagnosis
@diagnosis.setter
def diagnosis(self, diagnosis):
self.__diagnosis = diagnosis
@property
def diabetes(self):
return self.__diabetes
@diabetes.setter
def diabetes(self, diabetes):
self.__diabetes = diabetes
@property
def prediabetes(self):
return self.__prediabetes
@prediabetes.setter
def prediabetes(self, prediabetes):
self.__prediabetes = prediabetes
@property
def acutenephritis(self):
return self.__acutenephritis
@acutenephritis.setter
def acutenephritis(self, acutenephritis):
self.__acutenephritis = acutenephritis
@property
def type1diabetes(self):
return self.__type1diabetes
@type1diabetes.setter
def type1diabetes(self, type1diabetes):
self.__type1diabetes = type1diabetes
@property
def type2diabetes(self):
return self.__type2diabetes
@type2diabetes.setter
def type2diabetes(self, type2diabetes):
self.__type2diabetes = type2diabetes
@property
def hypertension(self):
return self.__hypertension
@hypertension.setter
def hypertension(self, hypertension):
self.__hypertension = hypertension
@property
def patientheight(self):
return self.__patientheight
@patientheight.setter
def patientheight(self, patientheight):
self.__patientheight = patientheight
@property
def patientweight(self):
return self.__patientweight
@patientweight.setter
def patientweight(self, patientweight):
self.__patientweight = patientweight
#
# Methods
#
def __str__ (self):
return ""
# GENE_CRISpy.py -------------------------------------
from datetime import datetime, date
#
# Python - Model Class - CAOS_Medical_Lab.GENE_CRISpy
#
#
class GENE_CRISpy(Object):
#
# Constructor
#
# Example:
# myGENE_CRISpy = GENE_CRISpy( val1, val2,.. )
#
def __init__(self, _id = None, gene = None, virus = None, cancer = None, protein = None, humancellmodel = None, coronavirus = None, sarscov2 = None, kidneystones = None, pneumonia = None, humanenzymes = None, ghrelin = None, obestatin = None, breastcancergene = None, disease = None, cardiovasculardisease = None, grampositivestain = None, gramnegativestain = None, denaturation = None, dna = None, rna = None, lcarnitine = None, aminoacid = None, kyotoencyclopediagenesgenomes = None):
self.___id = _id
self.__gene = gene
self.__virus = virus
self.__cancer = cancer
self.__protein = protein
self.__humancellmodel = humancellmodel
self.__coronavirus = coronavirus
self.__sarscov2 = sarscov2
self.__kidneystones = kidneystones
self.__pneumonia = pneumonia
self.__humanenzymes = humanenzymes
self.__ghrelin = ghrelin
self.__obestatin = obestatin
self.__breastcancergene = breastcancergene
self.__disease = disease
self.__cardiovasculardisease = cardiovasculardisease
self.__grampositivestain = grampositivestain
self.__gramnegativestain = gramnegativestain
self.__denaturation = denaturation
self.__dna = dna
self.__rna = rna
self.__lcarnitine = lcarnitine
self.__aminoacid = aminoacid
self.__kyotoencyclopediagenesgenomes = kyotoencyclopediagenesgenomes
#
# Properties
#
@property
def _id(self):
return self.___id
@_id.setter
def _id(self, _id):
self.___id = _id
@property
def gene(self):
return self.__gene
@gene.setter
def gene(self, gene):
self.__gene = gene
@property
def virus(self):
return self.__virus
@virus.setter
def virus(self, virus):
self.__virus = virus
@property
def cancer(self):
return self.__cancer
@cancer.setter
def cancer(self, cancer):
self.__cancer = cancer
@property
def protein(self):
return self.__protein
@protein.setter
def protein(self, protein):
self.__protein = protein
@property
def humancellmodel(self):
return self.__humancellmodel
@humancellmodel.setter
def humancellmodel(self, humancellmodel):
self.__humancellmodel = humancellmodel
@property
def coronavirus(self):
return self.__coronavirus
@coronavirus.setter
def coronavirus(self, coronavirus):
self.__coronavirus = coronavirus
@property
def sarscov2(self):
return self.__sarscov2
@sarscov2.setter
def sarscov2(self, sarscov2):
self.__sarscov2 = sarscov2
@property
def kidneystones(self):
return self.__kidneystones
@kidneystones.setter
def kidneystones(self, kidneystones):
self.__kidneystones = kidneystones
@property
def pneumonia(self):
return self.__pneumonia
@pneumonia.setter
def pneumonia(self, pneumonia):
self.__pneumonia = pneumonia
@property
def humanenzymes(self):
return self.__humanenzymes
@humanenzymes.setter
def humanenzymes(self, humanenzymes):
self.__humanenzymes = humanenzymes
@property
def ghrelin(self):
return self.__ghrelin
@ghrelin.setter
def ghrelin(self, ghrelin):
self.__ghrelin = ghrelin
@property
def obestatin(self):
return self.__obestatin
@obestatin.setter
def obestatin(self, obestatin):
self.__obestatin = obestatin
@property
def breastcancergene(self):
return self.__breastcancergene
@breastcancergene.setter
def breastcancergene(self, breastcancergene):
self.__breastcancergene = breastcancergene
@property
def disease(self):
return self.__disease
@disease.setter
def disease(self, disease):
self.__disease = disease
@property
def cardiovasculardisease(self):
return self.__cardiovasculardisease
@cardiovasculardisease.setter
def cardiovasculardisease(self, cardiovasculardisease):
self.__cardiovasculardisease = cardiovasculardisease
@property
def grampositivestain(self):
return self.__grampositivestain
@grampositivestain.setter
def grampositivestain(self, grampositivestain):
self.__grampositivestain = grampositivestain
@property
def gramnegativestain(self):
return self.__gramnegativestain
@gramnegativestain.setter
def gramnegativestain(self, gramnegativestain):
self.__gramnegativestain = gramnegativestain
@property
def denaturation(self):
return self.__denaturation
@denaturation.setter
def denaturation(self, denaturation):
self.__denaturation = denaturation
@property
def dna(self):
return self.__dna
@dna.setter
def dna(self, dna):
self.__dna = dna
@property
def rna(self):
return self.__rna
@rna.setter
def rna(self, rna):
self.__rna = rna
@property
def lcarnitine(self):
return self.__lcarnitine
@lcarnitine.setter
def lcarnitine(self, lcarnitine):
self.__lcarnitine = lcarnitine
@property
def aminoacid(self):
return self.__aminoacid
@aminoacid.setter
def aminoacid(self, aminoacid):
self.__aminoacid = aminoacid
@property
def kyotoencyclopediagenesgenomes(self):
return self.__kyotoencyclopediagenesgenomes
@kyotoencyclopediagenesgenomes.setter
def kyotoencyclopediagenesgenomes(self, kyotoencyclopediagenesgenomes):
self.__kyotoencyclopediagenesgenomes = kyotoencyclopediagenesgenomes
#
# Methods
#
def __str__ (self):
return ""
# ED_T_DOIDE.py -------------------------------------
from datetime import datetime, date
#
# Python - Model Class - CAOS_Medical_Lab.ED_T_DOIDE
#
#
class ED_T_DOIDE(Object):
#
# Constructor
#
# Example:
# myED_T_DOIDE = ED_T_DOIDE( val1, val2,.. )
#
def __init__(self, _id = None, nutritionix = None, mcdata = None, kentuckyfriedchicken = None, dominospizza = None, edamam = None, houndify = None):
self.___id = _id
self.__nutritionix = nutritionix
self.__mcdata = mcdata
self.__kentuckyfriedchicken = kentuckyfriedchicken
self.__dominospizza = dominospizza
self.__edamam = edamam
self.__houndify = houndify
#
# Properties
#
@property
def _id(self):
return self.___id
@_id.setter
def _id(self, _id):
self.___id = _id
@property
def nutritionix(self):
return self.__nutritionix
@nutritionix.setter
def nutritionix(self, nutritionix):
self.__nutritionix = nutritionix
@property
def mcdata(self):
return self.__mcdata
@mcdata.setter
def mcdata(self, mcdata):
self.__mcdata = mcdata
@property
def kentuckyfriedchicken(self):
return self.__kentuckyfriedchicken
@kentuckyfriedchicken.setter
def kentuckyfriedchicken(self, kentuckyfriedchicken):
self.__kentuckyfriedchicken = kentuckyfriedchicken
@property
def dominospizza(self):
return self.__dominospizza
@dominospizza.setter
def dominospizza(self, dominospizza):
self.__dominospizza = dominospizza
@property
def edamam(self):
return self.__edamam
@edamam.setter
def edamam(self, edamam):
self.__edamam = edamam
@property
def houndify(self):
return self.__houndify
@houndify.setter
def houndify(self, houndify):
self.__houndify = houndify
#
# Methods
#
def __str__ (self):
return ""
# Hysteria_P_TRANCE.py -------------------------------------
from datetime import datetime, date
#
# Python - Model Class - CAOS_Medical_Lab.Hysteria_P_TRANCE
#
#
class Hysteria_P_TRANCE(Object):
#
# Constructor
#
# Example:
# myHysteria_P_TRANCE = Hysteria_P_TRANCE( val1, val2,.. )
#
def __init__(self, _id = None, fitbit = None, sleep = None, weight = None, heartrate = None, dailyactivity = None, waterintake = None, tictok = None, unity3d = None, cosinemudbox = None):
self.___id = _id
self.__fitbit = fitbit
self.__sleep = sleep
self.__weight = weight
self.__heartrate = heartrate
self.__dailyactivity = dailyactivity
self.__waterintake = waterintake
self.__tictok = tictok
self.__unity3d = unity3d
self.__cosinemudbox = cosinemudbox
#
# Properties
#
@property
def _id(self):
return self.___id
@_id.setter
def _id(self, _id):
self.___id = _id
@property
def fitbit(self):
return self.__fitbit
@fitbit.setter
def fitbit(self, fitbit):
self.__fitbit = fitbit
@property
def sleep(self):
return self.__sleep
@sleep.setter
def sleep(self, sleep):
self.__sleep = sleep
@property
def weight(self):
return self.__weight
@weight.setter
def weight(self, weight):
self.__weight = weight
@property
def heartrate(self):
return self.__heartrate
@heartrate.setter
def heartrate(self, heartrate):
self.__heartrate = heartrate
@property
def dailyactivity(self):
return self.__dailyactivity
@dailyactivity.setter
def dailyactivity(self, dailyactivity):
self.__dailyactivity = dailyactivity
@property
def waterintake(self):
return self.__waterintake
@waterintake.setter
def waterintake(self, waterintake):
self.__waterintake = waterintake
@property
def tictok(self):
return self.__tictok
@tictok.setter
def tictok(self, tictok):
self.__tictok = tictok
@property
def unity3d(self):
return self.__unity3d
@unity3d.setter
def unity3d(self, unity3d):
self.__unity3d = unity3d
@property
def cosinemudbox(self):
return self.__cosinemudbox
@cosinemudbox.setter
def cosinemudbox(self, cosinemudbox):
self.__cosinemudbox = cosinemudbox
#
# Methods
#
def __str__ (self):
return ""
# Dexcom.py -------------------------------------
from datetime import datetime, date
#
# Python - Model Class - CAOS_Medical_Lab.Dexcom
#
#
class Dexcom(Object):
#
# Constructor
#
# Example:
# myDexcom = Dexcom( val1, val2,.. )
#
def __init__(self, _id = None, devices = None, event = None, calibrations = None):
self.___id = _id
self.__devices = devices
self.__event = event
self.__calibrations = calibrations
#
# Properties
#
@property
def _id(self):
return self.___id
@_id.setter
def _id(self, _id):
self.___id = _id
@property
def devices(self):
return self.__devices
@devices.setter
def devices(self, devices):
self.__devices = devices
@property
def event(self):
return self.__event
@event.setter
def event(self, event):
self.__event = event
@property
def calibrations(self):
return self.__calibrations
@calibrations.setter
def calibrations(self, calibrations):
self.__calibrations = calibrations
#
# Methods
#
def __str__ (self):
return ""
# Sifidious.py -------------------------------------
from datetime import datetime, date
#
# Python - Model Class - CAOS_Medical_Lab.Sifidious
#
#
class Sifidious(Object):
#
# Constructor
#
# Example:
# mySifidious = Sifidious( val1, val2,.. )
#
def __init__(self, _id = None, picturehumanmodelsubjects = None, pictureAnimalModels = None, witai = None):
self.___id = _id
self.__picturehumanmodelsubjects = picturehumanmodelsubjects
self.__pictureAnimalModels = pictureAnimalModels
self.__witai = witai
#
# Properties
#
@property
def _id(self):
return self.___id
@_id.setter
def _id(self, _id):
self.___id = _id
@property
def picturehumanmodelsubjects(self):
return self.__picturehumanmodelsubjects
@picturehumanmodelsubjects.setter
def picturehumanmodelsubjects(self, picturehumanmodelsubjects):
self.__picturehumanmodelsubjects = picturehumanmodelsubjects
@property
def pictureAnimalModels(self):
return self.__pictureAnimalModels
@pictureAnimalModels.setter
def pictureAnimalModels(self, pictureAnimalModels):
self.__pictureAnimalModels = pictureAnimalModels
@property
def witai(self):
return self.__witai
@witai.setter
def witai(self, witai):
self.__witai = witai
#
# Methods
#
def __str__ (self):
return ""