<ion-pane>
  <ion-header-bar align-title="left" class="bar bar-header bar-dark">
	<a href="#/neuro">
	<button class="button icon-right ion-ios7-arrow-left button-clear button-white">
	</button></a>
	<h1 class="title">{{pname}}</h1>
  </ion-header-bar>
  <ion-content class="content">

        <div class="or-view">

            <ion-checkbox class="checkbox-dark" ng-model="sbp.value">Systolic BP ≥ 160</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="renal.value">Abnormal renal function</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="liver.value">Abnormal liver function</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="age.value">Age ≥ 65 years</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="stroke.value">Prior stroke</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="bleeding.value">Prior bleeding</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="inr.value">Labile INRs</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="drugs.value">Other drugs predisposing to bleeding</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="alcohol.value">Alcohol abuse</ion-checkbox>
        

            
        </div>


    
             <button class="button button-block button-dark" ng-click="calculate()">Calculate</button>

        <a class="item item-icon-left">
            Score
            <span class="badge badge-{{smartColor}}">{{score}}</span>
        </a>

        <button class="button button-block button-dark item-icon-right" ng-click="showInterpret = !showInterpret">
            <i class="icon ion-ios7-arrow-down"></i>
            How to interpret</button>

        <div id="interpret-div" ng-show="showInterpret">
            <a class="item item-icon-left">Low risk for bleeding<span class="badge badge-balanced">0-1</span></a>
            <a class="item item-icon-left">Moderate risk<span class="badge badge-energized">2</span></a>
            <a class="item item-icon-left">High risk for bleeding<span class="badge badge-assertive">≥ 3</span></a>

        </div>


  </ion-content>
</ion-pane>