<ion-pane>
  <ion-header-bar align-title="left" class="bar bar-header bar-dark">
	<a href="#/cardio">
	<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="dvt.value">Clinically suspected DVT</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="noAlt.value">Alternative diagnosis less likely</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="rate.value">Heart rate &#62; 100</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="immo.value">Immobilization ≥ 3d in last 4w</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="surgery.value">Surgery in last 4w</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="histo.value">History of DVT or PE</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="hemo.value">Hemoptysis</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="mali.value">Malignancy (w/ treatm within 6m)</ion-checkbox>
            <ion-checkbox class="checkbox-dark" ng-model="palliative.value">Palliative</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}}">{{wells}}</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 probability of PE<span class="badge badge-balanced">&#60; 2</span></a>
            <a class="item item-icon-left">Moderate probability of PE<span class="badge badge-energized">2 - 6</span></a>
            <a class="item item-icon-left">High probability of PE<span class="badge badge-assertive">&#62; 6</span></a>

        </div>


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