| 1 | use utf8; | ||
| 2 | |||
| 3 | package SemanticWeb::Schema::MedicalCondition; | ||
| 4 | |||
| 5 | # ABSTRACT: Any condition of the human body that affects the normal functioning of a person | ||
| 6 | |||
| 7 | use v5.14; | ||
| 8 | use Moo; | ||
| 9 | |||
| 10 | extends qw/ SemanticWeb::Schema::MedicalEntity /; | ||
| 11 | |||
| 12 | |||
| 13 | use MooX::JSON_LD 'MedicalCondition'; | ||
| 14 | use Ref::Util qw/ is_plain_hashref /; | ||
| 15 | # RECOMMEND PREREQ: Ref::Util::XS | ||
| 16 | |||
| 17 | use namespace::autoclean; | ||
| 18 | |||
| 19 | our $VERSION = 'v23.0.0'; | ||
| 20 | |||
| 21 | |||
| 22 | has associated_anatomy => ( | ||
| 23 | is => 'rw', | ||
| 24 | predicate => '_has_associated_anatomy', | ||
| 25 | json_ld => 'associatedAnatomy', | ||
| 26 | ); | ||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | has differential_diagnosis => ( | ||
| 31 | is => 'rw', | ||
| 32 | predicate => '_has_differential_diagnosis', | ||
| 33 | json_ld => 'differentialDiagnosis', | ||
| 34 | ); | ||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | has drug => ( | ||
| 39 | is => 'rw', | ||
| 40 | predicate => '_has_drug', | ||
| 41 | json_ld => 'drug', | ||
| 42 | ); | ||
| 43 | |||
| 44 | |||
| 45 | |||
| 46 | has epidemiology => ( | ||
| 47 | is => 'rw', | ||
| 48 | predicate => '_has_epidemiology', | ||
| 49 | json_ld => 'epidemiology', | ||
| 50 | ); | ||
| 51 | |||
| 52 | |||
| 53 | |||
| 54 | has expected_prognosis => ( | ||
| 55 | is => 'rw', | ||
| 56 | predicate => '_has_expected_prognosis', | ||
| 57 | json_ld => 'expectedPrognosis', | ||
| 58 | ); | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | has natural_progression => ( | ||
| 63 | is => 'rw', | ||
| 64 | predicate => '_has_natural_progression', | ||
| 65 | json_ld => 'naturalProgression', | ||
| 66 | ); | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | has pathophysiology => ( | ||
| 71 | is => 'rw', | ||
| 72 | predicate => '_has_pathophysiology', | ||
| 73 | json_ld => 'pathophysiology', | ||
| 74 | ); | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | has possible_complication => ( | ||
| 79 | is => 'rw', | ||
| 80 | predicate => '_has_possible_complication', | ||
| 81 | json_ld => 'possibleComplication', | ||
| 82 | ); | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | has possible_treatment => ( | ||
| 87 | is => 'rw', | ||
| 88 | predicate => '_has_possible_treatment', | ||
| 89 | json_ld => 'possibleTreatment', | ||
| 90 | ); | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | has primary_prevention => ( | ||
| 95 | is => 'rw', | ||
| 96 | predicate => '_has_primary_prevention', | ||
| 97 | json_ld => 'primaryPrevention', | ||
| 98 | ); | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | has risk_factor => ( | ||
| 103 | is => 'rw', | ||
| 104 | predicate => '_has_risk_factor', | ||
| 105 | json_ld => 'riskFactor', | ||
| 106 | ); | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | has secondary_prevention => ( | ||
| 111 | is => 'rw', | ||
| 112 | predicate => '_has_secondary_prevention', | ||
| 113 | json_ld => 'secondaryPrevention', | ||
| 114 | ); | ||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | has sign_or_symptom => ( | ||
| 119 | is => 'rw', | ||
| 120 | predicate => '_has_sign_or_symptom', | ||
| 121 | json_ld => 'signOrSymptom', | ||
| 122 | ); | ||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | has stage => ( | ||
| 127 | is => 'rw', | ||
| 128 | predicate => '_has_stage', | ||
| 129 | json_ld => 'stage', | ||
| 130 | ); | ||
| 131 | |||
| 132 | |||
| 133 | |||
| 134 | has status => ( | ||
| 135 | is => 'rw', | ||
| 136 | predicate => '_has_status', | ||
| 137 | json_ld => 'status', | ||
| 138 | ); | ||
| 139 | |||
| 140 | |||
| 141 | |||
| 142 | has typical_test => ( | ||
| 143 | is => 'rw', | ||
| 144 | predicate => '_has_typical_test', | ||
| 145 | json_ld => 'typicalTest', | ||
| 146 | ); | ||
| 147 | |||
| 148 | |||
| 149 | |||
| 150 | |||
| 151 | |||
| 152 | 1; | ||
| 153 | |||
| 154 | __END__ |