-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
121 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3> | ||
<i class="fa fa-map-signs"></i> Nationality and Language | ||
{% if not request.user.profile.readonly %} | ||
<i class="fa fa-pencil edit pull-right pointer" | ||
open-pathway="nationality_and_language", | ||
pathway-episode="episode" | ||
pathway-callback="refresh()"> | ||
</i> | ||
{% endif %} | ||
</h3> | ||
</div> | ||
<ul class="list-group"> | ||
<li class="list-group-item"> | ||
<div class="row content-offset-below-10" ng-show="patient.demographics[0].birth_place"> | ||
<div class="col-md-3"> | ||
<strong>Birth place:</strong> | ||
</div> | ||
<div class="col-md-9"> | ||
[[ patient.demographics[0].birth_place ]] | ||
</div> | ||
</div> | ||
|
||
|
||
<div class="row content-offset-below-10" ng-show="patient.nationality[0].arrival_in_the_uk"> | ||
<div class="col-md-3"> | ||
<strong>Arrival in the UK:</strong> | ||
</div> | ||
<div class="col-md-9"> | ||
[[ patient.nationality[0].arrival_in_the_uk ]] | ||
</div> | ||
</div> | ||
|
||
<div class="row content-offset-below-10" ng-show="patient.nationality[0].immigration_details.length"> | ||
<div class="col-md-3"> | ||
<strong>Immigration Details:</strong> | ||
</div> | ||
<div class="col-md-9"> | ||
[[ patient.nationality[0].immigration_details ]] | ||
</div> | ||
</div> | ||
|
||
<div class="row content-offset-below-10" ng-show="patient.nationality[0].immigration_support_officer.length"> | ||
<div class="col-md-3"> | ||
<strong>Immigration support officer:</strong> | ||
</div> | ||
<div class="col-md-9"> | ||
[[ patient.nationality[0].immigration_support_officer ]] | ||
</div> | ||
</div> | ||
<div class="row content-offset-below-10" ng-show="patient.communinication_considerations[0].needs_an_interpreter"> | ||
<div class="col-md-3"> | ||
<strong>Interpreter:</strong> | ||
</div> | ||
<div ng-show="patient.communinication_considerations[0].language" class="col-md-8"> | ||
[[ patient.communinication_considerations[0].language ]] | ||
</div> | ||
<div ng-show="!patient.communinication_considerations[0].language" class="col-md-8"> | ||
Unknown | ||
</div> | ||
</div> | ||
<div class="row" ng-show="patient.communinication_considerations[0].sensory_impairment"> | ||
<div class="col-md-12"> | ||
<strong>The patient is sensory impaired</strong> | ||
</div> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> |
7 changes: 7 additions & 0 deletions
7
apps/tb/templates/pathway/steps/nationality_and_language.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{% load forms %} | ||
|
||
{% input field="Demographics.birth_place" %} | ||
<div ng-show="editing.demographics.birth_place.length && editing.demographics.birth_place !== 'United Kingdom'"> | ||
{% include models.Nationality.get_form_template %} | ||
</div> | ||
{% include models.CommuninicationConsiderations.get_form_template %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.10.8 on 2018-11-22 16:21 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('elcid', '0029_appointment'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='referralroute', | ||
name='referral_reason', | ||
field=models.CharField(blank=True, choices=[(b'Symptomatic', b'Symptomatic'), (b'TB contact screening', b'TB contact screening'), (b'New entract screening', b'New entract screening'), (b'Transferred in TB Rx', b'Transferred in TB Rx'), (b'Immunosuppressant', b'Immunosuppressant'), (b'BCG Vaccination', b'BCG Vaccination'), (b'Other', b'Other')], default=b'', max_length=256), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters