Closed mapsam closed 8 years ago
Patient sidebar navigation:
Notifications:
Patient header:
Updated filters
note: colors are definitely not chosen here :wink:
Started working on patient overview page and incorporated the patient header, navigation, and notifications:
@esmithayer starting to work on the filters on the landing page. I moved the new filter names from views.py
into the index.html
template and am getting a different error:
ProgrammingError: (ProgrammingError) missing FROM-clause entry for table "patient_referral"
LINE 6: ..._referral.status = 'COMPLETED') ORDER BY coalesce(patient_re...
Hmm do you have the full stack trace?
Filter styles and counts have been added to the landing page:
@esmithayer I'm confused on a couple of these, would you mind clearing up some questions?
Thanks!
@esmithayer most of this is just about done. In order to get the first one complete, I'll need the proper models to reference in the templates (i.e. to show "has been actually approved for services at Daily Planet" vs. "likely eligible for services at Daily Planet") - what are the proper models to hit for that?
You'll want to look at patient.screening_results--you can filter for ones with a particular service id within Jinja using something like this:
{{ patient.screening_results | selectattr("service_id", service.id) }}
If that doesn't return results, the patient doesn't have any screening results for that service. If it does, you can look at the eligible_yn and sliding_scale attributes (like the referral/screening history page does right now).
Working branch:
make-the-mocks
Components
Views