@19labs/gale-wellness
Version:
## Overview Welcome to the [19Labs](https://19labs.com) Custom Wellness Portal SDK .
1,457 lines • 89.7 kB
HTML
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>GaleAPIBridge | @19labs/gale-wellness</title>
<meta name="description" content="Documentation for @19labs/gale-wellness">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
</head>
<body>
<header>
<div class="tsd-page-toolbar">
<div class="container">
<div class="table-wrap">
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
<div class="field">
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
<input id="tsd-search-field" type="text" />
</div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">@19labs/gale-wellness</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
<div class="tsd-filter-group">
<div class="tsd-select" id="tsd-filter-visibility">
<span class="tsd-select-label">All</span>
<ul class="tsd-select-list">
<li data-value="public">Public</li>
<li data-value="protected">Public/Protected</li>
<li data-value="private" class="selected">All</li>
</ul>
</div>
<input type="checkbox" id="tsd-filter-inherited" checked />
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
<input type="checkbox" id="tsd-filter-externals" checked />
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
</div>
</div>
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
</div>
</div>
</div>
</div>
<div class="tsd-page-title">
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../modules.html">@19labs/gale-wellness</a>
</li>
<li>
<a href="galeapibridge.html">GaleAPIBridge</a>
</li>
</ul>
<h1>Class GaleAPIBridge</h1>
</div>
</div>
</header>
<div class="container container-main">
<div class="row">
<div class="col-8 col-content">
<section class="tsd-panel tsd-hierarchy">
<h3>Hierarchy</h3>
<ul class="tsd-hierarchy">
<li>
<span class="tsd-signature-type">EventTarget</span>
<ul class="tsd-hierarchy">
<li>
<span class="target">GaleAPIBridge</span>
</li>
</ul>
</li>
</ul>
</section>
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
<section class="tsd-index-section ">
<h3>Constructors</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="galeapibridge.html#constructor" class="tsd-kind-icon">constructor</a></li>
</ul>
</section>
<section class="tsd-index-section ">
<h3>Methods</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#addbloodpressuredata" class="tsd-kind-icon">add<wbr>Blood<wbr>Pressure<wbr>Data</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#addexternaldocument" class="tsd-kind-icon">add<wbr>External<wbr>Document</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#addglucometerdata" class="tsd-kind-icon">add<wbr>Glucometer<wbr>Data</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#addmultifunctiondata" class="tsd-kind-icon">add<wbr>Multifunction<wbr>Data</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#addpulseoxdata" class="tsd-kind-icon">add<wbr>Pulse<wbr>OxData</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#addspirometerdata" class="tsd-kind-icon">add<wbr>Spirometer<wbr>Data</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#addthermometerdata" class="tsd-kind-icon">add<wbr>Thermometer<wbr>Data</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#addweightscaledata" class="tsd-kind-icon">add<wbr>Weight<wbr>Scale<wbr>Data</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#authenticate" class="tsd-kind-icon">authenticate</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#endsession" class="tsd-kind-icon">end<wbr>Session</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getclinics" class="tsd-kind-icon">get<wbr>Clinics</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getcurrentlanguage" class="tsd-kind-icon">get<wbr>Current<wbr>Language</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getcurrentuser" class="tsd-kind-icon">get<wbr>Current<wbr>User</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getintake" class="tsd-kind-icon">get<wbr>Intake</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getlocation" class="tsd-kind-icon">get<wbr>Location</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getmeasurementfilebyuri" class="tsd-kind-icon">get<wbr>Measurement<wbr>File<wbr>ByUri</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getmeasurementfiledata" class="tsd-kind-icon">get<wbr>Measurement<wbr>File<wbr>Data</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getname" class="tsd-kind-icon">get<wbr>Name</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getpatientprofiles" class="tsd-kind-icon">get<wbr>Patient<wbr>Profiles</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getpatientvisitsummarydata" class="tsd-kind-icon">get<wbr>Patient<wbr>Visit<wbr>Summary<wbr>Data</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getpdfbyuri" class="tsd-kind-icon">get<wbr>Pdf<wbr>ByUri</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getpdfdata" class="tsd-kind-icon">get<wbr>Pdf<wbr>Data</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getprescriptiondata" class="tsd-kind-icon">get<wbr>Prescription<wbr>Data</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getprescriptiontext" class="tsd-kind-icon">get<wbr>Prescription<wbr>Text</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getsensordata" class="tsd-kind-icon">get<wbr>Sensor<wbr>Data</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getsensors" class="tsd-kind-icon">get<wbr>Sensors</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#getserial" class="tsd-kind-icon">get<wbr>Serial</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter"><a href="galeapibridge.html#listen" class="tsd-kind-icon">listen</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#login" class="tsd-kind-icon">login</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#logout" class="tsd-kind-icon">logout</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#navigate" class="tsd-kind-icon">navigate</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#print" class="tsd-kind-icon">print</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#savecurrentpatientprofile" class="tsd-kind-icon">save<wbr>Current<wbr>Patient<wbr>Profile</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#sendsummaryemail" class="tsd-kind-icon">send<wbr>Summary<wbr>Email</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#setintakehealthhistory" class="tsd-kind-icon">set<wbr>Intake<wbr>Health<wbr>History</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#setmeasurement" class="tsd-kind-icon">set<wbr>Measurement</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#setnote" class="tsd-kind-icon">set<wbr>Note</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#showsensor" class="tsd-kind-icon">show<wbr>Sensor</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#signup" class="tsd-kind-icon">sign<wbr>Up</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#submithealthdata" class="tsd-kind-icon">submit<wbr>Health<wbr>Data</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#switchpatientprofile" class="tsd-kind-icon">switch<wbr>Patient<wbr>Profile</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter"><a href="galeapibridge.html#unlisten" class="tsd-kind-icon">unlisten</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="galeapibridge.html#updateintake" class="tsd-kind-icon">update<wbr>Intake</a></li>
</ul>
</section>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Constructors</h2>
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
<a name="constructor" class="tsd-anchor"></a>
<h3>constructor</h3>
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
<li class="tsd-signature tsd-kind-icon">new <wbr>GaleAPIBridge<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>apiKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>simulatorPort<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="galeapibridge.html" class="tsd-signature-type" data-tsd-kind="Class">GaleAPIBridge</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<p>Overrides EventTarget.constructor</p>
<ul>
<li>Defined in src/client/bridge.ts:108</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>options: <span class="tsd-signature-symbol">{ </span>apiKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>simulatorPort<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></h5>
<ul class="tsd-parameters">
<li class="tsd-parameter">
<h5>api<wbr>Key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>The 19Labs API key.</p>
</div>
</li>
<li class="tsd-parameter">
<h5><span class="tsd-flag ts-flagOptional">Optional</span> simulator<wbr>Port<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography">
<p>A TCP port for running the 19Gale Simulator.</p>
</div>
</li>
</ul>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="galeapibridge.html" class="tsd-signature-type" data-tsd-kind="Class">GaleAPIBridge</a></h4>
</li>
</ul>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="addbloodpressuredata" class="tsd-anchor"></a>
<h3>add<wbr>Blood<wbr>Pressure<wbr>Data</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">add<wbr>Blood<wbr>Pressure<wbr>Data<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../interfaces/bloodpressuremeasurement.html" class="tsd-signature-type" data-tsd-kind="Interface">BloodPressureMeasurement</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:595</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>All of the below methods have a similar function, they create a manual measurement of
the type specified by the method using measurement data provided</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>data: <a href="../interfaces/bloodpressuremeasurement.html" class="tsd-signature-type" data-tsd-kind="Interface">BloodPressureMeasurement</a></h5>
<div class="tsd-comment tsd-typography">
<p>The relevant measurement data</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="addexternaldocument" class="tsd-anchor"></a>
<h3>add<wbr>External<wbr>Document</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">add<wbr>External<wbr>Document<span class="tsd-signature-symbol">(</span>document<span class="tsd-signature-symbol">: </span><a href="../interfaces/documentdata.html" class="tsd-signature-type" data-tsd-kind="Interface">DocumentData</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:475</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>document: <a href="../interfaces/documentdata.html" class="tsd-signature-type" data-tsd-kind="Interface">DocumentData</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="addglucometerdata" class="tsd-anchor"></a>
<h3>add<wbr>Glucometer<wbr>Data</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">add<wbr>Glucometer<wbr>Data<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../interfaces/glucometermeasurement.html" class="tsd-signature-type" data-tsd-kind="Interface">GlucometerMeasurement</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:625</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>data: <a href="../interfaces/glucometermeasurement.html" class="tsd-signature-type" data-tsd-kind="Interface">GlucometerMeasurement</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="addmultifunctiondata" class="tsd-anchor"></a>
<h3>add<wbr>Multifunction<wbr>Data</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">add<wbr>Multifunction<wbr>Data<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../interfaces/multifunctionmeasurement.html" class="tsd-signature-type" data-tsd-kind="Interface">MultifunctionMeasurement</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:655</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>data: <a href="../interfaces/multifunctionmeasurement.html" class="tsd-signature-type" data-tsd-kind="Interface">MultifunctionMeasurement</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="addpulseoxdata" class="tsd-anchor"></a>
<h3>add<wbr>Pulse<wbr>OxData</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">add<wbr>Pulse<wbr>OxData<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../interfaces/pulseoxmeasurement.html" class="tsd-signature-type" data-tsd-kind="Interface">PulseOxMeasurement</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:604</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>data: <a href="../interfaces/pulseoxmeasurement.html" class="tsd-signature-type" data-tsd-kind="Interface">PulseOxMeasurement</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="addspirometerdata" class="tsd-anchor"></a>
<h3>add<wbr>Spirometer<wbr>Data</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">add<wbr>Spirometer<wbr>Data<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../interfaces/spirometermeasurement.html" class="tsd-signature-type" data-tsd-kind="Interface">SpirometerMeasurement</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:646</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>data: <a href="../interfaces/spirometermeasurement.html" class="tsd-signature-type" data-tsd-kind="Interface">SpirometerMeasurement</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="addthermometerdata" class="tsd-anchor"></a>
<h3>add<wbr>Thermometer<wbr>Data</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">add<wbr>Thermometer<wbr>Data<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../interfaces/thermometermeasurement.html" class="tsd-signature-type" data-tsd-kind="Interface">ThermometerMeasurement</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:616</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>data: <a href="../interfaces/thermometermeasurement.html" class="tsd-signature-type" data-tsd-kind="Interface">ThermometerMeasurement</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="addweightscaledata" class="tsd-anchor"></a>
<h3>add<wbr>Weight<wbr>Scale<wbr>Data</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">add<wbr>Weight<wbr>Scale<wbr>Data<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../interfaces/weightscalemeaurement.html" class="tsd-signature-type" data-tsd-kind="Interface">WeightScaleMeaurement</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:634</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>data: <a href="../interfaces/weightscalemeaurement.html" class="tsd-signature-type" data-tsd-kind="Interface">WeightScaleMeaurement</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="authenticate" class="tsd-anchor"></a>
<h3>authenticate</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">authenticate<span class="tsd-signature-symbol">(</span>user<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, profile<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:578</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>user: <span class="tsd-signature-type">string</span></h5>
</li>
<li>
<h5>profile: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="endsession" class="tsd-anchor"></a>
<h3>end<wbr>Session</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">end<wbr>Session<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:585</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>End a current session</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getclinics" class="tsd-anchor"></a>
<h3>get<wbr>Clinics</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Clinics<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/clinic.html" class="tsd-signature-type" data-tsd-kind="Interface">Clinic</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:360</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Returns a list of clinics, as defined in the Gale configuration.</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/clinic.html" class="tsd-signature-type" data-tsd-kind="Interface">Clinic</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getcurrentlanguage" class="tsd-anchor"></a>
<h3>get<wbr>Current<wbr>Language</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Current<wbr>Language<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:235</li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
<p>the current language code, e.g. "en" or "es".</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getcurrentuser" class="tsd-anchor"></a>
<h3>get<wbr>Current<wbr>User</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Current<wbr>User<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/user.html" class="tsd-signature-type" data-tsd-kind="Interface">User</a><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:222</li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/user.html" class="tsd-signature-type" data-tsd-kind="Interface">User</a><span class="tsd-signature-symbol">></span></h4>
<p>the current user, or null if not logged in.</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getintake" class="tsd-anchor"></a>
<h3>get<wbr>Intake</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Intake<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/intakedata.html" class="tsd-signature-type" data-tsd-kind="Interface">IntakeData</a><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:242</li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/intakedata.html" class="tsd-signature-type" data-tsd-kind="Interface">IntakeData</a><span class="tsd-signature-symbol">></span></h4>
<p>the current intake data, as filled in with the intake form.</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getlocation" class="tsd-anchor"></a>
<h3>get<wbr>Location</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Location<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/location.html" class="tsd-signature-type" data-tsd-kind="Interface">Location</a><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:269</li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/location.html" class="tsd-signature-type" data-tsd-kind="Interface">Location</a><span class="tsd-signature-symbol">></span></h4>
<p>the device location</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getmeasurementfilebyuri" class="tsd-anchor"></a>
<h3>get<wbr>Measurement<wbr>File<wbr>ByUri</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Measurement<wbr>File<wbr>ByUri<span class="tsd-signature-symbol">(</span>uri<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:530</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Takes a file uri as a reference, exposes the relevant file to the captive webpage and returns a reference to the newly exposed file.
The reference will take the form of https://{captivewebpageurl}/public/{filename} and the reference can be used as if the file were a part of the webpages directory</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>uri: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>The uri that references a measurement file. The uri can be obtained from getMeasurementFileData</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
<p>Returns a string that can be used to reference the relevant file.</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getmeasurementfiledata" class="tsd-anchor"></a>
<h3>get<wbr>Measurement<wbr>File<wbr>Data</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Measurement<wbr>File<wbr>Data<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/measurementfiledatasummary.html" class="tsd-signature-type" data-tsd-kind="Interface">MeasurementFileDataSummary</a><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:520</li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/measurementfiledatasummary.html" class="tsd-signature-type" data-tsd-kind="Interface">MeasurementFileDataSummary</a><span class="tsd-signature-symbol">></span></h4>
<p>An object contatining metedata for all measurement files stored on the device.
Each file object within the measurement files JSON has a uri attribute which can be used to reference the file using getMeasurementFileByUri</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getname" class="tsd-anchor"></a>
<h3>get<wbr>Name</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Name<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:251</li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
<p>the device serial id</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getpatientprofiles" class="tsd-anchor"></a>
<h3>get<wbr>Patient<wbr>Profiles</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Patient<wbr>Profiles<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/patientprofile.html" class="tsd-signature-type" data-tsd-kind="Interface">PatientProfile</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:378</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Returns a list of patient profiles registered to the current user.</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/patientprofile.html" class="tsd-signature-type" data-tsd-kind="Interface">PatientProfile</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getpatientvisitsummarydata" class="tsd-anchor"></a>
<h3>get<wbr>Patient<wbr>Visit<wbr>Summary<wbr>Data</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Patient<wbr>Visit<wbr>Summary<wbr>Data<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/pdffiledata.html" class="tsd-signature-type" data-tsd-kind="Interface">PdfFileData</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:560</li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/pdffiledata.html" class="tsd-signature-type" data-tsd-kind="Interface">PdfFileData</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4>
<p>An object containing metadata of all prescriptions if it exists</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getpdfbyuri" class="tsd-anchor"></a>
<h3>get<wbr>Pdf<wbr>ByUri</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Pdf<wbr>ByUri<span class="tsd-signature-symbol">(</span>uri<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:540</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Takes a file uri as a reference, exposes the relevant file to the captive webpage and returns a reference to the newly exposed file.
The reference will take the form of https://{captivewebpageurl}/public/{filename} and the reference can be used as if the file were a part of the webpages directory</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>uri: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>The uri that references a Pdf file. The uri can be obtained from getPdfFileData</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
<p>Returns a string that can be used to reference the relevant file.</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getpdfdata" class="tsd-anchor"></a>
<h3>get<wbr>Pdf<wbr>Data</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Pdf<wbr>Data<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/pdfdatasummary.html" class="tsd-signature-type" data-tsd-kind="Interface">PdfDataSummary</a><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:504</li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/pdfdatasummary.html" class="tsd-signature-type" data-tsd-kind="Interface">PdfDataSummary</a><span class="tsd-signature-symbol">></span></h4>
<p>An object containing metedata for all pdf files stored on the device.
Each file object within the pdf files JSON has a uri attribute which can be used to reference the file using getPdfFileByUri</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getprescriptiondata" class="tsd-anchor"></a>
<h3>get<wbr>Prescription<wbr>Data</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Prescription<wbr>Data<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/pdffiledata.html" class="tsd-signature-type" data-tsd-kind="Interface">PdfFileData</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:549</li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/pdffiledata.html" class="tsd-signature-type" data-tsd-kind="Interface">PdfFileData</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4>
<p>An object containing metadata of all prescriptions if it exists</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getprescriptiontext" class="tsd-anchor"></a>
<h3>get<wbr>Prescription<wbr>Text</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Prescription<wbr>Text<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/prescriptiontext.html" class="tsd-signature-type" data-tsd-kind="Interface">PrescriptionText</a><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:512</li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/prescriptiontext.html" class="tsd-signature-type" data-tsd-kind="Interface">PrescriptionText</a><span class="tsd-signature-symbol">></span></h4>
<p>A JSON object containing the text from all PDFs, as well as whether it is left or right aligned.</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getsensordata" class="tsd-anchor"></a>
<h3>get<wbr>Sensor<wbr>Data</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Sensor<wbr>Data<span class="tsd-signature-symbol">(</span>startSessionTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/measurementdata.html" class="tsd-signature-type" data-tsd-kind="Interface">MeasurementData</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:277</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> startSessionTime: <span class="tsd-signature-type">number</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/measurementdata.html" class="tsd-signature-type" data-tsd-kind="Interface">MeasurementData</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4>
<p>all known sensor measurements for the current session.</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getsensors" class="tsd-anchor"></a>
<h3>get<wbr>Sensors</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Sensors<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/sensor.html" class="tsd-signature-type" data-tsd-kind="Interface">Sensor</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:385</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Returns a list of available sensors, as defined in the Gale DMS.</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/sensor.html" class="tsd-signature-type" data-tsd-kind="Interface">Sensor</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="getserial" class="tsd-anchor"></a>
<h3>get<wbr>Serial</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">get<wbr>Serial<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:260</li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
<p>the device serial id</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
<a name="listen" class="tsd-anchor"></a>
<h3>listen</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
<li class="tsd-signature tsd-kind-icon">listen<T><span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="galeevent.html" class="tsd-signature-type" data-tsd-kind="Class">GaleEvent</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:145</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Listen to a system event from Gale.</p>
</div>
</div>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
<ul class="tsd-type-parameters">
<li>
<h4>T<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">keyof </span><a href="../interfaces/galeeventtypes.html" class="tsd-signature-type" data-tsd-kind="Interface">GaleEventTypes</a></h4>
</li>
</ul>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>type: <span class="tsd-signature-type">T</span></h5>
</li>
<li>
<h5>listener: <span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="galeevent.html" class="tsd-signature-type" data-tsd-kind="Class">GaleEvent</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span></h5>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures tsd-kind-type-literal">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="galeevent.html" class="tsd-signature-type" data-tsd-kind="Class">GaleEvent</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>event: <a href="galeevent.html" class="tsd-signature-type" data-tsd-kind="Class">GaleEvent</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="login" class="tsd-anchor"></a>
<h3>login</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">login<span class="tsd-signature-symbol">(</span>info<span class="tsd-signature-symbol">: </span><a href="../interfaces/logininfo.html" class="tsd-signature-type" data-tsd-kind="Interface">LoginInfo</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/user.html" class="tsd-signature-type" data-tsd-kind="Interface">User</a><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:319</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Attempts a login given a user and a password.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>info: <a href="../interfaces/logininfo.html" class="tsd-signature-type" data-tsd-kind="Interface">LoginInfo</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/user.html" class="tsd-signature-type" data-tsd-kind="Interface">User</a><span class="tsd-signature-symbol">></span></h4>
<p>the current user if successful, throws an error otherwise.</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="logout" class="tsd-anchor"></a>
<h3>logout</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">logout<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:334</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Log outs from gale.</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="navigate" class="tsd-anchor"></a>
<h3>navigate</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">navigate<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><a href="../modules.html#screenname" class="tsd-signature-type" data-tsd-kind="Type alias">ScreenName</a>, arg<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:413</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Instructs Gale to navigate to a particular native page.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>name: <a href="../modules.html#screenname" class="tsd-signature-type" data-tsd-kind="Type alias">ScreenName</a></h5>
<div class="tsd-comment tsd-typography">
<p>the name of the screen to navigate to.</p>
</div>
</li>
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> arg: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>An optional argument for the screen. Can be the sensor type when showing a sensor,
or the clinic name when showing a clinic.</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="print" class="tsd-anchor"></a>
<h3>print</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">print<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:453</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Print the current page</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="savecurrentpatientprofile" class="tsd-anchor"></a>
<h3>save<wbr>Current<wbr>Patient<wbr>Profile</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">save<wbr>Current<wbr>Patient<wbr>Profile<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:439</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Saves the current session data to the patient profile.</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="sendsummaryemail" class="tsd-anchor"></a>
<h3>send<wbr>Summary<wbr>Email</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">send<wbr>Summary<wbr>Email<span class="tsd-signature-symbol">(</span>recipients<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, customBody<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:462</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Send an email with an attached pdf of a summary of the patient profile</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>recipients: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>A list of email addresses that the email will be sent to</p>
</div>
</li>
<li>
<h5>customBody: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>The content of the email</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="setintakehealthhistory" class="tsd-anchor"></a>
<h3>set<wbr>Intake<wbr>Health<wbr>History</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">set<wbr>Intake<wbr>Health<wbr>History<span class="tsd-signature-symbol">(</span>healthHistory<span class="tsd-signature-symbol">: </span><a href="../interfaces/healthhistorydata.html" class="tsd-signature-type" data-tsd-kind="Interface">HealthHistoryData</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:471</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>healthHistory: <a href="../interfaces/healthhistorydata.html" class="tsd-signature-type" data-tsd-kind="Interface">HealthHistoryData</a></h5>
<div class="tsd-comment tsd-typography">
<p>e.g. '{"allergies":"peanuts","medications":"tylenol","conditions":"asthma","medicalHistory":"The patient's medical history"}'</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="setmeasurement" class="tsd-anchor"></a>
<h3>set<wbr>Measurement</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">set<wbr>Measurement<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="../interfaces/genericmeasurement.html" class="tsd-signature-type" data-tsd-kind="Interface">GenericMeasurement</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:489</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Creates a generic measurement treated as if it was made by an external application</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>data: <a href="../interfaces/genericmeasurement.html" class="tsd-signature-type" data-tsd-kind="Interface">GenericMeasurement</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="setnote" class="tsd-anchor"></a>
<h3>set<wbr>Note</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">set<wbr>Note<span class="tsd-signature-symbol">(</span>note<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:569</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>note: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>The note to be added to the patient profile</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="showsensor" class="tsd-anchor"></a>
<h3>show<wbr>Sensor</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">show<wbr>Sensor<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:398</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Shows a sensor page of a given type.</p>
</div>
<dl class="tsd-comment-tags">
<dt>see</dt>
<dd><p><a href="../modules.html#builtinsensortypes">BuiltinSensorTypes</a>.</p>
</dd>
</dl>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>type: <span class="tsd-signature-type">string</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="signup" class="tsd-anchor"></a>
<h3>sign<wbr>Up</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">sign<wbr>Up<span class="tsd-signature-symbol">(</span>info<span class="tsd-signature-symbol">: </span><a href="../interfaces/signupinfo.html" class="tsd-signature-type" data-tsd-kind="Interface">SignUpInfo</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:341</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Signs up a new user.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>info: <a href="../interfaces/signupinfo.html" class="tsd-signature-type" data-tsd-kind="Interface">SignUpInfo</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="submithealthdata" class="tsd-anchor"></a>
<h3>submit<wbr>Health<wbr>Data</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">submit<wbr>Health<wbr>Data<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:446</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Produces email popup to send patient profile pdf summary</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="switchpatientprofile" class="tsd-anchor"></a>
<h3>switch<wbr>Patient<wbr>Profile</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">switch<wbr>Patient<wbr>Profile<span class="tsd-signature-symbol">(</span>profile<span class="tsd-signature-symbol">: </span><a href="../interfaces/patientprofile.html" class="tsd-signature-type" data-tsd-kind="Interface">PatientProfile</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:427</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Switch to a previously created patient profile.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>profile: <a href="../interfaces/patientprofile.html" class="tsd-signature-type" data-tsd-kind="Interface">PatientProfile</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
<a name="unlisten" class="tsd-anchor"></a>
<h3>unlisten</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
<li class="tsd-signature tsd-kind-icon">unlisten<T><span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="galeevent.html" class="tsd-signature-type" data-tsd-kind="Class">GaleEvent</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:149</li>
</ul>
</aside>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
<ul class="tsd-type-parameters">
<li>
<h4>T<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">keyof </span><a href="../interfaces/galeeventtypes.html" class="tsd-signature-type" data-tsd-kind="Interface">GaleEventTypes</a></h4>
</li>
</ul>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>type: <span class="tsd-signature-type">T</span></h5>
</li>
<li>
<h5>listener: <span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="galeevent.html" class="tsd-signature-type" data-tsd-kind="Class">GaleEvent</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span></h5>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures tsd-kind-type-literal">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="galeevent.html" class="tsd-signature-type" data-tsd-kind="Class">GaleEvent</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>event: <a href="galeevent.html" class="tsd-signature-type" data-tsd-kind="Class">GaleEvent</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="updateintake" class="tsd-anchor"></a>
<h3>update<wbr>Intake</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">update<wbr>Intake<span class="tsd-signature-symbol">(</span>intake<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in src/client/bridge.ts:353</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Saves the intake data. The format of the intake data is not defined.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>intake: <span class="tsd-signature-type">object</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
</li>
</ul>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<nav class="tsd-navigation primary">
<ul>
<li class=" ">
<a href="../modules.html">Exports</a>
</li>
</ul>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
</ul>
<ul class="current">
<li class="current tsd-kind-class">
<a href="galeapibridge.html" class="tsd-kind-icon">GaleAPIBridge</a>
<ul>
<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
<a href="galeapibridge.html#constructor" class="tsd-kind-icon">constructor</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#addbloodpressuredata" class="tsd-kind-icon">add<wbr>Blood<wbr>Pressure<wbr>Data</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#addexternaldocument" class="tsd-kind-icon">add<wbr>External<wbr>Document</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#addglucometerdata" class="tsd-kind-icon">add<wbr>Glucometer<wbr>Data</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#addmultifunctiondata" class="tsd-kind-icon">add<wbr>Multifunction<wbr>Data</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#addpulseoxdata" class="tsd-kind-icon">add<wbr>Pulse<wbr>OxData</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#addspirometerdata" class="tsd-kind-icon">add<wbr>Spirometer<wbr>Data</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#addthermometerdata" class="tsd-kind-icon">add<wbr>Thermometer<wbr>Data</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#addweightscaledata" class="tsd-kind-icon">add<wbr>Weight<wbr>Scale<wbr>Data</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#authenticate" class="tsd-kind-icon">authenticate</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#endsession" class="tsd-kind-icon">end<wbr>Session</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getclinics" class="tsd-kind-icon">get<wbr>Clinics</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getcurrentlanguage" class="tsd-kind-icon">get<wbr>Current<wbr>Language</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getcurrentuser" class="tsd-kind-icon">get<wbr>Current<wbr>User</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getintake" class="tsd-kind-icon">get<wbr>Intake</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getlocation" class="tsd-kind-icon">get<wbr>Location</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getmeasurementfilebyuri" class="tsd-kind-icon">get<wbr>Measurement<wbr>File<wbr>ByUri</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getmeasurementfiledata" class="tsd-kind-icon">get<wbr>Measurement<wbr>File<wbr>Data</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getname" class="tsd-kind-icon">get<wbr>Name</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getpatientprofiles" class="tsd-kind-icon">get<wbr>Patient<wbr>Profiles</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getpatientvisitsummarydata" class="tsd-kind-icon">get<wbr>Patient<wbr>Visit<wbr>Summary<wbr>Data</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getpdfbyuri" class="tsd-kind-icon">get<wbr>Pdf<wbr>ByUri</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getpdfdata" class="tsd-kind-icon">get<wbr>Pdf<wbr>Data</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getprescriptiondata" class="tsd-kind-icon">get<wbr>Prescription<wbr>Data</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getprescriptiontext" class="tsd-kind-icon">get<wbr>Prescription<wbr>Text</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getsensordata" class="tsd-kind-icon">get<wbr>Sensor<wbr>Data</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getsensors" class="tsd-kind-icon">get<wbr>Sensors</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#getserial" class="tsd-kind-icon">get<wbr>Serial</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
<a href="galeapibridge.html#listen" class="tsd-kind-icon">listen</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#login" class="tsd-kind-icon">login</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#logout" class="tsd-kind-icon">logout</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#navigate" class="tsd-kind-icon">navigate</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#print" class="tsd-kind-icon">print</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#savecurrentpatientprofile" class="tsd-kind-icon">save<wbr>Current<wbr>Patient<wbr>Profile</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#sendsummaryemail" class="tsd-kind-icon">send<wbr>Summary<wbr>Email</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#setintakehealthhistory" class="tsd-kind-icon">set<wbr>Intake<wbr>Health<wbr>History</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#setmeasurement" class="tsd-kind-icon">set<wbr>Measurement</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#setnote" class="tsd-kind-icon">set<wbr>Note</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#showsensor" class="tsd-kind-icon">show<wbr>Sensor</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#signup" class="tsd-kind-icon">sign<wbr>Up</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#submithealthdata" class="tsd-kind-icon">submit<wbr>Health<wbr>Data</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#switchpatientprofile" class="tsd-kind-icon">switch<wbr>Patient<wbr>Profile</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
<a href="galeapibridge.html#unlisten" class="tsd-kind-icon">unlisten</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="galeapibridge.html#updateintake" class="tsd-kind-icon">update<wbr>Intake</a>
</li>
</ul>
</li>
</ul>
<ul class="after-current">
</ul>
</nav>
</div>
</div>
</div>
<footer class="with-border-bottom">
<div class="container">
<h2>Legend</h2>
<div class="tsd-legend-group">
<ul class="tsd-legend">
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
</ul>
</div>
</div>
</footer>
<div class="container tsd-generator">
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>