Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Migration #2763

Draft
wants to merge 27 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
4094827
Migration for Orgs, Facility, Patients and Consultations
sainak Jan 21, 2025
22f5b95
fix migrations
sainak Jan 21, 2025
4ea4792
Patient Notes and Notes Edit | Migration
amjithtitus09 Jan 21, 2025
51ddbf4
added symptoms migration
khavinshankar Jan 21, 2025
57b91bf
Shifting to Resource Migration (#2765)
Jacobjeevan Jan 21, 2025
e5ecbfc
Delete care/facility/migrations/0485_migrate_shifting_request.py
sainak Jan 21, 2025
33309da
fix reverse migrations
sainak Jan 21, 2025
eb858f3
FacilityUser | Migration
amjithtitus09 Jan 21, 2025
887f0ae
disable auto time on emr while migrating and refactored
sainak Jan 22, 2025
639a97e
patient medical history notes and fixes
sainak Jan 22, 2025
de91baf
fixes
sainak Jan 22, 2025
ac061f6
Merge branch 'develop' into data-migration
sainak Jan 22, 2025
4739b19
rebase migrations
sainak Jan 22, 2025
12679a6
Fixes
sainak Jan 23, 2025
6a49085
Merge commit '2f9fa831ff52d72e81d8fa5bba361ba17287a6ef' into data-mig…
sainak Jan 23, 2025
ebdb12e
rebase migrations
sainak Jan 23, 2025
136b569
add prescription migration
rithviknishad Jan 23, 2025
36229c4
fix migrations
sainak Jan 23, 2025
c1a6254
prescriptions: fill migrated_emr_prescription_id
rithviknishad Jan 23, 2025
349bc50
update dependency
sainak Jan 23, 2025
983a3e1
cleanup prescription migration
rithviknishad Jan 24, 2025
d4faab7
Merge remote-tracking branch 'origin/develop' into data-migration
sainak Jan 24, 2025
9604ca2
rebase migrations
sainak Jan 24, 2025
31d2037
rebase migrations
sainak Jan 24, 2025
3ac2fb5
Merge remote-tracking branch 'origin/develop' into data-migration
sainak Jan 24, 2025
da49a78
Add diseases to notes
sainak Jan 25, 2025
6811214
cleanup
sainak Jan 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -357,4 +357,4 @@ secrets.sh

jwks.b64.txt

care_db.dump
care_db.dump*
333 changes: 333 additions & 0 deletions care/emr/migrations/0013_disable_auto_time.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,333 @@
# Generated by Django 5.1.4 on 2025-01-22 06:41

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('emr', '0012_alter_condition_encounter'),
]

operations = [
migrations.AlterField(
model_name='allergyintolerance',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='allergyintolerance',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='availability',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='availability',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='availabilityexception',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='availabilityexception',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='condition',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='condition',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='encounter',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='encounter',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='encounterorganization',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='encounterorganization',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='facilityorganization',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='facilityorganization',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='facilityorganizationuser',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='facilityorganizationuser',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='fileupload',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='fileupload',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='medicationadministration',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='medicationadministration',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='medicationrequest',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='medicationrequest',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='medicationstatement',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='medicationstatement',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='notemessage',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='notemessage',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='notethread',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='notethread',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='observation',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='observation',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='organization',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='organization',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='organizationuser',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='organizationuser',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='patient',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='patient',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='patientorganization',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='patientorganization',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='patientuser',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='patientuser',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='questionnaire',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='questionnaire',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='questionnairefacilityorganization',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='questionnairefacilityorganization',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='questionnaireorganization',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='questionnaireorganization',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='questionnaireresponse',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='questionnaireresponse',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='questionnairetag',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='questionnairetag',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='resourcerequest',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='resourcerequest',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='resourcerequestcomment',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='resourcerequestcomment',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='schedulableuserresource',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='schedulableuserresource',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='schedule',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='schedule',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='tokenbooking',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='tokenbooking',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='tokenslot',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='tokenslot',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='valueset',
name='created_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
model_name='valueset',
name='modified_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
]
Loading