-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.mjs
32 lines (30 loc) · 1.19 KB
/
index.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import getRecord from './src/Retrieve Records/getData.cjs';
import updateExistingRecord from './src/Update Records/requests_PUT.cjs';
import retrieveDetailedRecords from './src/Retrieve Records/patient_summary.cjs';
import AI from './src/Retrieve Records/AIGemini.cjs';
import Vars from './src/Variables/variables.cjs';
import Post from './src/Create Records/requests_POST.cjs';
import retrieveCookie from './src/Session Management/getCookie.cjs';
const { retrieveRecord } = getRecord;
const { updateRecord } = updateExistingRecord;
const { retrievePatientRecords, retrieveCustomRecords } = retrieveDetailedRecords
const { summarizePatient, askAboutPatient } = AI
const { createRecord } = Post
const { URL, practice, username, password, GeminiKey, cookie } = Vars;
const { getCookie } = retrieveCookie;
export default {
get: retrieveRecord,
put: updateRecord,
getAllPatientRecords: retrievePatientRecords,
summarizePatient: summarizePatient,
queryPatient: askAboutPatient,
post: createRecord,
getCustomRecords: retrieveCustomRecords,
getCookie: getCookie,
URL: URL,
practice: practice,
username: username,
password: password,
GeminiKey: GeminiKey,
Cookie: cookie
}