Next: int check_sample_times(int run_number Up: PET_ANAL.C Previous: int check_preweigh_data(int run_number)

int check_patient_data(int run_number, char password, struct pdat patient_data)

Loads patient data. Called by analysis_pet(), and pet_analysis_done(). Calls FindHeader(), and GetPatientData(). This function checks the BLR file for patient data. If this data is found, it is loaded and the patient_data_existsflag is set true. Otherwise, GetPatientData() is called to try and retrieve the patient data from the VAX. If this is successful, the data is loaded, copied into the BLR file, and the patient_data_existsflag is set true. If the data is unavailable, the patient_data_existsflag is set false.


wolforth@pet.mni.mcgill.ca