A TCP port for running the 19Gale Simulator.
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
The relevant measurement data
End a current session
Returns a list of clinics, as defined in the Gale configuration.
the current language code, e.g. "en" or "es".
the current user, or null if not logged in.
the current intake data, as filled in with the intake form.
the device location
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
The uri that references a measurement file. The uri can be obtained from getMeasurementFileData
Returns a string that can be used to reference the relevant file.
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
the device serial id
Returns a list of patient profiles registered to the current user.
An object containing metadata of all prescriptions if it exists
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
The uri that references a Pdf file. The uri can be obtained from getPdfFileData
Returns a string that can be used to reference the relevant file.
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
An object containing metadata of all prescriptions if it exists
A JSON object containing the text from all PDFs, as well as whether it is left or right aligned.
all known sensor measurements for the current session.
Returns a list of available sensors, as defined in the Gale DMS.
the device serial id
Listen to a system event from Gale.
Log outs from gale.
Instructs Gale to navigate to a particular native page.
the name of the screen to navigate to.
An optional argument for the screen. Can be the sensor type when showing a sensor, or the clinic name when showing a clinic.
Print the current page
Saves the current session data to the patient profile.
Send an email with an attached pdf of a summary of the patient profile
A list of email addresses that the email will be sent to
The content of the email
e.g. '{"allergies":"peanuts","medications":"tylenol","conditions":"asthma","medicalHistory":"The patient's medical history"}'
Creates a generic measurement treated as if it was made by an external application
The note to be added to the patient profile
Shows a sensor page of a given type.
Signs up a new user.
Produces email popup to send patient profile pdf summary
Switch to a previously created patient profile.
Saves the intake data. The format of the intake data is not defined.
Generated using TypeDoc
The 19Labs API key.