|
28 | 28 | import com.j256.ormlite.field.DatabaseField;
|
29 | 29 | import com.j256.ormlite.table.DatabaseTable;
|
30 | 30 |
|
| 31 | +import de.symeda.sormas.api.symptoms.ClinicalPresentationStatus; |
31 | 32 | import de.symeda.sormas.api.symptoms.CongenitalHeartDiseaseType;
|
| 33 | +import de.symeda.sormas.api.symptoms.DiagnosisType; |
| 34 | +import de.symeda.sormas.api.symptoms.InfectionSite; |
32 | 35 | import de.symeda.sormas.api.symptoms.SymptomState;
|
33 | 36 | import de.symeda.sormas.api.symptoms.TemperatureSource;
|
34 | 37 | import de.symeda.sormas.api.utils.YesNoUnknown;
|
@@ -87,6 +90,49 @@ public class Symptoms extends PseudonymizableAdo {
|
87 | 90 | @Column
|
88 | 91 | private Integer glasgowComaScale;
|
89 | 92 |
|
| 93 | + @Enumerated(EnumType.STRING) |
| 94 | + private SymptomState apnoea; |
| 95 | + @Enumerated(EnumType.STRING) |
| 96 | + private SymptomState arthritis; |
| 97 | + @Enumerated(EnumType.STRING) |
| 98 | + private SymptomState asymptomatic; |
| 99 | + |
| 100 | + @Enumerated(EnumType.STRING) |
| 101 | + private SymptomState coughingBouts; |
| 102 | + @Enumerated(EnumType.STRING) |
| 103 | + private SymptomState coughsProvokeVomiting; |
| 104 | + @Enumerated(EnumType.STRING) |
| 105 | + private YesNoUnknown dateOfOnsetKnown; |
| 106 | + @Enumerated(EnumType.STRING) |
| 107 | + private DiagnosisType diagnosis; |
| 108 | + @Enumerated(EnumType.STRING) |
| 109 | + private SymptomState hemorrhagicRash; |
| 110 | + @Enumerated(EnumType.STRING) |
| 111 | + private InfectionSite majorSite; |
| 112 | + @Enumerated(EnumType.STRING) |
| 113 | + private SymptomState meningitis; |
| 114 | + @Enumerated(EnumType.STRING) |
| 115 | + private InfectionSite minorSite; |
| 116 | + @Enumerated(EnumType.STRING) |
| 117 | + private SymptomState nocturnalCough; |
| 118 | + @Enumerated(EnumType.STRING) |
| 119 | + private SymptomState otherClinicalPresentation; |
| 120 | + @Enumerated(EnumType.STRING) |
| 121 | + private SymptomState septicaemia; |
| 122 | + @Enumerated(EnumType.STRING) |
| 123 | + private SymptomState whoopSound; |
| 124 | + |
| 125 | + @Column |
| 126 | + private String otherClinicalPresentationText; |
| 127 | + |
| 128 | + @Column |
| 129 | + private String otherMajorSiteDetails; |
| 130 | + |
| 131 | + @Column |
| 132 | + private String otherMinorSiteDetails; |
| 133 | + |
| 134 | + |
| 135 | + |
90 | 136 | @Enumerated(EnumType.STRING)
|
91 | 137 | private SymptomState fever;
|
92 | 138 | @Enumerated(EnumType.STRING)
|
@@ -425,6 +471,8 @@ public class Symptoms extends PseudonymizableAdo {
|
425 | 471 | private SymptomState urinaryRetention;
|
426 | 472 | @Enumerated(EnumType.STRING)
|
427 | 473 | private SymptomState shivering;
|
| 474 | + @Enumerated(EnumType.STRING) |
| 475 | + private ClinicalPresentationStatus clinicalPresentationStatus; |
428 | 476 |
|
429 | 477 | @Override
|
430 | 478 | public String getI18nPrefix() {
|
@@ -479,6 +527,125 @@ public void setHeartRate(Integer heartRate) {
|
479 | 527 | this.heartRate = heartRate;
|
480 | 528 | }
|
481 | 529 |
|
| 530 | + public SymptomState getApnoea() { |
| 531 | + return apnoea; |
| 532 | + } |
| 533 | + |
| 534 | + public void setApnoea(SymptomState apnoea) { |
| 535 | + this.apnoea = apnoea; |
| 536 | + } |
| 537 | + |
| 538 | + public SymptomState getArthritis() { |
| 539 | + return arthritis; |
| 540 | + } |
| 541 | + |
| 542 | + public void setArthritis(SymptomState arthritis) { |
| 543 | + this.arthritis = arthritis; |
| 544 | + } |
| 545 | + |
| 546 | + public SymptomState getAsymptomatic() { |
| 547 | + return asymptomatic; |
| 548 | + } |
| 549 | + |
| 550 | + public void setAsymptomatic(SymptomState asymptomatic) { |
| 551 | + this.asymptomatic = asymptomatic; |
| 552 | + } |
| 553 | + |
| 554 | + public SymptomState getCoughingBouts() { |
| 555 | + return coughingBouts; |
| 556 | + } |
| 557 | + public void setCoughingBouts(SymptomState coughingBouts) { |
| 558 | + this.coughingBouts = coughingBouts; |
| 559 | + } |
| 560 | + |
| 561 | + public SymptomState getCoughsProvokeVomiting() { |
| 562 | + return coughsProvokeVomiting; |
| 563 | + } |
| 564 | + |
| 565 | + public void setCoughsProvokeVomiting(SymptomState coughsProvokeVomiting) { |
| 566 | + this.coughsProvokeVomiting = coughsProvokeVomiting; |
| 567 | + } |
| 568 | + |
| 569 | + public YesNoUnknown getDateOfOnsetKnown() { |
| 570 | + return dateOfOnsetKnown; |
| 571 | + } |
| 572 | + |
| 573 | + public void setDateOfOnsetKnown(YesNoUnknown dateOfOnsetKnown) { |
| 574 | + this.dateOfOnsetKnown = dateOfOnsetKnown; |
| 575 | + } |
| 576 | + |
| 577 | + public DiagnosisType getDiagnosis() { |
| 578 | + return diagnosis; |
| 579 | + } |
| 580 | + |
| 581 | + public void setDiagnosis(DiagnosisType diagnosis) { |
| 582 | + this.diagnosis = diagnosis; |
| 583 | + } |
| 584 | + |
| 585 | + public SymptomState getHemorrhagicRash() { |
| 586 | + return hemorrhagicRash; |
| 587 | + } |
| 588 | + |
| 589 | + public void setHemorrhagicRash(SymptomState hemorrhagicRash) { |
| 590 | + this.hemorrhagicRash = hemorrhagicRash; |
| 591 | + } |
| 592 | + |
| 593 | + public InfectionSite getMajorSite() { |
| 594 | + return majorSite; |
| 595 | + } |
| 596 | + |
| 597 | + public void setMajorSite(InfectionSite majorSite) { |
| 598 | + this.majorSite = majorSite; |
| 599 | + } |
| 600 | + |
| 601 | + public SymptomState getMeningitis() { |
| 602 | + return meningitis; |
| 603 | + } |
| 604 | + |
| 605 | + public void setMeningitis(SymptomState meningitis) { |
| 606 | + this.meningitis = meningitis; |
| 607 | + } |
| 608 | + |
| 609 | + public InfectionSite getMinorSite() { |
| 610 | + return minorSite; |
| 611 | + } |
| 612 | + |
| 613 | + public void setMinorSite(InfectionSite minorSite) { |
| 614 | + this.minorSite = minorSite; |
| 615 | + } |
| 616 | + |
| 617 | + public void getNocturnalCough(SymptomState nocturnalCough) { |
| 618 | + this.nocturnalCough = nocturnalCough; |
| 619 | + } |
| 620 | + |
| 621 | + public SymptomState getNocturnalCough() { |
| 622 | + return nocturnalCough; |
| 623 | + } |
| 624 | + |
| 625 | + public SymptomState getOtherClinicalPresentation() { |
| 626 | + return otherClinicalPresentation; |
| 627 | + } |
| 628 | + |
| 629 | + public void setOtherClinicalPresentation(SymptomState otherClinicalPresentation) { |
| 630 | + this.otherClinicalPresentation = otherClinicalPresentation; |
| 631 | + } |
| 632 | + |
| 633 | + public SymptomState getSepticaemia() { |
| 634 | + return septicaemia; |
| 635 | + } |
| 636 | + |
| 637 | + public void setSepticaemia(SymptomState septicaemia) { |
| 638 | + this.septicaemia = septicaemia; |
| 639 | + } |
| 640 | + |
| 641 | + public SymptomState getWhoopSound() { |
| 642 | + return whoopSound; |
| 643 | + } |
| 644 | + |
| 645 | + public void setWhoopSound(SymptomState whoopSound) { |
| 646 | + this.whoopSound = whoopSound; |
| 647 | + } |
| 648 | + |
482 | 649 | public SymptomState getFever() {
|
483 | 650 | return fever;
|
484 | 651 | }
|
@@ -1870,4 +2037,12 @@ public SymptomState getShivering() {
|
1870 | 2037 | public void setShivering(SymptomState shivering) {
|
1871 | 2038 | this.shivering = shivering;
|
1872 | 2039 | }
|
| 2040 | + |
| 2041 | + public ClinicalPresentationStatus getClinicalPresentationStatus() { |
| 2042 | + return clinicalPresentationStatus; |
| 2043 | + } |
| 2044 | + |
| 2045 | + public void setClinicalPresentationStatus(ClinicalPresentationStatus clinicalPresentationStatus) { |
| 2046 | + this.clinicalPresentationStatus = clinicalPresentationStatus; |
| 2047 | + } |
1873 | 2048 | }
|
0 commit comments