Inherited Variables
Class: Notes
Inherited Methods
Class: Notes
- Notes::Notes()
- Constructor
- Notes::getAllTypes()
- Gets all types of notes record. Unsorted result.
- Notes::getAllTypesSort()
- Gets all types of notes record. Sorted result.
- Notes::getEncounterNotes()
- Gets all notes of a given record number.
- Notes::getType()
- Gets notes type information based on the type number (nr key).
- Notes::_Exists()
- Checks if a certain notes record of a certain type exists in the database.
- Notes::_getNotes()
- Gets a notes record data based on a passed condition.
- Notes::_getNotesDateRange()
- Gets the date range of a certain notes type that fits to a given condition.
- Notes::_insertNotesFromInternalArray()
- Save a notes data of a given type number.
- Notes::_updateNotesFromInternalArray()
- Updates a notes data record based on the primary record key "nr".
Class: Core
- Core::coreFieldNames()
- Returns the core field names of the core table in an array.
- Core::deleteDBCache()
- Deletes data from the database cache based on the id key.
- Core::FilesListArray()
- Returns a list of filename within a path in array.
- Core::getAllDataArray()
- Returns all records with the all items from the table.
- Core::getAllDataObject()
- Returns all records with all items from the table.
- Core::getAllItemsArray()
- Similar to getAllItemsObject() method but returns the records in an associative array.
- Core::getAllItemsObject()
- Returns all records with the needed items from the table.
- Core::getDBCache()
- Gets temporary data from the database cache.
- Core::getErrorMsg()
- Feturns the value of error_msg, the internal error message.
- Core::getLastQuery()
- Returns the the last sql query string
- Core::getResult()
- Feturns the value of result
- Core::insertDataFromArray()
- Inserts data from an array (passed by reference) into a table.
- Core::insertDataFromInternalArray()
- Inserts data from the internal array previously filled with data by the setDataArray() method.
- Core::isPreLoaded()
- Returns the value of is_preloaded that is set by methods that preload large number of data.
- Core::LastRecordCount()
- Returns the value of rec_count
- Core::saveDBCache()
- Saves temporary data to a cache in database.
- Core::setDataArray()
- Points the core data array to the external array that holds the data to be stored.
- Core::setRefArray()
- Points the reference variable $ref_array to the field names' array.
- Core::setSQL()
- Sets the internal sql query variable to the sql query.
- Core::setTable()
- Sets the coretable variable to the name of the database table.
- Core::setWhereCondition()
- Sets the "where" condition in an update query used with the updateDataFromInternalArray() method.
- Core::Transact()
- Transaction routine, ADODB transaction. It internally uses the ADODB transaction routine.
- Core::updateDataFromArray()
- Updates a record with the data from an array (passed by reference) based on the primary key.
- Core::updateDataFromInternalArray()
- Updates a table using data from an internal array previously filled with data by the setDataArray() method.
- Core::_prepSaveArray()
- Filters the data array intended for saving, removing the key-value pairs that do not correspond to the table's field names.
- Core::_RecordExists()
- Checks if a certain database record exists based onthe supplied query condition.
Class Details
Doctor's notes.
Note this class should be instantiated only after a "$db" adodb connector object has been established by an adodb instance.
Tags:
- copyright - 2002,2003,2004 Elpidio Latorilla
- version - beta 1.0.08
- author - Elpidio Latorilla
[ Top ]
Class Variables
Class Methods
DoctorsNotes
DoctorsNotes DoctorsNotes(
)
[line 30]
Constructor
Parameters:
[ Top ]
DirectiveExists
boolean DirectiveExists(
Encounter
$enr)
[line 39]
Checks if a physician order for an encounter exists.
Tags:
- access - public
Parameters:
- Encounter $enr - number
[ Top ]
getDirectives
mixed getDirectives(
Encounter
$enr)
[line 61]
Gets the physician order for an encounter.
Tags:
- return - adodb record object or boolean
- access - public
Parameters:
- Encounter $enr - number
[ Top ]
getDirectivesAndInquiries
mixed getDirectivesAndInquiries(
Encounter
$enr)
[line 98]
Gets the combined physician order and inquiries to physician for an encounter.
The returned adodb record object contains rows of arrays. Each array contains the data with the following index keys:
- all notes index keys as outlined in the $fld_notes array.
- eff_nr = primary record number of the effectivity report type of notes
- eff_notes = effectivity report
- eff_aux = auxillary effectivity report
- eff_date = date of effectivity report
- eff_time = time effectivity report
- eff_personell_name = author of effectivity report
Tags:
- return - adodb record object or boolean
- access - public
Parameters:
- Encounter $enr - number
[ Top ]
getDoctorsDirectivesDateRange
mixed getDoctorsDirectivesDateRange(
int
$enr)
[line 180]
Gets the date range of a physician order for an encounter.
Tags:
- return - array or boolean
- access - public
Parameters:
- int $enr - Encounter number
[ Top ]
getInquiries
mixed getInquiries(
Encounter
$enr)
[line 74]
Gets the inquiries to physician for an encounter.
Tags:
- return - adodb record object or boolean
- access - public
Parameters:
- Encounter $enr - number
[ Top ]
InquiryExists
boolean InquiryExists(
Encounter
$enr)
[line 50]
Checks if an inquiry to doctor for an encounter exists.
Tags:
- access - public
Parameters:
- Encounter $enr - number
[ Top ]
saveDirective
boolean saveDirective(
array
&$data)
[line 126]
Saves new physician order.
Data passed by reference with associative array and have index keys as outlined in the Notes::$fld_notes array.
Tags:
- access - public
Parameters:
- array &$data - Data to save.
[ Top ]
saveInquiry
boolean saveInquiry(
array
&$data)
[line 157]
Saves new inquiry to physician.
Data passed by reference with associative array and have index keys as follows:
- pn = encounter number
- berichtput2 = inquiry to physician text
- dateput = date of submitting inquiry
- timeput = time of submitting inquiry
- author2 = name of inquiry submitter
- warn2 = auxillary notes
- ref_notes_nr = a reference number to another note within the save table
Tags:
- access - public
Parameters:
- array &$data - Data to save.
[ Top ]