-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.blueprint
53 lines (53 loc) · 7.47 KB
/
.blueprint
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
created:
- database/factories/Models/PatientFactory.php
- database/factories/Models/ProblemFactory.php
- database/factories/Models/VisitFactory.php
- database/factories/Models/PrescriptionFactory.php
- database/factories/Models/ClinicalSignsFactory.php
- database/factories/Models/XRayImageFactory.php
- database/factories/Models/LaboratoryTestFactory.php
- database/factories/Models/NervousSystemTestFactory.php
- database/factories/Models/PhysicalTherapyFactory.php
- database/factories/Models/TreatmentSessionFactory.php
- database/migrations/2020_09_28_164703_create_patients_table.php
- database/migrations/2020_09_28_164704_create_problems_table.php
- database/migrations/2020_09_28_164705_create_visits_table.php
- database/migrations/2020_09_28_164706_create_prescriptions_table.php
- database/migrations/2020_09_28_164707_create_clinical_signs_table.php
- database/migrations/2020_09_28_164708_create_x_ray_images_table.php
- database/migrations/2020_09_28_164709_create_laboratory_tests_table.php
- database/migrations/2020_09_28_164710_create_nervous_system_tests_table.php
- database/migrations/2020_09_28_164711_create_physical_therapies_table.php
- database/migrations/2020_09_28_164712_create_treatment_sessions_table.php
- app/Models/Patient.php
- app/Models/Problem.php
- app/Models/Visit.php
- app/Models/Prescription.php
- app/Models/ClinicalSigns.php
- app/Models/XRayImage.php
- app/Models/LaboratoryTest.php
- app/Models/NervousSystemTest.php
- app/Models/PhysicalTherapy.php
- app/Models/TreatmentSession.php
- database/seeders/PatientSeeder.php
- database/seeders/ProblemSeeder.php
- database/seeders/VisitSeeder.php
- database/seeders/PrescriptionSeeder.php
- database/seeders/ClinicalSignsSeeder.php
- database/seeders/XRayImageSeeder.php
- database/seeders/LaboratoryTestSeeder.php
- database/seeders/LaboratoryTestSeeder.php
- database/seeders/NervousSystemTestSeeder.php
- database/seeders/PhysicalTherapySeeder.php
- database/seeders/TreatmentSessionSeeder.php
models:
Models\Patient: { first_name: string, last_name: string, nick_name: 'string nullable', patient_code: string, gender: 'enum:male,female', kids_count: 'smallInteger unsigned nullable', little_kid_old: 'smallInteger unsigned nullable', DOB: 'date nullable', weight: 'smallInteger nullable', height: 'smallInteger nullable', address: 'string0 nullable', phone: 'string nullable', job: 'string nullable', personal_habits: 'string nullable', referring_doctor: 'string nullable', notes: 'text nullable', timestamps: timestamps, relationships: { hasOne: 'Problem, PhysicalTherapy', hasMany: 'Visit, XRayImage, LaboratoryTest, NervousSystemTest' } }
Models\Problem: { patient_id: 'id foreign:patients', main_complaint: string, story: 'text nullable', first_visit_date: 'date nullable', previous_treatments: 'string nullable', response_to_treatment: 'string nullable', medical_history: 'text nullable', surgical_history: 'text nullable', familial_diseases: 'text nullable', associated_diseases: 'string nullable', current_treatments: 'text nullable', pain_kind: 'string nullable', pain_place: 'string nullable', pain_severity: 'string nullable', pain_continuity: 'string nullable', pain_evolution: 'string nullable', pain_time: 'string nullable', associated_complaints: 'text nullable', pain_spread: 'string nullable', resulting_disability: 'string nullable', aggravating_factors: 'string nullable', mitigating_factors: 'string nullable', muscle_weakness_kind: 'string nullable', muscle_weakness_spread: 'string nullable', sense_changing_kind: 'string nullable', sense_changing_spread: 'string nullable', intestinal_function: 'string nullable', bladder_function: 'string nullable', clinical_impression: 'string nullable', notes: 'text nullable', code: 'string nullable', timestamps: timestamps }
Models\Visit: { patient_id: 'id foreign:patients', visit_number: 'integer unsigned nullable', visit_date: 'date nullable', notes: 'text nullable', code: 'string nullable', timestamps: timestamps, relationships: { hasOne: 'Prescription, ClinicalSigns' } }
Models\Prescription: { visit_id: 'id foreign:visits', drugs: 'text nullable', timestamps: timestamps }
Models\ClinicalSigns: { visit_id: 'id foreign:visits', pressure_heigher: 'smallInteger unsigned nullable', pressure_lower: 'smallInteger unsigned nullable', pulse: 'smallInteger unsigned nullable', breathing: 'smallInteger unsigned nullable', temperature: 'smallInteger unsigned nullable', head: 'string nullable', neck: 'string nullable', abdomen: 'string nullable', heart: 'string nullable', urinary_system: 'string nullable', lymphatic_system: 'string nullable', muscular_strength: 'text nullable', muscle_tonic: 'text nullable', joint_fixity: 'string nullable', motion_range: 'text nullable', clinical_test: 'text nullable', timestamps: timestamps }
Models\XRayImage: { patient_id: 'id foreign:patients', image_date: date, kind: string, place: string, description: 'text nullable', timestamps: timestamps }
Models\LaboratoryTest: { patient_id: 'id foreign:patients', test_date: date, leukocyte_count: 'string nullable', neutrophils: 'string nullable', lymphocyte: 'string nullable', eosinophil: 'string nullable', basophil: 'string nullable', monocytes: 'string nullable', erythrocytes: 'string nullable', haemoglobin: 'string nullable', hematocrit: 'string nullable', sugar: 'string nullable', esr_low: 'string nullable', esr_heigh: 'string nullable', urea: 'string nullable', creatine: 'string nullable', alkaline_phosphatase: 'string nullable', phosphorus: 'string nullable', calcium: 'string nullable', triglyceride: 'string nullable', cholesterol: 'string nullable', uric_acid: 'string nullable', wright_test: 'string nullable', widal: 'string nullable', urine_color: 'string nullable', specific_gravity: 'string nullable', urine_ph: 'string nullable', urine_leukocyte: 'string nullable', urine_erythrocytes: 'string nullable', sediment: 'string nullable', oxaluria: 'string nullable', urine_haemoglobin: 'string nullable', germ: 'string nullable', allergy: 'string nullable', others: 'text nullable', timestamps: timestamps }
Models\NervousSystemTest: { patient_id: 'id foreign:patients', test_date: date, muscles_reflections: 'text nullable', surface_reflections: 'text nullable', light_touch: 'string nullable', pain: 'string nullable', heat: 'string nullable', two_points: 'string nullable', sensory_discrimination: 'string nullable', vibration: 'string nullable', postures: 'string nullable', glasgow: 'string nullable', orientation: 'string nullable', attention: 'string nullable', memory: 'string nullable', calculation: 'string nullable', judgment: 'string nullable', food: 'string nullable', clothes: 'string nullable', bathroom: 'string nullable', toilet: 'string nullable', moving: 'string nullable', listening: 'string nullable', reading: 'string nullable', speaking: 'string nullable', writing: 'string nullable', walking_pattern: 'string nullable', meningitics_signs: 'string nullable', cerebellous_signs: 'string nullable', timestamps: timestamps }
Models\PhysicalTherapy: { patient_id: 'id foreign:patients', diagnosis: 'text nullable', treatment_plan: 'text nullable', treatment_start_date: 'date nullable', timestamps: timestamps, relationships: { hasMany: TreatmentSession } }
Models\TreatmentSession: { physical_therapy_id: 'id foreign:physical_therapies', session_date: date, applied_plan: text, code: 'string nullable', notes: 'text nullable', timestamps: timestamps }