diff --git a/care/facility/api/serializers/patient_consultation.py b/care/facility/api/serializers/patient_consultation.py index c3437cf99a..1ecaabdad0 100644 --- a/care/facility/api/serializers/patient_consultation.py +++ b/care/facility/api/serializers/patient_consultation.py @@ -204,15 +204,11 @@ class Meta: "created_by", "kasp_enabled_date", "is_readmission", - "deprecated_diagnosis", "deprecated_verified_by", ) exclude = ( "deleted", "external_id", - "deprecated_icd11_provisional_diagnoses", - "deprecated_icd11_diagnoses", - "deprecated_icd11_principal_diagnosis", ) def validate_bed_number(self, bed_number): diff --git a/care/facility/migrations/0452_remove_patientconsultation_deprecated_diagnosis_and_more.py b/care/facility/migrations/0452_remove_patientconsultation_deprecated_diagnosis_and_more.py new file mode 100644 index 0000000000..30e0d372d5 --- /dev/null +++ b/care/facility/migrations/0452_remove_patientconsultation_deprecated_diagnosis_and_more.py @@ -0,0 +1,64 @@ +# Generated by Django 4.2.10 on 2024-08-23 10:57 + +from django.db import migrations + + +class Migration(migrations.Migration): + dependencies = [ + ("facility", "0451_merge_20240823_1642"), + ] + + operations = [ + migrations.RemoveField( + model_name="patientconsultation", + name="deprecated_diagnosis", + ), + migrations.RemoveField( + model_name="patientconsultation", + name="deprecated_icd11_diagnoses", + ), + migrations.RemoveField( + model_name="patientconsultation", + name="deprecated_icd11_principal_diagnosis", + ), + migrations.RemoveField( + model_name="patientconsultation", + name="deprecated_icd11_provisional_diagnoses", + ), + migrations.RemoveField( + model_name="patientconsultation", + name="discharge_advice", + ), + migrations.RemoveField( + model_name="patientconsultation", + name="discharge_prescription", + ), + migrations.RemoveField( + model_name="patientconsultation", + name="discharge_prn_prescription", + ), + migrations.RemoveField( + model_name="patientconsultation", + name="prn_prescription", + ), + migrations.RemoveField( + model_name="dailyround", + name="deprecated_additional_symptoms", + ), + migrations.RemoveField( + model_name="dailyround", + name="deprecated_other_symptoms", + ), + migrations.RemoveField( + model_name="patientconsultation", + name="deprecated_other_symptoms", + ), + migrations.RemoveField( + model_name="patientconsultation", + name="deprecated_symptoms", + ), + migrations.RemoveField( + model_name="patientconsultation", + name="deprecated_symptoms_onset_date", + ), + ] diff --git a/care/facility/models/daily_round.py b/care/facility/models/daily_round.py index 2f28efd2a4..078709d9c9 100644 --- a/care/facility/models/daily_round.py +++ b/care/facility/models/daily_round.py @@ -4,8 +4,6 @@ from django.db import models from django.db.models import JSONField from django.shortcuts import get_object_or_404 -from multiselectfield import MultiSelectField -from multiselectfield.utils import get_max_length from care.facility.models import ( CATEGORY_CHOICES, @@ -25,7 +23,6 @@ PAIN_SCALE_ENHANCED, PRESSURE_SORE, ) -from care.facility.models.patient_base import SYMPTOM_CHOICES from care.facility.models.patient_consultation import PatientConsultation from care.users.models import User from care.utils.models.validators import JSONFieldSchemaValidator @@ -141,14 +138,6 @@ class InsulinIntakeFrequencyType(enum.Enum): max_digits=4, decimal_places=2, blank=True, null=True, default=None ) physical_examination_info = models.TextField(null=True, blank=True) - deprecated_additional_symptoms = MultiSelectField( - choices=SYMPTOM_CHOICES, - default=1, - null=True, - blank=True, - max_length=get_max_length(SYMPTOM_CHOICES, None), - ) # Deprecated - deprecated_other_symptoms = models.TextField(default="", blank=True) # Deprecated deprecated_covid_category = models.CharField( choices=COVID_CATEGORY_CHOICES, max_length=8, diff --git a/care/facility/models/patient_consultation.py b/care/facility/models/patient_consultation.py index 1baefb89f5..24e027f608 100644 --- a/care/facility/models/patient_consultation.py +++ b/care/facility/models/patient_consultation.py @@ -3,8 +3,6 @@ from django.db import models from django.db.models import JSONField from django.utils import timezone -from multiselectfield import MultiSelectField -from multiselectfield.utils import get_max_length from care.facility.models import ( CATEGORY_CHOICES, @@ -20,7 +18,6 @@ NEW_DISCHARGE_REASON_CHOICES, REVERSE_CATEGORY_CHOICES, REVERSE_COVID_CATEGORY_CHOICES, - SYMPTOM_CHOICES, RouteToFacility, SuggestionChoices, reverse_choices, @@ -68,29 +65,6 @@ class PatientConsultation(PatientBaseModel, ConsultationRelatedPermissionMixin): facility = models.ForeignKey( "Facility", on_delete=models.CASCADE, related_name="consultations" ) - deprecated_diagnosis = models.TextField( - default="", null=True, blank=True - ) # Deprecated - deprecated_icd11_provisional_diagnoses = ArrayField( - models.CharField(max_length=100), default=list, blank=True, null=True - ) # Deprecated in favour of ConsultationDiagnosis M2M model - deprecated_icd11_diagnoses = ArrayField( - models.CharField(max_length=100), default=list, blank=True, null=True - ) # Deprecated in favour of ConsultationDiagnosis M2M model - deprecated_icd11_principal_diagnosis = models.CharField( - max_length=100, default="", blank=True, null=True - ) # Deprecated in favour of ConsultationDiagnosis M2M model - deprecated_symptoms = MultiSelectField( - choices=SYMPTOM_CHOICES, - default=1, - null=True, - blank=True, - max_length=get_max_length(SYMPTOM_CHOICES, None), - ) # Deprecated - deprecated_other_symptoms = models.TextField(default="", blank=True) # Deprecated - deprecated_symptoms_onset_date = models.DateTimeField( - null=True, blank=True - ) # Deprecated deprecated_covid_category = models.CharField( choices=COVID_CATEGORY_CHOICES, max_length=8, @@ -163,12 +137,6 @@ class PatientConsultation(PatientBaseModel, ConsultationRelatedPermissionMixin): null=True, ) discharge_notes = models.TextField(default="", null=True, blank=True) - discharge_prescription = JSONField( - default=dict, null=True, blank=True - ) # Deprecated - discharge_prn_prescription = JSONField( - default=dict, null=True, blank=True - ) # Deprecated death_datetime = models.DateTimeField(null=True, blank=True) death_confirmed_doctor = models.TextField(default="", null=True, blank=True) bed_number = models.CharField(max_length=100, null=True, blank=True) # Deprecated @@ -251,11 +219,6 @@ class PatientConsultation(PatientBaseModel, ConsultationRelatedPermissionMixin): intubation_history = JSONField(default=list) - # Deprecated Fields - - prn_prescription = JSONField(default=dict) - discharge_advice = JSONField(default=dict) - has_consents = ArrayField( models.IntegerField(choices=ConsentType.choices), default=list, diff --git a/data/dummy/facility.json b/data/dummy/facility.json index 45f4a12b71..10f924a2c4 100644 --- a/data/dummy/facility.json +++ b/data/dummy/facility.json @@ -1948,10 +1948,6 @@ "patient": 1, "patient_no": "88.99.44.66", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Moderate", "examination_details": "", @@ -1979,8 +1975,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2000,9 +1994,7 @@ "weight": 0.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": [], - "discharge_advice": [] + "intubation_history": [] } }, { @@ -2016,10 +2008,6 @@ "patient": 2, "patient_no": "IP007", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2047,8 +2035,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2068,9 +2054,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -2084,10 +2068,6 @@ "patient": 3, "patient_no": "IP008", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2115,8 +2095,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2136,9 +2114,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -2152,10 +2128,6 @@ "patient": 4, "patient_no": "IP009", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2183,8 +2155,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2204,9 +2174,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -2220,10 +2188,6 @@ "patient": 5, "patient_no": "IP017", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2251,8 +2215,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2272,9 +2234,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -2288,10 +2248,6 @@ "patient": 6, "patient_no": "IP087", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2319,8 +2275,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2340,9 +2294,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -2356,10 +2308,6 @@ "patient": 7, "patient_no": "IP00527", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2387,8 +2335,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2408,9 +2354,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -2424,10 +2368,6 @@ "patient": 8, "patient_no": "IP0KI07", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2455,8 +2395,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2476,9 +2414,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -2492,10 +2428,6 @@ "patient": 9, "patient_no": "IP00767", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2523,8 +2455,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2544,9 +2474,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -2560,10 +2488,6 @@ "patient": 10, "patient_no": "IP001237", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2591,8 +2515,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2612,9 +2534,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -2628,10 +2548,6 @@ "patient": 11, "patient_no": "IP007963", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2659,8 +2575,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2680,9 +2594,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -2696,10 +2608,6 @@ "patient": 12, "patient_no": "IP0001257", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2727,8 +2635,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2748,9 +2654,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -2764,10 +2668,6 @@ "patient": 13, "patient_no": "IP075389007", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2795,8 +2695,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2816,9 +2714,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -2832,10 +2728,6 @@ "patient": 14, "patient_no": "IP099907", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2863,8 +2755,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2884,9 +2774,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -2900,10 +2788,6 @@ "patient": 15, "patient_no": "IP00700", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2931,8 +2815,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -2952,9 +2834,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -2968,10 +2848,6 @@ "patient": 16, "patient_no": "IP00744", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -2999,8 +2875,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -3020,9 +2894,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -3036,10 +2908,6 @@ "patient": 17, "patient_no": "IP00117", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -3067,8 +2935,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -3088,9 +2954,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -3104,10 +2968,6 @@ "patient": 18, "patient_no": "IP02507", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -3135,8 +2995,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -3156,9 +3014,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -3172,10 +3028,6 @@ "patient": 18, "patient_no": "IP02578", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -3203,8 +3055,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -3224,9 +3074,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -3240,10 +3088,6 @@ "patient": 18, "patient_no": "IP1009", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -3271,8 +3115,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -3292,9 +3134,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -3308,10 +3148,6 @@ "patient": 18, "patient_no": "IP0010", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -3339,8 +3175,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -3360,9 +3194,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -3376,10 +3208,6 @@ "patient": 18, "patient_no": "IP011", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -3407,8 +3235,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -3428,9 +3254,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -3444,10 +3268,6 @@ "patient": 18, "patient_no": "IP012", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -3475,8 +3295,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -3496,9 +3314,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -3512,10 +3328,6 @@ "patient": 18, "patient_no": "IP013", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -3543,8 +3355,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -3564,9 +3374,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -3580,10 +3388,6 @@ "patient": 18, "patient_no": "IP014", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -3611,8 +3415,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -3632,9 +3434,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, { @@ -3648,10 +3448,6 @@ "patient": 18, "patient_no": "IP015", "facility": 1, - "deprecated_diagnosis": "", - "deprecated_icd11_provisional_diagnoses": "[]", - "deprecated_icd11_diagnoses": "[]", - "deprecated_icd11_principal_diagnosis": "", "deprecated_covid_category": null, "category": "Stable", "examination_details": "Examination details and Clinical conditions", @@ -3679,8 +3475,6 @@ "discharge_reason": null, "new_discharge_reason": null, "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, "death_datetime": null, "death_confirmed_doctor": "", "bed_number": null, @@ -3700,9 +3494,7 @@ "weight": 170.0, "operation": null, "special_instruction": "", - "intubation_history": [], - "prn_prescription": {}, - "discharge_advice": {} + "intubation_history": [] } }, {