<commit_before>{% extends "pttrack/base.html" %}

{% block title %}
Patient Details: {{ patient.last_name }}, {{ patient.first_name }} {{ patient.middle_name }}
{% endblock %}

{% block header %}
<h1>{{ patient.last_name }}, {{ patient.first_name }} {{ patient.middle_name }}</h1>
<p class="lead">{{ patient.age }} y/o {{ patient.ethnicity }} {{ patient.gender }}</p>

<h3>Status: {{ patient.comp_status }}<h3>
{% endblock %}

{% block content %}

{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}

<div class="container">
	<div class="row">
		<h3>Info</h3>
		<div class="container col-md-4">
			<p>Language: {{patient.language}}</p>
			<p>DOB: {{patient.date_of_birth}}</p>
		</div>
		<div class="container col-md-4">
			<p><address>
			{{ patient.address }}<br>
			{{ patient.city }}, {{ patient.state }} {{ patient.zip_code }}
			</address></p>
		</div>
		<div class="container col-md-4">
			<p>P: {{ patient.phone }}</p>
		</div>
	</div>
</div>

<div class="container">
	<h3>Notes for {{patient.first_name}} {{patient.last_name}}</h3>
	{% for note in patient.followup_set.all %}
	<div class="container">
		<p> {{ note.note }} - Date written: {{ note.written_date }}</p>
	</div>
	{% endfor %}
</div>

<div class="container">
<<<<<<< HEAD
	<h3>Add a new note</h3>
	<form action="">
	<input type="radio" name="type" value="workup">Workup</input>
	<input type="radio" name="type" value="followup">Followup</input>
	</form>
	<form action="workup/" method="post">
=======

	<h3>New Note</h3>
    <div class="btn-group">
        <label class="btn btn-primary" ng-model="workup" btn-radio="true">Workup</label>
        <label class="btn btn-primary" ng-model="workup" btn-radio="false">Followup</label>
    </div>

	<form action="workup/" method="post" ng-show="workup">
>>>>>>> f6602e97ee99a0bfbf16381c66acfff85f8bf058
	    {% csrf_token %}
	    {{ workup_form }}
	    <input type="submit" value="Submit" />
	</form>
	<form action="followup/" method="post" ng-hide="workup">
	    {% csrf_token %}
	    {{ followup_form }}
	    <input type="submit" value="Submit" />
	</form>
</div><commit_msg>Update radio buttons.<commit_after>{% extends "pttrack/base.html" %}

{% block title %}
Patient Details: {{ patient.last_name }}, {{ patient.first_name }} {{ patient.middle_name }}
{% endblock %}

{% block header %}
<h1>{{ patient.last_name }}, {{ patient.first_name }} {{ patient.middle_name }}</h1>
<p class="lead">{{ patient.age }} y/o {{ patient.ethnicity }} {{ patient.gender }}</p>

<h3>Status: {{ patient.comp_status }}<h3>
{% endblock %}

{% block content %}

{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}

<div class="container">
	<div class="row">
		<h3>Info</h3>
		<div class="container col-md-4">
			<p>Language: {{patient.language}}</p>
			<p>DOB: {{patient.date_of_birth}}</p>
		</div>
		<div class="container col-md-4">
			<p><address>
			{{ patient.address }}<br>
			{{ patient.city }}, {{ patient.state }} {{ patient.zip_code }}
			</address></p>
		</div>
		<div class="container col-md-4">
			<p>P: {{ patient.phone }}</p>
		</div>
	</div>
</div>

<div class="container">
	<h3>Notes for {{patient.first_name}} {{patient.last_name}}</h3>
	{% for note in patient.followup_set.all %}
	<div class="container">
		<p> {{ note.note }} - Date written: {{ note.written_date }}</p>
	</div>
	{% endfor %}
</div>

<div class="container">
	<h3>Add a new note</h3>
	<form action="">
	<input type="radio" name="type" value="workup">Workup</input>
	<input type="radio" name="type" value="followup">Followup</input>
	</form>
	<form action="workup/" method="post">
=======

	<h3>New Note</h3>
    <div class="btn-group">
        <label class="btn btn-primary" ng-model="workup" btn-radio="true">Workup</label>
        <label class="btn btn-primary" ng-model="workup" btn-radio="false">Followup</label>
    </div>

	<form action="workup/" method="post" ng-show="workup">

	    {% csrf_token %}
	    {{ workup_form }}
	    <input type="submit" value="Submit" />
	</form>
	<form action="followup/" method="post" ng-hide="workup">
	    {% csrf_token %}
	    {{ followup_form }}
	    <input type="submit" value="Submit" />
	</form>
</div>
{'fraction_non_alphanumeric': 0.23271944510882564, 'fraction_numerical': 0.012437215977038986, 'mean_word_length': 4.2079701120797015, 'pattern_counts': {'":': 0, '<': 142, '<?xml version=': 0, '>': 142, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2542228', 'n_tokens_mistral': 1660, 'n_tokens_neox': 1522, 'n_words': 297}