Working on development of a database structure. First step will be database for patient info. I'll likely have a database for labs, database for patients and ids, database for notes, and more.
Prepped database test file.
SQLite3 implementatin into the program initiated. Can now create a generic table which will represent a patient data structure.
95% working add patient to test database. just need to resolve issue with auto-incrementing primary-key.
Fixed insert to database function.
Updated test patient.
Moved working portions of dbtest.c into a database.c/h combination which will ultimately be used to handle all database queries.
Working on a patient lookup function.
Redesigning the patient object to where EVERYTHING is now on the heap. Getting many segfaults as I initialize and update object fields. Needs much debugging.
Finished converting all fields of patient object to heap objects. Still leaking a small 4 byte block somewhere. :/
Updated patient_add.c to reflect changes where patient object fielsd are now on heap.
Added some error checking to existing functions.