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

2 errors corrected : #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions src/AuShadha/AuShadha/apps/aushadha_base_models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,3 +288,4 @@ def generate_dijit_form(self):

class Meta:
model = AuShadhaBaseModel
fields = "__all__"
3 changes: 3 additions & 0 deletions src/AuShadha/registry/inv_and_imaging/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,12 @@ class LabInvestigationRegistryForm(ModelForm):

class Meta:
model = LabInvestigationRegistry
fields = "__all__"


class ImagingInvestigationRegistryForm(ModelForm):

class Meta:
model = ImagingInvestigationRegistry
fields = "__all__"

3 changes: 2 additions & 1 deletion src/AuShadha/visit/visit_phyexam/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(self, *args, **kwargs):

remarks = models.TextField( blank=True, null=True, default="NAD", max_length=200)

created_at = models.DateTimeField(auto_now=True, auto_now_add=True, editable=False)
created_at = models.DateTimeField(auto_now=True, editable=False)

modified_at = models.DateTimeField(auto_now=True, editable=True)

Expand Down Expand Up @@ -323,6 +323,7 @@ class PhyExamBaseModelForm(ModelForm):

class Meta:
model = PhyExamBaseModel
fields = "__all__"
#exclude = DEFAULT_PHYEXAM_FORM_EXCLUDES

def __init__(self, *args, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

dependencies = [
('visit_prescription', '0003_auto_20141224_0541'),
]

operations = [
migrations.AlterField(
model_name='visitprescription',
name='frequency',
field=models.CharField(max_length=30, choices=[(b'once_a_month', b'Once a Month'), (b'once_a_week', b'Once a Week'), (b'once_every_alternate_day', b'Once every alternate Day'), (b'once_a_day', b'Once a Day'), (b'every_twelth_hourly', b'Every 12 Hours'), (b'every_eight_hourly', b'Every 8 Hours'), (b'every_sixth_hourly', b'Every 6 hours'), (b'every_fourth_hourly', b'Every 4 Hours'), (b'every_two_hourly', b'Every 2 Hours'), (b'every_hour', b'Every One Hour'), (b'at_bed_time', b'At Bed Time'), (b'early_morning', b'Early Morning'), (b'after_noon', b'After Noon'), (b'sos', b'S.O.S'), (b'as_required', b'As Needed'), (b'stat', b'Stat')]),
),
]